PopPolicyWorkerNotify

UINT64 __stdcall PopPolicyWorkerNotify(){
  unsigned int v0; 
  unsigned int v1; 
  __int64(__fastcall **v2)(); 
  _LARGE_INTEGER Interval; 

  while( 1 )
  {
    v0 = _InterlockedExchange(&PopNotifyEvents, 0);
    if( !v0 )
      break;
    do
    {
      _BitScanForward(&v1, v0);
      v0 &= ~(1 << v1);
      v2 = &PopNotifyWork + 2 * v1;
      if( *v2 )
      {
        ((void(__fastcall *)(_QWORD))*v2)(*((unsigned int *)v2 + 2));
        if( KeGetCurrentThread()->WaitBlock[3].SpareLong )
          __fastfail(0x20u);
      }
    }
    while( v0 );
    Interval.QuadPart = -100000i64;
    KeDelayExecutionThread(0, 0, &Interval);
  }
  return 0i64;
}

Referenced by:

No references.