MiVadSupportsPrivateCommit

BOOL __stdcall MiVadSupportsPrivateCommit(INT64 a1){
  int v1; 
  int v2; 

  v1 = *(_DWORD *)(a1 + 48);
  v2 = v1 & 0x100000;
  if( (v1 & 0x70) != 0 )
  {
    if( v2 || (*(_DWORD *)(a1 + 64) & 0x1000000) == 0 )
    {
      v1 = *(_DWORD *)(a1 + 48);
      if( (v1 & 0x70) == 32 )
        return 1;
    }
    else
    {
      v1 = *(_DWORD *)(a1 + 48);
    }
  }
  else if( !v2 || (v1 & 0x400000) == 0 && (v1 & 0xC0000u) < 0x80000 )
  {
    return 1;
  }
  return(v1 & 0x70) == 64;
}

Referenced by:

MiCrcStillIntact
MiEmptyWorkingSetPrivatePagesByVa
MiIsVadEligibleForCommitRelease
MiProcessVaRangesInfoClass
MiSharePages
MmOutSwapWorkingSet
MmSecureVirtualMemoryAgainstWrites