Function at 0x18020ea90
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
lea rax, vtable.PointerHook.0
mov qword [rcx], rax
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], r8
test rdx, rdx
je 0x18020ec4f
mov edx, 8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x18020ebc3
lea r9d, [rax + 0x40]
lea r8d, [rax + 8]
mov rdx, rdi
lea rcx, [rbp + 0xf]
call fcn.18020ece0
nop
call fcn.180269230
mov qword [rbp + 0x67], rsi
mov rcx, qword [rdi]
mov qword [rbp + 0x6f], rcx
mov qword [rbp + 0x77], rdi
lea rcx, str.D:_aUEVRUEVR_build_depskananlib_src_srcPointerHook.cpp
mov qword [rbp - 9], rcx
mov dword [rbp - 1], 0x18
lea rcx, str.PointerHook::PointerHook
mov qword [rbp + 7], rcx
lea rcx, str._PointerHook__Hooking_:x__:x_to_:x
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], 0x28
movups xmm0, xmmword [rbp - 9]
movaps xmmword [rbp - 0x29], xmm0
movsd xmm1, qword [rbp + 7]
movsd qword [rbp - 0x19], xmm1
lea rcx, [rbp + 0x67]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x6f]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x77]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x39]
mov r8d, 2
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.18020e780
mov rax, qword [rdi]
mov qword [rbx + 0x10], rax
mov qword [rdi], rsi
lea rax, vtable.ProtectionOverride.0
mov qword [rbp + 0xf], rax
lea r9, [rbp + 0x27]
mov r8d, dword [rbp + 0x27]
mov rdx, qword [rbp + 0x1f]
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, rbx
mov rbx, qword [rsp + 0xf8]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
call fcn.180269230
mov rbx, rax
lea rdx, str.PointerHook:_old_ptr_is_not_readable
lea rcx, [rbp - 9]
call fcn.18020ea60
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
lea r9, str.PointerHook::PointerHook
mov r8d, 0x12
lea rdx, str.D:_aUEVRUEVR_build_depskananlib_src_srcPointerHook.cpp
lea rcx, [rbp + 0x2f]
call fcn.18020ede0
movups xmm0, xmmword [rbp - 0x39]
movaps xmmword [rbp - 0x39], xmm0
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x29], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x19], xmm1
lea r9, [rbp - 0x39]
mov r8d, 4
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.180033b10
lea rdx, str.old_ptr_is_not_readable
lea rcx, [rbp - 0x29]
call fcn.1801ee1a0
lea rdx, [0x1804d8ef0]
lea rcx, [rbp - 0x29]
call fcn.18029b94c
int3
call fcn.180269230
mov rbx, rax
lea rdx, str.PointerHook:_old_ptr_is_nullptr
lea rcx, [rbp - 9]
call fcn.18020ea60
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
lea r9, str.PointerHook::PointerHook
mov r8d, 0xd
lea rdx, str.D:_aUEVRUEVR_build_depskananlib_src_srcPointerHook.cpp
lea rcx, [rbp + 0x2f]
call fcn.18020ede0
movups xmm0, xmmword [rbp - 0x39]
movaps xmmword [rbp - 0x39], xmm0
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x29], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x19], xmm1
lea r9, [rbp - 0x39]
mov r8d, 4
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.180033b10
lea rdx, str.old_ptr_cannot_be_nullptr
lea rcx, [rbp - 0x29]
call fcn.1801ee1a0
lea rdx, [0x1804d8ef0]
lea rcx, [rbp - 0x29]
call fcn.18029b94c
int3