Function at 0x14003d730
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 [0x141d069e0]
mov ebp, 0x80000
mov edx, 0x80000
xor ecx, ecx
call fcn.14003cef0
test rax, rax
je 0x14003e245
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 0x14003d7ca
mov rbp, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov dword [rsp + 0x288], 0
sub rbp, rdx
cmp r13, rbp
ja 0x14003d853
mov ecx, 5
mov rdx, rdi
mov r8d, r13d
mov r9, r15
call rbx
test eax, eax
jns 0x14003d879
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 0x14003d930
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 0x14003d7c0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14003d7c0
mov qword [rsp + 0x20], 1
mov r9d, 1
lea rcx, [rsp + 0x50]
mov r8, r13
call fcn.140055d60
mov rdi, qword [rsp + 0x58]
jmp 0x14003d7dd
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x110], 0
movzx eax, byte [0x141d069e0]
mov edx, 0xfa0
xor ecx, ecx
call fcn.14003cef0
test rax, rax
je 0x14003e245
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 0x14003d8e8
lea rcx, [rdi + r15]
mov qword [rax + rbx*8], rcx
inc rbx
mov qword [rsp + 0x78], rbx
add r15, r12
test r12, r12
je 0x14003d902
mov r12d, dword [rdi + r15]
cmp rbx, qword [rsp + 0x68]
jne 0x14003d8d0
mov rcx, r14
call fcn.14003e250
mov rax, qword [rsp + 0x70]
jmp 0x14003d8d0
lea rax, [rsi + 0x40]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x118], rax
mov rbx, qword [rsp + 0x48]
cmp byte [rbx], 1
jne 0x14003d958
mov rcx, rsi
xor edx, edx
call fcn.14003e300
mov rax, qword [rsi + 0x10]
jmp 0x14003d95a
test rcx, rcx
je 0x14003d93b
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp qword [rsp + 0x50], 0
je 0x14003e1f4
mov rcx, qword [0x141d069c8]
xor edx, edx
mov r8, rdi
jmp 0x14003e1ee
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 0x14003d997
xor edx, edx
jmp 0x14003d9b5
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 0x14003e245
lea r15, [rsp + 0x148]
mov rbx, qword [rsp + 0x138]
mov eax, dword [0x141d069e4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x38]
test rax, rax
je 0x14003da8d
add rax, 0x110
jmp 0x14003da92
call fcn.140029e00
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.14003ec00
test r14, r14
je 0x14003daee
mov rcx, qword [0x141d069c8]
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 0x14003db3c
dec rcx
xor eax, eax
mov rdx, r8
nop word cs:[rax + rax]
add rax, qword [rdx + 0x10]
sub rcx, 1
jb 0x14003db33
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x14003db20
test rax, rax
jne 0x14003e210
test r8, r8
je 0x14003dc2c
movabs rbp, 0x8000000000000000
mov r13, qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14003db6c
mov r8, rbx
test rbx, rbx
je 0x14003dc2c
mov rbx, qword [r8 + 0x18]
test rbx, rbx
je 0x14003db7d
mov qword [rbx + 0x20], 0
mov rdi, qword [r8]
mov r14, qword [r8 + 8]
mov r15, qword [r8 + 0x10]
mov rcx, qword [0x141d069c8]
xor edx, edx
call r13
cmp rdi, rbp
je 0x14003dc27
mov rax, qword [rsp + 0x80]
mov r12, qword [rsp + 0x90]
sub rax, r12
cmp rax, r15
jb 0x14003dbfb
imul rcx, r12, 0x158
add rcx, qword [rsp + 0x88]
imul r8, r15, 0x158
mov rdx, r14
call fcn.1400490d0
add r12, r15
mov qword [rsp + 0x90], r12
test rdi, rdi
je 0x14003db60
mov rcx, qword [0x141d069c8]
xor edx, edx
mov r8, r14
call r13
jmp 0x14003db60
mov qword [rsp + 0x20], 0x158
mov r9d, 8
lea rcx, [rsp + 0x80]
mov rdx, r12
mov r8, r15
call fcn.140055d60
mov r12, qword [rsp + 0x90]
jmp 0x14003dbb5
test rbx, rbx
jne 0x14003dca7
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 0x14003e051
lea r15, [rsp + 0x288]
lea rax, [rsi + 0x60]
mov qword [rsp + 0xf8], rax
pcmpeqd xmm6, xmm6
mov r14, qword [rsp + 0x48]
jmp 0x14003ddc9
mov rcx, qword [0x141d069c8]
xor edx, edx
mov r8, rbx
call r13
mov rbx, r15
test r15, r15
je 0x14003dc2c
mov r15, qword [rbx + 0x18]
test r15, r15
je 0x14003dcb8
mov qword [r15 + 0x20], 0
mov rdi, qword [rbx + 8]
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x14003dce4
mov r14, rdi
nop dword [rax + rax]
mov rcx, r14
call fcn.14003f700
add r14, 0x158
dec r12
jne 0x14003dcd0
cmp qword [rbx], 0
je 0x14003dc90
mov rcx, qword [0x141d069c8]
xor edx, edx
mov r8, rdi
call r13
jmp 0x14003dc90
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.1400490d0
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 0x14003e084
mov rdi, r14
add r14, 0x158
mov rbx, qword [rdi]
cmp rbx, 2
je 0x14003e051
mov rbp, qword [rdi + 0xe0]
lea rdx, [rdi + 8]
mov r8d, 0xd8
mov rcx, r15
call fcn.1400490d0
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.14003f8f0
mov rdi, rax
cmp qword [rsi + 0x50], 0
je 0x14003e037
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 0x14003defc
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 0x14003df50
lea r11d, [r10 - 1]
and r11w, r10w
mov r10d, r11d
jne 0x14003ded0
cmp r9, 1
mov r9d, 1
je 0x14003df1f
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 0x14003e00f
add rdi, r8
add rdi, 0x10
add r8, 0x10
jmp 0x14003dea7
add r13, r11
lea rdx, [r13 - 0x158]
mov r8d, 0x158
lea rcx, [rsp + 0x130]
call fcn.1400490d0
mov qword [r13 - 0x158], rbx
lea rcx, [r13 - 0x150]
mov r8d, 0xd8
mov rdx, r15
call fcn.1400490d0
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 0x14003ddc0
lea rcx, [rsp + 0x130]
call fcn.14003f700
jmp 0x14003ddc0
movzx r8d, byte [r13 + rdx]
test r8b, r8b
js 0x14003dcfb
movdqa xmm0, xmmword [r13]
pmovmskb edx, xmm0
tzcnt edx, edx
movzx r8d, byte [r13 + rdx]
jmp 0x14003dcfb
mov rcx, qword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
call fcn.140056c80
jmp 0x14003de80
mov rax, r12
sub rax, r14
movabs rcx, 0xbe82fa0be82fa0bf
mul rcx
cmp r12, r14
je 0x14003e084
mov rdi, rdx
shr rdi, 8
mov rcx, r14
call fcn.14003f700
add r14, 0x158
dec rdi
jne 0x14003e070
cmp qword [rsp + 0x108], 0
je 0x14003e0a3
mov rcx, qword [0x141d069c8]
xor edx, edx
mov r8, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r13, qword [rsi + 0x58]
test r13, r13
je 0x14003e1d8
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 0x14003e113
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.14003f700
lea eax, [r14 - 1]
and eax, r14d
mov r14d, eax
dec rdi
je 0x14003e1d8
test r14w, r14w
jne 0x14003e141
nop dword [rax]
movdqa xmm0, xmmword [r15]
pmovmskb r14d, xmm0
add rbp, 0xffffffffffffea00
add r15, 0x10
cmp r14d, 0xffff
je 0x14003e120
not r14d
tzcnt eax, r14d
neg rax
imul rax, rax, 0x160
cmp byte [rbp + rax - 4], 0
mov byte [rbp + rax - 4], 0
jne 0x14003e100
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 0x14003e19b
bsr cx, cx
xor ecx, 0xf
jmp 0x14003e19f
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 0x14003e0e0
inc r12
mov qword [rsi + 0x50], r12
mov r9b, 0xff
jmp 0x14003e0e0
cmp qword [rsp + 0x50], 0
je 0x14003e1f4
mov r8, qword [rsp + 0x58]
mov rcx, qword [0x141d069c8]
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.140055d60
mov r8, rdi
test r8, r8
jne 0x14003db45
jmp 0x14003dc2c
ud2