VfZwProtectVirtualMemory
NTSTATUS __stdcall VfZwProtectVirtualMemory(
PVOID ProcessHandle,
PVOID *BaseAddress,
UINT64 *RegionSize,
UINT64 NewProtectWin32,
UINT64 *OldProtect){
unsigned int v7;
PVOID retaddr;
v7 = NewProtectWin32;
VfCheckPageProtection((unsigned int)NewProtectWin32, retaddr);
if( (unsigned int)ViZwShouldCheck() )
{
ViZwCheckVirtualAddress((UINT64)BaseAddress, retaddr);
ViZwCheckVirtualAddress((UINT64)RegionSize, retaddr);
ViZwCheckVirtualAddress((UINT64)OldProtect, retaddr);
}
return((__int64(__fastcall *)(PVOID, PVOID *, UINT64 *, _QWORD, UINT64 *))pXdvZwProtectVirtualMemory)(
ProcessHandle,
BaseAddress,
RegionSize,
v7,
OldProtect);
}Referenced by:
No references.