Function at 0x14003dc90
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, 0x378
movdqa xmmword [rsp + 0x360], xmm6
mov qword [rsp + 0x48], rdx
mov rsi, rcx
movzx eax, byte [0x141db1a30]
mov ebp, 0x80000
mov edx, 0x80000
xor ecx, ecx
call fcn.14003d220
test rax, rax
je 0x14003e7a5
mov rdi, rax
mov qword [rsp + 0x50], 0x80000
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
xor edx, edx
lea r15, [rsp + 0x288]
mov rbx, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
lea r12, [rsp + 0x130]
mov r14, qword [sym.imp.oleaut32.dll_GetErrorInfo]
mov r13d, 0x80000
jmp 0x14003dd2a
mov rbp, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov dword [rsp + 0x288], 0
sub rbp, rdx
cmp r13, rbp
ja 0x14003ddb3
mov ecx, 5
mov rdx, rdi
mov r8d, r13d
mov r9, r15
call rbx
test eax, eax
jns 0x14003ddd9
mov ebp, eax
mov qword [rsp + 0x130], 0
xor ecx, ecx
mov rdx, r12
call r14
mov rcx, qword [rsp + 0x130]
and ebp, 0xefffffff
cmp ebp, 0xc0000004
jne 0x14003de90
mov eax, dword [rsp + 0x288]
mov rdx, r13
add rdx, r13
lea r13d, [rax + 0x2800]
test eax, eax
cmove r13, rdx
test rcx, rcx
je 0x14003dd20
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14003dd20
mov qword [rsp + 0x20], 1
mov r9d, 1
lea rcx, [rsp + 0x50]
mov r8, r13
call fcn.1400580b0
mov rdi, qword [rsp + 0x58]
jmp 0x14003dd3d
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x110], 0
movzx eax, byte [0x141db1a30]
mov edx, 0xfa0
xor ecx, ecx
call fcn.14003d220
test rax, rax
je 0x14003e7a5
mov qword [rsp + 0x68], 0x1f4
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0
xor ebx, ebx
lea r14, [rsp + 0x68]
xor r15d, r15d
jmp 0x14003de48
lea rcx, [rdi + r15]
mov qword [rax + rbx*8], rcx
inc rbx
mov qword [rsp + 0x78], rbx
add r15, r12
test r12, r12
je 0x14003de62
mov r12d, dword [rdi + r15]
cmp rbx, qword [rsp + 0x68]
jne 0x14003de30
mov rcx, r14
call fcn.14003e7b0
mov rax, qword [rsp + 0x70]
jmp 0x14003de30
lea rax, [rsi + 0x40]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x118], rax
mov rbx, qword [rsp + 0x48]
cmp byte [rbx], 1
jne 0x14003deb8
mov rcx, rsi
xor edx, edx
call fcn.14003e860
mov rax, qword [rsi + 0x10]
jmp 0x14003deba
test rcx, rcx
je 0x14003de9b
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp qword [rsp + 0x50], 0
je 0x14003e754
mov rcx, qword [0x141db1a00]
xor edx, edx
mov r8, rdi
jmp 0x14003e74e
xor eax, eax
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x130], 0
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetSystemTimePreciseAsFileTime]
mov rax, qword [rsp + 0x130]
movabs rcx, 0x19db1ded53e8000
cmp rax, rcx
jge 0x14003def7
xor edx, edx
jmp 0x14003df15
movabs rcx, 0xfe624e212ac18000
add rax, rcx
movabs rcx, 0xd6bf94d5e57a42bd
mul rcx
shr rdx, 0x17
mov qword [rsp + 0x128], rdx
mov rdi, qword [rsp + 0x78]
mov qword [rsp + 0x140], rdi
movdqu xmm0, xmmword [rsp + 0x68]
movdqa xmmword [rsp + 0x130], xmm0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 8
mov qword [rsp + 0x90], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x118]
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x158], rbx
lea rax, [rsp + 0x120]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x168], rax
mov r14, qword [rsp + 0x130]
cmp r14, rdi
jb 0x14003e7a5
lea r15, [rsp + 0x148]
mov rbx, qword [rsp + 0x138]
mov eax, dword [0x141db1a34]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x38]
test rax, rax
je 0x14003dfed
add rax, 0x110
jmp 0x14003dff2
call fcn.14002a070
mov rax, qword [rax]
mov r9, qword [rax + 0x208]
xor eax, eax
cmp rdi, 0xffffffffffffffff
sete al
cmp rax, r9
cmova r9, rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 1
lea rcx, [rsp + 0x288]
mov rdx, rdi
xor r8d, r8d
call fcn.14003f160
test r14, r14
je 0x14003e04e
mov rcx, qword [0x141db1a00]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x298]
test rcx, rcx
sete al
test r8, r8
sete dl
or dl, al
jne 0x14003e09c
dec rcx
xor eax, eax
mov rdx, r8
nop word cs:[rax + rax]
add rax, qword [rdx + 0x10]
sub rcx, 1
jb 0x14003e093
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x14003e080
test rax, rax
jne 0x14003e770
test r8, r8
je 0x14003e18c
movabs rbp, 0x8000000000000000
mov r13, qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14003e0cc
mov r8, rbx
test rbx, rbx
je 0x14003e18c
mov rbx, qword [r8 + 0x18]
test rbx, rbx
je 0x14003e0dd
mov qword [rbx + 0x20], 0
mov rdi, qword [r8]
mov r14, qword [r8 + 8]
mov r15, qword [r8 + 0x10]
mov rcx, qword [0x141db1a00]
xor edx, edx
call r13
cmp rdi, rbp
je 0x14003e187
mov rax, qword [rsp + 0x80]
mov r12, qword [rsp + 0x90]
sub rax, r12
cmp rax, r15
jb 0x14003e15b
imul rcx, r12, 0x158
add rcx, qword [rsp + 0x88]
imul r8, r15, 0x158
mov rdx, r14
call fcn.140053870
add r12, r15
mov qword [rsp + 0x90], r12
test rdi, rdi
je 0x14003e0c0
mov rcx, qword [0x141db1a00]
xor edx, edx
mov r8, r14
call r13
jmp 0x14003e0c0
mov qword [rsp + 0x20], 0x158
mov r9d, 8
lea rcx, [rsp + 0x80]
mov rdx, r12
mov r8, r15
call fcn.1400580b0
mov r12, qword [rsp + 0x90]
jmp 0x14003e115
test rbx, rbx
jne 0x14003e207
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x108], rax
mov r14, qword [rsp + 0x88]
mov rax, qword [rsp + 0x90]
imul r12, rax, 0x158
add r12, r14
mov qword [rsp + 0x48], r14
test rax, rax
je 0x14003e5b1
lea r15, [rsp + 0x288]
lea rax, [rsi + 0x60]
mov qword [rsp + 0xf8], rax
pcmpeqd xmm6, xmm6
mov r14, qword [rsp + 0x48]
jmp 0x14003e329
mov rcx, qword [0x141db1a00]
xor edx, edx
mov r8, rbx
call r13
mov rbx, r15
test r15, r15
je 0x14003e18c
mov r15, qword [rbx + 0x18]
test r15, r15
je 0x14003e218
mov qword [r15 + 0x20], 0
mov rdi, qword [rbx + 8]
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x14003e244
mov r14, rdi
nop dword [rax + rax]
mov rcx, r14
call fcn.14003fc60
add r14, 0x158
dec r12
jne 0x14003e230
cmp qword [rbx], 0
je 0x14003e1f0
mov rcx, qword [0x141db1a00]
xor edx, edx
mov r8, rdi
call r13
jmp 0x14003e1f0
and r8b, 1
movzx r8d, r8b
sub qword [rsi + 0x50], r8
lea r8, [rdx - 0x10]
and r8, rcx
mov byte [r13 + rdx], al
mov byte [r13 + r8 + 0x10], al
inc qword [rsi + 0x58]
neg rdx
imul rdi, rdx, 0x160
mov qword [r13 + rdi - 0x160], rbp
mov qword [r13 + rdi - 0x158], rbx
lea rcx, [rdi + r13]
add rcx, 0xfffffffffffffeb0
mov r8d, 0xd8
mov rdx, r15
call fcn.140053870
mov qword [r13 + rdi - 0x78], rbp
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmm1, xmmword [rsp + 0x90]
movdqa xmm2, xmmword [rsp + 0xa0]
movaps xmm3, xmmword [rsp + 0xb0]
movups xmmword [r13 + rdi - 0x70], xmm0
movdqu xmmword [r13 + rdi - 0x60], xmm1
movdqu xmmword [r13 + rdi - 0x50], xmm2
movups xmmword [r13 + rdi - 0x40], xmm3
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [r13 + rdi - 0x30], xmm0
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [r13 + rdi - 0x20], xmm0
movdqa xmm0, xmmword [rsp + 0xe0]
movdqu xmmword [r13 + rdi - 0x10], xmm0
nop dword [rax]
cmp r14, r12
je 0x14003e5e4
mov rdi, r14
add r14, 0x158
mov rbx, qword [rdi]
cmp rbx, 2
je 0x14003e5b1
mov rbp, qword [rdi + 0xe0]
lea rdx, [rdi + 8]
mov r8d, 0xd8
mov rcx, r15
call fcn.140053870
movups xmm0, xmmword [rdi + 0xe8]
movups xmm1, xmmword [rdi + 0xf8]
movups xmm2, xmmword [rdi + 0x108]
movups xmm3, xmmword [rdi + 0x118]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0xb0], xmm3
movups xmm0, xmmword [rdi + 0x128]
movaps xmmword [rsp + 0xc0], xmm0
movups xmm0, xmmword [rdi + 0x138]
movaps xmmword [rsp + 0xd0], xmm0
movups xmm0, xmmword [rdi + 0x148]
movaps xmmword [rsp + 0xe0], xmm0
mov rcx, qword [rsi + 0x60]
mov rdx, qword [rsi + 0x68]
mov r8, rbp
call fcn.14003fe50
mov rdi, rax
cmp qword [rsi + 0x50], 0
je 0x14003e597
mov r13, qword [rsi + 0x40]
mov rcx, qword [rsi + 0x48]
mov rax, rdi
shr rax, 0x39
movd xmm0, eax
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
xor r8d, r8d
xor r9d, r9d
and rdi, rcx
movdqu xmm1, xmmword [r13 + rdi]
movdqa xmm2, xmm1
pcmpeqb xmm2, xmm0
pmovmskb r10d, xmm2
test r10d, r10d
je 0x14003e45c
nop word cs:[rax + rax]
tzcnt r11d, r10d
add r11, rdi
and r11, rcx
neg r11
imul r11, r11, 0x160
cmp qword [r13 + r11 - 0x160], rbp
je 0x14003e4b0
lea r11d, [r10 - 1]
and r11w, r10w
mov r10d, r11d
jne 0x14003e430
cmp r9, 1
mov r9d, 1
je 0x14003e47f
pmovmskb edx, xmm1
xor r9d, r9d
test edx, edx
setne r9b
tzcnt edx, edx
add rdx, rdi
and rdx, rcx
pcmpeqb xmm1, xmm6
pmovmskb r10d, xmm1
test r10d, r10d
jne 0x14003e56f
add rdi, r8
add rdi, 0x10
add r8, 0x10
jmp 0x14003e407
add r13, r11
lea rdx, [r13 - 0x158]
mov r8d, 0x158
lea rcx, [rsp + 0x130]
call fcn.140053870
mov qword [r13 - 0x158], rbx
lea rcx, [r13 - 0x150]
mov r8d, 0xd8
mov rdx, r15
call fcn.140053870
mov qword [r13 - 0x78], rbp
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [r13 - 0x10], xmm0
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [r13 - 0x20], xmm0
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [r13 - 0x30], xmm0
movdqa xmm0, xmmword [rsp + 0x80]
movdqa xmm1, xmmword [rsp + 0x90]
movdqa xmm2, xmmword [rsp + 0xa0]
movaps xmm3, xmmword [rsp + 0xb0]
movups xmmword [r13 - 0x40], xmm3
movdqu xmmword [r13 - 0x50], xmm2
movdqu xmmword [r13 - 0x60], xmm1
movdqu xmmword [r13 - 0x70], xmm0
cmp qword [rsp + 0x130], 2
je 0x14003e320
lea rcx, [rsp + 0x130]
call fcn.14003fc60
jmp 0x14003e320
movzx r8d, byte [r13 + rdx]
test r8b, r8b
js 0x14003e25b
movdqa xmm0, xmmword [r13]
pmovmskb edx, xmm0
tzcnt edx, edx
movzx r8d, byte [r13 + rdx]
jmp 0x14003e25b
mov rcx, qword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
call fcn.140058180
jmp 0x14003e3e0
mov rax, r12
sub rax, r14
movabs rcx, 0xbe82fa0be82fa0bf
mul rcx
cmp r12, r14
je 0x14003e5e4
mov rdi, rdx
shr rdi, 8
mov rcx, r14
call fcn.14003fc60
add r14, 0x158
dec rdi
jne 0x14003e5d0
cmp qword [rsp + 0x108], 0
je 0x14003e603
mov rcx, qword [0x141db1a00]
xor edx, edx
mov r8, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r13, qword [rsi + 0x58]
test r13, r13
je 0x14003e738
mov rbx, qword [rsi + 0x40]
mov rax, qword [rsi + 0x48]
mov qword [rsp + 0x48], rax
lea r15, [rbx + 0x10]
movdqa xmm0, xmmword [rbx]
pmovmskb r14d, xmm0
not r14d
mov r12, qword [rsi + 0x50]
pcmpeqd xmm6, xmm6
mov rbp, rbx
mov rdi, r13
jmp 0x14003e673
lea rcx, [rax + rbp]
add rcx, 0xfffffffffffffea8
mov byte [rbx + rdx], r9b
mov byte [rbx + r8 + 0x10], r9b
dec r13
mov qword [rsi + 0x58], r13
call fcn.14003fc60
lea eax, [r14 - 1]
and eax, r14d
mov r14d, eax
dec rdi
je 0x14003e738
test r14w, r14w
jne 0x14003e6a1
nop dword [rax]
movdqa xmm0, xmmword [r15]
pmovmskb r14d, xmm0
add rbp, 0xffffffffffffea00
add r15, 0x10
cmp r14d, 0xffff
je 0x14003e680
not r14d
tzcnt eax, r14d
neg rax
imul rax, rax, 0x160
cmp byte [rbp + rax - 4], 0
mov byte [rbp + rax - 4], 0
jne 0x14003e660
mov rdx, rbx
sub rdx, rbp
sub rdx, rax
sar rdx, 5
movabs rcx, 0x2e8ba2e8ba2e8ba3
imul rdx, rcx
lea r8, [rdx - 0x10]
and r8, qword [rsp + 0x48]
movdqu xmm0, xmmword [rbx + r8]
pcmpeqb xmm0, xmm6
pmovmskb ecx, xmm0
test ecx, ecx
je 0x14003e6fb
bsr cx, cx
xor ecx, 0xf
jmp 0x14003e6ff
mov cx, 0x10
movdqu xmm0, xmmword [rbx + rdx]
pcmpeqb xmm0, xmm6
pmovmskb r9d, xmm0
or r9d, 0x10000
tzcnt r9d, r9d
add ecx, r9d
mov r9b, 0x80
cmp cx, 0xf
ja 0x14003e640
inc r12
mov qword [rsi + 0x50], r12
mov r9b, 0xff
jmp 0x14003e640
cmp qword [rsp + 0x50], 0
je 0x14003e754
mov r8, qword [rsp + 0x58]
mov rcx, qword [0x141db1a00]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
movaps xmm6, xmmword [rsp + 0x360]
add rsp, 0x378
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x20], 0x158
lea rcx, [rsp + 0x80]
mov r9d, 8
xor edx, edx
mov rdi, r8
mov r8, rax
call fcn.1400580b0
mov r8, rdi
test r8, r8
jne 0x14003e0a5
jmp 0x14003e18c
ud2