Function at 0x14002c650
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, rdx
mov rbx, rcx
call fcn.14002bc60
xor edi, edi
mov rsi, 0xffffffffffffffff
test byte [rbx + 0x360], 1
je 0x14002c74a
cmp rbp, qword [0x1400f2b00]
jb 0x14002c74a
mov rcx, qword [0x1400f2af8]
lea r14, [rcx + 0x37]
add r14, rbp
lea rax, [rcx - 1]
not rax
and r14, rax
cmp r14, rbp
jbe 0x14002c751
lea r9d, [rsi + 0x41]
mov r8d, 0x103000
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
mov rdx, rsi
cmovne rdx, rax
cmp rdx, rsi
je 0x14002c74a
mov rax, rdx
and eax, 7
jne 0x14002c6e1
mov eax, edi
jmp 0x14002c6e7
neg rax
and eax, 7
lea r8, [rax + rdx]
mov rcx, r14
sub rcx, rax
or rax, 1
mov qword [r8], rax
lea rax, [rcx - 0x20]
or rax, 2
mov qword [r8 + 8], rax
mov qword [r8 + rcx - 0x18], 0xb
mov qword [r8 + rcx - 0x10], rdi
cmp rdx, qword [rbx + 0x18]
jae 0x14002c71c
mov qword [rbx + 0x18], rdx
mov rcx, qword [rbx + 0x350]
add rcx, r14
mov qword [rbx + 0x350], rcx
cmp rcx, qword [rbx + 0x358]
jbe 0x14002c73d
mov qword [rbx + 0x358], rcx
lea rax, [r8 + 0x10]
test rax, rax
jne 0x14002c9bb
mov rcx, qword [0x1400f2af8]
lea r14, [rbp + 0x49]
mov qword [rsp + 0x40], r15
add r14, rcx
lea rax, [rcx - 1]
not rax
and r14, rax
cmp r14, rbp
jbe 0x14002c9b4
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
cmovne rsi, rax
cmp rsi, 0xffffffffffffffff
je 0x14002c9b4
mov rcx, qword [rbx + 0x350]
mov r15d, 1
add rcx, r14
mov qword [rbx + 0x350], rcx
cmp rcx, qword [rbx + 0x358]
jbe 0x14002c7bf
mov qword [rbx + 0x358], rcx
mov r11, qword [rbx + 0x28]
lea rcx, [rbx + 0x368]
test r11, r11
jne 0x14002c881
mov qword [rbx + 0x18], rsi
mov qword [rcx], rsi
mov qword [rbx + 0x370], r14
mov rcx, qword [rsi + r14 - 8]
mov qword [rbx + 0x380], rcx
lea rax, [rcx + rsi]
cmp qword [rax + r14 - 8], rcx
jne 0x14002c9ce
mov rax, qword [0x1400f2ae8]
mov rcx, rbx
mov qword [rsi + r14 - 8], rdi
mov qword [rbx + 0x38], rax
call fcn.14002bd30
lea rcx, [0x1400f2b20]
cmp rbx, rcx
jne 0x14002c866
add r14, 0xffffffffffffffb8
mov rax, rsi
and eax, 7
je 0x14002c834
mov edi, eax
neg rdi
and edi, 7
sub r14, rdi
lea rcx, [rsi + rdi]
mov qword [rbx + 0x28], rcx
mov rax, r14
or rax, r15
mov qword [rbx + 0x10], r14
mov qword [rcx + 8], rax
mov rax, qword [0x1400f2b08]
mov qword [rcx + r14 + 8], 0x48
mov qword [rbx + 0x30], rax
jmp 0x14002c8e6
mov rcx, qword [rbx - 8]
and rcx, 0xfffffffffffffffc
add rcx, 0xfffffffffffffff0
add rcx, rbx
sub rsi, rcx
lea rdx, [rsi - 0x48]
jmp 0x14002c94b
mov rdx, rcx
test rcx, rcx
je 0x14002c8a9
nop dword [rax]
mov r10, qword [rdx + 8]
mov r8, qword [rdx]
lea r9, [r8 + r10]
cmp rsi, r9
je 0x14002c91e
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x14002c890
cmp rsi, qword [rbx + 0x18]
jae 0x14002c8b3
mov qword [rbx + 0x18], rsi
test rcx, rcx
je 0x14002c8d5
lea rdx, [r14 + rsi]
nop dword [rax]
mov r8, qword [rcx]
cmp r8, rdx
je 0x14002c98f
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x14002c8c0
mov r9d, r15d
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call fcn.14002c320
mov rdx, qword [rbx + 0x10]
cmp rbp, rdx
jae 0x14002c9b4
mov rcx, qword [rbx + 0x28]
sub rdx, rbp
mov qword [rbx + 0x10], rdx
or rdx, r15
lea rax, [rcx + rbp]
or rbp, 3
mov qword [rbx + 0x28], rax
mov qword [rax + 8], rdx
lea rax, [rcx + 0x10]
mov qword [rcx + 8], rbp
jmp 0x14002c9b6
mov rax, qword [rdx + 0x18]
cmp qword [r14 + rsi - 8], rax
jne 0x14002c8a9
cmp r11, r8
jb 0x14002c8a9
cmp r11, r9
jae 0x14002c8a9
lea rax, [r10 + r14]
mov qword [rdx + 8], rax
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x28]
add rdx, r14
mov rax, rcx
and eax, 7
je 0x14002c95e
mov edi, eax
neg rdi
and edi, 7
sub rdx, rdi
add rcx, rdi
mov qword [rbx + 0x28], rcx
mov rax, rdx
or rax, r15
mov qword [rbx + 0x10], rdx
mov qword [rcx + 8], rax
mov rax, qword [0x1400f2b08]
mov qword [rcx + rdx + 8], 0x48
mov qword [rbx + 0x30], rax
jmp 0x14002c8e6
mov rax, qword [rcx + 0x18]
cmp qword [rdx - 8], rax
jne 0x14002c8d5
add qword [rcx + 8], r14
mov r9, rbp
mov qword [rcx], rsi
mov rdx, rsi
mov rcx, rbx
call fcn.14002bf10
jmp 0x14002c9b6
xor eax, eax
mov r15, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
call fcn.14006596c
int3