Function at 0x140009740
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 qword [rbp + 0x2c8], r9
mov rbx, r8
mov qword [rbp + 0x2d0], rdx
mov qword [rbp + 0x2c0], rcx
movzx eax, byte [0x14005c121]
mov r12d, 0x80000
mov ecx, 0x80000
mov edx, 1
call fcn.140003300
test rax, rax
je 0x140009c7e
mov rsi, rax
mov qword [rbp + 0x278], 0x80000
mov qword [rbp + 0x280], rax
mov qword [rbp + 0x288], 0
xor edx, edx
lea r13, [rbp + 0x2a0]
mov r15, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
lea r14, [rbp + 0xf0]
mov edi, 0x80000
jmp 0x1400097fe
mov r12, qword [rbp + 0x278]
mov rdx, qword [rbp + 0x288]
mov dword [rbp + 0x2a0], 0
sub r12, rdx
cmp r12, rdi
jae 0x140009826
lea rcx, [rbp + 0x278]
mov r8, rdi
call fcn.140042fb0
mov rsi, qword [rbp + 0x280]
mov ecx, 5
mov rdx, rsi
mov r8d, edi
mov r9, r13
call r15
test eax, eax
jns 0x140009892
or eax, 0x10000000
mov ecx, eax
call fcn.14000fc60
cmp edx, 0xd0000004
jne 0x1400099b7
mov qword [rbp + 0xf0], rax
mov dword [rbp + 0xf8], 0xd0000004
mov ecx, dword [rbp + 0x2a0]
mov rdx, rdi
add rdx, rdi
lea edi, [rcx + 0x2800]
test ecx, ecx
cmove rdi, rdx
test rax, rax
je 0x1400097f0
mov rcx, r14
call fcn.140010200
jmp 0x1400097f0
mov r15, qword [rbp + 0x2d0]
test r15, r15
mov r14d, 8
cmovne r14, r15
cmove rbx, r15
mov qword [rbp + 0x288], rdi
movzx eax, byte [0x14005c121]
mov ecx, 0xfa0
mov edx, 8
call fcn.140003300
test rax, rax
je 0x140009c8d
test r15, r15
mov qword [rbp + 0x260], 0x1f4
mov qword [rbp + 0x268], rax
mov qword [rbp + 0x270], 0
lea rax, [0x140008c70]
lea r15, [0x140008c80]
cmove r15, rax
xor r12d, r12d
jmp 0x140009931
lea rax, [rsi + r12]
mov rcx, qword [rbp + 0x268]
mov qword [rcx + rdi*8], rax
inc rdi
mov qword [rbp + 0x270], rdi
add r12, r13
test r13d, r13d
je 0x140009978
mov r13d, dword [rsi + r12]
mov rdx, qword [rsi + r12 + 0x50]
mov byte [rbp + 0x2df], 1
mov ecx, 1
mov r8, r14
mov r9, rbx
call r15
test al, al
je 0x140009929
mov rdi, qword [rbp + 0x270]
cmp rdi, qword [rbp + 0x260]
jne 0x140009910
mov byte [rbp + 0x2df], 1
lea rcx, [rbp + 0x260]
call fcn.140008870
jmp 0x140009910
mov rcx, qword [rbp + 0x2c0]
lea rbx, [rcx + 0x90]
mov qword [rbp + 0x258], rbx
mov rax, qword [rbp + 0x2c8]
cmp byte [rax], 0
je 0x1400099de
mov byte [rbp + 0x2df], 1
xor edx, edx
call fcn.1400038f0
mov rax, qword [rbp + 0x2c0]
mov rax, qword [rax + 0x80]
jmp 0x1400099e0
mov qword [rbp + 0xf0], rax
mov dword [rbp + 0xf8], edx
test rax, rax
je 0x140009c4f
lea rcx, [rbp + 0xf0]
call fcn.140010200
jmp 0x140009c4f
xor eax, eax
mov qword [rbp + 0x250], rax
mov byte [rbp + 0x2df], 1
call fcn.140025d70
mov dword [rbp + 0x2a0], eax
mov dword [rbp + 0x2a4], edx
mov byte [rbp + 0x2df], 1
lea rcx, [rbp + 0xf0]
lea rdx, [rbp + 0x2a0]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call fcn.140025da0
cmp qword [rbp + 0xf0], 0
je 0x140009a33
xor eax, eax
jmp 0x140009a3a
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x270]
mov qword [rbp + 0x100], rax
movups xmm0, xmmword [rbp + 0x260]
movaps xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x2a0], 0
mov qword [rbp + 0x2a8], 8
mov qword [rbp + 0x2b0], 0
lea rax, [rbp + 0x258]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x2c8]
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 + 0x2a0]
lea rdx, [rbp + 0xf0]
call fcn.140005540
mov rdx, qword [rbp + 0x2a0]
mov rcx, qword [rbp + 0x2a8]
mov rax, qword [rbp + 0x2b0]
imul rdi, rax, 0x150
add rdi, rcx
mov qword [rbp + 0x2a0], rcx
mov qword [rbp + 0x2a8], rcx
mov qword [rbp + 0x298], rdx
mov qword [rbp + 0x2b0], rdx
mov qword [rbp + 0x2b8], rdi
mov qword [rbp + 0x290], rcx
mov r8, rcx
test rax, rax
je 0x140009bba
lea r14, [rbp - 0x58]
mov rax, qword [rbp + 0x290]
lea r8, [rax + 0x150]
lea r15, [rbp + 0xf0]
lea r12, [rbp - 0x60]
jmp 0x140009b5a
mov r8, qword [rbp + 0x2d0]
add r8, 0x150
add r13, 0x150
cmp r13, rdi
je 0x140009bb0
mov rax, qword [r8 - 0x150]
cmp rax, 2
je 0x140009bb3
mov qword [rbp + 0x2d0], 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, rbx
mov r9, r12
call fcn.1400079f0
cmp dword [rbp + 0xf0], 2
je 0x140009b40
mov rcx, r15
call fcn.140005120
jmp 0x140009b40
mov r8, rdi
mov qword [rbp + 0x2a8], r8
sub rdi, r8
shr rdi, 4
movabs rcx, 0xc30c30c30c30c31
mov rax, rdi
mul rcx
mov qword [rbp + 0x2c0], rdx
xor eax, eax
mov qword [rbp + 0x2c8], rax
mov qword [rbp + 0x2d0], r8
mov rcx, r8
nop dword [rax + rax]
mov rax, qword [rbp + 0x2c8]
cmp qword [rbp + 0x2c0], rax
je 0x140009c1b
inc rax
mov qword [rbp + 0x2c8], rax
lea rdi, [rcx + 0x150]
call fcn.140005120
mov rcx, rdi
jmp 0x140009bf0
mov rax, qword [rbp + 0x298]
test rax, rax
je 0x140009c40
imul rdx, rax, 0x150
mov r8d, 8
mov rcx, qword [rbp + 0x290]
call fcn.140003310
mov byte [rbp + 0x2df], 0
mov rcx, rbx
call fcn.140007ef0
mov rdx, qword [rbp + 0x278]
test rdx, rdx
je 0x140009c69
mov r8d, 1
mov rcx, rsi
call fcn.140003310
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.140045560
mov ecx, 8
mov edx, 0xfa0
call fcn.140045560
ud2