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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1804c8100]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r12, r8
mov r15, rdx
mov r14, rcx
mov rax, qword [rcx + 0x30]
cmp rax, qword [rcx + 0x38]
je 0x180168a02
mov qword [rcx + 0x38], rax
mov edi, 0xe
mov qword [rcx + 0x48], rdi
xor edx, edx
mov r8d, 0x148
lea rcx, [rbp - 0x80]
call fcn.1802bd010
mov rbx, qword [r14]
lea rax, [rbx + 0xe]
cmp rbx, rax
jae 0x180168aca
nop dword [rax]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xd0], xmm0
mov dword [rbp + 0xe0], eax
xor edx, edx
lea r8d, [rax + 2]
lea rcx, [rbp + 0xd0]
call fcn.180262b60
test eax, eax
js 0x180168b41
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0xf
mov r8, rbx
xor edx, edx
lea rcx, [rbp + 0xd0]
call fcn.180262a60
shr eax, 0x1f
not al
test al, 1
je 0x180168b41
test byte [rbp - 0x60], 0x80
jne 0x180168b1e
movzx r9d, byte [rbp - 0x78]
mov rdx, qword [r14 + 0x38]
mov r8, rbx
lea rcx, [r14 + 0x30]
call fcn.1801672c0
movzx ecx, byte [rbp - 0x78]
mov rdi, qword [r14 + 0x48]
add rdi, rcx
mov qword [r14 + 0x48], rdi
add rbx, rcx
mov rax, qword [r14]
add rax, 0xe
cmp rbx, rax
jb 0x180168a30
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, qword [r12]
call fcn.1801697d0
nop
cmp byte [rsp + 0x70], 0
jne 0x180168b4a
mov byte [rbp + 0xd0], 0
movzx eax, byte [rsp + 0x50]
mov byte [rbp + 0xd8], al
xor eax, eax
mov dword [rbp + 0xd9], eax
mov word [rbp + 0xdd], ax
mov byte [rbp + 0xdf], al
movups xmm0, xmmword [rbp + 0xd0]
movups xmmword [r15], xmm0
mov byte [r15 + 0x10], al
jmp 0x180168cfc
mov byte [rbp + 0xd0], 3
mov qword [rbp + 0xd8], rbx
movups xmm0, xmmword [rbp + 0xd0]
movups xmmword [r15], xmm0
mov byte [r15 + 0x10], 0
jmp 0x180168cfc
mov byte [rbp + 0xd0], 1
jmp 0x180168b25
lea rcx, [r14 + 0x10]
lea rdx, [rsp + 0x50]
call fcn.180169690
mov rcx, qword [r14 + 0x20]
mov rdx, qword [r14 + 0x28]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
xor r12d, r12d
mov dword [rsp + 0x48], r12d
lea r9, [rsp + 0x48]
lea r8d, [r12 + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov r8, qword [r14 + 0x38]
mov rdx, qword [r14 + 0x30]
sub r8, rdx
mov rcx, qword [r14 + 0x20]
call fcn.1802bc970
mov rcx, qword [r14 + 0x48]
mov rsi, qword [r14 + 0x20]
add rcx, 0xfffffffffffffff2
add rsi, rcx
mov rbx, qword [r14 + 0x38]
sub rbx, qword [r14 + 0x30]
add rbx, qword [r14]
lea rdi, [rsi + 6]
mov qword [rbp + 0xd0], rsi
mov qword [rbp + 0xd8], 6
mov dword [rbp + 0xe0], r12d
lea r9, [rbp + 0xe0]
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 + 0x31], 0x25ff
sub edi, esi
sub edi, 6
mov dword [rsp + 0x33], edi
mov eax, dword [rsp + 0x31]
mov dword [rsi], eax
movzx eax, word [rsp + 0x35]
mov word [rsi + 4], ax
lea r9, [rbp + 0xe0]
mov r8d, dword [rbp + 0xe0]
mov rdx, qword [rbp + 0xd8]
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rax, [0x180345898]
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x138], r14
lea rax, [rbp + 0x130]
mov qword [rbp + 0x168], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__private:_class_std::expected_void__struct_safetyhook::InlineHook::Error____cdecl_safetyhook::InlineHook::ff_hook_class_std::shared_ptr_class_safetyhook::Allocator__const____ptr64____ptr64::_2::_lambda_1___void___.0
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], r14
lea rax, [rbp + 0xf0]
mov qword [rbp + 0x128], rax
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0xf0]
call fcn.180168e10
nop
mov rcx, qword [rbp + 0x128]
test rcx, rcx
je 0x180168cac
mov rax, qword [rcx]
lea rdx, [rbp + 0xf0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x128], r12
mov rcx, qword [rbp + 0x168]
test rcx, rcx
je 0x180168ccb
mov rax, qword [rcx]
lea rdx, [rbp + 0x130]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov byte [r15 + 0x10], 1
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
cmp byte [rsp + 0x70], 0
je 0x180168cfc
lea rcx, [rsp + 0x50]
call fcn.180169630
mov rax, r15
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.180286db0
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret