PopGetLockConsoleTimeoutUnsafe

NTSTATUS __fastcall PopGetLockConsoleTimeoutUnsafe(UINT64 SessionId){
  NTSTATUS v1; 
  _EVENT_DATA_DESCRIPTOR v3; 

  v1 = PopAdaptiveLockConsoleTimeout;
  if( PopAdaptiveLockConsoleTimeout > (unsigned int)PopDisplayTimeout )
  {
    if( PopEnforceConsoleLockScreenTimeout )
    {
      if( *(&stru_140C00F40 + 1194) > 5u && tlgKeywordOn((__int64)&stru_140C00F40 + 4776, 0x400000000000i64) )
        tlgWriteTransfer_EtwWriteTransfer(
          (__int64)&stru_140C00F40 + 4776,
          (unsigned __int8 *)&byte_140028D27,
          0i64,
          0i64,
          2u,
          &v3);
    }
    else
    {
      return PopDisplayTimeout;
    }
  }
  return v1;
}

Referenced by:

PopActiveLockScreenPowerRequest
PopGetLockConsoleTimeout
PopSessionWinlogonNotification