Function at 0x14000203c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov qword [rbp + 0x10], rcx
lea rax, [rbp - 0x60]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call rax
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x10]
cmp rax, 0x40000000
jbe 0x140002092
mov rax, qword [rbp + 0x10]
sub rax, 0x40000000
cmp qword [rbp - 0x10], rax
jae 0x140002092
mov rax, qword [rbp + 0x10]
sub rax, 0x40000000
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x10]
add rax, 0x40000000
cmp qword [rbp - 0x18], rax
jbe 0x1400020b0
mov rax, qword [rbp + 0x10]
add rax, 0x40000000
mov qword [rbp - 0x18], rax
sub qword [rbp - 0x18], 0xfff
mov rax, qword [0x140011070]
mov qword [rbp - 8], rax
jmp 0x1400020fb
mov rax, qword [rbp - 8]
cmp qword [rbp - 0x10], rax
ja 0x1400020ef
mov rax, qword [rbp - 8]
cmp qword [rbp - 0x18], rax
jbe 0x1400020ef
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
test rax, rax
je 0x1400020f0
mov rax, qword [rbp - 8]
jmp 0x140002251
nop
mov rax, qword [rbp - 8]
mov rax, qword [rax]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400020c5
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x20], rax
jmp 0x140002159
mov ecx, dword [rbp - 0x38]
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x20]
mov r8d, ecx
mov rcx, rax
call sym.FindPrevFreeRegion
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
je 0x140002165
mov rax, qword [rbp - 0x20]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002168
mov rax, qword [rbp - 0x20]
cmp qword [rbp - 0x10], rax
jbe 0x14000210c
jmp 0x140002169
nop
jmp 0x140002169
nop
cmp qword [rbp - 8], 0
jne 0x1400021d7
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x28], rax
jmp 0x1400021c7
mov ecx, dword [rbp - 0x38]
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x28]
mov r8d, ecx
mov rcx, rax
call sym.FindNextFreeRegion
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0
je 0x1400021d3
mov rax, qword [rbp - 0x28]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400021d6
mov rax, qword [rbp - 0x28]
cmp qword [rbp - 0x18], rax
jae 0x14000217a
jmp 0x1400021d7
nop
jmp 0x1400021d7
nop
cmp qword [rbp - 8], 0
je 0x14000224d
mov rax, qword [rbp - 8]
add rax, 0x40
mov qword [rbp - 0x30], 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 - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x30]
mov qword [rax], rdx
mov rax, qword [rbp - 8]
mov rdx, qword [rbp - 0x30]
mov qword [rax + 8], rdx
add qword [rbp - 0x30], 0x40
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp - 8]
sub rax, rdx
cmp rax, 0xfc0
jbe 0x140002201
mov rdx, qword [0x140011070]
mov rax, qword [rbp - 8]
mov qword [rax], rdx
mov rax, qword [rbp - 8]
mov qword [0x140011070], rax
mov rax, qword [rbp - 8]
sub rsp, 0xffffffffffffff80
pop rbp
ret