Function at 0x140026680
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 rdi, rcx
mov word [rbp + 0x2fc], dx
shr edx, 0x10
mov byte [rbp + 0x2fe], dl
call fcn.1401d9170
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x5c], edx
lea rcx, [rbp + 0xf0]
lea rdx, [rbp - 0x60]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call fcn.1401d91a0
cmp qword [rbp + 0xf0], 0
je 0x1400266ee
xor eax, eax
jmp 0x1400266f5
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x258], rax
mov r14d, 0x80000
lea rsi, [rbp + 0x2ec]
mov rbx, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
jmp 0x14002673a
mov r14d, 0
test rdx, rdx
je 0x14002673a
lea r14, [rdx + rdx]
mov r8d, 1
call fcn.14001f760
mov eax, 1
test r14, r14
je 0x140026767
js 0x140026b36
movzx eax, byte [0x140321f01]
mov edx, 1
mov rcx, r14
call fcn.14001f750
test rax, rax
je 0x140026b3d
mov dword [rbp + 0x2ec], 0
mov ecx, 5
mov qword [rbp + 0x2f0], rax
mov rdx, rax
mov qword [rbp + 0x2c0], r14
mov r8d, r14d
mov r9, rsi
call rbx
cmp eax, 0xc0000004
jne 0x1400267c9
mov r14d, dword [rbp + 0x2ec]
test r14d, r14d
mov rdx, qword [rbp + 0x2c0]
mov rcx, qword [rbp + 0x2f0]
je 0x140026720
add r14d, 0x2800
test rdx, rdx
jne 0x14002672f
jmp 0x14002673a
movzx eax, byte [0x140321f01]
mov ecx, 0xfa0
mov edx, 8
call fcn.14001f750
test rax, rax
mov r8, qword [rbp + 0x2f0]
je 0x140026b4c
mov qword [rbp + 0x2d0], rax
mov qword [rbp + 0x2d8], 0x1f4
mov qword [rbp + 0x2e0], 0
xor edx, edx
lea rsi, [rbp + 0x2d0]
xor ebx, ebx
jmp 0x14002684a
lea rax, [r8 + rbx]
mov rcx, qword [rbp + 0x2d0]
mov qword [rcx + rdx*8], rax
mov rdx, qword [rbp + 0x2e0]
inc rdx
mov qword [rbp + 0x2e0], rdx
mov eax, dword [rax]
add rbx, rax
test rax, rax
je 0x140026872
cmp rdx, qword [rbp + 0x2d8]
jne 0x140026820
mov byte [rbp + 0x2ff], 1
mov rcx, rsi
call fcn.14002b500
mov rdx, qword [rbp + 0x2e0]
mov r8, qword [rbp + 0x2f0]
jmp 0x140026820
lea rax, [rdi + 0x40]
mov qword [rbp + 0x2b0], rax
mov qword [rbp + 0x250], rax
cmp byte [rbp + 0x2fc], 0
je 0x1400268ae
lea rcx, [rdi + 0x110]
mov byte [rbp + 0x2ff], 1
xor edx, edx
xor r8d, r8d
call fcn.1400228b0
mov rax, qword [rdi + 0x190]
jmp 0x1400268b0
xor eax, eax
mov qword [rbp + 0x248], rax
mov qword [rbp + 0x290], 8
xorps xmm0, xmm0
movups xmmword [rbp + 0x298], xmm0
mov r9, qword [rbp + 0x2e0]
mov qword [rbp + 0x100], r9
movups xmm0, xmmword [rbp + 0x2d0]
movaps xmmword [rbp + 0xf0], xmm0
lea r8, [rbp + 0x108]
lea rax, [rbp + 0x250]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x2fc]
mov qword [rbp + 0x110], rax
lea rax, [rbp + 0x248]
mov qword [rbp + 0x118], rax
lea rax, [rbp + 0x258]
mov qword [rbp + 0x120], rax
movaps xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r9
lea rcx, [rbp + 0x270]
lea rdx, [rbp - 0x60]
call fcn.14002e3f0
lea rcx, [rbp + 0x290]
lea rdx, [rbp + 0x270]
call fcn.14002da60
mov rcx, qword [rbp + 0x290]
mov rdx, qword [rbp + 0x298]
mov rax, qword [rbp + 0x2a0]
imul r14, rax, 0x150
lea rbx, [rcx + r14]
mov qword [rbp + 0x270], rcx
mov qword [rbp + 0x260], rdx
mov qword [rbp + 0x278], rdx
mov qword [rbp + 0x280], rcx
mov qword [rbp + 0x288], rbx
mov qword [rbp + 0x2b8], rcx
mov r8, rcx
test rax, rax
je 0x140026a6b
mov rax, qword [rbp + 0x2b8]
add rax, 0x150
lea r12, [rbp - 0x60]
jmp 0x1400269d7
mov r8, r13
lea rax, [r13 + 0x150]
add r14, 0xfffffffffffffeb0
je 0x140026a6b
mov r8, rax
mov qword [rbp + 0x280], rax
mov r15, qword [rax - 0x150]
cmp r15, 2
je 0x140026a6b
lea rdi, [r8 - 0x88]
mov rsi, qword [r8 - 0x90]
mov r13, r8
lea rdx, [r8 - 0x148]
mov r8d, 0xb8
lea rcx, [rbp + 0xf8]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x88
lea rcx, [rbp + 0x1b8]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0xf0], r15
mov qword [rbp + 0x1b0], rsi
mov rcx, r12
mov rdx, qword [rbp + 0x2b0]
mov r8, rsi
lea r9, [rbp + 0xf0]
call fcn.140032980
cmp dword [rbp - 0x60], 2
je 0x1400269c0
mov rcx, r12
call fcn.140024f10
jmp 0x1400269c0
sub rbx, r8
shr rbx, 4
movabs rcx, 0xc30c30c30c30c31
mov rax, rbx
mul rcx
mov qword [rbp + 0x2a8], rdx
xor eax, eax
mov qword [rbp + 0x2c8], rax
mov qword [rbp + 0x268], r8
mov rcx, r8
nop dword [rax]
mov rax, qword [rbp + 0x2c8]
cmp qword [rbp + 0x2a8], rax
je 0x140026acb
inc rax
mov qword [rbp + 0x2c8], rax
lea rsi, [rcx + 0x150]
call fcn.140024f10
mov rcx, rsi
jmp 0x140026aa0
mov rax, qword [rbp + 0x260]
test rax, rax
je 0x140026af0
imul rdx, rax, 0x150
mov r8d, 8
mov rcx, qword [rbp + 0x2b8]
call fcn.14001f760
mov byte [rbp + 0x2ff], 0
mov rcx, qword [rbp + 0x2b0]
call fcn.140032ff0
mov rdx, qword [rbp + 0x2c0]
test rdx, rdx
je 0x140026b21
mov r8d, 1
mov rcx, qword [rbp + 0x2f0]
call fcn.14001f760
nop
add rsp, 0x388
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1401f0a40
ud2
mov ecx, 1
mov rdx, r14
call fcn.14020ea60
ud2
mov ecx, 8
mov edx, 0xfa0
call fcn.14020ea60
ud2