Function at 0x140008e80
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, 0x378
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x2f0], 0xfffffffffffffffe
mov qword [rbp + 0x2e0], r9
test rdx, rdx
je 0x140008edf
mov rdi, r8
test r8, r8
je 0x140009144
mov qword [rbp + 0x2b0], rcx
lea rax, [0x14017c728]
mov qword [rbp + 0x2b8], rax
mov qword [rbp + 0x278], rdx
mov r15, rdx
jmp 0x140008f03
mov qword [rbp + 0x2b0], rcx
mov qword [rbp + 0x278], rdx
lea rax, [0x14017c6f8]
mov qword [rbp + 0x2b8], rax
mov r15d, 8
xor edi, edi
movzx eax, byte [0x14018e181]
mov ebx, 0x80000
mov ecx, 0x80000
mov edx, 1
call fcn.1400022d0
test rax, rax
je 0x1400095d8
mov r12, rax
mov qword [rbp + 0x298], 0x80000
mov qword [rbp + 0x2a0], rax
mov qword [rbp + 0x2a8], 0
xor edx, edx
lea rsi, [rbp + 0x2c0]
mov r13, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r14d, 0x80000
jmp 0x140008f6e
mov rbx, qword [rbp + 0x298]
mov rdx, qword [rbp + 0x2a8]
mov dword [rbp + 0x2c0], 0
sub rbx, rdx
cmp rbx, r14
jae 0x140008f96
lea rcx, [rbp + 0x298]
mov r8, r14
call fcn.140030410
mov r12, qword [rbp + 0x2a0]
mov ecx, 5
mov rdx, r12
mov r8d, r14d
mov r9, rsi
call r13
test eax, eax
jns 0x140009007
or eax, 0x10000000
mov ecx, eax
call fcn.1400169d0
cmp edx, 0xd0000004
jne 0x14000910c
mov qword [rbp + 0x100], rax
mov dword [rbp + 0x108], 0xd0000004
mov ecx, dword [rbp + 0x2c0]
mov rdx, r14
add rdx, r14
lea r14d, [rcx + 0x2800]
test ecx, ecx
cmove r14, rdx
test rax, rax
je 0x140008f60
lea rcx, [rbp + 0x100]
call fcn.140016a40
jmp 0x140008f60
mov qword [rbp + 0x2a8], r14
mov qword [rbp + 0x270], 0
movzx eax, byte [0x14018e181]
mov ecx, 0xfa0
mov edx, 8
call fcn.1400022d0
test rax, rax
je 0x1400095e7
mov qword [rbp + 0x280], 0x1f4
mov qword [rbp + 0x288], rax
mov qword [rbp + 0x290], 0
mov rax, qword [rbp + 0x2b8]
mov rbx, qword [rax + 0x28]
xor r14d, r14d
jmp 0x140009091
lea rax, [r12 + r14]
mov rcx, qword [rbp + 0x288]
mov qword [rcx + rsi*8], rax
inc rsi
mov qword [rbp + 0x290], rsi
add r14, r13
test r13d, r13d
je 0x1400090d7
mov r13d, dword [r12 + r14]
mov rdx, qword [r12 + r14 + 0x50]
mov byte [rbp + 0x2ef], 1
mov ecx, 1
mov r8, r15
mov r9, rdi
call rbx
test al, al
je 0x140009089
mov rsi, qword [rbp + 0x290]
cmp rsi, qword [rbp + 0x280]
jne 0x140009070
mov byte [rbp + 0x2ef], 1
lea rcx, [rbp + 0x280]
call fcn.140006f90
jmp 0x140009070
mov rcx, qword [rbp + 0x2b0]
lea rdi, [rcx + 0x40]
mov qword [rbp + 0x268], rdi
mov rax, qword [rbp + 0x2e0]
cmp byte [rax], 0
je 0x14000914b
mov byte [rbp + 0x2ef], 1
mov rsi, rcx
xor edx, edx
call fcn.1400028c0
mov rax, qword [rsi + 0x10]
jmp 0x14000914d
mov qword [rbp + 0x100], rax
mov dword [rbp + 0x108], edx
test rax, rax
je 0x14000912a
lea rcx, [rbp + 0x100]
call fcn.140016a40
mov rdx, qword [rbp + 0x298]
test rdx, rdx
je 0x140009144
mov r8d, 1
mov rcx, r12
call fcn.1400022e0
xor eax, eax
jmp 0x1400095c4
xor eax, eax
mov qword [rbp + 0x260], rax
mov byte [rbp + 0x2ef], 1
call fcn.14001d6d0
mov dword [rbp + 0x2c0], eax
mov dword [rbp + 0x2c4], edx
mov byte [rbp + 0x2ef], 1
lea rcx, [rbp + 0x100]
lea rdx, [rbp + 0x2c0]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call fcn.14001d700
cmp qword [rbp + 0x100], 0
je 0x1400091a0
xor eax, eax
jmp 0x1400091a7
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0x258], rax
mov rax, qword [rbp + 0x290]
mov qword [rbp + 0x110], rax
movups xmm0, xmmword [rbp + 0x280]
movaps xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x2c0], 0
mov qword [rbp + 0x2c8], 8
mov qword [rbp + 0x2d0], 0
lea rax, [rbp + 0x270]
mov qword [rbp + 0x118], rax
lea rax, [rbp + 0x268]
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x2e0]
mov qword [rbp + 0x128], rax
lea rax, [rbp + 0x260]
mov qword [rbp + 0x130], rax
lea rax, [rbp + 0x258]
mov qword [rbp + 0x138], rax
lea rcx, [rbp + 0x2c0]
lea rdx, [rbp + 0x100]
call fcn.1400052c0
mov rcx, qword [rbp + 0x2c0]
mov r9, qword [rbp + 0x2c8]
mov rdx, qword [rbp + 0x2d0]
imul rax, rdx, 0x158
add rax, r9
mov qword [rbp + 0x2c0], r9
mov r8, r9
mov qword [rbp + 0x2c8], r9
mov qword [rbp + 0x2d0], rcx
mov qword [rbp + 0x2d8], rax
test rdx, rdx
je 0x1400094f7
mov rdx, r8
lea rcx, [r8 + 0x158]
mov qword [rbp + 0x2c8], rcx
mov rcx, qword [r8]
cmp rcx, 2
je 0x1400094ee
lea rbx, [rbp - 0x50]
lea r15, [rbp + 0x100]
lea r12, [rbp - 0x58]
movabs rsi, 0x8000000000000000
nop word cs:[rax + rax]
add rdx, 8
mov qword [rbp - 0x58], rcx
mov r8d, 0x150
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [rbp + 0x88]
mov rcx, r15
mov rdx, rdi
mov r9, r12
call fcn.140006200
cmp dword [rbp + 0x100], 2
je 0x1400094c0
mov rdx, qword [rbp + 0x110]
test rdx, rdx
je 0x140009326
mov rcx, qword [rbp + 0x118]
mov r8d, 1
call fcn.1400022e0
mov r13, qword [rbp + 0x140]
test r13, r13
je 0x140009370
mov r14, qword [rbp + 0x138]
add r14, 8
jmp 0x140009349
add r14, 0x20
dec r13
je 0x140009370
mov rdx, qword [r14 - 8]
test rdx, rdx
je 0x140009340
mov rcx, qword [r14]
mov r8d, 1
call fcn.1400022e0
jmp 0x140009340
mov rdx, qword [rbp + 0x130]
test rdx, rdx
je 0x140009392
mov rcx, qword [rbp + 0x138]
shl rdx, 5
mov r8d, 8
call fcn.1400022e0
mov rdx, qword [rbp + 0x160]
cmp rdx, rsi
je 0x1400093b5
test rdx, rdx
je 0x1400093b5
mov rcx, qword [rbp + 0x168]
mov r8d, 1
call fcn.1400022e0
mov rdx, qword [rbp + 0x180]
cmp rdx, rsi
je 0x1400093d8
test rdx, rdx
je 0x1400093d8
mov rcx, qword [rbp + 0x188]
mov r8d, 1
call fcn.1400022e0
mov r13, qword [rbp + 0x158]
test r13, r13
je 0x140009430
mov r14, qword [rbp + 0x150]
add r14, 8
jmp 0x140009409
add r14, 0x20
dec r13
je 0x140009430
mov rdx, qword [r14 - 8]
test rdx, rdx
je 0x140009400
mov rcx, qword [r14]
mov r8d, 1
call fcn.1400022e0
jmp 0x140009400
mov rdx, qword [rbp + 0x148]
test rdx, rdx
je 0x140009452
mov rcx, qword [rbp + 0x150]
shl rdx, 5
mov r8d, 8
call fcn.1400022e0
mov rdx, qword [rbp + 0x198]
cmp rdx, rsi
je 0x140009475
test rdx, rdx
je 0x140009475
mov rcx, qword [rbp + 0x1a0]
mov r8d, 1
call fcn.1400022e0
mov rdx, qword [rbp + 0x1b8]
cmp rdx, rsi
je 0x140009498
test rdx, rdx
je 0x140009498
mov rcx, qword [rbp + 0x1c0]
mov r8d, 1
call fcn.1400022e0
mov rax, qword [rbp + 0x1f8]
test rax, rax
je 0x1400094c0
lock dec qword [rax]
jne 0x1400094c0
lea rcx, [rbp + 0x1f8]
call fcn.14000db10
nop word cs:[rax + rax]
mov rdx, qword [rbp + 0x2c8]
mov rax, qword [rbp + 0x2d8]
cmp rdx, rax
je 0x1400094fc
lea rcx, [rdx + 0x158]
mov qword [rbp + 0x2c8], rcx
mov rcx, qword [rdx]
cmp rcx, 2
jne 0x1400092d0
add rdx, 0x158
jmp 0x1400094ff
mov rdx, r8
jmp 0x1400094ff
mov rdx, rax
sub rax, rdx
movabs rcx, 0xbe82fa0be82fa0bf
mov r8, rdx
mul rcx
shr rdx, 8
mov qword [rbp + 0x2b8], rdx
xor eax, eax
mov qword [rbp + 0x2e0], rax
mov qword [rbp + 0x2b0], r8
mov rcx, r8
mov rax, qword [rbp + 0x2e0]
cmp qword [rbp + 0x2b8], rax
je 0x14000955b
inc rax
mov qword [rbp + 0x2e0], rax
lea rsi, [rcx + 0x158]
call fcn.140004ea0
mov rcx, rsi
jmp 0x140009530
mov rax, qword [rbp + 0x2d0]
test rax, rax
je 0x140009580
mov rcx, qword [rbp + 0x2c0]
imul rdx, rax, 0x158
mov r8d, 8
call fcn.1400022e0
cmp qword [rbp + 0x278], 0
jne 0x140009599
mov byte [rbp + 0x2ef], 0
mov rcx, rdi
call fcn.1400066e0
mov rax, qword [rbp + 0x270]
mov rdx, qword [rbp + 0x298]
test rdx, rdx
je 0x1400095c4
mov rcx, qword [rbp + 0x2a0]
mov r8d, 1
mov rsi, rax
call fcn.1400022e0
mov rax, rsi
add rsp, 0x378
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.140033b00
mov ecx, 8
mov edx, 0xfa0
call fcn.140033b00
ud2