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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x18005f7d8]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x28]
lea r13, [rsi - 0x40000000]
cmp r13, rax
cmovbe r13, rax
mov r14, qword [rsp + 0x30]
cmp rsi, 0x40000001
cmovb r13, rax
lea rax, [rsi + 0x40000000]
cmp rax, r14
cmovb r14, rax
add r14, 0xfffffffffffff001
mov rax, qword [0x180060210]
jmp 0x180001093
mov rax, qword [rax]
test rax, rax
je 0x1800010bc
cmp r13, rax
ja 0x180001090
cmp r14, rax
jbe 0x180001090
cmp qword [rax + 8], 0
je 0x180001090
mov rsi, qword [rax + 8]
mov rcx, qword [rsi]
mov qword [rax + 8], rcx
inc dword [rax + 0x10]
jmp 0x180001320
lea rdi, [rsp + 0x50]
mov r15, qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov r12, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rsi
cmp r13, rbx
ja 0x18000116a
mov ebp, dword [rsp + 0x48]
mov rax, rbx
shr rax, 0x20
je 0x180001100
mov rax, rbx
xor edx, edx
div rbp
jmp 0x180001106
mov eax, ebx
xor edx, edx
div ebp
add rdx, rbp
sub rbx, rdx
nop dword [rax]
cmp rbx, r13
jb 0x18000116a
mov r8d, 0x30
mov rcx, rbx
mov rdx, rdi
call r15
test rax, rax
je 0x18000116a
cmp dword [rsp + 0x70], 0x10000
je 0x180001140
mov rbx, qword [rsp + 0x58]
sub rbx, rbp
jae 0x180001110
jmp 0x18000116a
test rbx, rbx
je 0x18000116a
mov edx, 0x1000
mov rcx, rbx
mov r8d, 0x3000
mov r9d, 0x40
call r12
test rax, rax
je 0x1800010d2
jmp 0x180001239
lea rdi, [rsp + 0x50]
cmp r14, rsi
jb 0x18000131e
mov ebx, dword [rsp + 0x48]
mov rax, rsi
shr rax, 0x20
je 0x180001190
mov rax, rsi
xor edx, edx
div rbx
jmp 0x180001196
mov eax, esi
xor edx, edx
div ebx
add rsi, rbx
sub rsi, rdx
cmp rsi, r14
ja 0x18000131e
lea r13d, [rbx - 1]
jmp 0x1800011c4
mov rax, rsi
xor edx, edx
div rbx
sub rsi, rdx
cmp rsi, r14
ja 0x18000131e
mov r8d, 0x30
mov rcx, rsi
mov rdx, rdi
call r15
test rax, rax
je 0x18000131e
cmp dword [rsp + 0x70], 0x10000
je 0x180001210
mov rsi, qword [rsp + 0x50]
add rsi, r13
add rsi, qword [rsp + 0x68]
mov rax, rsi
shr rax, 0x20
jne 0x1800011b0
mov eax, esi
xor edx, edx
div ebx
jmp 0x1800011b8
test rsi, rsi
je 0x18000131e
mov edx, 0x1000
mov rcx, rsi
mov r8d, 0x3000
mov r9d, 0x40
call r12
test rax, rax
je 0x18000116f
lea rcx, [rax + 0x40]
mov dword [rax + 0x10], 0
xor edx, edx
xor r8d, r8d
nop dword [rax]
lea r9, [rax + rdx]
add r9, 0x40
mov qword [rax + rdx + 0x40], r8
mov qword [rax + 8], r9
lea r8, [rax + rdx + 0x80]
mov qword [rax + rdx + 0x80], r9
mov qword [rax + 8], r8
lea r9, [rax + rdx + 0xc0]
mov qword [rax + rdx + 0xc0], r8
mov qword [rax + 8], r9
lea r8, [rax + rdx + 0x100]
mov qword [rax + rdx + 0x100], r9
mov qword [rax + 8], r8
lea r9, [rax + rdx + 0x140]
mov qword [rax + rdx + 0x140], r8
mov qword [rax + 8], r9
lea r10, [rax + rdx + 0x180]
mov qword [rax + rdx + 0x180], r9
mov qword [rax + 8], r10
lea r8, [rcx + 0x180]
lea r9, [rax + rdx]
add r9, 0x1c0
mov qword [rax + rdx + 0x1c0], r10
mov qword [rax + 8], r9
add rcx, 0x1c0
lea r9, [rdx + 0x1c0]
add rdx, 0x200
cmp rdx, 0xfc1
mov rdx, r9
jb 0x180001250
mov rcx, qword [0x180060210]
mov qword [rax], rcx
mov qword [0x180060210], rax
jmp 0x1800010a9
xor esi, esi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18003c3c0
mov rax, rsi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret