Function at 0x1801561e0
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 [0x1804c4e78]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, r8
mov r15, rdx
mov r14, rcx
mov rax, qword [rcx + 0x30]
cmp rax, qword [rcx + 0x38]
je 0x180156222
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.180288120
mov rbx, qword [r14]
lea rax, [rbx + 0xe]
cmp rbx, rax
jae 0x1801562ea
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.180246a00
test eax, eax
js 0x180156360
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0xf
mov r8, rbx
xor edx, edx
lea rcx, [rbp + 0xd0]
call fcn.180246900
shr eax, 0x1f
not al
test al, 1
je 0x180156360
test byte [rbp - 0x60], 0x80
jne 0x18015633d
movzx r9d, byte [rbp - 0x78]
mov rdx, qword [r14 + 0x38]
mov r8, rbx
lea rcx, [r14 + 0x30]
call fcn.180154b20
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 0x180156250
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi]
call fcn.180157020
nop
cmp byte [rsp + 0x70], 0
jne 0x180156369
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 0x180156522
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 0x180156522
mov byte [rbp + 0xd0], 1
jmp 0x180156344
lea rcx, [r14 + 0x10]
lea rdx, [rsp + 0x50]
call fcn.180156ee0
mov rcx, qword [r14 + 0x20]
mov rdx, qword [r14 + 0x28]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x48], 0
lea r9, [rsp + 0x48]
mov r8d, 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.180287a80
mov rcx, qword [r14 + 0x20]
mov rsi, qword [r14 + 0x48]
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], 0
lea r9, [rbp + 0xe0]
mov edx, 6
lea r8d, [rdx + 0x3a]
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, [0x180340ad8]
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.180156640
nop
mov rcx, qword [rbp + 0x128]
test rcx, rcx
je 0x1801564d2
mov rax, qword [rcx]
lea rdx, [rbp + 0xf0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x128], 0
mov rcx, qword [rbp + 0x168]
test rcx, rcx
je 0x1801564f1
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 0x180156522
lea rcx, [rsp + 0x50]
call fcn.180156e80
mov rax, r15
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.18026ad00
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret