CHAR __fastcall KiIsProcessTerminationRequested(INT64 a1, _DWORD *a2){
int v2;
unsigned int v3;
int v5[5];
v2 = *(_DWORD *)(a1 + 120);
v5[1] = -1073741523;
v5[2] = -1073739996;
v5[3] = -1073739995;
v3 = v2 & 0xC0000;
if( v3 )
{
*a2 = v5[(unsigned __int64)v3 >> 18];
LOBYTE(v3) = 1;
}
return v3;
}