Function at 0x18002a370
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
lea rcx, [0x1800961cc]
call fcn.1800208d4
nop
lea rcx, [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x1f0], 0x40000000
jbe 0x18002a3f5
mov rax, qword [rbp + 0x1f0]
sub rax, 0x40000000
cmp qword [rbp + 0x28], rax
jae 0x18002a3f5
mov rax, qword [rbp + 0x1f0]
sub rax, 0x40000000
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x1f0]
add rax, 0x40000000
cmp qword [rbp + 0x48], rax
jbe 0x18002a419
mov rax, qword [rbp + 0x1f0]
add rax, 0x40000000
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
sub rax, 0xfff
mov qword [rbp + 0x48], rax
mov rax, qword [0x18008e7d0]
mov qword [rbp + 8], rax
jmp 0x18002a43f
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x18002a472
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 8], rax
jb 0x18002a45a
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 8], rax
jb 0x18002a45c
jmp 0x18002a434
mov rax, qword [rbp + 8]
cmp qword [rax + 8], 0
je 0x18002a470
mov rax, qword [rbp + 8]
jmp 0x18002a5f7
jmp 0x18002a434
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0xb8], rax
jb 0x18002a4e4
mov r8d, dword [rbp + 0x90]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0xb8]
call fcn.18002a0c0
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
jne 0x18002a4b7
jmp 0x18002a4e4
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x18002a4e2
jmp 0x18002a4e4
jmp 0x18002a480
cmp qword [rbp + 8], 0
jne 0x18002a55d
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0xd8], rax
ja 0x18002a55d
mov r8d, dword [rbp + 0x90]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0xd8]
call fcn.180029f20
mov qword [rbp + 0xd8], rax
cmp qword [rbp + 0xd8], 0
jne 0x18002a530
jmp 0x18002a55d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x18002a55b
jmp 0x18002a55d
jmp 0x18002a4f9
cmp qword [rbp + 8], 0
je 0x18002a5f3
mov rax, qword [rbp + 8]
add rax, 0x40
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 8]
mov qword [rax + 8], 0
mov rax, qword [rbp + 8]
mov dword [rax + 0x10], 0
mov rax, qword [rbp + 0xf8]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 8]
mov qword [rax], rcx
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0xf8]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0xf8]
add rax, 0x40
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0xf8]
sub rcx, rax
mov rax, rcx
cmp rax, 0xfc0
jbe 0x18002a58e
mov rax, qword [rbp + 8]
mov rcx, qword [0x18008e7d0]
mov qword [rax], rcx
mov rax, qword [rbp + 8]
mov qword [0x18008e7d0], rax
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x180065ea0]
call fcn.180020762
mov rax, rdi
lea rsp, [rbp + 0x1d8]
pop rdi
pop rbp
ret