MiInitializeDynamicVa
CHAR *__stdcall MiInitializeDynamicVa(){
_MMPTE *Pml4eBase;
CHAR *result;
stru_140C4E0C8.Header.Size = 6;
qword_140C4E0E0 = 0i64;
LOWORD(stru_140C4E0C8.Header.Lock) = 0;
stru_140C4E0C8.Header.SignalState = 0;
stru_140C4E0C8.Header.WaitListHead.Blink = &stru_140C4E0C8.Header.WaitListHead;
stru_140C4E0C8.Header.WaitListHead.Flink = &stru_140C4E0C8.Header.WaitListHead;
MiAssignSessionRanges();
Pml4eBase = MmGetPml4eBase();
qword_140C4F6E8 = MiCountBootRegions(
(UINT64)Pml4eBase + 8 * ((*(_QWORD *)PagesPerBit >> 39) & 0x1FFi64),
(UINT64)Pml4eBase
+ 8 * (((unsigned __int64)(*(_QWORD *)PagesPerBit + 0x7FFFFFFFFFi64) >> 39) & 0x1FF),
3i64);
result = MiGetAnyMultiplexedVm(1i64);
result[184] = result[184] & 0xF8 | 4;
return result;
}Referenced by:
MiInitNucleus