SleepstudyHelperDestroyBlocker
NTSTATUS __stdcall SleepstudyHelperDestroyBlocker(PKSPIN_LOCK SpinLock){
NTSTATUS v2;
unsigned __int64 v3;
int v4;
if( !SpinLock )
return -1073741811;
v3 = (unsigned __int8)KeAcquireSpinLockRaiseToDpc(SpinLock);
v4 = *((_DWORD *)SpinLock + 2);
if( (v4 & 8) != 0 )
{
v2 = -1073741811;
}
else
{
*((_DWORD *)SpinLock + 2) = v4 | 8;
v2 = 0;
}
KxReleaseSpinLock(SpinLock);
__writecr8(v3);
return v2;
}Referenced by:
SleepstudyHelper_RegisterComponentEx
SleepstudyHelper_RegisterPdoWithParentGuid
SleepstudyHelper_RegisterPdoWithParentHandle
SleepstudyHelper_RegisterPdoWithParentPdo
SleepstudyHelper_UnregisterComponent