Function at 0x180168010
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 [0x1804c8100]
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 0x180168057
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.180286234
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.1802bd010
mov rbx, qword [r14]
lea rax, [rbx + 5]
cmp rbx, rax
jae 0x18016828c
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.180262b60
test eax, eax
js 0x180168367
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf
mov r8, rbx
xor edx, edx
lea rcx, [rbp + 0x100]
call fcn.180262a60
shr eax, 0x1f
not al
test al, 1
je 0x180168367
movzx r9d, byte [rbp - 0x48]
add qword [r14 + 0x48], r9
mov rdx, qword [r14 + 0x38]
mov r8, rbx
lea rcx, [r14 + 0x30]
call fcn.1801672c0
movzx eax, byte [rbp - 0x30]
shr al, 7
test al, 1
je 0x180168275
cmp byte [rbp + 0xc0], 0x20
jne 0x18016817a
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 0x1801681b3
mov qword [rdx], rcx
add qword [rsp + 0x48], 8
jmp 0x180168275
cmp byte [rbp + 0xd8], 0x20
jne 0x1801681c7
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 0x1801681b3
mov qword [rdx], rcx
add qword [rsp + 0x48], 8
jmp 0x180168275
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.180167120
jmp 0x180168275
mov eax, dword [rbp + 0xc]
cmp eax, 0x1c
jne 0x180168221
cmp dword [rbp + 0x18], 1
jne 0x1801682e1
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 0x18016820b
mov qword [rdx], rcx
add qword [rsp + 0x48], 8
add qword [r14 + 0x48], 4
jmp 0x180168275
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.180167120
add qword [r14 + 0x48], 4
jmp 0x180168275
cmp eax, 0x60
jne 0x1801682e1
cmp dword [rbp + 0x18], 1
jne 0x1801682e1
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 0x180168261
mov qword [rdx], rcx
add qword [rsp + 0x48], 8
jmp 0x180168270
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.180167120
add qword [r14 + 0x48], 3
movzx eax, byte [rbp - 0x48]
add rbx, rax
mov rax, qword [r14]
add rax, 5
cmp rbx, rax
jb 0x1801680c0
mov qword [rsp + 0x20], 0x7fffffff
mov r9, qword [r14 + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x78]
mov rcx, qword [rdi]
call fcn.1801698c0
nop
cmp byte [rbp - 0x58], 0
jne 0x180168371
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 0x1801682fa
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 0x18016833a
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x180168335
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180168844
call fcn.180286270
mov rax, r13
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.180286db0
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 0x1801682e6
lea rdx, [rbp - 0x78]
lea rcx, [r14 + 0x10]
call fcn.180169690
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 0x1801685bc
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.180262b60
test eax, eax
js 0x1801687ef
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf
mov r8, rdi
xor edx, edx
lea rcx, [rbp + 0x100]
call fcn.180262a60
shr eax, 0x1f
not al
test al, 1
je 0x1801687ef
movzx eax, byte [rbp - 0x30]
shr al, 7
test al, 1
je 0x1801684d0
cmp byte [rbp + 0xc0], 0x20
jne 0x180168484
movzx eax, byte [rbp - 0x48]
test al, al
je 0x18016845b
mov r8d, eax
mov rdx, rdi
mov rcx, rbx
call fcn.1802bc970
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 0x180168593
cmp byte [rbp + 0xd8], 0x20
jne 0x1801684d0
movzx eax, byte [rbp - 0x48]
test al, al
je 0x1801684a7
mov r8d, eax
mov rdx, rdi
mov rcx, rbx
call fcn.1802bc970
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 0x180168593
mov eax, dword [rbp + 0xc]
cmp eax, 0x1c
jne 0x18016852c
cmp dword [rbp + 0x18], 1
jne 0x180168576
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 0x180168593
cmp eax, 0x60
jne 0x180168576
cmp dword [rbp + 0x18], 1
jne 0x180168576
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 0x180168593
movzx eax, byte [rbp - 0x48]
test al, al
je 0x180168590
mov r8d, eax
mov rdx, rdi
mov rcx, rbx
call fcn.1802bc970
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 0x1801683d0
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, [0x180345828]
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.180168e10
nop
mov rcx, qword [rbp + 0x158]
test rcx, rcx
je 0x18016875c
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 0x18016877b
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 0x1801687ab
lea rcx, [rbp - 0x78]
call fcn.180169630
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18016833a
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x180168335
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180168844
jmp 0x180168335
lea rcx, [r14 + 0x10]
call fcn.180169c80
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 0x1801682fa
lea rcx, [rbp - 0x78]
call fcn.180169630
jmp 0x1801682fa
call fcn.18028ddc0
int3