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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x368
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x2e0], 0xfffffffffffffffe
mov r14d, edx
mov qword [rbp + 0x2d0], rcx
mov word [rbp + 0x2dc], r14w
mov eax, edx
shr eax, 0x10
mov byte [rbp + 0x2de], al
movzx eax, byte [0x14005f181]
mov ebx, 0x80000
mov ecx, 0x80000
mov edx, 1
call fcn.140005020
test rax, rax
je 0x140009b1e
mov rsi, rax
mov qword [rbp + 0x280], 0x80000
mov qword [rbp + 0x288], rax
mov qword [rbp + 0x290], 0
xor edx, edx
lea rdi, [rbp + 0x280]
lea r12, [rbp + 0xf0]
mov r13, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r15d, 0x80000
mov dword [rbp + 0xf0], 0
sub rbx, rdx
cmp rbx, r15
jae 0x140009752
nop word cs:[rax + rax]
mov rcx, rdi
mov r8, r15
call fcn.14003fcd0
mov rsi, qword [rbp + 0x288]
mov ecx, 5
mov rdx, rsi
mov r8d, r15d
mov r9, r12
call r13
cmp eax, 0xc0000004
jne 0x1400097a1
mov eax, dword [rbp + 0xf0]
add r15, r15
lea ecx, [rax + 0x2800]
test eax, eax
cmovne r15, rcx
mov rbx, qword [rbp + 0x280]
mov rdx, qword [rbp + 0x290]
mov dword [rbp + 0xf0], 0
sub rbx, rdx
cmp rbx, r15
jb 0x140009740
jmp 0x140009752
test eax, eax
jne 0x140009aef
mov qword [rbp + 0x290], r15
movzx eax, byte [0x14005f181]
mov ecx, 0xfa0
mov edx, 8
call fcn.140005020
test rax, rax
je 0x140009b2d
mov qword [rbp + 0x268], 0x1f4
mov qword [rbp + 0x270], rax
mov qword [rbp + 0x278], 0
xor ebx, ebx
lea rdi, [rbp + 0x268]
xor r15d, r15d
mov r12, qword [rbp + 0x2d0]
jmp 0x140009833
lea rax, [rsi + r15]
mov rcx, qword [rbp + 0x270]
mov qword [rcx + rbx*8], rax
inc rbx
mov qword [rbp + 0x278], rbx
mov eax, dword [rax]
add r15, rax
test rax, rax
je 0x14000984d
cmp rbx, qword [rbp + 0x268]
jne 0x140009810
mov byte [rbp + 0x2df], 1
mov rcx, rdi
call fcn.140017b20
jmp 0x140009810
lea rdi, [r12 + 0xd8]
mov qword [rbp + 0x258], rdi
test r14b, r14b
je 0x14000987f
mov byte [rbp + 0x2df], 1
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.140006870
mov rax, qword [r12 + 0x80]
jmp 0x140009881
xor eax, eax
mov qword [rbp + 0x250], rax
mov byte [rbp + 0x2df], 1
call fcn.14002a940
mov dword [rbp + 0x2a8], eax
mov dword [rbp + 0x2ac], edx
mov byte [rbp + 0x2df], 1
lea rcx, [rbp + 0xf0]
lea rdx, [rbp + 0x2a8]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call fcn.14002a970
cmp qword [rbp + 0xf0], 0
je 0x1400098d4
xor eax, eax
jmp 0x1400098db
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x278]
mov qword [rbp + 0x100], rax
movups xmm0, xmmword [rbp + 0x268]
movaps xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x2a8], 0
mov qword [rbp + 0x2b0], 8
mov qword [rbp + 0x2b8], 0
lea rax, [rbp + 0x258]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x2dc]
mov qword [rbp + 0x110], rax
lea rax, [rbp + 0x250]
mov qword [rbp + 0x118], rax
lea rax, [rbp + 0x248]
mov qword [rbp + 0x120], rax
lea rcx, [rbp + 0x2a8]
lea rdx, [rbp + 0xf0]
call fcn.140016b10
mov rdx, qword [rbp + 0x2a8]
mov rcx, qword [rbp + 0x2b0]
mov rax, qword [rbp + 0x2b8]
imul rbx, rax, 0x150
add rbx, rcx
mov qword [rbp + 0x2a8], rcx
mov qword [rbp + 0x2b0], rcx
mov qword [rbp + 0x2a0], rdx
mov qword [rbp + 0x2b8], rdx
mov qword [rbp + 0x2c0], rbx
mov qword [rbp + 0x298], rcx
mov r8, rcx
test rax, rax
je 0x140009a5a
lea r14, [rbp - 0x58]
mov rax, qword [rbp + 0x298]
lea r8, [rax + 0x150]
lea r15, [rbp + 0xf0]
lea r12, [rbp - 0x60]
jmp 0x1400099fa
mov r8, qword [rbp + 0x2c8]
add r8, 0x150
add r13, 0x150
cmp r13, rbx
je 0x140009a50
mov rax, qword [r8 - 0x150]
cmp rax, 2
je 0x140009a53
mov qword [rbp + 0x2c8], r8
lea r13, [r8 - 0x150]
mov qword [rbp - 0x60], rax
lea rdx, [r13 + 8]
mov r8d, 0x148
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [rbp + 0x78]
mov rcx, r15
mov rdx, rdi
mov r9, r12
call fcn.140012f80
cmp dword [rbp + 0xf0], 2
je 0x1400099e0
mov rcx, r15
call fcn.140007b70
jmp 0x1400099e0
mov r8, rbx
mov qword [rbp + 0x2b0], r8
sub rbx, r8
shr rbx, 4
movabs rcx, 0xc30c30c30c30c31
mov rax, rbx
mul rcx
mov qword [rbp + 0x260], rdx
xor eax, eax
mov qword [rbp + 0x2d0], rax
mov qword [rbp + 0x2c8], r8
mov rcx, r8
nop dword [rax + rax]
mov rax, qword [rbp + 0x2d0]
cmp qword [rbp + 0x260], rax
je 0x140009abb
inc rax
mov qword [rbp + 0x2d0], rax
lea rbx, [rcx + 0x150]
call fcn.140007b70
mov rcx, rbx
jmp 0x140009a90
mov rax, qword [rbp + 0x2a0]
test rax, rax
je 0x140009ae0
imul rdx, rax, 0x150
mov r8d, 8
mov rcx, qword [rbp + 0x298]
call fcn.140005030
mov byte [rbp + 0x2df], 0
mov rcx, rdi
call fcn.140013480
mov rdx, qword [rbp + 0x280]
test rdx, rdx
je 0x140009b09
mov r8d, 1
mov rcx, rsi
call fcn.140005030
nop
add rsp, 0x368
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 1
mov edx, 0x80000
call fcn.140044920
mov ecx, 8
mov edx, 0xfa0
call fcn.140044920
ud2