PopUserPresentSetWorker

VOID __stdcall PopUserPresentSetWorker(VOID *Context){
  UINT8 v1; 
  POWER_MONITOR_REQUEST_REASON v2; 

  v2 = (int)Context;
  if( *(&stru_140C23628 + 1769) )
  {
    _InterlockedExchange((_DWORD *)&stru_140C23628 + 444, 1);
    KeInitializeDpc(
      (PRKDPC)((char *)&stru_140C23628 + 2552),
      PopAwayModeUserPresenceDpc,
      (char *)&stru_140C23628 + 1776);
    KiSetTimerEx(
      (_KTIMER *)&stru_140CF2E80 + 79,
      (_LARGE_INTEGER)-30000000i64,
      0i64,
      0,
      (_KDPC *)((char *)&stru_140C23628 + 2552));
    PopAwaymodeExitReason = v2;
    PopSetNotificationWork(0x40ui64);
  }
  PopNotifyConsoleUserPresent(0, v1, v2);
  _InterlockedExchange((_DWORD *)&stru_140C23628 + 654, 0);
  if( _InterlockedCompareExchange((_DWORD *)&stru_140C23628 + 443, 0, 0) )
    KeSetEvent((PRKEVENT)((char *)&stru_140C23628 + 2648), 0, 0);
}

Referenced by:

No references.