KiOp_MOVAPS
INT64 __fastcall KiOp_MOVAPS(INT64 a1){
INT64 CurrentThread;
INT64 result;
if( *(_BYTE *)(a1 + 58) )
return 0i64;
if( *(_BYTE *)(a1 + 81) != 1 )
return 0i64;
CurrentThread = (INT64)KeGetCurrentThread();
if( (*(_DWORD *)(CurrentThread + 120) & 4) == 0 )
{
CurrentThread = *(unsigned int *)(*(_QWORD *)(CurrentThread + 184) + 632i64);
if( (CurrentThread & 1) == 0 )
return 0i64;
}
result = KiOpPatchCode(CurrentThread, *(_QWORD *)(a1 + 40), (*(_BYTE *)(a1 + 56) != 40) + 16);
if( (int)(result + 0x80000000) < 0 || (_DWORD)result == -1073741267 )
{
*(_BYTE *)(a1 + 96) = 1;
return 0i64;
}
return result;
}Referenced by:
No references.