Function at 0x140028ce0
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, 0x348
mov ebp, edx
mov rbx, rcx
mov word [rsp + 0x2c], bp
mov eax, edx
shr eax, 0x10
mov byte [rsp + 0x2e], al
mov r12, qword [0x14037ba78]
movzx eax, byte [r12]
mov r13d, 0x80000
mov ecx, 0x80000
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x1400290b9
mov rsi, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0x80000
mov qword [rsp + 0x58], 0
xor edx, edx
lea rdi, [rsp + 0x48]
lea r15, [rsp + 0xa0]
mov r14d, 0x80000
mov dword [rsp + 0xa0], 0
sub r13, rdx
cmp r13, r14
jae 0x140028d90
nop word cs:[rax + rax]
mov rcx, rdi
mov r8, r14
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hcfdbfb9f3a7b9ef4
mov rsi, qword [rsp + 0x48]
mov ecx, 5
mov rdx, rsi
mov r8d, r14d
mov r9, r15
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140028ddf
mov eax, dword [rsp + 0xa0]
add r14, r14
lea ecx, [rax + 0x2800]
test eax, eax
cmovne r14, rcx
mov r13, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov dword [rsp + 0xa0], 0
sub r13, rdx
cmp r13, r14
jb 0x140028d80
jmp 0x140028d90
test eax, eax
jne 0x14002908c
mov qword [rsp + 0x58], r14
movzx eax, byte [r12]
mov ecx, 0xfa0
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400290ca
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x1f4
mov qword [rsp + 0x40], 0
xor edx, edx
lea rdi, [rsp + 0x30]
xor r14d, r14d
jmp 0x140028e54
lea rax, [rsi + r14]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + rdx*8], rax
mov rdx, qword [rsp + 0x40]
inc rdx
mov qword [rsp + 0x40], rdx
mov eax, dword [rax]
add r14, rax
test rax, rax
je 0x140028e6a
cmp rdx, qword [rsp + 0x38]
jne 0x140028e30
mov rcx, rdi
call sym.alloc::raw_vec::RawVec_T_A_::reserve_for_push::h075d24a2fc5e75c0
mov rdx, qword [rsp + 0x40]
jmp 0x140028e30
lea rax, [rbx + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
test bpl, bpl
je 0x140028e97
lea rcx, [rbx + 0x110]
xor edx, edx
xor r8d, r8d
call sym._ZN7sysinfo7windows3cpu11CpusWrapper14init_if_needed17h0a634a5da5f4fd22E.llvm.18403755468664683918
mov rax, qword [rbx + 0x190]
jmp 0x140028e99
xor eax, eax
mov qword [rsp + 0x70], rax
call sym.std::time::SystemTime::now::h4ccbf124a4258c50
mov dword [rsp + 0x1f8], eax
mov dword [rsp + 0x1fc], edx
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x1f8]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call sym.std::time::SystemTime::duration_since::hbbc5441ea3523d38
cmp qword [rsp + 0xa0], 0
je 0x140028ee1
xor eax, eax
jmp 0x140028ee9
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb0], rax
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0x1f8], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x200], xmm0
lea rax, [rsp + 0x68]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x2c]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x1f8]
lea rdx, [rsp + 0xa0]
call sym._ZN5rayon4iter6extend91__LT_impl_u20_rayon..iter..ParallelExtend_LT_T_GT__u20_for_u20_alloc..vec..Vec_LT_T_GT__GT_10par_extend
mov rbx, qword [rsp + 0x1f8]
mov rax, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x208]
imul r14, rcx, 0x150
lea rdx, [rbx + r14]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rdx
test rcx, rcx
je 0x140029075
add rbx, 0x150
lea r15, [rsp + 0x1f8]
lea r12, [rsp + 0xa0]
jmp 0x140028fe4
add rbx, 0x150
add r14, 0xfffffffffffffeb0
je 0x140029075
mov qword [rsp + 0x90], rbx
mov rdi, qword [rbx - 0x150]
cmp rdi, 2
je 0x140029075
lea r13, [rbx - 0x88]
mov rbp, qword [rbx - 0x90]
lea rdx, [rbx - 0x148]
mov r8d, 0xb8
lea rcx, [rsp + 0xa8]
call sym.memcpy
mov r8d, 0x88
lea rcx, [rsp + 0x168]
mov rdx, r13
call sym.memcpy
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x160], rbp
mov rcx, r15
mov rdx, qword [rsp + 0x60]
mov r8, rbp
mov r9, r12
call sym.hashbrown::map::HashMap_K_V_S_A_::insert::h8336f9496714e091
cmp dword [rsp + 0x1f8], 2
je 0x140028fd0
mov rcx, r15
call fcn.140026c60
jmp 0x140028fd0
lea rcx, [rsp + 0x80]
call sym.__alloc::vec::into_iter::IntoIter_T_A__as_core::ops::drop::Drop_::drop::h20f3dd1b23b42fb8
mov rcx, qword [rsp + 0x60]
call sym.hashbrown::map::HashMap_K_V_S_A_::retain::hd4e60cb615aea1a5
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x1400290a4
mov r8d, 1
mov rcx, rsi
call sym.__rust_dealloc
nop
add rsp, 0x348
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
mov edx, 0x80000
call dbg.handle_alloc_error
ud2
mov ecx, 8
mov edx, 0xfa0
call dbg.handle_alloc_error
ud2