Function at 0x18000c6c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov qword [rsp + 0x38], 0
cmp dword [rsp + 0x90], 0
jbe 0x18000c974
cmp qword [rsp + 0x98], 0
jne 0x18000c705
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x30], 0
cmp qword [rsp + 0xa0], 0
je 0x18000c7fe
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov r9d, 0x30
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x18000c7fe
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
cmp rax, 0x7fff0000
jge 0x18000c7fe
cmp dword [rsp + 0x68], 0x10000
jne 0x18000c7be
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x2000
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x18000c7b5
jmp 0x18000c7fe
mov qword [rsp + 0x60], 0x10000
cmp qword [rsp + 0x60], 0x10000
jae 0x18000c7d4
mov qword [rsp + 0x60], 0x10000
jmp 0x18000c7e4
mov rax, qword [rsp + 0x60]
and rax, 0xffffffffffff0000
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x18000c72a
cmp qword [rsp + 0x38], 0
jne 0x18000c944
cmp qword [rsp + 0xa0], 0
je 0x18000c841
cmp qword [rsp + 0xa0], 0x70000000
jb 0x18000c832
mov eax, 0x80000000
cmp qword [rsp + 0xa0], rax
jbe 0x18000c841
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
jmp 0x18000c88d
cmp qword [rsp + 0xa0], 0
jne 0x18000c87e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp qword [rsp + 0x98], rax
je 0x18000c86d
mov rcx, qword [rsp + 0x98]
call fcn.18000d3d0
test eax, eax
je 0x18000c87e
movabs rax, 0x7feffff0000
mov qword [rsp + 0x30], rax
jmp 0x18000c88d
mov ecx, 0xc
call fcn.1800190a0
mov qword [rsp + 0x30], rax
cmp qword [0x18004cc40], 0
je 0x18000c8a3
mov rax, qword [0x18004cc40]
mov qword [rsp + 0x30], rax
mov r9d, 0x30
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x18000c930
cmp dword [rsp + 0x68], 0x10000
jne 0x18000c903
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x2000
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x38], rax
jmp 0x18000c930
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x30], rax
jne 0x18000c921
mov rax, qword [rsp + 0x30]
sub rax, 0x10000
mov qword [rsp + 0x30], rax
jmp 0x18000c92b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x18000c8a3
cmp qword [rsp + 0x38], 0
je 0x18000c944
mov rax, qword [rsp + 0x38]
mov qword [0x18004cc40], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x38], rax
jmp 0x18000c97f
mov rax, qword [rsp + 0x38]
add rsp, 0x88
ret