Function at 0x14015fee6
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, 0x388
mov esi, edx
mov qword [rsp + 0x48], rcx
mov word [rsp + 0x44], si
mov eax, edx
shr eax, 0x10
mov byte [rsp + 0x46], al
lea r15, [rsp + 0xa8]
mov r14d, 0x80000
mov edx, 0x80000
mov rcx, r15
call fcn.1400d8b41
lea r12, [rsp + 0xf0]
and dword [rsp + 0xf0], 0
mov rcx, r15
mov rdx, r14
call fcn.140019b5b
mov rdi, qword [rsp + 0xb0]
mov ecx, 5
mov rdx, rdi
mov r8d, r14d
mov r9, r12
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14015ff7e
mov eax, dword [rsp + 0xf0]
add r14, r14
lea ecx, [rax + 0x2800]
test eax, eax
cmovne r14, rcx
jmp 0x14015ff31
test eax, eax
jne 0x140160026
mov qword [rsp + 0xb8], r14
mov ecx, 0x1f4
mov edx, 8
mov r8d, 8
call fcn.14015b4cd
lea r14, [rsp + 0xc0]
mov qword [r14], rax
mov qword [r14 + 8], rdx
and qword [r14 + 0x10], 0
xor r15d, r15d
xor r12d, r12d
cmp r15, qword [rsp + 0xc0]
jne 0x14015ffd7
mov rcx, r14
call fcn.140164a2d
mov rdx, qword [rsp + 0xc8]
lea rax, [rdi + r12]
mov qword [rdx + r15*8], rax
inc r15
mov qword [rsp + 0xd0], r15
mov eax, dword [rax]
add r12, rax
test rax, rax
jne 0x14015ffbd
mov rdi, qword [rsp + 0x48]
lea rax, [rdi + 0xd8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xd8], rax
test sil, 1
je 0x140160036
mov rcx, rdi
xor edx, edx
call fcn.140160765
mov rax, qword [rdi + 0x80]
jmp 0x140160038
mov rcx, qword [rsp + 0xa8]
mov rdx, rdi
jmp 0x1401605d1
xor eax, eax
mov qword [rsp + 0xe0], rax
call fcn.140157400
mov r8d, edx
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov edx, eax
call fcn.140157430
cmp byte [rsi], 0
jne 0x140160069
mov rax, qword [rsp + 0xf8]
jmp 0x14016006b
xor eax, eax
lea rcx, [rsp + 0xe8]
mov qword [rcx], rax
mov r14, qword [rsp + 0xd0]
mov qword [rsp + 0x100], r14
movdqu xmm0, xmmword [rsp + 0xc0]
movdqa xmmword [rsp + 0xf0], xmm0
and qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 8
and qword [rsp + 0x60], 0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], rcx
mov r15, qword [rsp + 0xf0]
cmp r15, r14
jb 0x1401605eb
lea rsi, [rsp + 0x108]
mov r12, qword [rsi - 0x10]
mov rcx, r14
call fcn.14015eff5
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], 1
xor esi, esi
lea rdi, [rsp + 0x240]
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
mov r9, rax
call fcn.14015d01a
mov r8d, 8
mov r9d, 8
mov rcx, r15
mov rdx, r12
call fcn.140050545
mov rax, qword [rdi + 0x10]
sub rax, 1
jb 0x14016016d
mov rdi, qword [rdi]
test rdi, rdi
je 0x14016016d
add rsi, qword [rdi + 0x10]
add rdi, 0x18
jmp 0x140160155
lea rcx, [rsp + 0x50]
mov rdx, rsi
call fcn.14015f16c
movdqu xmm0, xmmword [rsp + 0x240]
lea r12, [rsp + 0x2b8]
movdqa xmmword [r12 - 8], xmm0
mov r15, qword [rsp + 0x250]
mov qword [r12 + 8], r15
lea rbx, [rsp + 0xf8]
mov rcx, qword [r12 - 8]
lea rsi, [rsp + 0xf0]
test rcx, rcx
je 0x14016025e
mov rbp, qword [rcx + 0x18]
lea rax, [rbp + 0x20]
test rbp, rbp
cmove rax, r12
and qword [rax], 0
mov rdi, qword [rcx]
movdqu xmm0, xmmword [rcx + 8]
movdqa xmmword [rsp + 0x70], xmm0
call fcn.14015ea7e
mov rax, rdi
neg rax
jo 0x140160262
mov qword [rsp + 0xf0], rdi
movdqa xmm0, xmmword [rsp + 0x70]
movdqu xmmword [rbx], xmm0
mov rdi, qword [rsp + 0xf8]
mov r14, qword [rsp + 0x100]
lea rcx, [rsp + 0x50]
mov rdx, r14
call fcn.14015f16c
mov r13, qword [rsp + 0x60]
imul rcx, r13, 0x150
add rcx, qword [rsp + 0x58]
imul r8, r14, 0x150
mov rdx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add r13, r14
mov qword [rsp + 0x60], r13
and qword [rsp + 0x100], 0
mov rcx, rsi
call fcn.14015ad6d
dec r15
mov rcx, rbp
jmp 0x1401601b4
xor ebp, ebp
jmp 0x140160265
dec r15
lea rcx, [rsp + 0x2b0]
mov qword [rcx], rbp
mov qword [rcx + 0x10], r15
call fcn.14015ea02
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x98], rax
imul rcx, qword [rsp + 0x60], 0x150
mov r13, qword [rsp + 0x58]
lea rax, [rcx + r13]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x48]
add rax, 0xf8
mov qword [rsp + 0x80], rax
lea r15, [rsp + 0x240]
lea rbx, [rsp + 0xf0]
mov qword [rsp + 0x90], r13
test rcx, rcx
je 0x1401604e3
mov rbp, qword [r13]
cmp rbp, 2
je 0x1401604dc
mov qword [rsp + 0xa0], rcx
lea rsi, [r13 + 0xe0]
mov r14, qword [r13 + 0xd8]
lea rdx, [r13 + 8]
mov r8d, 0xd0
lea rcx, [rsp + 0x2b0]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, 0xe
mov rdi, r15
rep movsq qword [rdi], qword [rsi]
mov qword [rsp + 0x70], r14
mov r15, qword [rsp + 0x48]
mov rcx, qword [r15 + 0xf8]
mov rdx, qword [r15 + 0x100]
mov r8, r14
call fcn.14015bfcc
mov rsi, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
cmp qword [r15 + 0xe8], 0
je 0x1401604c5
lea rax, [rsp + 0x50]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xf8], rax
mov rcx, qword [r15 + 0xd8]
mov rdx, qword [r15 + 0xe0]
lea rax, [0x14015fc60]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov r9, rbx
call fcn.14000bfd1
mov rdi, qword [r15 + 0xd8]
test rax, rax
je 0x14016042c
movzx eax, byte [rdi + rdx]
and eax, 1
sub qword [r15 + 0xe8], rax
mov rax, qword [rsp + 0x70]
shr rsi, 0x39
lea rcx, [rdx - 0x10]
and rcx, qword [r15 + 0xe0]
mov byte [rdi + rdx], sil
mov byte [rdi + rcx + 0x10], sil
inc qword [r15 + 0xf0]
neg rdx
imul r12, rdx, 0x158
lea rsi, [rdi + r12]
add rsi, 0xfffffffffffffeb8
mov qword [rsi - 0x10], rax
mov qword [rsi - 8], rbp
mov r8d, 0xd0
mov rcx, rsi
lea rdx, [rsp + 0x2b0]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov qword [rsi + 0xd0], r14
add rdi, r12
add rdi, 0xffffffffffffff90
mov ecx, 0xe
lea r15, [rsp + 0x240]
mov rsi, r15
rep movsq qword [rdi], qword [rsi]
jmp 0x1401604aa
neg rdx
imul r12, rdx, 0x158
lea rsi, [rdi + r12]
add rsi, 0xfffffffffffffeb0
mov r8d, 0x150
mov rcx, rbx
mov rdx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov qword [rsi], rbp
lea rsi, [rdi + r12]
add rsi, 0xfffffffffffffeb8
mov r8d, 0xd0
mov rcx, rsi
lea rdx, [rsp + 0x2b0]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov qword [rsi + 0xd0], r14
add rdi, r12
add rdi, 0xffffffffffffff90
mov ecx, 0xe
lea r15, [rsp + 0x240]
mov rsi, r15
rep movsq qword [rdi], qword [rsi]
cmp qword [rsp + 0xf0], 2
je 0x1401604aa
mov rcx, rbx
call fcn.14015add2
add r13, 0x150
mov rcx, qword [rsp + 0xa0]
add rcx, 0xfffffffffffffeb0
jmp 0x1401602cb
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x80]
call fcn.14015fc86
jmp 0x140160355
add r13, 0x150
mov rax, qword [rsp + 0x88]
sub rax, r13
mov ecx, 0x150
xor edx, edx
div rcx
mov rcx, r13
mov rdx, rax
call fcn.14015ada8
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
call fcn.14015ad97
mov r8, qword [rsp + 0x48]
mov rax, qword [r8 + 0xd8]
mov rcx, qword [r8 + 0xe0]
add rcx, rax
inc rcx
movdqa xmm0, xmmword [rax]
pmovmskb edx, xmm0
not edx
mov r14, qword [r8 + 0xf0]
lea rsi, [rsp + 0xf0]
mov qword [rsi], rax
add rax, 0x10
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
mov word [rsi + 0x18], dx
mov qword [rsi + 0x20], r14
mov ebx, 0x158
test r14, r14
je 0x1401605c1
mov rcx, rsi
call fcn.14015fe90
mov r14, qword [rsp + 0x110]
dec r14
mov qword [rsp + 0x110], r14
test rax, rax
je 0x1401605c1
mov rdi, rax
cmp byte [rax - 4], 0
mov byte [rax - 4], 0
jne 0x140160566
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
sub rax, rdi
cqo
idiv rbx
mov rdx, rax
call fcn.1400dec58
add rdi, 0xfffffffffffffeb0
mov rcx, rdi
call fcn.14015add2
jmp 0x140160566
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
call fcn.14005068f
nop
add rsp, 0x388
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_vec.capacity_____start___lenC:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rayon_1.10.0_src_vec.rs
lea r8, [0x140311c68]
mov edx, 0x2f
call fcn.14003fe40
int3