LOCK_ADDRESS_SPACE

void __fastcall LOCK_ADDRESS_SPACE(__int64 a1, __int64 a2){
  --*(_WORD *)(a1 + 486);
  ExAcquirePushLockExclusiveEx(a2 + 1224, 0i64);
  *(_BYTE *)(a1 + 1304) |= 1u;
}

Referenced by:

MiAllocateEnclaveVad
MiAllocateFromSubAllocatedRegion
MiDeleteEmptyPageTables
MiFindNextEnclaveBoundary
MiInitializeVadBitMap
MiLockVadRange
MiMapLockedPagesInUserSpace
MiMapViewOfDataSection
MiMapViewOfImageSection
MiMapViewOfPhysicalSection
MiReserveUserMemory
MiResizeAweBitMap
MmCleanProcessAddressSpace
NtFreeUserPhysicalPages