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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x338
mov qword [rsp + 0x20], r9
mov r14, r8
mov r15, rdx
mov qword [rsp + 0x70], rcx
movzx eax, byte [0x140118141]
mov edi, 0x80000
mov ecx, 0x80000
mov edx, 1
call fcn.1400053d0
test rax, rax
je 0x140014577
mov rbx, rax
mov qword [rsp + 0x40], 0x80000
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0
xor edx, edx
lea r13, [rsp + 0x28]
mov r12, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
lea rsi, [rsp + 0x90]
mov ebp, 0x80000
jmp 0x1400141ca
mov rdi, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
mov dword [rsp + 0x28], 0
sub rdi, rdx
cmp rdi, rbp
jb 0x14001423f
mov ecx, 5
mov rdx, rbx
mov r8d, ebp
mov r9, r13
call r12
test eax, eax
jns 0x140014253
or eax, 0x10000000
mov ecx, eax
call fcn.140015fa0
cmp edx, 0xd0000004
jne 0x14001433b
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x98], 0xd0000004
mov ecx, dword [rsp + 0x28]
mov rdx, rbp
add rdx, rbp
lea ebp, [rcx + 0x2800]
test ecx, ecx
cmove rbp, rdx
test rax, rax
je 0x1400141c0
mov rcx, rsi
call fcn.140015b00
jmp 0x1400141c0
lea rcx, [rsp + 0x40]
mov r8, rbp
call fcn.1400410d0
mov rbx, qword [rsp + 0x48]
jmp 0x1400141da
test r15, r15
mov esi, 8
cmovne rsi, r15
cmove r14, r15
mov qword [rsp + 0x50], rbp
movzx eax, byte [0x140118141]
mov ecx, 0xfa0
mov edx, 8
call fcn.1400053d0
test rax, rax
je 0x140014586
test r15, r15
mov qword [rsp + 0x58], 0x1f4
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0
lea rax, [0x140013820]
lea r12, [0x140013830]
cmove r12, rax
xor r13d, r13d
lea r15, [rsp + 0x58]
jmp 0x1400142dc
lea rax, [rbx + r13]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + rbp*8], rax
inc rbp
mov qword [rsp + 0x68], rbp
add r13, rdi
test edi, edi
je 0x14001430d
mov edi, dword [rbx + r13]
mov rdx, qword [rbx + r13 + 0x50]
mov ecx, 1
mov r8, rsi
mov r9, r14
call r12
test al, al
je 0x1400142d5
mov rbp, qword [rsp + 0x68]
cmp rbp, qword [rsp + 0x58]
jne 0x1400142c0
mov rcx, r15
call fcn.140010a80
jmp 0x1400142c0
mov rdi, qword [rsp + 0x70]
lea rbx, [rdi + 0x90]
mov qword [rsp + 0x78], rbx
mov rsi, qword [rsp + 0x20]
cmp byte [rsi], 0
je 0x140014378
mov rcx, rdi
xor edx, edx
call fcn.14000d2e0
mov rax, qword [rdi + 0x80]
jmp 0x14001437a
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x98], edx
test rax, rax
je 0x14001435c
lea rcx, [rsp + 0x90]
call fcn.140015b00
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140014562
mov r8d, 1
mov rcx, rbx
jmp 0x14001455d
xor eax, eax
mov qword [rsp + 0x80], rax
call fcn.140025210
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], edx
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x28]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call fcn.140025240
cmp qword [rsp + 0x90], 0
je 0x1400143bc
xor eax, eax
jmp 0x1400143c4
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0x90], xmm0
lea rax, [rsp + 0x78]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rsi
lea rax, [rsp + 0x80]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x90]
call fcn.14000ddf0
mov r15, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
imul rdi, rax, 0x150
add rdi, rsi
mov r14, rsi
test rax, rax
je 0x140014507
mov qword [rsp + 0x20], r15
lea r15, [rsp + 0x1f0]
lea r14, [rsi + 0x150]
lea r12, [rsp + 0x90]
lea r13, [rsp + 0x1e8]
nop word cs:[rax + rax]
mov rax, qword [r14 - 0x150]
cmp rax, 2
je 0x140014502
lea rbp, [r14 - 0x150]
mov qword [rsp + 0x1e8], rax
lea rdx, [rbp + 8]
mov r8d, 0x148
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [rsp + 0x2c0]
mov rcx, r12
mov rdx, rbx
mov r9, r13
call fcn.14000efa0
mov rcx, r12
call fcn.140013860
add r14, 0x150
add rbp, 0x150
cmp rbp, rdi
jne 0x1400144a0
mov r14, rdi
mov r15, qword [rsp + 0x20]
sub rdi, r14
shr rdi, 4
movabs rcx, 0xc30c30c30c30c31
mov rax, rdi
mul rcx
mov rcx, r14
call fcn.14000eb50
test r15, r15
je 0x140014540
imul rdx, r15, 0x150
mov r8d, 8
mov rcx, rsi
call fcn.1400053e0
mov rcx, rbx
call fcn.14000f170
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140014562
mov rcx, qword [rsp + 0x48]
mov r8d, 1
call fcn.1400053e0
nop
add rsp, 0x338
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
mov edx, 0x80000
call fcn.140044d80
mov ecx, 8
mov edx, 0xfa0
call fcn.140044d80
int3