Function at 0x180013f16
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x20]
mov qword [rsp], rax
mov rax, 0x8c
mov dword [rsp + rax], 0xcccccccc
sub rax, 4
cmp rax, 4
jg 0x180013f2e
mov rax, qword [rsp]
mov dword [rsp], 0xcccccccc
mov dword [rsp + 4], 0xcccccccc
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x80], rcx
mov dword [rbp + 0x88], edx
mov byte [rbp], 0
mov rax, qword [rbp + 0x80]
test rax, rax
je 0x180013f88
mov rax, qword [rbp + 0x80]
movzx eax, word [rax]
movzx eax, ax
test eax, eax
jne 0x180013f9b
mov eax, 0
mov rbx, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x68]
lea rsp, [rbp + 0x70]
pop rbp
ret
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x20], 0
mov eax, 0x1000
add rax, qword [rbp + 0x20]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call fcn.1800625a0
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x18]
test rax, rax
jne 0x180013ff0
mov eax, 0
mov rbx, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x68]
lea rsp, [rbp + 0x70]
pop rbp
ret
mov eax, 5
mov rdx, qword [rbp + 0x18]
mov ecx, dword [rbp + 0x20]
mov ebx, 0
mov rsi, qword [sym.imp.ntdll.dll_ZwQuerySystemInformation]
mov dword [rbp + 0x50], ecx
mov ecx, eax
mov eax, dword [rbp + 0x50]
mov r8d, eax
mov r9, rbx
call rsi
mov dword [rbp + 4], eax
mov byte [rbp], 1
mov eax, dword [rbp + 4]
mov dword [rbp + 8], eax
movzx eax, byte [rbp]
test eax, eax
jne 0x18001403c
lea rax, [0x180101e88]
mov rcx, rax
call fcn.180064a90
mov eax, dword [rbp + 8]
cmp eax, 0xc0000004
je 0x180013fab
movzx eax, byte [rbp]
test eax, eax
jne 0x180014061
lea rax, [0x180101e88]
mov rcx, rax
call fcn.180064a90
mov eax, dword [rbp + 8]
test eax, eax
jge 0x180014087
mov rax, qword [rbp + 0x18]
mov rcx, rax
call fcn.1800622b0
mov eax, 0
mov rbx, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x68]
lea rsp, [rbp + 0x70]
pop rbp
ret
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 0x40]
test rax, rax
je 0x180014155
mov rax, qword [rbp + 0x80]
mov rcx, rax
call fcn.1800622d0
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x30]
movzx eax, word [rax + 0x38]
movzx eax, ax
mov rdx, qword [rbp + 0x38]
imul rdx, rdx, 2
cmp rax, rdx
jne 0x180014155
mov rax, qword [rbp + 0x80]
mov rcx, rax
call fcn.1800622d0
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x30]
mov rdx, qword [rdx + 0x40]
mov rcx, qword [rbp + 0x48]
mov qword [rbp + 0x58], rcx
mov rcx, rax
mov rax, qword [rbp + 0x58]
mov r8, rax
call fcn.180063cc0
mov dword [rbp + 0xc], eax
mov eax, dword [rbp + 0xc]
test eax, eax
jne 0x180014155
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x64]
mov edx, dword [rbp + 0x88]
cmp eax, edx
je 0x18001412e
mov eax, dword [rbp + 0x88]
cmp eax, 0xffffffff
jne 0x180014155
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x18]
mov rcx, rax
call fcn.1800622b0
mov eax, dword [rbp + 0x10]
mov rbx, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x68]
lea rsp, [rbp + 0x70]
pop rbp
ret
mov rax, qword [rbp + 0x30]
mov eax, dword [rax]
test eax, eax
je 0x180014182
mov rax, qword [rbp + 0x30]
mov eax, dword [rax]
add rax, qword [rbp + 0x30]
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x40]
test rax, rax
jne 0x18001408f
mov rax, qword [rbp + 0x18]
mov rcx, rax
call fcn.1800622b0
mov eax, 0
mov rbx, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x68]
lea rsp, [rbp + 0x70]
pop rbp
ret