MiVadPureReserve

__int64 __fastcall MiVadPureReserve(__int64 a1){
  int v1; 
  __int64 v3; 
  v1 = *(_DWORD *)(a1 + 48);
  if( (v1 & 0x100000) != 0 )
  {
    if( (v1 & 0x70) != 0 || *(int *)(a1 + 52) < 0 )
      return 0i64;
  }
  else
  {
    if( (*(_DWORD *)(a1 + 48) & 0xF80) != 3072 )
      return 0i64;
    v3 = *(_QWORD *)(a1 + 72);
    if( *(_QWORD *)(*(_QWORD *)v3 + 64i64) || (*(_DWORD *)(*(_QWORD *)v3 + 56i64) & 0x1000) == 0 )
      return 0i64;
  }
  return 1i64;
}

Referenced by:

MiAllocateChildVads
MiCommitPageTablesForVad
MiCommitPagefileBackedSection
MiDecommitPages
MiDeleteEmptyPageTables
MiInPagePageTable
MiInsertVadCharges
MiProbeAndLockPrepare
MiQueryAddressState
MiReturnPageTablePageCommitment
MiReturnVadQuota
MiSetProtectionOnSection
MiSetReadOnlyOnSectionView
MiSplitPrivatePage
NtLockVirtualMemory