Function at 0x140010140
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, 0x338
mov ebp, edx
mov rbx, rcx
mov word [rsp + 0x24], bp
mov eax, edx
shr eax, 0x10
mov byte [rsp + 0x26], al
mov r12, qword [0x1400ff528]
movzx eax, byte [r12]
mov r13d, 0x80000
mov ecx, 0x80000
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x1400104d4
mov rsi, rax
mov qword [rsp + 0x48], 0x80000
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
xor edx, edx
lea rdi, [rsp + 0x48]
lea r15, [rsp + 0x90]
mov r14d, 0x80000
mov dword [rsp + 0x90], 0
sub r13, rdx
cmp r14, r13
jbe 0x1400101f0
nop word cs:[rax + rax]
mov rcx, rdi
mov r8, r14
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h6c2a5b235ccc591d
mov rsi, qword [rsp + 0x50]
mov ecx, 5
mov rdx, rsi
mov r8d, r14d
mov r9, r15
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14001023f
mov eax, dword [rsp + 0x90]
add r14, r14
lea ecx, [rax + 0x2800]
test eax, eax
cmovne r14, rcx
mov r13, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
mov dword [rsp + 0x90], 0
sub r13, rdx
cmp r14, r13
ja 0x1400101e0
jmp 0x1400101f0
test eax, eax
jne 0x1400104a7
mov qword [rsp + 0x58], r14
movzx eax, byte [r12]
mov ecx, 0xfa0
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400104e3
mov qword [rsp + 0x60], 0x1f4
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0
xor r14d, r14d
lea rdi, [rsp + 0x60]
xor r15d, r15d
jmp 0x1400102af
lea rax, [rsi + r15]
mov rcx, qword [rsp + 0x68]
mov qword [rcx + r14*8], rax
inc r14
mov qword [rsp + 0x70], r14
mov eax, dword [rax]
add r15, rax
test rax, rax
je 0x1400102c0
cmp r14, qword [rsp + 0x60]
jne 0x140010290
mov rcx, rdi
call sym.alloc::raw_vec::RawVec_T_A_::grow_one::h07e671dea189ffde
jmp 0x140010290
lea rdi, [rbx + 0xd8]
mov qword [rsp + 0x78], rdi
test bpl, bpl
je 0x1400102e7
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sym._ZN7sysinfo7windows3cpu11CpusWrapper14init_if_needed17hce8bd5af6151fcfeE.llvm.15403027572106761009
mov rax, qword [rbx + 0x80]
jmp 0x1400102e9
xor eax, eax
mov qword [rsp + 0x80], rax
call sym.std::time::SystemTime::now::h9c37ee1384cc613a
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], edx
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x28]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call sym.std::time::SystemTime::duration_since::h7051b7f59feaa4af
cmp qword [rsp + 0x90], 0
je 0x14001032b
xor eax, eax
jmp 0x140010333
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x24]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x90]
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 rax, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
imul r13, rcx, 0x150
add r13, r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r13
test rcx, rcx
je 0x140010495
lea rbx, [rsp + 0x1f0]
add r12, 0x150
lea r14, [rsp + 0x90]
lea r15, [rsp + 0x1e8]
jmp 0x140010433
add r12, 0x150
add rbp, 0x150
cmp rbp, r13
je 0x14001048d
mov rax, qword [r12 - 0x150]
cmp rax, 2
je 0x140010490
lea rbp, [r12 - 0x150]
mov qword [rsp + 0x1e8], rax
lea rdx, [rbp + 8]
mov r8d, 0x148
mov rcx, rbx
call sym.memcpy
mov r8, qword [rsp + 0x2c0]
mov rcx, r14
mov rdx, rdi
mov r9, r15
call sym.hashbrown::map::HashMap_K_V_S_A_::insert::h0329061161846664
cmp dword [rsp + 0x90], 2
je 0x140010420
mov rcx, r14
call fcn.14000e390
jmp 0x140010420
mov r12, r13
mov qword [rsp + 0x30], r12
lea rcx, [rsp + 0x28]
call sym.__alloc::vec::into_iter::IntoIter_T_A__as_core::ops::drop::Drop_::drop::h4f15304ccb046e8a
mov rcx, rdi
call sym.hashbrown::map::HashMap_K_V_S_A_::retain::h3a90553d239f1238
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400104bf
mov r8d, 1
mov rcx, rsi
call sym.__rust_dealloc
nop
add rsp, 0x338
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
mov edx, 0x80000
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
mov ecx, 8
mov edx, 0xfa0
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
ud2