INT64 __fastcall MiGetImageWowSubsystemIndex(INT64 a1){
unsigned int v1;
__int16 v2;
int *v3;
v1 = 0;
v2 = *(_WORD *)(*(_QWORD *)(a1 + 56) + 48i64);
v3 = &MiWowSubsystems6432;
do
{
if( v2 == *(_WORD *)v3 )
return v1;
++v1;
v3 = (int *)((char *)v3 + 2);
}
while( !v1 );
return 0xFFFFFFFFi64;
}