KiAbThreadRemoveBoosts

char __fastcall KiAbThreadRemoveBoosts(ULONG_PTR BugCheckParameter1, __int64 a2, unsigned int *a3){
  unsigned int v3; 
  unsigned int v6; 
  v3 = *a3;
  if( (*a3 & 0x1FFFF) != 0 )
  {
    v6 = HIWORD(v3);
    if( (v3 & 0x8000u) != 0 )
    {
      KiAbThreadUnboostIoPriority(BugCheckParameter1, 0);
      LOWORD(v6) = *((_WORD *)a3 + 1);
    }
    if( (v6 & 1) != 0 )
    {
      _InterlockedDecrement((volatile signed __int32 *)(BugCheckParameter1 + 864));
      PsBoostThreadIoQoS(BugCheckParameter1, 1);
    }
    LOBYTE(v3) = -1;
    if( (*(_WORD *)a3 & 0x7FFF) != 0 )
      LOBYTE(v3) = KiAbThreadUnboostCpuPriority(BugCheckParameter1, *(_WORD *)a3 & 0x7FFF);
  }
  return v3;
}

Referenced by:

CcAmILowPriorityWriter
CcApplyLowIoPriorityToThread
CcBoostLowPriorityWorkerThread
CcChangeBackingFileObject
CcPinFileData
CcSetDirtyInMask
CcSetDirtyPinnedData
CcUnpinFileDataEx
EmpParseInfDatabase
EmpQueueRuleUpdateState
EmpRuleUpdateWorkerThread
EtwpBufferingModeCompressionFlush
EtwpCompressPendingBuffers
EtwpCompressionProc
EtwpDisableCompression
EtwpFreeCompression
EtwpSetCompressionSettings
ExAcquireAutoExpandPushLockShared
ExAcquireCacheAwarePushLockSharedEx
ExAcquireFastMutex
ExAcquireFastMutexUnsafe
ExAcquirePushLockExclusiveEx
ExAcquirePushLockSharedEx
ExDisableHandleTracing
ExGetWakeTimerList
ExQueryHandleExceptionsPermanency
ExReleaseCacheAwarePushLockSharedEx
ExReleasePushLockExclusiveEx
ExShareAddressSpaceWithDevice
ExSvmBeginDeviceReset
ExSvmFinalizeDeviceReset
ExTryAcquirePushLockExclusiveEx
ExTryAcquirePushLockSharedEx
ExpDeleteTimer
ExpSaAllocatorAllocate
ExpSaAllocatorFree
ExpSaPageGroupAllocateMemory
ExpSaPageGroupDescriptorAllocate
ExpSaPageGroupDescriptorFree
ExpSaPageGroupFreeMemory
ExpSetTimerObject
ExpSvmDereferenceDevice
FlushLookUpTableBucket
FsRtlAcquireEofLock
FsRtlCheckOplockEx2
FsRtlReleaseEofLock
HalpIommuBlockDevice
HalpIommuUnblockDevice
HalpLeaveDmaDomain
InsertEventEntryInLookUpTable
IommuBeginDeviceReset
IommuFinalizeDeviceReset
IopProcessIoTracking
IopReleaseFileObjectLock
KeAbPostReleaseEx
KeAbPreAcquire
KiAbCrossThreadRelease
KiForceSymbolReferences
KsepShimDbChanged
MI_UNLOCK_RELOCATIONS_EXCLUSIVE
MiAddViewsForSection
MiClearPartitionPageBitMap
MiCommitPageTableRangesForVad
MiContractWsSwapPageFileWorker
MiCreatePrototypePtes
MiDecommitHardwareEnclavePages
MiDeletePartialVad
MiDeletePartitionResources
MiDeleteVad
MiDereferenceExtendInfo
MiExpandPtes
MiFinishVadDeletion
MiFreeUnusedPfnPages
MiIncrementAweMapCount
MiInitializeMirroring
MiInitializePagedPoolEvents
MiInsertInSystemSpace
MiLockAddressSpaceToo
MiMarkSystemVaAllocated
MiObtainSessionVa
MiObtainSystemCacheView
MiProcessTransitionHeatBatch
MiReleaseSessionVa
MiRemoveFromSystemSpace
MiRemovePlaceholderVad
MiTrimUnusedPageFileRegionsWorker
MiTryLockVad
MiUnlockAndDereferenceVad
MiUnlockDriverMappings
MiUnlockDynamicMemoryExclusive
MiUnlockDynamicMemoryNestedParentExclusive
MiUnlockLoaderEntry
MiUnlockPartitionSystemThreads
MiUnlockVad
MiUpControlAreaRefs
MmOutSwapVirtualAddresses
MmOutSwapWorkingSet
NormalizationList__Unlock
NtCancelTimer
PfFileInfoNotify
PfLockExclusiveRelease
PfLockSharedTryAcquire
PfTSetTraceWorkerPriority
PopDirectedDripsDiagTraceNotifyDevices
PopDirectedDripsNotifyResiliencyCompletionWorker
PopFxBuildDirectedDripsCandidateDeviceList
PopFxBuildDripsBlockingDeviceList
PopFxClearDirectedDripsCandidateDeviceList
PopFxInsertAcpiDevice
PopFxPrepareDevicesForShutdown
PopFxRegisterPluginEx
PopFxRemoveAcpiDevice
PopFxRemoveDevice
PopPepPlatformStateRegistered
PopPepRemoveDevice
PsAdjustBasicEnclaveThreadList
PsGetProcessEnclaveModuleInfo
PsLoadVsmEnclaveData
PspStorageEmptyArrayNonReadonly
PspUnlockAffinityUpdateExclusive
PspUnlockProcessExclusive
PspUnlockProcessExclusiveUnsafe
PspUnlockProcessListExclusive
PspUnlockQuotaExpansion
PspUnlockQuotaListExclusive
PspUnlockThreadSecurityExclusive
PspUnlockWorkingSetChangeExclusiveUnsafe
RtlInsertDynamicFunctionTable
RtlRemoveDynamicFunctionTable
RtlpCSparseBitmapUnlock
RtlpHpAcquireReleaseLockExclusive
RtlpHpFixedVsAllocate
RtlpHpFixedVsFree
RtlpHpHeapExtendContext
RtlpHpLargeAlloc
RtlpHpLargeFree
RtlpHpLfhBucketAddSubsegment
RtlpHpLfhBucketGetSubsegment
RtlpHpLfhBucketUpdateAffinityMapping
RtlpHpLfhSlotAllocate
RtlpHpLfhSubsegmentDecommitPages
RtlpHpLfhSubsegmentFreeBlock
RtlpHpLfhSubsegmentIncBlockCounts
RtlpHpReleaseQueuedLockExclusive
RtlpHpSegContextCompact
RtlpHpSegMgrCommitComplete
RtlpHpSegMgrCommitInitiate
RtlpHpSegMgrVaCtxAlloc
RtlpHpSegMgrVaCtxFree
RtlpHpSegMgrVaCtxInsert
RtlpHpSegPageRangeAllocate
RtlpHpSegPageRangeCoalesce
RtlpHpSegPageRangeShrink
RtlpHpVaMgrAlloc
RtlpHpVaMgrCtxFree
RtlpHpVsChunkSplit
RtlpHpVsSubsegmentCommitPages
SMKM_STORE::SmStCleanup
SMKM_STORE::SmStHelperSendCommand
SMKM_STORE::SmStWorker
SMKM_STORE_MGR::SmFeAddInitiate
SMKM_STORE_MGR::SmFeEmpty
SMKM_STORE_MGR::SmFeEvictComplete
SMKM_STORE_MGR::SmFeEvictInitiate
SMKM_STORE_MGR::SmFeSetEvictFailed
SMKM_STORE_MGR::SmFeStoreDelete
SMKM_STORE_MGR::SmFeStoreEvictKeys
SSHSupportReleasePushLockExclusive
ST_STORE::StDmPageRemove
ST_STORE::StDmpSinglePageAdd
SeRegisterObjectTypeMandatoryPolicy
SepDeleteSessionLowboxEntries
SmFirstTimeInit
SmKmVirtualLockContextIncreaseWsMin
SmKmVirtualLockCtxMemoryUnlocked
SmpKeyedStoreEntryGet
SmpKeyedStoreSetVaRanges
SshpSetCollectionActive
StLockTryAcquireExclusive
UNLOCK_ADDRESS_SPACE
UNLOCK_ADDRESS_SPACE_UNORDERED
UNLOCK_PAGE_TABLE_COMMITMENT
WheaInitialize