Function at 0x140008440
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 [0x14004e181]
mov r12d, 0x80000
mov ecx, 0x80000
mov edx, 1
call fcn.140002e00
test rax, rax
je 0x14000897e
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 0x1400084fe
mov r12, qword [rbp + 0x278]
mov rdx, qword [rbp + 0x288]
mov dword [rbp + 0x2a0], 0
sub r12, rdx
cmp r12, rdi
jae 0x140008526
lea rcx, [rbp + 0x278]
mov r8, rdi
call fcn.140033b90
mov rsi, qword [rbp + 0x280]
mov ecx, 5
mov rdx, rsi
mov r8d, edi
mov r9, r13
call r15
test eax, eax
jns 0x140008592
or eax, 0x10000000
mov ecx, eax
call fcn.14000fe90
cmp edx, 0xd0000004
jne 0x1400086b7
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 0x1400084f0
mov rcx, r14
call fcn.1400103c0
jmp 0x1400084f0
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 [0x14004e181]
mov ecx, 0xfa0
mov edx, 8
call fcn.140002e00
test rax, rax
je 0x14000898d
test r15, r15
mov qword [rbp + 0x260], 0x1f4
mov qword [rbp + 0x268], rax
mov qword [rbp + 0x270], 0
lea rax, [0x140007550]
lea r15, [0x140007520]
cmove r15, rax
xor r12d, r12d
jmp 0x140008631
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 0x140008678
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 0x140008629
mov rdi, qword [rbp + 0x270]
cmp rdi, qword [rbp + 0x260]
jne 0x140008610
mov byte [rbp + 0x2df], 1
lea rcx, [rbp + 0x260]
call fcn.140009c70
jmp 0x140008610
mov rcx, qword [rbp + 0x2c0]
lea rbx, [rcx + 0x90]
mov qword [rbp + 0x258], rbx
mov rax, qword [rbp + 0x2c8]
cmp byte [rax], 0
je 0x1400086de
mov byte [rbp + 0x2df], 1
xor edx, edx
call fcn.140003420
mov rax, qword [rbp + 0x2c0]
mov rax, qword [rax + 0x80]
jmp 0x1400086e0
mov qword [rbp + 0xf0], rax
mov dword [rbp + 0xf8], edx
test rax, rax
je 0x14000894f
lea rcx, [rbp + 0xf0]
call fcn.1400103c0
jmp 0x14000894f
xor eax, eax
mov qword [rbp + 0x250], rax
mov byte [rbp + 0x2df], 1
call fcn.14001f220
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.14001f250
cmp qword [rbp + 0xf0], 0
je 0x140008733
xor eax, eax
jmp 0x14000873a
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.1400052f0
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 0x1400088ba
lea r14, [rbp - 0x58]
mov rax, qword [rbp + 0x290]
lea r8, [rax + 0x150]
lea r15, [rbp + 0xf0]
lea r12, [rbp - 0x60]
jmp 0x14000885a
mov r8, qword [rbp + 0x2d0]
add r8, 0x150
add r13, 0x150
cmp r13, rdi
je 0x1400088b0
mov rax, qword [r8 - 0x150]
cmp rax, 2
je 0x1400088b3
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.1400090a0
cmp dword [rbp + 0xf0], 2
je 0x140008840
mov rcx, r15
call fcn.140004ed0
jmp 0x140008840
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 0x14000891b
inc rax
mov qword [rbp + 0x2c8], rax
lea rdi, [rcx + 0x150]
call fcn.140004ed0
mov rcx, rdi
jmp 0x1400088f0
mov rax, qword [rbp + 0x298]
test rax, rax
je 0x140008940
imul rdx, rax, 0x150
mov r8d, 8
mov rcx, qword [rbp + 0x290]
call fcn.140002e10
mov byte [rbp + 0x2df], 0
mov rcx, rbx
call fcn.1400095a0
mov rdx, qword [rbp + 0x278]
test rdx, rdx
je 0x140008969
mov r8d, 1
mov rcx, rsi
call fcn.140002e10
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.140037070
mov ecx, 8
mov edx, 0xfa0
call fcn.140037070
ud2