Function at 0x180163c80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1804e1080]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, r8
mov r13, rdx
mov r14, rcx
mov rax, qword [rcx + 0x30]
cmp rax, qword [rcx + 0x38]
je 0x180163cc7
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x48], 0x13
mov rbx, qword [rcx]
mov qword [rsp + 0x58], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor r15d, r15d
mov qword [rsp + 0x50], r15
lea ecx, [r15 + 8]
call fcn.18027ee54
mov rcx, rax
mov qword [rsp + 0x40], rax
add rax, 8
mov qword [rsp + 0x50], rax
mov qword [rcx], rbx
mov qword [rsp + 0x48], rax
xor edx, edx
mov r8d, 0x148
lea rcx, [rbp - 0x50]
call fcn.1802d1800
mov rbx, qword [r14]
lea rax, [rbx + 5]
cmp rbx, rax
jae 0x180163efc
nop dword [rax + rax]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x100], xmm0
mov dword [rbp + 0x110], eax
xor edx, edx
lea r8d, [rax + 2]
lea rcx, [rbp + 0x100]
call fcn.18025b780
test eax, eax
js 0x180163fd7
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf
mov r8, rbx
xor edx, edx
lea rcx, [rbp + 0x100]
call fcn.18025b680
shr eax, 0x1f
not al
test al, 1
je 0x180163fd7
movzx r9d, byte [rbp - 0x48]
add qword [r14 + 0x48], r9
mov rdx, qword [r14 + 0x38]
mov r8, rbx
lea rcx, [r14 + 0x30]
call fcn.180162f30
movzx eax, byte [rbp - 0x30]
shr al, 7
test al, 1
je 0x180163ee5
cmp byte [rbp + 0xc0], 0x20
jne 0x180163dea
movsxd rax, dword [rbp + 0xb8]
movzx ecx, byte [rbp - 0x48]
add rax, rbx
add rcx, rax
mov qword [rsp + 0x38], rcx
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsp + 0x50]
je 0x180163e23
mov qword [rdx], rcx
add qword [rsp + 0x48], 8
jmp 0x180163ee5
cmp byte [rbp + 0xd8], 0x20
jne 0x180163e37
movsxd rax, dword [rbp + 0xd0]
movzx ecx, byte [rbp - 0x48]
add rax, rbx
add rcx, rax
mov qword [rsp + 0x38], rcx
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsp + 0x50]
je 0x180163e23
mov qword [rdx], rcx
add qword [rsp + 0x48], 8
jmp 0x180163ee5
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.180162d90
jmp 0x180163ee5
mov eax, dword [rbp + 0xc]
cmp eax, 0x1c
jne 0x180163e91
cmp dword [rbp + 0x18], 1
jne 0x180163f51
movsxd rax, dword [rbp + 0xd0]
movzx ecx, byte [rbp - 0x48]
add rax, rbx
add rcx, rax
mov qword [rsp + 0x38], rcx
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsp + 0x50]
je 0x180163e7b
mov qword [rdx], rcx
add qword [rsp + 0x48], 8
add qword [r14 + 0x48], 4
jmp 0x180163ee5
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.180162d90
add qword [r14 + 0x48], 4
jmp 0x180163ee5
cmp eax, 0x60
jne 0x180163f51
cmp dword [rbp + 0x18], 1
jne 0x180163f51
movsxd rax, dword [rbp + 0xd0]
movzx ecx, byte [rbp - 0x48]
add rax, rbx
add rcx, rax
mov qword [rsp + 0x38], rcx
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsp + 0x50]
je 0x180163ed1
mov qword [rdx], rcx
add qword [rsp + 0x48], 8
jmp 0x180163ee0
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.180162d90
add qword [r14 + 0x48], 3
movzx eax, byte [rbp - 0x48]
add rbx, rax
mov rax, qword [r14]
add rax, 5
cmp rbx, rax
jb 0x180163d30
mov qword [rsp + 0x20], 0x7fffffff
mov r9, qword [r14 + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x78]
mov rcx, qword [rdi]
call fcn.180165530
nop
cmp byte [rbp - 0x58], 0
jne 0x180163fe1
mov byte [rsp + 0x58], 0
movzx eax, byte [rbp - 0x78]
mov byte [rsp + 0x60], al
xor eax, eax
mov dword [rsp + 0x61], eax
mov word [rsp + 0x65], ax
mov byte [rsp + 0x67], al
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r13], xmm0
mov byte [r13 + 0x10], al
jmp 0x180163f6a
mov byte [rsp + 0x58], 4
mov qword [rsp + 0x60], rbx
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r13], xmm0
mov byte [r13 + 0x10], 0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180163faa
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x180163fa5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801644b4
call fcn.18027ee90
mov rax, r13
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.18027f9e0
mov rbx, qword [rsp + 0x308]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov byte [rsp + 0x58], 1
jmp 0x180163f56
lea rdx, [rbp - 0x78]
lea rcx, [r14 + 0x10]
call fcn.180165300
mov rcx, qword [r14 + 0x20]
mov rdx, qword [r14 + 0x28]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x78], r15d
lea r9, [rsp + 0x78]
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov rdi, qword [r14]
mov rbx, qword [r14 + 0x20]
mov r15, qword [r14 + 0x38]
mov rdx, qword [r14 + 0x30]
mov rax, r15
sub rax, rdx
add rax, rdi
cmp rdi, rax
jae 0x18016422c
nop dword [rax + rax]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x100], xmm0
mov dword [rbp + 0x110], eax
xor edx, edx
lea r8d, [rax + 2]
lea rcx, [rbp + 0x100]
call fcn.18025b780
test eax, eax
js 0x18016445f
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf
mov r8, rdi
xor edx, edx
lea rcx, [rbp + 0x100]
call fcn.18025b680
shr eax, 0x1f
not al
test al, 1
je 0x18016445f
movzx eax, byte [rbp - 0x30]
shr al, 7
test al, 1
je 0x180164140
cmp byte [rbp + 0xc0], 0x20
jne 0x1801640f4
movzx eax, byte [rbp - 0x48]
test al, al
je 0x1801640cb
mov r8d, eax
mov rdx, rdi
mov rcx, rbx
call fcn.1802d1160
movzx eax, byte [rbp - 0x48]
movzx eax, al
lea rcx, [rax + rdi]
add rcx, qword [rbp + 0xb8]
sub rcx, rax
sub rcx, rbx
movzx eax, byte [rbp + 0xc1]
mov dword [rax + rbx], ecx
movzx eax, byte [rbp - 0x48]
mov ecx, eax
jmp 0x180164203
cmp byte [rbp + 0xd8], 0x20
jne 0x180164140
movzx eax, byte [rbp - 0x48]
test al, al
je 0x180164117
mov r8d, eax
mov rdx, rdi
mov rcx, rbx
call fcn.1802d1160
movzx eax, byte [rbp - 0x48]
movzx eax, al
lea rcx, [rax + rdi]
add rcx, qword [rbp + 0xd0]
sub rcx, rax
sub rcx, rbx
movzx eax, byte [rbp + 0xd9]
mov dword [rax + rbx], ecx
movzx eax, byte [rbp - 0x48]
mov ecx, eax
jmp 0x180164203
mov eax, dword [rbp + 0xc]
cmp eax, 0x1c
jne 0x18016419c
cmp dword [rbp + 0x18], 1
jne 0x1801641e6
movzx r8d, byte [rbp - 0x48]
add r8, rdi
add r8, qword [rbp + 0xd0]
mov r9, r8
sub r9, rbx
sub r9, 6
mov rcx, qword [r14 + 0x38]
sub rcx, qword [r14 + 0x30]
add rcx, qword [r14]
cmp r8, rcx
cmovb r9, qword [rbp + 0xd0]
mov byte [rbx], 0xf
movzx eax, byte [rbp - 0x3c]
add al, 0x10
mov byte [rbx + 1], al
mov dword [rbx + 2], r9d
mov ecx, 6
movzx eax, byte [rbp - 0x48]
jmp 0x180164203
cmp eax, 0x60
jne 0x1801641e6
cmp dword [rbp + 0x18], 1
jne 0x1801641e6
movzx r9d, byte [rbp - 0x48]
add r9, rdi
add r9, qword [rbp + 0xd0]
mov r8, r9
sub r8, rbx
sub r8, 5
mov rcx, qword [r14 + 0x38]
sub rcx, qword [r14 + 0x30]
add rcx, qword [r14]
cmp r9, rcx
cmovb r8, qword [rbp + 0xd0]
mov byte [rbx], 0xe9
mov dword [rbx + 1], r8d
lea ecx, [rax - 0x5b]
movzx eax, byte [rbp - 0x48]
jmp 0x180164203
movzx eax, byte [rbp - 0x48]
test al, al
je 0x180164200
mov r8d, eax
mov rdx, rdi
mov rcx, rbx
call fcn.1802d1160
movzx eax, byte [rbp - 0x48]
movzx ecx, al
add rbx, rcx
movzx eax, al
add rdi, rax
mov r15, qword [r14 + 0x38]
mov rdx, qword [r14 + 0x30]
mov rax, r15
sub rax, rdx
mov rcx, qword [r14]
add rax, rcx
cmp rdi, rax
jb 0x180164040
mov rdi, rcx
mov rcx, qword [r14 + 0x20]
mov rbx, qword [r14 + 0x48]
add rcx, 0xffffffffffffffed
add rbx, rcx
mov qword [rbp - 0x80], rbx
sub r15, rdx
mov qword [rbp + 0x100], rbx
mov qword [rbp + 0x108], 5
xor r12d, r12d
mov dword [rbp + 0x110], r12d
lea r9, [rbp + 0x110]
lea edx, [r12 + 5]
lea r8d, [r12 + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [rsp + 0x38], 0xe9
sub r15d, ebx
lea eax, [rdi - 5]
add eax, r15d
mov dword [rsp + 0x39], eax
mov eax, dword [rsp + 0x38]
mov dword [rbx], eax
movzx eax, byte [rsp + 0x3c]
mov byte [rbx + 4], al
lea r9, [rbp + 0x110]
mov r8d, dword [rbp + 0x110]
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rbp - 0x80]
lea rsi, [rax + 5]
mov rbx, qword [r14 + 8]
lea rdi, [rax + 0xb]
mov qword [rbp + 0x100], rsi
mov qword [rbp + 0x108], 6
mov dword [rbp + 0x110], r12d
lea r9, [rbp + 0x110]
lea edx, [r12 + 6]
lea r8d, [r12 + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rdi], rbx
mov word [rsp + 0x38], 0x25ff
sub edi, esi
sub edi, 6
mov dword [rsp + 0x3a], edi
mov eax, dword [rsp + 0x38]
mov dword [rsi], eax
movzx eax, word [rsp + 0x3c]
mov word [rsi + 4], ax
lea r9, [rbp + 0x110]
mov r8d, dword [rbp + 0x110]
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rax, [0x1803594c8]
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], r14
lea rax, [rbp + 0x160]
mov qword [rbp + 0x198], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__private:_class_std::expected_void__struct_safetyhook::InlineHook::Error____cdecl_safetyhook::InlineHook::e9_hook_class_std::shared_ptr_class_safetyhook::Allocator__const____ptr64____ptr64::_2::_lambda_1___void___.0
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], r14
lea rax, [rbp - 0x80]
mov qword [rbp + 0x130], rax
lea rax, [rbp + 0x120]
mov qword [rbp + 0x158], rax
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x120]
call fcn.180164a80
nop
mov rcx, qword [rbp + 0x158]
test rcx, rcx
je 0x1801643cc
mov rax, qword [rcx]
lea rdx, [rbp + 0x120]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x158], r12
mov rcx, qword [rbp + 0x198]
test rcx, rcx
je 0x1801643eb
mov rax, qword [rcx]
lea rdx, [rbp + 0x160]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov byte [r13 + 0x10], 1
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
cmp byte [rbp - 0x58], 0
je 0x18016441b
lea rcx, [rbp - 0x78]
call fcn.1801652a0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180163faa
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x180163fa5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801644b4
jmp 0x180163fa5
lea rcx, [r14 + 0x10]
call fcn.1801658f0
mov byte [rsp + 0x58], 1
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r13], xmm0
mov byte [r13 + 0x10], 0
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
cmp byte [rbp - 0x58], 0
je 0x180163f6a
lea rcx, [rbp - 0x78]
call fcn.1801652a0
jmp 0x180163f6a
call fcn.1802a2050
int3