RtlSetBits
VOID __stdcall RtlSetBits(_RTL_BITMAP *BitMapHeader, UINT64 StartingIndex, UINT64 NumberToSet){
unsigned __int64 v3;
UINT64 v4;
_BYTE *v5;
__int64 v6;
char v7;
if( (_DWORD)NumberToSet )
{
v3 = (unsigned int)StartingIndex;
v4 = StartingIndex & 7;
v5 = (char *)BitMapHeader->Buffer + (v3 >> 3);
v6 = (unsigned int)NumberToSet;
if( (unsigned int)(v4 + NumberToSet) <= 8 )
{
v7 = byte_14001DA00[(unsigned int)NumberToSet] << v4;
LABEL_4:
*v5 |= v7;
return;
}
if( (_DWORD)v4 )
{
v6 = (unsigned int)(v4 + NumberToSet - 8);
*v5++ |= byte_14001A768[v4];
}
if( (unsigned int)v6 > 8 )
{
memset(v5, 255i64, (unsigned int)v6 >> 3);
v5 += (unsigned __int64)(unsigned int)v6 >> 3;
v6 &= 7u;
}
if( (_DWORD)v6 )
{
v7 = byte_14001DA00[v6];
goto LABEL_4;
}
}
}Referenced by:
CmpLoadHiveThread
CmpMountPreloadedHives
HalpInitializeInterruptRemappingBspLate
HalpIommuProcessDeviceEntries
HalpIrtAllocateIndex
HalpMmAllocCtxAlloc
HsaUpdateRemappingTableEntry
HvCheckBin
HvpAddFreeCellHint
HvpMarkDirty
HvpRemoveFreeCellHint
HvpUpdateRecoveryVector
MiAttemptPageFileReductionApc
MiBuildMdlForMappedFileFault
MiExtendPagingFileMaximum
MiFindFreePageFileSpace
MiGetPrototypePteRanges
MiInitializeTopLevelBitmap
MiLockdownSections
MiReduceMappedFileReadAhead
MiReduceMappedFileReadBehind
MiReserveBootDriverPtes
MiReserveDriverPtes
MiSetPageFileAllocationBits
MiStoreSetPageFileRunEvicted
PnprMirrorMarkedPages
PopCloneRange
PopDiscardRange
PopGenerateUnHibernatedMdl
PopSetBootPhaseRange
RtlFindClearBitsAndSet
RtlMarkExceptionHandlingPages
SepAddLuidToIndexEntry
SepGetLowBoxNumberEntry
ViAllocateContiguousMemory