Function at 0x140006e10
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push rbx
push rsi
push rdi
push r13
push r14
mov eax, 0x1980
call fcn.14001f980
sub rsp, rax
mov rax, qword [0x140030040]
xor rax, rsp
mov qword [rsp + 0x1968], rax
xor r13d, r13d
mov dword [rsp + 0x40], r8d
mov r14d, r8d
mov qword [rsp + 0x70], rdx
mov rdi, rdx
mov dword [rsp + 0x50], ecx
mov esi, ecx
mov dword [rsp + 0xd0], r13d
mov ebx, r13d
lea r9, [rsp + 0xd0]
xor r8d, r8d
mov qword [rsp + 0x68], rbx
xor edx, edx
mov ecx, 5
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x140006ede
nop dword [rax]
cmp eax, 0xc0000004
jne 0x140007243
test rbx, rbx
je 0x140006e99
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [rsp + 0xd0]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x68], rax
mov rbx, rax
test rax, rax
je 0x140007186
mov r8d, dword [rsp + 0xd0]
lea r9, [rsp + 0xd0]
mov rdx, rax
mov ecx, 5
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x140006e80
mov qword [rsp + 0x19b0], rbp
mov rbp, rbx
test rbx, rbx
je 0x14000723b
mov qword [rsp + 0x1978], r12
mov qword [rsp + 0x1970], r15
cmp dword [rbp], 0
je 0x140007226
test esi, esi
je 0x140006f1c
mov eax, esi
cmp qword [rbp + 0x50], rax
jne 0x14000721a
mov edx, r14d
mov rcx, rbp
call fcn.1400041e0
mov qword [rsp + 0x48], rax
mov r14, rax
test rax, rax
je 0x140007215
cmp dword [rbp + 4], 0
mov esi, r13d
jbe 0x1400071e1
mov eax, esi
xor edx, edx
mov r8d, 0x1848
mov qword [rsp + 0x1960], r13
mov ebx, r13d
mov qword [rsp + 0x110], r13
mov rdi, r13
lea rcx, [rax + rax*4]
mov rax, qword [r14 + 0x48]
add rcx, rcx
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rbp + rcx*8 + 0x100]
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [rbp + rcx*8 + 0x110]
movaps xmmword [rsp + 0xa0], xmm0
movups xmm0, xmmword [rbp + rcx*8 + 0x120]
movaps xmmword [rsp + 0xb0], xmm0
movups xmm0, xmmword [rbp + rcx*8 + 0x130]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rbp + rcx*8 + 0x140]
lea rcx, [rsp + 0x118]
movaps xmmword [rsp + 0xc0], xmm0
call fcn.14001fdd0
mov r8d, dword [rsp + 0x80]
xorps xmm0, xmm0
xor edx, edx
mov ecx, 0x1fffff
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xe8], xmm0
movups xmmword [rsp + 0xf8], xmm0
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140007196
mov ecx, 0x18
call fcn.140007660
mov ecx, 0x18
mov r14, rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
call fcn.140007660
mov ecx, 0x18
mov r15, rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
call fcn.140007660
mov ecx, 0x18
mov r12, rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
call fcn.140007660
mov rdx, qword [rsp + 0x58]
mov r13, rax
mov rcx, qword [rsp + 0x60]
xor eax, eax
mov qword [rsp + 0x30], r13
mov r9, r14
mov qword [rsp + 0x28], r12
mov qword [r13], rax
mov qword [r13 + 8], rax
mov qword [r13 + 0x10], rax
mov qword [rsp + 0x20], r15
call fcn.140005d60
mov ebx, eax
test eax, eax
je 0x14000718e
mov ecx, 0x88
call fcn.140007660
movaps xmm1, xmmword [rsp + 0xa0]
lea r8, [rsp + 0xd8]
mov rdi, rax
xorps xmm0, xmm0
mov r9d, 0x30
xor edx, edx
movups xmmword [rax + 0x78], xmm0
mov rax, qword [rsp + 0x58]
movaps xmm0, xmmword [rsp + 0x90]
mov rcx, rax
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x70], r13
xor r13d, r13d
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rdi + 0x18], xmm1
mov qword [rdi], rax
movaps xmm1, xmmword [rsp + 0xc0]
movups xmmword [rdi + 0x28], xmm0
mov qword [rdi + 0x58], r14
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rdi + 0x38], xmm0
mov qword [rdi + 0x60], r15
movups xmmword [rdi + 0x48], xmm1
mov qword [rdi + 0x68], r12
mov qword [rsp + 0x20], r13
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
jne 0x14000717f
mov rdx, qword [rsp + 0xe0]
lea rax, [rsp + 0x1960]
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x110]
mov r9d, 0x1850
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ebx, eax
test eax, eax
je 0x140007191
cmp qword [rsp + 0x188], r13
jne 0x140007170
mov dword [rdi + 0x78], 1
mov rax, qword [rsp + 0x118]
mov qword [rdi + 0x80], rax
mov ebx, 1
jmp 0x140007191
mov eax, r13d
jmp 0x140007256
xor r13d, r13d
mov r14, qword [rsp + 0x48]
test ebx, ebx
mov rax, r13
cmovne rax, rdi
mov qword [rsp + 0x1960], rax
test rax, rax
je 0x1400071d1
mov rdx, qword [r14 + 0x70]
lea rcx, [r14 + 0x68]
cmp rdx, qword [rcx + 0x10]
je 0x1400071c4
mov qword [rdx], rax
add qword [rcx + 8], 8
jmp 0x1400071d1
lea r8, [rsp + 0x1960]
call fcn.140004fa0
inc esi
cmp esi, dword [rbp + 4]
jb 0x140006f45
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400071f5
mov qword [rdx], r14
add qword [rdi + 8], 8
jmp 0x140007207
lea r8, [rsp + 0x48]
mov rcx, rdi
call fcn.140004fa0
mov r14, qword [rsp + 0x48]
mov rcx, qword [r14 + 0x48]
call qword [sym.imp.dbghelp.dll_SymCleanup]
mov esi, dword [rsp + 0x50]
mov r14d, dword [rsp + 0x40]
mov ecx, dword [rbp]
add rbp, rcx
jne 0x140006f02
mov rbx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x1970]
mov r12, qword [rsp + 0x1978]
mov rbp, qword [rsp + 0x19b0]
test rbx, rbx
je 0x140007251
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
mov rcx, qword [rsp + 0x1968]
xor rcx, rsp
call fcn.140007640
add rsp, 0x1980
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret