BOOL __fastcall KiIsSecureProcessFlush(UINT64 a1, INT64 a2){
_ETHREAD *CurrentThread;
LOBYTE(CurrentThread) = (_DWORD)a2 == 1
&& (LODWORD(CurrentThread) = -65537, a1 <= 0x7FFFFFFEFFFFi64)
&& (CurrentThread = (_ETHREAD *)KeGetCurrentThread(),
*(_QWORD *)(*((_QWORD *)CurrentThread + 23) + 992i64));
return(int)CurrentThread;
}