TtmpScheduledEvaluationWorker

VOID __stdcall TtmpScheduledEvaluationWorker(PVOID Parameter){
  _ETHREAD *CurrentThread; 
  __int64 v3; 
  int v4; 
  if( _InterlockedExchange((volatile __int32 *)Parameter + 62, 0) )
  {
    CurrentThread = (_ETHREAD *)KeGetCurrentThread();
    --*((_WORD *)CurrentThread + 242);
    ExAcquireResourceExclusiveLite(&TtmpSessionLock, 1u);
    v3 = *((_QWORD *)Parameter + 2);
    if( v3 )
    {
      v4 = *((_DWORD *)Parameter + 9);
      if( (v4 & 1) == 0 && (v4 & 2) == 0 )
      {
        *((_DWORD *)Parameter + 9) = v4 | 4;
        TtmiScheduleSessionWorker(v3, 2);
      }
    }
    ExReleaseResourceLite(&TtmpSessionLock);
    KeLeaveCriticalRegion();
    HalPutDmaAdapter((PADAPTER_OBJECT)Parameter);
  }
}

Referenced by:

No references.