Function at 0x14018c740
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]
movdqa xmmword [rbp + 0x2f0], xmm6
mov qword [rbp + 0x2e8], 0xfffffffffffffffe
mov rsi, rcx
mov word [rbp + 0x2e4], dx
mov dword [rbp + 0x2d8], edx
mov eax, edx
shr eax, 0x10
mov byte [rbp + 0x2e6], al
movzx eax, byte [0x1402e8381]
mov ebx, 0x80000
mov ecx, 0x80000
mov edx, 1
call fcn.140016e50
test rax, rax
je 0x14018cd36
mov rdi, rax
mov qword [rbp + 0x298], 0x80000
mov qword [rbp + 0x2a0], rax
mov qword [rbp + 0x2a8], 0
xor edx, edx
lea r14, [rbp + 0x298]
lea r12, [rbp + 0x100]
mov r13, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r15d, 0x80000
mov dword [rbp + 0x100], 0
sub rbx, rdx
cmp rbx, r15
jae 0x14018c821
nop dword [rax]
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, r14
mov r8, r15
call fcn.1401f0c90
mov rdi, qword [rbp + 0x2a0]
mov ecx, 5
mov rdx, rdi
mov r8d, r15d
mov r9, r12
call r13
cmp eax, 0xc0000004
jne 0x14018c870
mov eax, dword [rbp + 0x100]
add r15, r15
lea ecx, [rax + 0x2800]
test eax, eax
cmovne r15, rcx
mov rbx, qword [rbp + 0x298]
mov rdx, qword [rbp + 0x2a8]
mov dword [rbp + 0x100], 0
sub rbx, rdx
cmp rbx, r15
jb 0x14018c800
jmp 0x14018c821
test eax, eax
jne 0x14018c90d
mov qword [rbp + 0x2a8], r15
movzx eax, byte [0x1402e8381]
mov ecx, 0xfa0
mov edx, 8
call fcn.140016e50
test rax, rax
je 0x14018cd45
mov qword [rbp + 0x270], 0x1f4
mov qword [rbp + 0x278], rax
mov qword [rbp + 0x280], 0
xor ebx, ebx
lea r14, [rbp + 0x270]
xor r15d, r15d
jmp 0x14018c8f3
lea rax, [rdi + r15]
mov rcx, qword [rbp + 0x278]
mov qword [rcx + rbx*8], rax
inc rbx
mov qword [rbp + 0x280], rbx
mov eax, dword [rax]
add r15, rax
test rax, rax
je 0x14018c92b
cmp rbx, qword [rbp + 0x270]
jne 0x14018c8d0
mov byte [rbp + 0x2e7], 1
mov rcx, r14
call fcn.1400b3570
jmp 0x14018c8d0
mov rdx, qword [rbp + 0x298]
test rdx, rdx
je 0x14018cd1b
mov r8d, 1
mov rcx, rdi
jmp 0x14018cd16
lea rdi, [rsi + 0xd8]
mov qword [rbp + 0x260], rdi
test byte [rbp + 0x2d8], 1
je 0x14018c95f
mov byte [rbp + 0x2e7], 1
mov rcx, rsi
xor edx, edx
xor r8d, r8d
call fcn.140189e30
mov rax, qword [rsi + 0x80]
jmp 0x14018c961
xor eax, eax
mov qword [rbp + 0x258], rax
mov byte [rbp + 0x2e7], 1
call fcn.1401c40d0
mov dword [rbp + 0x2b0], eax
mov dword [rbp + 0x2b4], edx
mov byte [rbp + 0x2e7], 1
lea rcx, [rbp + 0x100]
lea rdx, [rbp + 0x2b0]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call fcn.1401c4100
test byte [rbp + 0x100], 1
je 0x14018c9b3
xor eax, eax
jmp 0x14018c9ba
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0x250], rax
mov rax, qword [rbp + 0x280]
mov qword [rbp + 0x110], rax
movdqu xmm0, xmmword [rbp + 0x270]
movdqa xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x2b0], 0
mov qword [rbp + 0x2b8], 8
mov qword [rbp + 0x2c0], 0
lea rax, [rbp + 0x260]
mov qword [rbp + 0x118], rax
lea rax, [rbp + 0x2e4]
mov qword [rbp + 0x120], rax
lea rax, [rbp + 0x258]
mov qword [rbp + 0x128], rax
lea rax, [rbp + 0x250]
mov qword [rbp + 0x130], rax
lea rcx, [rbp + 0x2b0]
lea rdx, [rbp + 0x100]
call fcn.140195860
mov rdx, qword [rbp + 0x2b0]
mov rcx, qword [rbp + 0x2b8]
mov rax, qword [rbp + 0x2c0]
imul r12, rax, 0x150
add r12, rcx
mov qword [rbp + 0x2b0], rcx
mov qword [rbp + 0x2b8], rcx
mov qword [rbp + 0x290], rdx
mov qword [rbp + 0x2c0], rdx
mov qword [rbp + 0x2c8], r12
mov qword [rbp + 0x288], rcx
test rax, rax
je 0x14018cb3d
lea rbx, [rbp - 0x48]
mov rax, qword [rbp + 0x288]
lea rcx, [rax + 0x150]
lea r14, [rbp + 0x100]
lea r15, [rbp - 0x50]
jmp 0x14018cada
mov rcx, qword [rbp + 0x2d0]
add rcx, 0x150
add r13, 0x150
cmp r13, r12
je 0x14018cb33
mov rax, qword [rcx - 0x150]
cmp rax, 2
je 0x14018cb36
mov qword [rbp + 0x2d0], rcx
lea r13, [rcx - 0x150]
mov qword [rbp - 0x50], rax
lea rdx, [r13 + 8]
mov r8d, 0x148
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [rbp + 0x88]
mov rcx, r14
mov rdx, rdi
mov r9, r15
call fcn.140193280
cmp dword [rbp + 0x100], 2
je 0x14018cac0
mov rcx, r14
call fcn.14018b0d0
jmp 0x14018cac0
mov rcx, r12
mov qword [rbp + 0x2b8], rcx
sub r12, rcx
shr r12, 4
movabs rax, 0xcf3cf3cf3cf3cf3d
imul rax, r12
mov qword [rbp + 0x268], rax
mov qword [rbp + 0x2d8], 0
mov qword [rbp + 0x2d0], rcx
nop dword [rax + rax]
mov rax, qword [rbp + 0x2d8]
cmp qword [rbp + 0x268], rax
je 0x14018cb9b
inc rax
mov qword [rbp + 0x2d8], rax
lea rdi, [rcx + 0x150]
call fcn.14018b0d0
mov rcx, rdi
jmp 0x14018cb70
mov rax, qword [rbp + 0x290]
test rax, rax
je 0x14018cbc0
imul rdx, rax, 0x150
mov r8d, 8
mov rcx, qword [rbp + 0x288]
call fcn.140016e60
mov rdi, qword [rsi + 0xf0]
test rdi, rdi
je 0x14018ccfd
mov rbx, qword [rsi + 0xd8]
lea r14, [rbx + 0x10]
movdqa xmm0, xmmword [rbx]
pmovmskb r12d, xmm0
not r12d
movabs r15, 0x82fa0be82fa0be83
pcmpeqd xmm6, xmm6
jmp 0x14018cc37
mov byte [rax + rdx], r10b
mov byte [rax + r8 + 0x10], r10b
dec qword [rsi + 0xf0]
add rcx, 0xfffffffffffffea8
mov byte [rbp + 0x2e7], 0
call fcn.140196d20
lea eax, [r12 - 1]
and eax, r12d
mov r12d, eax
dec rdi
je 0x14018ccfd
test r12w, r12w
jne 0x14018cc61
nop dword [rax]
movdqa xmm0, xmmword [r14]
pmovmskb r12d, xmm0
add rbx, 0xffffffffffffea80
add r14, 0x10
cmp r12d, 0xffff
je 0x14018cc40
not r12d
tzcnt eax, r12d
neg rax
imul rcx, rax, 0x158
cmp byte [rbx + rcx - 4], 0
mov byte [rbx + rcx - 4], 0
jne 0x14018cc23
add rcx, rbx
mov rax, qword [rsi + 0xd8]
mov rdx, rax
sub rdx, rcx
sar rdx, 3
imul rdx, r15
lea r8, [rdx - 0x10]
and r8, qword [rsi + 0xe0]
movdqu xmm0, xmmword [rax + r8]
pcmpeqb xmm0, xmm6
pmovmskb r9d, xmm0
test r9d, r9d
je 0x14018ccbe
bsr r9w, r9w
xor r9d, 0xf
jmp 0x14018ccc3
mov r9w, 0x10
movdqu xmm0, xmmword [rax + rdx]
pcmpeqb xmm0, xmm6
pmovmskb r10d, xmm0
or r10d, 0x10000
tzcnt r10d, r10d
add r9d, r10d
mov r10b, 0x80
cmp r9w, 0xf
ja 0x14018cc00
inc qword [rsi + 0xe8]
mov r10b, 0xff
jmp 0x14018cc00
mov rdx, qword [rbp + 0x298]
test rdx, rdx
je 0x14018cd1b
mov rcx, qword [rbp + 0x2a0]
mov r8d, 1
call fcn.140016e60
movaps xmm6, xmmword [rbp + 0x2f0]
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.1401fd4e0
mov ecx, 8
mov edx, 0xfa0
call fcn.1401fd4e0
ud2