Function at 0x1400341c0
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 [0x1400ec9e8]
mov ebp, 0x80000
mov edx, 0x80000
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x140034c22
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 0x14003425a
mov rbp, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov dword [rsp + 0x288], 0
sub rbp, rdx
cmp r13, rbp
ja 0x1400342e3
mov ecx, 5
mov rdx, rdi
mov r8d, r13d
mov r9, r15
call rbx
test eax, eax
jns 0x140034309
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 0x1400343c0
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 0x140034250
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140034250
mov qword [rsp + 0x20], 1
mov r9d, 1
lea rcx, [rsp + 0x50]
mov r8, r13
call fcn.14004e450
mov rdi, qword [rsp + 0x58]
jmp 0x14003426d
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x110], 0
movzx eax, byte [0x1400ec9e8]
mov edx, 0xfa0
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x140034c22
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 0x140034378
lea rcx, [rdi + r15]
mov qword [rax + rbx*8], rcx
inc rbx
mov qword [rsp + 0x78], rbx
add r15, r12
test r12, r12
je 0x140034392
mov r12d, dword [rdi + r15]
cmp rbx, qword [rsp + 0x68]
jne 0x140034360
mov rcx, r14
call fcn.140034c30
mov rax, qword [rsp + 0x70]
jmp 0x140034360
lea rax, [rsi + 0x40]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x118], rax
mov rbx, qword [rsp + 0x48]
cmp byte [rbx], 1
jne 0x1400343e8
mov rcx, rsi
xor edx, edx
call fcn.140034ce0
mov rax, qword [rsi + 0x10]
jmp 0x1400343ea
test rcx, rcx
je 0x1400343cb
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp qword [rsp + 0x50], 0
je 0x140034b4f
mov rcx, qword [0x1400ec9d0]
xor edx, edx
mov r8, rdi
jmp 0x140034b49
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 0x140034427
xor edx, edx
jmp 0x140034445
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 0x140034c22
lea r15, [rsp + 0x148]
mov rbx, qword [rsp + 0x138]
mov eax, dword [0x1400ec9ec]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x28]
test rax, rax
je 0x14003451d
add rax, 0x110
jmp 0x140034522
call fcn.1400213c0
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.1400355e0
test r14, r14
je 0x14003457e
mov rcx, qword [0x1400ec9d0]
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 0x1400345cc
dec rcx
xor eax, eax
mov rdx, r8
nop word cs:[rax + rax]
add rax, qword [rdx + 0x10]
sub rcx, 1
jb 0x1400345c3
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x1400345b0
test rax, rax
jne 0x140034bed
test r8, r8
je 0x1400346bc
movabs rbp, 0x8000000000000000
mov r13, qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400345fc
mov r8, rbx
test rbx, rbx
je 0x1400346bc
mov rbx, qword [r8 + 0x18]
test rbx, rbx
je 0x14003460d
mov qword [rbx + 0x20], 0
mov rdi, qword [r8]
mov r14, qword [r8 + 8]
mov r15, qword [r8 + 0x10]
mov rcx, qword [0x1400ec9d0]
xor edx, edx
call r13
cmp rdi, rbp
je 0x1400346b7
mov rax, qword [rsp + 0x80]
mov r12, qword [rsp + 0x90]
sub rax, r12
cmp rax, r15
jb 0x14003468b
imul rcx, r12, 0x158
add rcx, qword [rsp + 0x88]
imul r8, r15, 0x158
mov rdx, r14
call fcn.14003f740
add r12, r15
mov qword [rsp + 0x90], r12
test rdi, rdi
je 0x1400345f0
mov rcx, qword [0x1400ec9d0]
xor edx, edx
mov r8, r14
call r13
jmp 0x1400345f0
mov qword [rsp + 0x20], 0x158
mov r9d, 8
lea rcx, [rsp + 0x80]
mov rdx, r12
mov r8, r15
call fcn.14004e450
mov r12, qword [rsp + 0x90]
jmp 0x140034645
test rbx, rbx
jne 0x140034737
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 0x140034ae1
lea r15, [rsp + 0x288]
lea rax, [rsi + 0x60]
mov qword [rsp + 0xf8], rax
pcmpeqd xmm6, xmm6
mov r14, qword [rsp + 0x48]
jmp 0x140034859
mov rcx, qword [0x1400ec9d0]
xor edx, edx
mov r8, rbx
call r13
mov rbx, r15
test r15, r15
je 0x1400346bc
mov r15, qword [rbx + 0x18]
test r15, r15
je 0x140034748
mov qword [r15 + 0x20], 0
mov rdi, qword [rbx + 8]
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x140034774
mov r14, rdi
nop dword [rax + rax]
mov rcx, r14
call fcn.1400360e0
add r14, 0x158
dec r12
jne 0x140034760
cmp qword [rbx], 0
je 0x140034720
mov rcx, qword [0x1400ec9d0]
xor edx, edx
mov r8, rdi
call r13
jmp 0x140034720
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.14003f740
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 0x140034b14
mov rdi, r14
add r14, 0x158
mov rbx, qword [rdi]
cmp rbx, 2
je 0x140034ae1
mov rbp, qword [rdi + 0xe0]
lea rdx, [rdi + 8]
mov r8d, 0xd8
mov rcx, r15
call fcn.14003f740
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.1400362d0
mov rdi, rax
cmp qword [rsi + 0x50], 0
je 0x140034ac7
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 0x14003498c
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 0x1400349e0
lea r11d, [r10 - 1]
and r11w, r10w
mov r10d, r11d
jne 0x140034960
cmp r9, 1
mov r9d, 1
je 0x1400349af
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 0x140034a9f
add rdi, r8
add rdi, 0x10
add r8, 0x10
jmp 0x140034937
add r13, r11
lea rdx, [r13 - 0x158]
mov r8d, 0x158
lea rcx, [rsp + 0x130]
call fcn.14003f740
mov qword [r13 - 0x158], rbx
lea rcx, [r13 - 0x150]
mov r8d, 0xd8
mov rdx, r15
call fcn.14003f740
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 0x140034850
lea rcx, [rsp + 0x130]
call fcn.1400360e0
jmp 0x140034850
movzx r8d, byte [r13 + rdx]
test r8b, r8b
js 0x14003478b
movdqa xmm0, xmmword [r13]
pmovmskb edx, xmm0
tzcnt edx, edx
movzx r8d, byte [r13 + rdx]
jmp 0x14003478b
mov rcx, qword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
call fcn.14004ce80
jmp 0x140034910
mov rax, r12
sub rax, r14
movabs rcx, 0xbe82fa0be82fa0bf
mul rcx
cmp r12, r14
je 0x140034b14
mov rdi, rdx
shr rdi, 8
mov rcx, r14
call fcn.1400360e0
add r14, 0x158
dec rdi
jne 0x140034b00
cmp qword [rsp + 0x108], 0
je 0x140034b33
mov rcx, qword [0x1400ec9d0]
xor edx, edx
mov r8, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rsp + 0x50], 0
je 0x140034b4f
mov r8, qword [rsp + 0x58]
mov rcx, qword [0x1400ec9d0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsi + 0x58]
test rax, rax
je 0x140034bd1
mov rcx, qword [rsi + 0x40]
lea rdx, [rcx + 0x10]
movdqa xmm0, xmmword [rcx]
pmovmskb r8d, xmm0
not r8d
jmp 0x140034b94
lea r9d, [r8 - 1]
and r9d, r8d
tzcnt r8d, r8d
neg r8
imul r8, r8, 0x160
mov byte [rcx + r8 - 4], 0
mov r8d, r9d
dec rax
je 0x140034bd1
test r8w, r8w
jne 0x140034b70
nop word [rax + rax]
movdqa xmm0, xmmword [rdx]
pmovmskb r8d, xmm0
add rcx, 0xffffffffffffea00
add rdx, 0x10
cmp r8d, 0xffff
je 0x140034ba0
mov r10d, 0xfffffffe
sub r10d, r8d
not r8d
mov r9d, r8d
and r9d, r10d
jmp 0x140034b77
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.14004e450
mov r8, rdi
test r8, r8
jne 0x1400345d5
jmp 0x1400346bc
ud2