Function at 0x1400c8282
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, 0x3a8
mov esi, edx
mov rbx, rcx
mov word [rsp + 0x44], si
mov eax, edx
shr eax, 0x10
mov byte [rsp + 0x46], al
mov r14d, 0x80000
mov ecx, 0x80000
mov edx, 1
mov r8d, 1
call fcn.1400c7a13
lea r15, [rsp + 0xb8]
mov qword [r15], rax
mov qword [r15 + 8], rdx
and qword [r15 + 0x10], 0
lea r12, [rsp + 0x100]
and dword [rsp + 0x100], 0
mov rcx, r15
mov rdx, r14
call fcn.14003ca9d
mov rdi, qword [rsp + 0xc0]
mov ecx, 5
mov rdx, rdi
mov r8d, r14d
mov r9, r12
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x1400c832c
mov eax, dword [rsp + 0x100]
add r14, r14
lea ecx, [rax + 0x2800]
test eax, eax
cmovne r14, rcx
jmp 0x1400c82df
test eax, eax
jne 0x1400c83ca
mov qword [rsp + 0xc8], r14
mov ecx, 0x1f4
mov edx, 8
mov r8d, 8
call fcn.1400c7a13
lea r14, [rsp + 0xa0]
mov qword [r14], rax
mov qword [r14 + 8], rdx
and qword [r14 + 0x10], 0
xor r15d, r15d
xor r12d, r12d
cmp r15, qword [rsp + 0xa0]
jne 0x1400c8385
mov rcx, r14
call fcn.140096c3c
mov rdx, qword [rsp + 0xa8]
lea rax, [rdi + r12]
mov qword [rdx + r15*8], rax
inc r15
mov qword [rsp + 0xb0], r15
mov eax, dword [rax]
add r12, rax
test rax, rax
jne 0x1400c836b
lea r14, [rbx + 0xd8]
mov qword [rsp + 0xf0], r14
test sil, 1
je 0x1400c83da
mov rcx, rbx
xor edx, edx
call fcn.1400ca823
mov rax, qword [rbx + 0x80]
jmp 0x1400c83dc
mov rcx, qword [rsp + 0xb8]
mov rdx, rdi
jmp 0x1400c898e
xor eax, eax
mov qword [rsp + 0xf8], rax
call fcn.1400c3760
mov r8d, edx
lea rsi, [rsp + 0x100]
mov rcx, rsi
mov edx, eax
call fcn.1400c3790
cmp byte [rsi], 0
jne 0x1400c840d
mov rax, qword [rsp + 0x108]
jmp 0x1400c840f
xor eax, eax
lea rcx, [rsp + 0x250]
mov qword [rcx], rax
mov rdi, qword [rsp + 0xb0]
mov qword [rsp + 0x110], rdi
movups xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x100], xmm0
and qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 8
and qword [rsp + 0x58], 0
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x130], rcx
movdqu xmm0, xmmword [rsp + 0xa0]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x60], rax
and qword [rsp + 0x68], 0
movdqa xmmword [rax], xmm0
and qword [rax + 0x10], 0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
cmp qword [rax], rdi
jb 0x1400c89a8
mov rsi, qword [rsp + 0x88]
mov rcx, rdi
call fcn.1400cbcd4
lea rcx, [rsp + 0x118]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 1
lea rsi, [rsp + 0xd0]
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
mov r9, rax
call fcn.1400cbd3a
lea rcx, [rsp + 0x60]
call fcn.1400d0297
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
call fcn.14008a681
xor edx, edx
mov rax, qword [rsp + 0xe0]
sub rax, 1
jb 0x1400c8546
mov rsi, qword [rsi]
test rsi, rsi
je 0x1400c8546
add rdx, qword [rsi + 0x10]
add rsi, 0x18
jmp 0x1400c852e
lea rcx, [rsp + 0x48]
call fcn.1400ca0cc
movdqu xmm0, xmmword [rsp + 0xd0]
lea rbp, [rsp + 0x68]
movdqa xmmword [rbp - 8], xmm0
mov r13, qword [rsp + 0xe0]
mov qword [rbp + 8], r13
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400c863b
mov r15, qword [rcx + 0x18]
lea rax, [r15 + 0x20]
test r15, r15
cmove rax, rbp
and qword [rax], 0
mov rdi, qword [rcx]
movdqu xmm0, xmmword [rcx + 8]
movdqa xmmword [rsp + 0x80], xmm0
call fcn.1400626a4
movabs rax, 0x8000000000000000
dec r13
cmp rdi, rax
je 0x1400c863e
mov qword [rsp + 0x100], rdi
movdqa xmm0, xmmword [rsp + 0x80]
lea rax, [rsp + 0x108]
movdqu xmmword [rax], xmm0
mov r12, qword [rsp + 0x108]
mov rdi, qword [rsp + 0x110]
lea rcx, [rsp + 0x48]
mov rdx, rdi
call fcn.1400ca0cc
mov rsi, qword [rsp + 0x58]
imul rcx, rsi, 0x150
add rcx, qword [rsp + 0x50]
imul r8, rdi, 0x150
mov rdx, r12
call sub.msvcrt.dll_memcpy
add rsi, rdi
mov qword [rsp + 0x58], rsi
and qword [rsp + 0x110], 0
lea rcx, [rsp + 0x100]
call fcn.1400ca186
mov rcx, r15
jmp 0x1400c8573
xor r15d, r15d
lea rcx, [rsp + 0x60]
mov qword [rcx], r15
mov qword [rcx + 0x10], r13
call fcn.1400d046f
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
imul rax, qword [rsp + 0x58], 0x150
add rax, rdx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
lea rcx, [rbx + 0xf8]
mov qword [rsp + 0xe8], rcx
lea r13, [rsp + 0x80]
lea rbp, [rsp + 0x258]
cmp rdx, rax
je 0x1400c88d2
lea rax, [rdx + 0x150]
mov qword [rsp + 0x68], rax
mov r15, qword [rdx]
cmp r15, 2
je 0x1400c88d2
lea rsi, [rdx + 0xe0]
mov r12, qword [rdx + 0xd8]
add rdx, 8
mov r8d, 0xd0
lea rcx, [rsp + 0x260]
call sub.msvcrt.dll_memcpy
mov ecx, 0xe
lea rdi, [rsp + 0x338]
rep movsq qword [rdi], qword [rsi]
mov qword [rsp + 0x258], r15
mov qword [rsp + 0x330], r12
mov qword [rsp + 0x48], r12
mov rcx, qword [rbx + 0xf8]
mov rdx, qword [rbx + 0x100]
mov r8, r12
call fcn.1400cb32e
mov rsi, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0xd0], rax
cmp qword [rbx + 0xe8], 0
jne 0x1400c8744
mov rcx, r14
mov rdx, qword [rsp + 0xe8]
call fcn.1400c9326
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], r14
mov rcx, qword [rbx + 0xd8]
mov rdx, qword [rbx + 0xe0]
lea rax, [0x1400d1a2d]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov r9, r13
call fcn.1400d18d7
mov rcx, qword [r14]
test rax, rax
je 0x1400c87e8
mov rax, qword [rsp + 0x48]
movzx r8d, byte [rcx + rdx]
and r8d, 1
sub qword [rbx + 0xe8], r8
shr rsi, 0x39
lea r8, [rdx - 0x10]
and r8, qword [rbx + 0xe0]
mov byte [rcx + rdx], sil
mov byte [rcx + r8 + 0x10], sil
inc qword [rbx + 0xf0]
neg rdx
imul rdx, rdx, 0x158
add rcx, rdx
add rcx, 0xfffffffffffffeb0
mov qword [rcx - 8], rax
mov r8d, 0x150
mov rdx, rbp
call sub.msvcrt.dll_memcpy
jmp 0x1400c88c3
neg rdx
imul rax, rdx, 0x158
lea rsi, [rcx + rax]
add rsi, 0xfffffffffffffeb0
mov r8d, 0x150
lea rcx, [rsp + 0x100]
mov rdx, rsi
call sub.msvcrt.dll_memcpy
mov r8d, 0x150
mov rcx, rsi
mov rdx, rbp
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x100], 2
je 0x1400c88c3
mov rcx, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x118]
call fcn.1400969d8
lea rcx, [rsp + 0x128]
call fcn.1400c7192
mov rcx, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x148]
call fcn.1400969d8
mov rcx, qword [rsp + 0x1b8]
mov rdx, qword [rsp + 0x1c0]
call fcn.140037423
lea rcx, [rsp + 0x160]
call fcn.1400c7192
mov rcx, qword [rsp + 0x178]
mov rdx, qword [rsp + 0x180]
call fcn.1400969d8
mov rcx, qword [rsp + 0x198]
mov rdx, qword [rsp + 0x1a0]
call fcn.1400969d8
lea rcx, [rsp + 0x1f0]
call fcn.1400c8ca3
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
jmp 0x1400c8698
lea rcx, [rsp + 0x60]
call fcn.1400d1629
mov rax, qword [rbx + 0xd8]
mov rcx, qword [rbx + 0xe0]
add rcx, rax
inc rcx
movdqa xmm0, xmmword [rax]
pmovmskb edx, xmm0
not edx
lea rsi, [rsp + 0x100]
mov word [rsi + 0x18], dx
mov qword [rsi], rax
add rax, 0x10
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
mov r15, qword [rbx + 0xf0]
mov qword [rsi + 0x20], r15
mov ebx, 0x158
test r15, r15
je 0x1400c897e
mov rcx, rsi
call fcn.1400c8f3a
mov r15, qword [rsp + 0x120]
dec r15
mov qword [rsp + 0x120], r15
test rax, rax
je 0x1400c897e
mov rdi, rax
cmp byte [rax - 4], 0
mov byte [rax - 4], 0
jne 0x1400c8925
mov rax, qword [r14]
sub rax, rdi
cqo
idiv rbx
mov rcx, r14
mov rdx, rax
call fcn.1400c9274
add rdi, 0xfffffffffffffea8
mov rcx, rdi
call fcn.1400c8f8b
jmp 0x1400c8925
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
call fcn.1400969d8
nop
add rsp, 0x3a8
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___len_home_ghost_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_1.10.0_src_vec.rs
lea r8, [0x14010b2a8]
mov edx, 0x2f
call fcn.14002b9a0
ud2