Function at 0x180003dd0
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 - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x180146540]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov qword [rsp + 0x40], r8
mov r13, rdx
mov r12, rcx
xor ecx, ecx
mov rax, qword [r12 + 0x30]
xorps xmm0, xmm0
mov qword [rsp + 0x68], rcx
movdqu xmmword [rsp + 0x58], xmm0
cmp rax, qword [r12 + 0x38]
je 0x180003e2c
mov qword [r12 + 0x38], rax
mov rax, qword [r12]
mov qword [rsp + 0x38], rax
mov qword [r12 + 0x48], 0x13
mov ecx, 8
call fcn.1800013d0
mov rcx, rax
mov qword [rsp + 0x58], rax
lea rdi, [rax + 8]
mov qword [rsp + 0x68], rdi
mov rax, qword [rsp + 0x38]
mov qword [rcx], rax
lea rbx, [rcx + 8]
mov qword [rsp + 0x60], rbx
xor edx, edx
mov r8d, 0x148
lea rcx, [rbp - 0x40]
call fcn.1800a7a60
mov rsi, qword [r12]
lea rax, [rsi + 5]
cmp rsi, rax
jae 0x18000405c
nop dword [rax]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x110], xmm0
mov dword [rbp + 0x120], eax
xor edx, edx
mov r8d, 2
lea rcx, [rbp + 0x110]
call fcn.180011050
test eax, eax
js 0x18000416e
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xf
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x110]
call fcn.180010f50
shr eax, 0x1f
not al
test al, 1
je 0x18000416e
movzx r9d, byte [rbp - 0x38]
add qword [r12 + 0x48], r9
mov rdx, qword [r12 + 0x38]
mov r8, rsi
lea rcx, [r12 + 0x30]
call fcn.1800018e0
movzx eax, byte [rbp - 0x20]
shr al, 7
test al, 1
je 0x180004044
cmp byte [rbp + 0xd0], 0x20
jne 0x180003f4b
movsxd rax, dword [rbp + 0xc8]
movzx ecx, byte [rbp - 0x38]
add rax, rsi
add rcx, rax
mov qword [rsp + 0x50], rcx
cmp rbx, rdi
je 0x180003f5d
mov qword [rbx], rcx
add rbx, 8
mov qword [rsp + 0x60], rbx
jmp 0x180004044
cmp byte [rbp + 0xe8], 0x20
jne 0x180003f7e
movsxd rax, dword [rbp + 0xe0]
jmp 0x180003f26
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180001500
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
jmp 0x180004044
mov eax, dword [rbp + 0x1c]
cmp eax, 0x1c
jne 0x180003fe6
cmp dword [rbp + 0x28], 1
jne 0x180004135
movsxd rax, dword [rbp + 0xe0]
movzx ecx, byte [rbp - 0x38]
add rax, rsi
add rcx, rax
mov qword [rsp + 0x50], rcx
cmp rbx, rdi
je 0x180003fc2
mov qword [rbx], rcx
add rbx, 8
mov qword [rsp + 0x60], rbx
add qword [r12 + 0x48], 4
jmp 0x180004044
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180001500
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
add qword [r12 + 0x48], 4
jmp 0x180004044
cmp eax, 0x60
jne 0x180004135
cmp dword [rbp + 0x28], 1
jne 0x180004135
movsxd rax, dword [rbp + 0xe0]
movzx ecx, byte [rbp - 0x38]
add rax, rsi
add rcx, rax
mov qword [rsp + 0x50], rcx
cmp rbx, rdi
je 0x180004022
mov qword [rbx], rcx
add rbx, 8
mov qword [rsp + 0x60], rbx
jmp 0x18000403e
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180001500
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
add qword [r12 + 0x48], 3
movzx eax, byte [rbp - 0x38]
add rsi, rax
mov rax, qword [r12]
add rax, 5
cmp rsi, rax
jb 0x180003e90
mov rdi, qword [rsp + 0x40]
mov rdi, qword [rdi]
mov rsi, qword [r12 + 0x48]
lea rbx, [rdi + 0x28]
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call fcn.1800533f0
test eax, eax
jne 0x180004910
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x1800048fa
mov qword [rsp + 0x20], 0x7fffffff
mov r9, rsi
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.180005610
nop
mov rcx, rbx
call fcn.180053418
nop
cmp byte [rbp - 0x70], 0
jne 0x1800041f2
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x70]
mov byte [rsp + 0x48], al
xor eax, eax
mov dword [rsp + 0x49], eax
mov word [rsp + 0x4d], ax
mov byte [rsp + 0x4f], al
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r13], xmm0
mov byte [r13 + 0x10], al
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1800041c5
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800041c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000490a
jmp 0x1800041c0
mov byte [rsp + 0x40], 4
mov qword [rsp + 0x48], rsi
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r13], xmm0
mov byte [r13 + 0x10], 0
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1800041c5
sub rdi, rdx
sar rdi, 3
mov r8, rdi
lea rcx, [rsp + 0x58]
call fcn.180003c30
jmp 0x1800041c5
mov byte [rsp + 0x40], 1
mov qword [rsp + 0x48], rsi
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r13], xmm0
mov byte [r13 + 0x10], 0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1800041c5
sub rdi, rcx
and rdi, 0xfffffffffffffff8
mov rax, rcx
cmp rdi, 0x1000
jb 0x1800041bd
add rdi, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000490a
mov rdx, rdi
call fcn.180077904
mov rax, r13
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.180077eb0
mov rbx, qword [rsp + 0x318]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r15, [r12 + 0x10]
lea rax, [rsp + 0x70]
mov esi, 0xffffffff
cmp r15, rax
je 0x1800042ac
mov rcx, qword [r15]
test rcx, rcx
je 0x18000426c
mov rdx, qword [r15 + 0x10]
test rdx, rdx
je 0x18000426c
mov r8, qword [r15 + 0x18]
test r8, r8
je 0x18000426c
call fcn.180005220
xor eax, eax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], rax
mov qword [r15], rax
mov rbx, qword [r15 + 8]
mov qword [r15 + 8], rax
test rbx, rbx
je 0x18000426c
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18000426c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18000426c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [r15], rax
mov rcx, qword [r15 + 8]
mov qword [r15 + 8], rdx
test rcx, rcx
je 0x180004294
call fcn.180002960
mov rax, qword [rbp - 0x80]
mov qword [r15 + 0x10], rax
mov rax, qword [rbp - 0x78]
mov qword [r15 + 0x18], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov rdi, qword [r12]
mov rbx, qword [r12 + 0x20]
mov r14, qword [r12 + 0x38]
mov rdx, qword [r12 + 0x30]
mov rax, r14
sub rax, rdx
add rax, rdi
cmp rdi, rax
jae 0x1800044ca
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x110], xmm0
mov dword [rbp + 0x120], eax
xor edx, edx
mov r8d, 2
lea rcx, [rbp + 0x110]
call fcn.180011050
test eax, eax
js 0x18000458c
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xf
mov r8, rdi
xor edx, edx
lea rcx, [rbp + 0x110]
call fcn.180010f50
shr eax, 0x1f
not al
test al, 1
je 0x18000458c
movzx eax, byte [rbp - 0x20]
shr al, 7
test al, 1
je 0x1800043d7
cmp byte [rbp + 0xd0], 0x20
jne 0x180004388
movzx eax, byte [rbp - 0x38]
test al, al
je 0x18000435e
mov r8d, eax
mov rdx, rdi
mov rcx, rbx
call fcn.1800a73c0
movzx eax, byte [rbp - 0x38]
movzx eax, al
lea rcx, [rax + rdi]
add rcx, qword [rbp + 0xc8]
sub rcx, rax
sub rcx, rbx
movzx eax, byte [rbp + 0xd1]
mov dword [rax + rbx], ecx
movzx ecx, byte [rbp - 0x38]
add rbx, rcx
jmp 0x1800044a1
cmp byte [rbp + 0xe8], 0x20
jne 0x1800043d7
movzx eax, byte [rbp - 0x38]
test al, al
je 0x1800043ab
mov r8d, eax
mov rdx, rdi
mov rcx, rbx
call fcn.1800a73c0
movzx eax, byte [rbp - 0x38]
movzx ecx, al
mov rdx, qword [rbp + 0xe0]
add rdx, rcx
add rdx, rdi
sub rdx, rcx
sub rdx, rbx
movzx eax, byte [rbp + 0xe9]
mov dword [rax + rbx], edx
movzx ecx, byte [rbp - 0x38]
add rbx, rcx
jmp 0x1800044a1
mov eax, dword [rbp + 0x1c]
cmp eax, 0x1c
jne 0x180004434
cmp dword [rbp + 0x28], 1
jne 0x180004481
movzx edx, byte [rbp - 0x38]
add rdx, qword [rbp + 0xe0]
add rdx, rdi
mov r8, rdx
sub r8, rbx
sub r8, 6
mov rax, qword [r12 + 0x38]
sub rax, qword [r12 + 0x30]
add rax, qword [r12]
cmp rdx, rax
cmovb r8, qword [rbp + 0xe0]
mov byte [rbx], 0xf
movzx eax, byte [rbp - 0x2c]
add al, 0x10
mov byte [rbx + 1], al
mov dword [rbx + 2], r8d
add rbx, 6
movzx ecx, byte [rbp - 0x38]
jmp 0x1800044a1
cmp eax, 0x60
jne 0x180004481
cmp dword [rbp + 0x28], 1
jne 0x180004481
movzx r8d, byte [rbp - 0x38]
add r8, qword [rbp + 0xe0]
add r8, rdi
mov rcx, r8
sub rcx, rbx
sub rcx, 5
mov rax, qword [r12 + 0x38]
sub rax, qword [r12 + 0x30]
add rax, qword [r12]
cmp r8, rax
cmovb rcx, qword [rbp + 0xe0]
mov byte [rbx], 0xe9
mov dword [rbx + 1], ecx
add rbx, 5
movzx ecx, byte [rbp - 0x38]
jmp 0x1800044a1
movzx ecx, byte [rbp - 0x38]
test cl, cl
je 0x18000449b
mov r8d, ecx
mov rdx, rdi
mov rcx, rbx
call fcn.1800a73c0
movzx ecx, byte [rbp - 0x38]
movzx eax, cl
add rbx, rax
movzx eax, cl
add rdi, rax
mov r14, qword [r12 + 0x38]
mov rdx, qword [r12 + 0x30]
mov rcx, qword [r12]
mov rax, r14
sub rax, rdx
add rax, rcx
cmp rdi, rax
jb 0x1800042d1
mov rdi, rcx
mov rcx, qword [r12 + 0x48]
mov rbx, qword [r12 + 0x20]
add rcx, 0xffffffffffffffed
add rbx, rcx
mov qword [rbp - 0x68], rbx
sub r14, rdx
add r14, rdi
xor r15d, r15d
mov dword [rsp + 0x50], r15d
lea r9, [rsp + 0x50]
mov edx, 5
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180004652
mov byte [rsp + 0x40], 5
mov eax, dword [rsp + 0x41]
mov dword [rsp + 0x41], eax
movzx eax, word [rsp + 0x45]
mov word [rsp + 0x45], ax
movzx eax, byte [rsp + 0x47]
mov byte [rsp + 0x47], al
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r13], xmm0
mov byte [r13 + 0x10], r15b
cmp byte [rbp - 0x70], r15b
je 0x1800040ed
lea rcx, [rsp + 0x70]
call fcn.1800051a0
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x180004587
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180004587
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x180004587
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
jmp 0x1800040ed
mov rcx, qword [r15]
test rcx, rcx
je 0x1800045ee
mov rdx, qword [r15 + 0x10]
test rdx, rdx
je 0x1800045ee
mov r8, qword [r15 + 0x18]
test r8, r8
je 0x1800045ee
call fcn.180005220
xor eax, eax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], rax
mov qword [r15], rax
mov rbx, qword [r15 + 8]
mov qword [r15 + 8], rax
test rbx, rbx
je 0x1800045ee
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1800045ee
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1800045ee
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov byte [rsp + 0x40], 1
mov qword [rsp + 0x48], rdi
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r13], xmm0
mov byte [r13 + 0x10], 0
cmp byte [rbp - 0x70], 0
je 0x1800040ed
lea rcx, [rsp + 0x70]
call fcn.1800051a0
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x18000464d
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18000464d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x18000464d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
jmp 0x1800040ed
mov byte [rsp + 0x38], 0xe9
sub r14d, ebx
sub r14d, 5
mov dword [rsp + 0x39], r14d
mov eax, dword [rsp + 0x38]
mov dword [rbx], eax
movzx eax, byte [rsp + 0x3c]
mov byte [rbx + 4], al
test rbx, rbx
je 0x180004693
mov dword [rsp + 0x38], r15d
lea r9, [rsp + 0x38]
mov r8d, dword [rsp + 0x50]
mov edx, 5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rbp - 0x68]
lea rbx, [rax + 5]
mov r14, qword [r12 + 8]
lea rdi, [rax + 0xb]
mov dword [rsp + 0x50], r15d
lea r9, [rsp + 0x50]
mov edx, 6
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180004754
mov byte [rbp + 0x110], 5
mov eax, dword [rsp + 0x41]
mov dword [rbp + 0x111], eax
movzx eax, word [rsp + 0x45]
mov word [rbp + 0x115], ax
movzx eax, byte [rsp + 0x47]
mov byte [rbp + 0x117], al
mov qword [rbp + 0x118], rbx
movups xmm0, xmmword [rbp + 0x110]
movups xmmword [r13], xmm0
mov byte [r13 + 0x10], r15b
cmp byte [rbp - 0x70], 0
je 0x1800040ed
lea rcx, [rsp + 0x70]
call fcn.1800051a0
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x18000474f
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18000474f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x18000474f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
jmp 0x1800040ed
mov qword [rdi], r14
mov word [rsp + 0x38], 0x25ff
sub edi, ebx
sub edi, 6
mov dword [rsp + 0x3a], edi
mov eax, dword [rsp + 0x38]
mov dword [rbx], eax
movzx eax, word [rsp + 0x3c]
mov word [rbx + 4], ax
test rbx, rbx
je 0x180004798
mov dword [rsp + 0x38], r15d
lea r9, [rsp + 0x38]
mov r8d, dword [rsp + 0x50]
mov edx, 6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [rbp - 0x50], r15b
lea rax, [0x1800ac8c8]
mov qword [rbp + 0x170], rax
mov qword [rbp + 0x178], r12
lea rax, [rbp + 0x170]
mov qword [rbp + 0x1a8], rax
mov qword [rbp + 0x110], r12
lea rax, [rbp - 0x68]
mov qword [rbp + 0x118], rax
lea rax, [rbp - 0x60]
mov qword [rbp + 0x120], 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 + 0x130], rax
movups xmm0, xmmword [rbp + 0x110]
movups xmmword [rbp + 0x138], xmm0
movsd xmm1, qword [rbp + 0x120]
movsd qword [rbp + 0x148], xmm1
lea rax, [rbp + 0x130]
mov qword [rbp + 0x168], rax
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x130]
call fcn.180004b10
nop
mov rcx, qword [rbp + 0x168]
test rcx, rcx
je 0x180004850
mov rax, qword [rcx]
lea rdx, [rbp + 0x130]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x168], r15
mov rcx, qword [rbp + 0x1a8]
test rcx, rcx
je 0x18000486f
mov rax, qword [rcx]
lea rdx, [rbp + 0x170]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
cmp byte [rbp - 0x50], 0
je 0x18000489e
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [r13], xmm0
mov byte [r13 + 0x10], 0
cmp byte [rbp - 0x70], 0
je 0x1800040ed
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1800027d0
jmp 0x1800040ed
mov byte [r13 + 0x10], 1
cmp byte [rbp - 0x70], 0
je 0x1800048b6
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1800027d0
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1800041c5
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800041c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000490a
jmp 0x1800041c0
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.1800537a8
nop
call fcn.18007dc94
nop
mov ecx, 5
call fcn.1800537a8
int3