VslDetermineHotPatchType
NTSTATUS __fastcall VslDetermineHotPatchType(unsigned int a1, unsigned int a2, int *a3){
INT64 v3;
INT64 v5;
NTSTATUS result;
int v7;
INT64 v8[14];
v3 = a2;
v5 = a1;
memset(v8, 0i64, 0x68u);
v8[1] = v5;
v8[2] = v3;
result = VslpEnterIumSecureMode(2u, 67, 0i64, (INT64)v8);
if( result >= 0 )
{
LOBYTE(v7) = v8[2];
*a3 = v8[2];
if( (v7 & 1) != 0 )
{
_InterlockedIncrement((_DWORD *)&stru_140C452E0 + 1969);
v7 = *a3;
}
if( (v7 & 2) != 0 )
_InterlockedIncrement((_DWORD *)&stru_140C452E0 + 1970);
}
return result;
}Referenced by:
MiLoadHotPatch
MmRegisterHotPatch