Function at 0x18000cb10
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1800a2088]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r10d, r10d
mov byte [rcx + 0x18], 0
mov qword [rcx], r10
mov rbx, rcx
mov qword [rcx + 8], r10
mov r13, rdx
mov qword [rcx + 0x10], r9
add rcx, 0x10
mov qword [rsp + 0x20], r8
call fcn.18000c7c0
xor bpl, bpl
mov r14d, r10d
cmp qword [rbx + 8], r10
jne 0x18000cbcb
mov r8, qword [rbx + 0x10]
mov rax, qword [r8 - 8]
cmp rax, 0x841f0f
je 0x18000cbb4
movabs rdx, 0x9090909090909090
cmp rax, rdx
je 0x18000cbb4
movabs rdx, 0xcccccccccccccccc
cmp rax, rdx
je 0x18000cbb4
mov rcx, r8
nop
cmp qword [rcx], rdx
jne 0x18000cb9b
cmp byte [rcx - 1], 0xc3
je 0x18000cbaf
inc rcx
mov rax, rcx
sub rax, r8
cmp rax, 0x70
jb 0x18000cb90
xor bpl, bpl
jmp 0x18000cbbb
mov r14, rcx
jmp 0x18000cbb8
lea r14, [r8 - 8]
mov bpl, 1
movzx edx, bpl
mov rcx, r8
call fcn.18000c860
mov qword [rbx + 8], rax
mov rdx, qword [rbx + 8]
test bpl, bpl
je 0x18000cbdf
cmp rdx, 6
jae 0x18000cbe9
jmp 0x18000cd8e
cmp rdx, 0xe
jb 0x18000cd8e
xor ecx, ecx
add rdx, 0xe
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbx], rax
test rax, rax
je 0x18000cd8e
mov rdx, qword [rbx + 0x10]
lea r9, [rsp + 0x28]
mov rcx, qword [rbx + 8]
mov r8d, 0x40
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x48], r12
lea r12, [rdx - 8]
mov qword [rsp + 0x40], r15
lea r15, [rcx + 8]
movzx eax, bpl
xor rax, 1
test bpl, bpl
cmove r15, rcx
cmove r12, rdx
mov rdx, r15
lea rdi, [rax*8 + 6]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18000cd7c
test r14, r14
je 0x18000cc8b
mov edx, 8
lea r9, [rsp + 0x2c]
mov rcx, r14
lea r8d, [rdx + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18000cd7c
mov rcx, qword [rsp + 0x20]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rdx, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
mov r9, rdx
mov rcx, qword [rbx]
call fcn.180005780
mov rcx, qword [rbx]
xor r9d, r9d
mov rax, qword [rbx + 8]
mov r8d, 0x25ff
mov word [rcx + rax], r8w
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov dword [rcx + rax + 2], r9d
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx]
add rcx, rdx
mov qword [rax + rdx + 6], rcx
test bpl, bpl
je 0x18000cd04
test r14, r14
je 0x18000cd04
mov qword [r14], r13
mov ecx, r14d
mov rax, qword [rbx + 0x10]
mov word [rax], r8w
sub ecx, dword [rbx + 0x10]
mov rax, qword [rbx + 0x10]
sub ecx, 6
mov dword [rax + 2], ecx
jmp 0x18000cd1c
mov rax, qword [rbx + 0x10]
mov word [rax], r8w
mov rax, qword [rbx + 0x10]
mov dword [rax + 2], r9d
mov rax, qword [rbx + 0x10]
mov qword [rax + 6], r13
cmp rdi, qword [rbx + 8]
jae 0x18000cd41
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x10]
mov byte [rdi + rax], 0x90
inc rdi
cmp rdi, qword [rbx + 8]
jb 0x18000cd30
mov r8d, dword [rsp + 0x28]
lea r9, [rsp + 0x28]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18000cd5f
mov byte [rbx + 0x18], 1
test r14, r14
je 0x18000cd7c
mov r8d, dword [rsp + 0x2c]
lea r9, [rsp + 0x2c]
mov edx, 8
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x88]
mov r15, qword [rsp + 0x40]
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800176e0
add rsp, 0x50
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret