VfZwAllocateVirtualMemory

NTSTATUS __stdcall VfZwAllocateVirtualMemory(
        PVOID ProcessHandle,
        PVOID *BaseAddress,
        UINT64 ZeroBits,
        UINT64 *RegionSize,
        UINT64 AllocationType,
        UINT64 Protect){
  VOID *retaddr; 

  VfCheckPageProtection((unsigned int)Protect, retaddr);
  if( (unsigned int)ViZwShouldCheck() )
  {
    ViZwCheckVirtualAddress((UINT64)BaseAddress, retaddr);
    ViZwCheckVirtualAddress((UINT64)RegionSize, retaddr);
  }
  return((__int64(__fastcall *)(PVOID, PVOID *, UINT64, UINT64 *, _DWORD, _DWORD))pXdvZwAllocateVirtualMemory)(
           ProcessHandle,
           BaseAddress,
           ZeroBits,
           RegionSize,
           AllocationType,
           Protect);
}

Referenced by:

No references.