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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r13, qword [rsp + 0xc0]
mov r12, rcx
xor r15d, r15d
mov qword [r13], rcx
lea rcx, [rsp + 0x20]
mov byte [r13 + 0x20], 1
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r8d, dword [rsp + 0x24]
xor edx, edx
mov r14, qword [rsp + 0x30]
mov rax, r12
mov rsi, qword [rsp + 0x28]
mov rbp, r12
div r8
mov edi, 1
sub rbp, rdx
lea rax, [rbp + 0x7fffffff]
cmp rax, r14
cmova r14, rax
lea rax, [rbp - 0x7fffffff]
cmp rax, rsi
cmovb rsi, rax
nop dword [rax + rax]
mov edx, r8d
mov rbx, rbp
movsxd rax, edi
imul rax, rdx
sub rbx, rax
lea rcx, [rax + rbp]
cmp rcx, r14
jbe 0x1800010b1
cmp rbx, rsi
jb 0x1800010fd
cmp rcx, r14
jae 0x1800010cf
mov r9d, 0x40
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1800010fa
mov r8d, dword [rsp + 0x24]
cmp rbx, rsi
jbe 0x1800010f6
mov edx, r8d
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1800010fa
mov r8d, dword [rsp + 0x24]
inc edi
jmp 0x180001090
mov r15, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180001350
mov rcx, rax
mov rdx, r15
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x180001510]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov qword [r13 + 8], r15
lea rcx, [0x180001570]
mov dword [rsp + 0x62], 0xe75013c
lea rdi, [r13 + 0x20]
mov qword [rsp + 0x5a], rdi
lea rbx, [r15 + 0x1d]
mov eax, dword [rsp + 0x60]
lea r9, [rsp + 0x50]
mov word [rsp + 0x58], 0xa050
mov edx, 7
movsd xmm0, qword [rsp + 0x58]
mov r8d, 0x40
movsd qword [r15], xmm0
mov dword [r15 + 8], eax
movzx eax, word [rsp + 0x64]
mov word [r15 + 0xc], ax
mov rax, rcx
mov word [r15 + 0xe], 0x4958
shr rax, 8
mov byte [r15 + 0x10], 0xba
mov byte [r15 + 0x11], cl
mov byte [r15 + 0x12], al
mov rax, rcx
shr rax, 0x10
mov byte [r15 + 0x13], al
mov rax, rcx
shr rax, 0x18
mov byte [r15 + 0x14], al
mov rax, rcx
shr rax, 0x20
mov byte [r15 + 0x15], al
mov rax, rcx
shr rax, 0x28
mov byte [r15 + 0x16], al
mov rax, rcx
shr rcx, 0x38
shr rax, 0x30
mov byte [r15 + 0x17], al
mov byte [r15 + 0x18], cl
mov rcx, r12
mov dword [r15 + 0x19], 0x58e2ff41
mov qword [0x180005678], rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, 7
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [r12]
mov rdx, rax
mov dword [rax], ecx
movzx ecx, word [r12 + 4]
mov word [rax + 4], cx
movzx ecx, byte [r12 + 6]
mov byte [rax + 6], cl
mov ecx, dword [rax]
mov dword [rbx], ecx
movzx ecx, word [rax + 4]
mov word [rbx + 4], cx
mov ecx, r12d
movzx eax, byte [rax + 6]
sub ecx, r15d
mov byte [rbx + 6], al
sub ecx, 0x24
mov qword [r13 + 0x10], rdx
mov eax, ecx
mov dword [r13 + 0x18], 7
shr eax, 8
mov byte [r15 + 0x24], 0xe9
mov byte [r15 + 0x25], cl
mov byte [r15 + 0x26], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [r15 + 0x27], al
mov byte [r15 + 0x28], cl
mov byte [r12], 0xe9
lea r9, [rsp + 0x50]
sub r15d, r12d
mov edx, 7
sub r15d, 5
mov rcx, r12
mov byte [r12 + 1], r15b
mov eax, r15d
shr eax, 8
mov byte [r12 + 2], al
mov eax, r15d
shr eax, 0x10
mov byte [r12 + 3], al
shr r15d, 0x18
mov byte [r12 + 4], r15b
mov r8d, dword [rsp + 0x50]
mov word [r12 + 5], 0x9090
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov byte [rdi], 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800016c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret