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

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x140379880]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
cmp rax, 0x40000000
jbe 0x14000117b
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
sub rcx, 0x40000000
cmp rax, rcx
jae 0x14000117b
mov rax, qword [rsp + 0x60]
sub rax, 0x40000000
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
add rcx, 0x40000000
cmp rax, rcx
jbe 0x1400011a5
mov rax, qword [rsp + 0x60]
add rax, 0x40000000
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
sub rax, 0xfff
mov qword [rsp + 0x48], rax
mov rax, qword [0x140379918]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140001228
mov rax, qword [rsp + 0x58]
cmp rax, qword [rsp + 0x50]
jb 0x1400011ed
mov rax, qword [rsp + 0x58]
cmp rax, qword [rsp + 0x48]
jb 0x1400011f2
jmp 0x140001216
mov rax, qword [rsp + 0x58]
cmp qword [rax + 8], 0
je 0x140001211
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
jmp 0x1400013d3
jmp 0x140001216
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x1400011c1
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x50]
jb 0x1400012a6
mov r8d, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call fcn.140001590
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000126f
jmp 0x1400012a6
mov rcx, qword [rsp + 0x40]
mov edx, 0x1000
mov r8d, 0x3000
mov r9d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400012a1
jmp 0x1400012a6
jmp 0x140001232
cmp qword [rsp + 0x58], 0
jne 0x140001335
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp rax, qword [rsp + 0x48]
ja 0x140001330
mov r8d, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.1400016b0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400012f9
jmp 0x140001330
mov rcx, qword [rsp + 0x38]
mov edx, 0x1000
mov r8d, 0x3000
mov r9d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14000132b
jmp 0x140001330
jmp 0x1400012bc
jmp 0x140001335
cmp qword [rsp + 0x58], 0
je 0x1400013c9
mov rax, qword [rsp + 0x58]
add rax, 0x40
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x30]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x30]
add rax, 0x40
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
sub rax, rcx
cmp rax, 0xfc0
jbe 0x140001368
mov rcx, qword [0x140379918]
mov rax, qword [rsp + 0x58]
mov qword [rax], rcx
mov rax, qword [rsp + 0x58]
mov qword [0x140379918], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14003c1f0
mov rax, qword [rsp + 0x28]
add rsp, 0xa8
ret