Function at 0x180013c8a
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 0x180013ca2
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 qword [rbp + 0x88], rdx
mov byte [rbp], 0
mov rax, qword [rbp + 0x80]
test rax, rax
je 0x180013cfd
mov rax, qword [rbp + 0x80]
movzx eax, word [rax]
movzx eax, ax
test eax, eax
jne 0x180013d10
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 0x180013d65
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 0x180013db1
lea rax, [0x180101e84]
mov rcx, rax
call fcn.180064a90
mov eax, dword [rbp + 8]
cmp eax, 0xc0000004
je 0x180013d20
movzx eax, byte [rbp]
test eax, eax
jne 0x180013dd6
lea rax, [0x180101e84]
mov rcx, rax
call fcn.180064a90
mov eax, dword [rbp + 8]
test eax, eax
jge 0x180013dfc
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 0x180013eca
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 0x180013eca
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 0x180013eca
mov rax, qword [rbp + 0x30]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x88]
test rax, rax
je 0x180013ead
mov rax, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x88]
mov eax, dword [rax + 0x64]
mov dword [rdx], 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 0x180013ef7
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 0x180013e04
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