MiLockVad
void __fastcall MiLockVad(__int64 a1, __int64 a2){
--*(_WORD *)(a1 + 486);
ExAcquirePushLockExclusiveEx(a2 + 40, 0i64);
*(_BYTE *)(a1 + 1304) |= 0x80u;
}Referenced by:
MiAllocateEnclaveVad
MiAllocateFromSubAllocatedRegion
MiAllocateNewSubAllocatedRegion
MiAllocateVirtualMemory
MiCfgInitializeProcess
MiDeleteEmptyPageTables
MiDeleteInsertedCloneVads
MiInitializeVsmEnclave
MiLoadSectionIntoVsmEnclave
MiLockVadRange
MiMapLockedPagesInUserSpace
MiMapViewOfDataSection
MiMapViewOfImageSection
MiMapViewOfPhysicalSection
MiPerformImageHotPatch
MiReserveUserMemory
MiTerminateEnclave
MmCleanProcessAddressSpace
MmQueryVirtualMemory