Function at 0x140008240
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, 0x388
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x300], 0xfffffffffffffffe
mov ebx, edx
mov qword [rbp + 0x2f0], rcx
mov word [rbp + 0x2fc], bx
mov eax, edx
shr eax, 0x10
mov byte [rbp + 0x2fe], al
movzx eax, byte [0x14005b181]
mov edi, 0x80000
mov ecx, 0x80000
mov edx, 1
call fcn.140002f70
test rax, rax
je 0x1400087b6
mov rsi, rax
mov qword [rbp + 0x2d0], 0x80000
mov qword [rbp + 0x2d8], rax
mov qword [rbp + 0x2e0], 0
xor edx, edx
lea r14, [rbp + 0x2d0]
lea r12, [rbp + 0xf0]
mov r13, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r15d, 0x80000
mov dword [rbp + 0xf0], 0
sub rdi, rdx
cmp rdi, r15
jae 0x140008312
nop word cs:[rax + rax]
mov rcx, r14
mov r8, r15
call fcn.14003c0e0
mov rsi, qword [rbp + 0x2d8]
mov ecx, 5
mov rdx, rsi
mov r8d, r15d
mov r9, r12
call r13
cmp eax, 0xc0000004
jne 0x140008361
mov eax, dword [rbp + 0xf0]
add r15, r15
lea ecx, [rax + 0x2800]
test eax, eax
cmovne r15, rcx
mov rdi, qword [rbp + 0x2d0]
mov rdx, qword [rbp + 0x2e0]
mov dword [rbp + 0xf0], 0
sub rdi, rdx
cmp rdi, r15
jb 0x140008300
jmp 0x140008312
test eax, eax
jne 0x14000840b
mov qword [rbp + 0x2e0], r15
movzx eax, byte [0x14005b181]
mov ecx, 0xfa0
mov edx, 8
call fcn.140002f70
test rax, rax
je 0x1400087c5
mov qword [rbp + 0x2b8], 0x1f4
mov qword [rbp + 0x2c0], rax
mov qword [rbp + 0x2c8], 0
xor edx, edx
lea r14, [rbp + 0x2b8]
xor edi, edi
mov r15, qword [rbp + 0x2f0]
jmp 0x1400083ea
lea rax, [rsi + rdi]
mov rcx, qword [rbp + 0x2c0]
mov qword [rcx + rdx*8], rax
mov rdx, qword [rbp + 0x2c8]
inc rdx
mov qword [rbp + 0x2c8], rdx
mov eax, dword [rax]
add rdi, rax
test rax, rax
je 0x140008429
cmp rdx, qword [rbp + 0x2b8]
jne 0x1400083c0
mov byte [rbp + 0x2ff], 1
mov rcx, r14
call fcn.140011e30
mov rdx, qword [rbp + 0x2c8]
jmp 0x1400083c0
mov rdx, qword [rbp + 0x2d0]
test rdx, rdx
je 0x1400087a1
mov r8d, 1
mov rcx, rsi
jmp 0x14000879c
lea rax, [r15 + 0xd8]
mov qword [rbp + 0x2a0], rax
mov qword [rbp + 0x258], rax
test bl, bl
je 0x14000845f
mov byte [rbp + 0x2ff], 1
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.14000d000
mov rax, qword [r15 + 0x80]
jmp 0x140008461
xor eax, eax
mov qword [rbp + 0x250], rax
mov byte [rbp + 0x2ff], 1
call fcn.140027b20
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x5c], edx
mov byte [rbp + 0x2ff], 1
lea rcx, [rbp + 0xf0]
lea rdx, [rbp - 0x60]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call fcn.140027b50
cmp qword [rbp + 0xf0], 0
je 0x1400084ab
xor eax, eax
jmp 0x1400084b2
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x248], rax
mov qword [rbp + 0x280], 0
mov qword [rbp + 0x288], 8
mov qword [rbp + 0x290], 0
mov r9, qword [rbp + 0x2c8]
mov qword [rbp + 0x100], r9
movups xmm0, xmmword [rbp + 0x2b8]
movaps xmmword [rbp + 0xf0], xmm0
lea r8, [rbp + 0x108]
lea rax, [rbp + 0x258]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x2fc]
mov qword [rbp + 0x110], rax
lea rax, [rbp + 0x250]
mov qword [rbp + 0x118], rax
lea rax, [rbp + 0x248]
mov qword [rbp + 0x120], rax
movaps xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r9
lea rcx, [rbp + 0x260]
lea rdx, [rbp - 0x60]
call fcn.140008fb0
lea rcx, [rbp + 0x280]
lea rdx, [rbp + 0x260]
call fcn.140017930
mov rdx, qword [rbp + 0x280]
mov rcx, qword [rbp + 0x288]
mov rax, qword [rbp + 0x290]
imul rdi, rax, 0x150
add rdi, rcx
mov qword [rbp + 0x260], rcx
mov qword [rbp + 0x268], rcx
mov qword [rbp + 0x2b0], rdx
mov qword [rbp + 0x270], rdx
mov qword [rbp + 0x278], rdi
mov qword [rbp + 0x2a8], rcx
mov r8, rcx
test rax, rax
je 0x1400086e3
lea rbx, [rbp + 0xf8]
mov rax, qword [rbp + 0x2a8]
lea r8, [rax + 0x150]
lea r14, [rbp - 0x60]
lea r15, [rbp + 0xf0]
jmp 0x1400085fe
mov r8, qword [rbp + 0x2e8]
add r8, 0x150
add r13, 0x150
cmp r13, rdi
je 0x1400086d9
mov rsi, qword [r8 - 0x150]
cmp rsi, 2
je 0x1400086dc
mov qword [rbp + 0x2e8], r8
lea r13, [r8 - 0x150]
mov r12, qword [r13 + 0xd8]
lea rdx, [r13 + 8]
mov r8d, 0xd0
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [r13 + 0xe0]
movups xmm1, xmmword [r13 + 0xf0]
movups xmm2, xmmword [r13 + 0x100]
movups xmm3, xmmword [r13 + 0x110]
movups xmmword [rbx + 0xd8], xmm0
movups xmmword [rbx + 0xe8], xmm1
movups xmmword [rbx + 0xf8], xmm2
movups xmmword [rbx + 0x108], xmm3
movups xmm0, xmmword [r13 + 0x120]
movups xmmword [rbx + 0x118], xmm0
movups xmm0, xmmword [r13 + 0x130]
movups xmmword [rbx + 0x128], xmm0
movups xmm0, xmmword [r13 + 0x140]
movups xmmword [rbx + 0x138], xmm0
mov qword [rbp + 0xf0], rsi
mov qword [rbp + 0x1c8], r12
mov rcx, r14
mov rdx, qword [rbp + 0x2a0]
mov r8, r12
mov r9, r15
call fcn.140018440
cmp dword [rbp - 0x60], 2
je 0x1400085e0
mov rcx, r14
call fcn.1400067d0
jmp 0x1400085e0
mov r8, rdi
mov qword [rbp + 0x268], r8
sub rdi, r8
shr rdi, 4
movabs rcx, 0xc30c30c30c30c31
mov rax, rdi
mul rcx
mov qword [rbp + 0x298], rdx
xor eax, eax
mov qword [rbp + 0x2f0], rax
mov qword [rbp + 0x2e8], r8
mov rcx, r8
nop word cs:[rax + rax]
mov rax, qword [rbp + 0x2f0]
cmp qword [rbp + 0x298], rax
je 0x14000874b
inc rax
mov qword [rbp + 0x2f0], rax
lea rsi, [rcx + 0x150]
call fcn.1400067d0
mov rcx, rsi
jmp 0x140008720
mov rax, qword [rbp + 0x2b0]
test rax, rax
je 0x140008770
imul rdx, rax, 0x150
mov r8d, 8
mov rcx, qword [rbp + 0x2a8]
call fcn.140002f80
mov byte [rbp + 0x2ff], 0
mov rcx, qword [rbp + 0x2a0]
call fcn.140018690
mov rdx, qword [rbp + 0x2d0]
test rdx, rdx
je 0x1400087a1
mov rcx, qword [rbp + 0x2d8]
mov r8d, 1
call fcn.140002f80
nop
add rsp, 0x388
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.140040cb0
mov ecx, 8
mov edx, 0xfa0
call fcn.140040cb0
ud2