KiCheckForMaxOverQuotaScb

char __fastcall KiCheckForMaxOverQuotaScb(__int64 a1){
  while( (*(_BYTE *)(a1 + 112) & 2) == 0 )
  {
    a1 = *(_QWORD *)(a1 + 408);
    if( !a1 )
      return 0;
  }
  return 1;
}

Referenced by:

KiFindReadyThread
KiGroupSchedulingQuantumEnd
KiQueueReadyThread
KiSchedulerApc