Function at 0x14000a660
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 qword [rbp + 0x2f0], r9
mov r14, r8
mov qword [rbp + 0x2e0], rdx
mov qword [rbp + 0x2e8], rcx
movzx eax, byte [0x14005e1c1]
mov r12d, 0x80000
mov ecx, 0x80000
mov edx, 1
call fcn.1400040b0
test rax, rax
je 0x14000ac22
mov rsi, rax
mov qword [rbp + 0x2b0], rax
mov qword [rbp + 0x2b8], 0x80000
mov qword [rbp + 0x2c0], 0
xor edx, edx
lea r13, [rbp + 0x288]
mov r15, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
lea rbx, [rbp - 0x60]
mov edi, 0x80000
jmp 0x14000a70e
mov r12, qword [rbp + 0x2b8]
mov rdx, qword [rbp + 0x2c0]
mov dword [rbp + 0x288], 0
sub r12, rdx
cmp r12, rdi
jae 0x14000a736
lea rcx, [rbp + 0x2b0]
mov r8, rdi
call fcn.14003bfe0
mov rsi, qword [rbp + 0x2b0]
mov ecx, 5
mov rdx, rsi
mov r8d, edi
mov r9, r13
call r15
test eax, eax
jns 0x14000a7da
or eax, 0x10000000
mov ecx, eax
call fcn.14001bb80
mov qword [rbp + 0xf8], rax
mov dword [rbp + 0x100], edx
mov qword [rbp + 0xf0], 1
mov byte [rbp + 0x2fe], 1
lea rcx, [rbp + 0xf8]
call fcn.14001b800
cmp eax, 0xd0000004
jne 0x14000a917
mov rax, qword [rbp + 0xf8]
mov ecx, dword [rbp + 0x100]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], ecx
mov ecx, dword [rbp + 0x288]
mov rdx, rdi
add rdx, rdi
lea edi, [rcx + 0x2800]
test ecx, ecx
cmove rdi, rdx
test rax, rax
je 0x14000a700
mov byte [rbp + 0x2fe], 0
mov rcx, rbx
call fcn.14001aba0
jmp 0x14000a700
mov r15, qword [rbp + 0x2e0]
test r15, r15
lea rbx, [0x140048c80]
cmovne rbx, r15
cmove r14, r15
mov qword [rbp + 0x2c0], rdi
movzx eax, byte [0x14005e1c1]
mov ecx, 0xfa0
mov edx, 8
call fcn.1400040b0
test rax, rax
je 0x14000ac33
test r15, r15
mov qword [rbp + 0x2c8], rax
mov qword [rbp + 0x2d0], 0x1f4
lea rax, [0x1400095b0]
lea r12, [0x1400095c0]
cmove r12, rax
mov qword [rbp + 0x2d8], 0
xor r13d, r13d
lea rdi, [0x140048c80]
jmp 0x14000a885
mov rdx, qword [rbp + 0x2d8]
lea rax, [rsi + r13]
mov rcx, qword [rbp + 0x2c8]
mov qword [rcx + rdx*8], rax
inc qword [rbp + 0x2d8]
add r13, r15
test r15d, r15d
je 0x14000a8ca
mov r15d, dword [rsi + r13]
mov rdx, qword [rsi + r13 + 0x50]
mov byte [rbp + 0x2ff], 1
mov rcx, rdi
mov r8, rbx
mov r9, r14
call r12
test al, al
je 0x14000a87d
mov rdx, qword [rbp + 0x2d8]
cmp rdx, qword [rbp + 0x2d0]
jne 0x14000a867
mov byte [rbp + 0x2ff], 1
lea rcx, [rbp + 0x2c8]
call fcn.14000e670
jmp 0x14000a860
mov rcx, qword [rbp + 0x2e8]
lea rax, [rcx + 0x40]
mov qword [rbp + 0x2e0], rax
mov qword [rbp + 0x258], rax
mov rax, qword [rbp + 0x2f0]
cmp byte [rax], 0
je 0x14000a949
add rcx, 0x90
mov byte [rbp + 0x2ff], 1
xor edx, edx
xor r8d, r8d
call fcn.1400046f0
mov rax, qword [rbp + 0x2e8]
mov rax, qword [rax + 0x110]
jmp 0x14000a94b
mov rax, qword [rbp + 0xf8]
mov ecx, dword [rbp + 0x100]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], ecx
test rax, rax
je 0x14000abf3
mov byte [rbp + 0x2fe], 0
lea rcx, [rbp - 0x60]
call fcn.14001aba0
jmp 0x14000abf3
xor eax, eax
mov qword [rbp + 0x250], rax
mov byte [rbp + 0x2ff], 1
call fcn.140025fa0
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.140025fd0
cmp qword [rbp + 0xf0], 0
je 0x14000a995
xor eax, eax
jmp 0x14000a99c
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x248], rax
mov qword [rbp + 0x270], 8
xorps xmm0, xmm0
movups xmmword [rbp + 0x278], xmm0
mov r9, qword [rbp + 0x2d8]
mov qword [rbp + 0x100], r9
movups xmm0, xmmword [rbp + 0x2c8]
movaps xmmword [rbp + 0xf0], xmm0
lea r8, [rbp + 0x108]
lea rax, [rbp + 0x258]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x2f0]
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 + 0x288]
lea rdx, [rbp - 0x60]
call fcn.140010710
lea rcx, [rbp + 0x270]
lea rdx, [rbp + 0x288]
call fcn.1400101f0
mov rcx, qword [rbp + 0x270]
mov rdx, qword [rbp + 0x278]
mov rax, qword [rbp + 0x280]
imul r12, rax, 0x150
lea r8, [rcx + r12]
mov qword [rbp + 0x288], rcx
mov qword [rbp + 0x260], rdx
mov qword [rbp + 0x290], rdx
mov qword [rbp + 0x298], rcx
mov qword [rbp + 0x2f0], r8
mov qword [rbp + 0x2a0], r8
mov qword [rbp + 0x2a8], rcx
mov r8, rcx
test rax, rax
je 0x14000ab5b
mov rax, qword [rbp + 0x2a8]
add rax, 0x150
lea r13, [rbp - 0x60]
jmp 0x14000aac7
mov r8, rbx
lea rax, [rbx + 0x150]
add r12, 0xfffffffffffffeb0
je 0x14000ab5b
mov r8, rax
mov qword [rbp + 0x298], rax
mov rdi, qword [rax - 0x150]
cmp rdi, 2
je 0x14000ab5b
lea r14, [r8 - 0x88]
mov r15, qword [r8 - 0x90]
mov rbx, 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, r14
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0xf0], rdi
mov qword [rbp + 0x1b0], r15
mov rcx, r13
mov rdx, qword [rbp + 0x2e0]
mov r8, r15
lea r9, [rbp + 0xf0]
call fcn.14000df00
cmp dword [rbp - 0x60], 2
je 0x14000aab0
mov rcx, r13
call fcn.140005c10
jmp 0x14000aab0
mov rax, qword [rbp + 0x2f0]
sub rax, r8
shr rax, 4
movabs rcx, 0xc30c30c30c30c31
mul rcx
mov qword [rbp + 0x2e8], rdx
xor eax, eax
mov qword [rbp + 0x2f0], rax
mov qword [rbp + 0x268], r8
mov rcx, r8
mov rax, qword [rbp + 0x2f0]
cmp qword [rbp + 0x2e8], rax
je 0x14000abbb
inc rax
mov qword [rbp + 0x2f0], rax
lea rdi, [rcx + 0x150]
call fcn.14000d920
mov rcx, rdi
jmp 0x14000ab90
mov rax, qword [rbp + 0x260]
test rax, rax
je 0x14000abe0
imul rdx, rax, 0x150
mov r8d, 8
mov rcx, qword [rbp + 0x2a8]
call fcn.1400040c0
mov byte [rbp + 0x2ff], 0
mov rcx, qword [rbp + 0x2e0]
call fcn.14000e3c0
mov rdx, qword [rbp + 0x2b8]
test rdx, rdx
je 0x14000ac0d
mov r8d, 1
mov rcx, rsi
call fcn.1400040c0
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.14003f6e0
ud2
mov ecx, 8
mov edx, 0xfa0
call fcn.14003f6e0
ud2