Function at 0x1402a2e21
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, 0x398
mov ebx, edx
mov qword [rsp + 0x50], rcx
mov word [rsp + 0x4c], bx
mov eax, edx
shr eax, 0x10
mov byte [rsp + 0x4e], al
mov r14d, 0x80000
mov ecx, 0x80000
xor edx, edx
call fcn.14012debe
lea r15, [rsp + 0xd0]
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.14013a606
mov rdi, qword [rsp + 0xd0]
mov ecx, 5
mov rdx, rdi
mov r8d, r14d
mov r9, r12
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x1402a2ec4
mov eax, dword [rsp + 0x100]
add r14, r14
lea ecx, [rax + 0x2800]
test eax, eax
cmovne r14, rcx
jmp 0x1402a2e77
test eax, eax
jne 0x1402a2f76
mov qword [rsp + 0xe0], r14
mov ecx, 8
mov edx, 0xfa0
call fcn.1400adeb4
test rax, rax
je 0x1402a3504
lea r14, [rsp + 0x78]
mov qword [r14], rax
mov qword [r14 + 8], 0x1f4
and qword [r14 + 0x10], 0
xor edx, edx
xor r15d, r15d
cmp rdx, qword [rsp + 0x80]
jne 0x1402a2f25
mov rcx, r14
call fcn.14022625f
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x88]
lea rcx, [rdi + r15]
mov qword [rax + rdx*8], rcx
mov rdx, qword [rsp + 0x88]
inc rdx
mov qword [rsp + 0x88], rdx
mov ecx, dword [rcx]
add r15, rcx
test rcx, rcx
jne 0x1402a2f06
mov rsi, qword [rsp + 0x50]
lea rdi, [rsi + 0x40]
mov qword [rsp + 0xe8], rdi
test bl, bl
je 0x1402a2f86
lea rcx, [rsi + 0x110]
xor edx, edx
call fcn.1402a36da
mov rax, qword [rsi + 0x190]
jmp 0x1402a2f88
mov rdx, qword [rsp + 0xd8]
mov rcx, rdi
jmp 0x1402a34ea
xor eax, eax
mov qword [rsp + 0xf0], rax
call fcn.140297910
mov eax, eax
shl rdx, 0x20
or rdx, rax
movabs rax, 0x19db1ded53e8000
cmp rdx, rax
mov qword [rsp + 0x58], rdi
jge 0x1402a2fb6
xor eax, eax
jmp 0x1402a2fd0
movabs rax, 0xfe624e212ac18000
add rdx, rax
mov ecx, 0x989680
mov rax, rdx
xor edx, edx
div rcx
lea rcx, [rsp + 0xf8]
mov qword [rcx], rax
mov r15, qword [rsp + 0x88]
mov qword [rsp + 0x110], r15
vmovdqu xmm0, xmmword [rsp + 0x78]
vmovdqa xmmword [rsp + 0x100], xmm0
mov qword [rsp + 0x60], 8
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x68], xmm0
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x130], rcx
mov r14, qword [rsp + 0x108]
cmp r14, r15
jb 0x1402a3515
lea rbx, [rsp + 0x118]
mov r12, qword [rbx - 0x18]
mov rcx, r15
call fcn.1402a0bf6
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], 1
lea rbx, [rsp + 0x258]
mov rcx, rbx
mov rdx, r15
xor r8d, r8d
mov r9, rax
call fcn.14029d193
test r14, r14
je 0x1402a30b1
shl r14, 3
mov edx, 8
mov rcx, r12
mov r8, r14
call fcn.140031eef
mov rax, qword [rsp + 0x268]
xor edx, edx
sub rax, 1
jb 0x1402a30d3
mov rbx, qword [rbx]
test rbx, rbx
je 0x1402a30d3
add rdx, qword [rbx + 0x10]
add rbx, 0x18
jmp 0x1402a30bb
lea rcx, [rsp + 0x60]
call fcn.1402a0f8a
mov rax, qword [rsp + 0x268]
lea r14, [rsp + 0x2e0]
mov qword [r14 + 0x10], rax
vmovdqu xmm0, xmmword [rsp + 0x258]
vmovdqa xmmword [r14], xmm0
lea r13, [rsp + 0x108]
lea r15, [rsp + 0x100]
mov rcx, r14
call fcn.14029d165
test rax, rax
je 0x1402a31a8
mov rbx, qword [rax]
vmovdqu xmm0, xmmword [rax + 8]
vmovdqa xmmword [rsp + 0x90], xmm0
mov rcx, rax
call fcn.140192edd
test rbx, rbx
je 0x1402a31a8
mov qword [rsp + 0x100], rbx
vmovdqa xmm0, xmmword [rsp + 0x90]
vmovdqu xmmword [r13], xmm0
mov r12, qword [rsp + 0x110]
lea rcx, [rsp + 0x60]
mov rdx, r12
call fcn.1402a0f8a
mov rbp, qword [rsp + 0x70]
imul rcx, rbp, 0x150
add rcx, qword [rsp + 0x60]
imul r8, r12, 0x150
mov rdx, rbx
call sub.msvcrt.dll_memcpy
add rbp, r12
mov qword [rsp + 0x70], rbp
and qword [rsp + 0x110], 0
mov rcx, r15
call fcn.14029c7af
jmp 0x1402a310f
lea rcx, [rsp + 0x2e0]
call fcn.14029d133
mov r13, qword [rsp + 0x60]
imul rcx, qword [rsp + 0x70], 0x150
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xb8], rax
lea rax, [rcx + r13]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x50]
add rax, 0x60
mov qword [rsp + 0xa8], rax
lea rsi, [rsp + 0x258]
lea r14, [rsp + 0x100]
mov qword [rsp + 0xc0], r13
test rcx, rcx
je 0x1402a3419
mov rbp, qword [r13]
cmp rbp, 2
je 0x1402a3412
mov qword [rsp + 0xc8], rcx
lea rbx, [r13 + 0xc8]
mov r12, qword [r13 + 0xc0]
lea rdx, [r13 + 8]
mov r8d, 0xb8
lea rcx, [rsp + 0x2e0]
call sub.msvcrt.dll_memcpy
mov r8d, 0x88
mov rcx, rsi
mov rdx, rbx
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x90], r12
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x60]
mov rdx, qword [rdi + 0x68]
mov r8, r12
call fcn.14029f6f1
mov rbx, rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x60], rax
cmp qword [rdi + 0x50], 0
je 0x1402a33fb
lea rax, [rsp + 0x60]
mov qword [rsp + 0x100], rax
mov r15, qword [rsp + 0x58]
mov qword [rsp + 0x108], r15
mov rcx, qword [rdi + 0x40]
mov rdx, qword [rdi + 0x48]
lea rax, [0x1402a1ec5]
mov qword [rsp + 0x20], rax
mov r8, rbx
mov r9, r14
call fcn.140061df8
test rax, rax
je 0x1402a335d
mov r15, qword [rdi + 0x40]
movzx eax, byte [r15 + rdx]
and eax, 1
sub qword [rdi + 0x50], rax
mov rax, qword [rsp + 0x90]
shr rbx, 0x39
lea rcx, [rdx - 0x10]
and rcx, qword [rdi + 0x48]
mov byte [r15 + rdx], bl
mov byte [rcx + r15 + 0x10], bl
inc qword [rdi + 0x58]
neg rdx
imul rdi, rdx, 0x158
lea rbx, [r15 + rdi]
add rbx, 0xfffffffffffffeb8
mov qword [rbx - 0x10], rax
mov qword [rbx - 8], rbp
mov r8d, 0xb8
mov rcx, rbx
lea rdx, [rsp + 0x2e0]
call sub.msvcrt.dll_memcpy
mov qword [rbx + 0xb8], r12
lea rcx, [r15 + rdi]
add rcx, 0xffffffffffffff78
mov r8d, 0x88
mov rdx, rsi
call sub.msvcrt.dll_memcpy
jmp 0x1402a33e0
mov rdi, r15
mov rdi, qword [r15]
neg rdx
imul r15, rdx, 0x158
lea rbx, [rdi + r15]
add rbx, 0xfffffffffffffeb0
mov r8d, 0x150
mov rcx, r14
mov rdx, rbx
call sub.msvcrt.dll_memcpy
mov qword [rbx], rbp
lea rbx, [rdi + r15]
add rbx, 0xfffffffffffffeb8
mov r8d, 0xb8
mov rcx, rbx
lea rdx, [rsp + 0x2e0]
call sub.msvcrt.dll_memcpy
mov qword [rbx + 0xb8], r12
lea rcx, [rdi + r15]
add rcx, 0xffffffffffffff78
mov r8d, 0x88
mov rdx, rsi
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x100], 2
je 0x1402a33e0
mov rcx, r14
call fcn.14029c81a
add r13, 0x150
mov rcx, qword [rsp + 0xc8]
add rcx, 0xfffffffffffffeb0
jmp 0x1402a3205
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xa8]
call fcn.1402a1eeb
jmp 0x1402a3292
add r13, 0x150
mov rax, qword [rsp + 0xb0]
sub rax, r13
mov ecx, 0x150
xor edx, edx
div rcx
mov rcx, r13
mov rdx, rax
call fcn.14029c7f0
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
call fcn.14029c7d9
mov r8, qword [rsp + 0x50]
mov rax, qword [r8 + 0x40]
mov rcx, qword [r8 + 0x48]
add rcx, rax
inc rcx
vmovdqa xmm0, xmmword [rax]
vpmovmskb edx, xmm0
not edx
mov r8, qword [r8 + 0x58]
lea rsi, [rsp + 0x100]
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], r8
mov r14d, 0x158
mov rdi, qword [rsp + 0x58]
mov rcx, rsi
call fcn.1402a1513
test rax, rax
je 0x1402a34da
mov rbx, rax
cmp byte [rax - 4], 0
mov byte [rax - 4], 0
jne 0x1402a3499
mov rax, qword [rdi]
sub rax, rbx
cqo
idiv r14
mov rcx, rdi
mov rdx, rax
call fcn.1401b079a
add rbx, 0xfffffffffffffeb0
mov rcx, rbx
call fcn.14029c81a
jmp 0x1402a3499
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
call fcn.1400d33bf
nop
add rsp, 0x398
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0xfa0
call fcn.1400a9a20
ud2
lea rcx, str.assertion_failed:_vec.capacity_____start___len_root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_1.8.0_src_vec.rs
lea r8, [0x1405c0928]
mov edx, 0x2f
call fcn.1400b45f0
ud2