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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
movzx ebx, r8b
movzx ebp, dl
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
xor eax, eax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov byte [rcx + 0x38], al
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov dword [rcx + 0x58], eax
mov rcx, qword [0x1405d8b98]
test rcx, rcx
jne 0x1400cf8a9
mov ecx, 0x110
call fcn.140243da0
mov qword [rsp + 0x60], rax
mov rcx, rax
call fcn.14004e270
mov rcx, rax
mov qword [0x1405d8b98], rax
mov rax, qword [rcx]
call qword [rax + 0x60]
mov byte [rsi + 0x38], al
mov rcx, qword [0x1405d8b98]
test rcx, rcx
jne 0x1400cf8df
mov ecx, 0x110
call fcn.140243da0
mov qword [rsp + 0x60], rax
mov rcx, rax
call fcn.14004e270
mov rcx, rax
mov qword [0x1405d8b98], rax
mov rax, qword [rcx]
call qword [rax + 0x28]
mov byte [rsi + 0x39], al
mov rcx, qword [0x1405d8b98]
test rcx, rcx
jne 0x1400cf915
mov ecx, 0x110
call fcn.140243da0
mov qword [rsp + 0x60], rax
mov rcx, rax
call fcn.14004e270
mov rcx, rax
mov qword [0x1405d8b98], rax
mov rax, qword [rcx]
call qword [rax + 0x30]
mov byte [rsi + 0x3a], al
mov byte [rsi + 0x3b], 0
test bl, bl
je 0x1400cfa0b
mov eax, dword [0x1403442f4]
test eax, eax
jle 0x1400cf93d
mov byte [rsi + 0x3b], 1
jmp 0x1400cfa0b
jns 0x1400cfa0b
mov rcx, qword [0x1405d8b98]
test rcx, rcx
jne 0x1400cf970
mov ecx, 0x110
call fcn.140243da0
mov qword [rsp + 0x60], rax
mov rcx, rax
call fcn.14004e270
mov rcx, rax
mov qword [0x1405d8b98], rax
mov rax, qword [rcx]
call qword [rax + 0xc8]
mov ebx, eax
mov rcx, qword [0x1405d8b98]
test rcx, rcx
jne 0x1400cf9a8
mov ecx, 0x110
call fcn.140243da0
mov qword [rsp + 0x60], rax
mov rcx, rax
call fcn.14004e270
mov rcx, rax
mov qword [0x1405d8b98], rax
mov rax, qword [rcx]
call qword [rax + 8]
cmp ebx, 1
jne 0x1400cf9e9
call fcn.140043a60
mov rbx, rax
call fcn.140043a60
mov rdi, rax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0xa0]
mov rbx, rax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x80]
cmp rbx, rax
sete al
mov byte [rsi + 0x3b], al
jmp 0x1400cfa0b
cmp ebx, 2
jne 0x1400cfa0b
sub eax, 1
je 0x1400cfa07
sub eax, 1
je 0x1400cfa07
sub eax, 1
je 0x1400cf9b3
cmp eax, 1
jne 0x1400cfa07
mov byte [rsi + 0x3b], al
jmp 0x1400cfa0b
mov byte [rsi + 0x3b], 0
cmp byte [rsi + 0x3a], 0
jne 0x1400cfa15
mov byte [rsi + 0x3b], 0
mov rcx, qword [0x1405d8b98]
test rcx, rcx
jne 0x1400cfa42
mov ecx, 0x110
call fcn.140243da0
mov qword [rsp + 0x60], rax
mov rcx, rax
call fcn.14004e270
mov rcx, rax
mov qword [0x1405d8b98], rax
mov rax, qword [rcx]
call qword [rax + 0x50]
mov byte [rsi + 0x3c], al
mov ebx, 0x20000
mov eax, 0x40000
cmp byte [rsi + 0x3b], 0
cmovne ebx, eax
mov qword [rsi + 0x48], rbx
cmp byte [0x1405dcc88], 0
je 0x1400cfa8a
test bpl, bpl
je 0x1400cfa8a
mov edx, 0x200000
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x20003000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1400cfaaa
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400cfb82
mov qword [rsi + 0x40], rax
mov eax, 0xec0
lock xadd qword [0x1405dcc80], rax
movzx ecx, ax
add rcx, qword [rsi + 0x40]
mov qword [rsi + 0x20], rcx
lea r14, [0x1405fd280]
mov r8, r14
lea rbp, [0x1405fd040]
sub r8, rbp
mov rdx, rbp
call fcn.140246390
mov rcx, qword [rsi + 0x20]
lea r15, [0x1405fd281]
lea rdi, [0x1405fd371]
lea rbx, [0x1405fd301]
sub rcx, rbp
add rcx, r14
cmp byte [rsi + 0x3c], 0
je 0x1400cfb13
mov r8, rdi
sub r8, rbx
mov rdx, rbx
jmp 0x1400cfb1c
mov r8, rbx
sub r8, r15
mov rdx, r15
call fcn.140246390
lea rax, [0x1405fdb40]
mov r8, rax
lea rdx, [0x1405fda70]
sub r8, rdx
mov rcx, rdx
sub rcx, rax
add rcx, 0x10000
and rcx, 0xffffffffffffffc0
add rcx, qword [rsi + 0x20]
call fcn.140246390
mov rax, rbx
sub eax, r15d
sub edi, ebx
cmp byte [rsi + 0x3c], 0
cmove edi, eax
sub edi, ebp
add edi, r14d
mov dword [rsi + 0x2c], edi
mov rax, rsi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
lea rdx, str.Failed_to_allocate_executable_memory
lea rcx, [rsp + 0x20]
call fcn.1400026d0
lea rdx, [0x14033b720]
lea rcx, [rsp + 0x20]
call fcn.1402471a0
int3