KeAbProcessEffectiveIoPriorityChange

void __fastcall KeAbProcessEffectiveIoPriorityChange(__int64 a1, int a2){
  unsigned __int8 CurrentIrql; 
  struct _KPRCB *CurrentPrcb; 
  if( !a2 && *(_BYTE *)(a1 + 793) )
  {
    CurrentIrql = KeGetCurrentIrql();
    __writecr8(2ui64);
    CurrentPrcb = KeGetCurrentPrcb();
    if( (unsigned int)KiAbThreadInsertList(
                         (_KTHREAD *)a1,
                         (_SINGLE_LIST_ENTRY *)CurrentPrcb + 4335,
                         (_SINGLE_LIST_ENTRY *)(a1 + 808)) )
      KiAbQueueAutoBoostDpc(CurrentPrcb);
    __writecr8(CurrentIrql);
  }
}

Referenced by:

ExpApplyPriorityBoost
PsBoostThreadIoQoS