PopFxDisableWorkOrderWatchdog
NTSTATUS __stdcall PopFxDisableWorkOrderWatchdog(ULONG_PTR BugCheckParameter2){
NTSTATUS result;
_QWORD *v2;
unsigned __int8 v3;
__int64 v4;
unsigned __int64 v5;
_QWORD *v6;
if( *(_QWORD *)&BugCheckParameter2 )
{
v2 = *(_QWORD **)&BugCheckParameter2;
if( !(unsigned __int8)KeCancelTimer(*(_QWORD *)&BugCheckParameter2 + 16i64) )
PopFxBugCheck(0x618u, (ULONG_PTR)v2, v2[21], 0);
v3 = KeAcquireSpinLockRaiseToDpc((UINT64 *)&stru_140C23628 + 530);
v2[21] = 0i64;
v2[19] = 0i64;
v4 = *v2;
v5 = v3;
v6 = (_QWORD *)v2[1];
if( *(_QWORD **)(*v2 + 8i64) != v2 || (_QWORD *)*v6 != v2 )
__fastfail(3u);
*v6 = v4;
*(_QWORD *)(v4 + 8) = v6;
KxReleaseSpinLock((UINT64 *)&stru_140C23628 + 530);
result = KiIrqlFlags;
__writecr8(v5);
}
return result;
}Referenced by:
PopFxCompleteDirectedPowerTransition
PopFxDispatchPluginWorkOnce