MiPartitionWorkingSetManager

VOID __fastcall MiPartitionWorkingSetManager(VOID *Context){
  NTSTATUS v2; 
  int v3; 
  _MM_WORKING_SET_MANAGER_WAKE_TYPE v4; 
  VOID *Object[3]; 

  KeSetPriorityThread(KeGetCurrentThread(), 17);
  Object[0] = (char *)Context + 104;
  Object[1] = (char *)&stru_140C4DB30 + 4192;
  Object[2] = (VOID *)(*((_QWORD *)Context + 856) + 96i64);
  while( 1 )
  {
    v2 = KeWaitForMultipleObjects(3ui64, Object, WaitAny, Executive, 0, 0, 0i64, 0i64);
    if( !v2 )
      break;
    v3 = v2 - 1;
    if( v3 )
    {
      if( v3 == 1 )
      {
        v4 = WorkingSetImmediate;
        goto LABEL_7;
      }
    }
    else
    {
      v4 = WorkingSetPeriodic;
LABEL_7:
      MiWorkingSetManager((_MM_WORKING_SET_MANAGER_WAKE_TYPE)Context, v4);
    }
  }
}

Referenced by:

No references.