Function at 0x14001c810
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 [0x140109d88]
movzx eax, byte [r12]
mov r13d, 0x80000
mov ecx, 0x80000
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x14001cba4
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 r13, r14
jae 0x14001c8c0
nop word cs:[rax + rax]
mov rcx, rdi
mov r8, r14
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h08b630a79034b96b
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 0x14001c90f
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 r13, r14
jb 0x14001c8b0
jmp 0x14001c8c0
test eax, eax
jne 0x14001cb77
mov qword [rsp + 0x58], r14
movzx eax, byte [r12]
mov ecx, 0xfa0
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14001cbb3
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 0x14001c97f
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 0x14001c990
cmp r14, qword [rsp + 0x60]
jne 0x14001c960
mov rcx, rdi
call sym.alloc::raw_vec::RawVec_T_A_::grow_one::h9c38330f264b3f50
jmp 0x14001c960
lea rdi, [rbx + 0xd8]
mov qword [rsp + 0x78], rdi
test bpl, bpl
je 0x14001c9b7
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sym._ZN7sysinfo7windows3cpu11CpusWrapper14init_if_needed17hccdd97472a48b12fE.llvm.7629762632545064350
mov rax, qword [rbx + 0x80]
jmp 0x14001c9b9
xor eax, eax
mov qword [rsp + 0x80], rax
call sym.std::time::SystemTime::now::ha3160d3a407323f4
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::hcca90d8d50a9f071
cmp qword [rsp + 0x90], 0
je 0x14001c9fb
xor eax, eax
jmp 0x14001ca03
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 0x14001cb65
lea rbx, [rsp + 0x1f0]
add r12, 0x150
lea r14, [rsp + 0x90]
lea r15, [rsp + 0x1e8]
jmp 0x14001cb03
add r12, 0x150
add rbp, 0x150
cmp rbp, r13
je 0x14001cb5d
mov rax, qword [r12 - 0x150]
cmp rax, 2
je 0x14001cb60
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::hb9ca8d697376512d
cmp dword [rsp + 0x90], 2
je 0x14001caf0
mov rcx, r14
call fcn.14001a7a0
jmp 0x14001caf0
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::h37e41cd3017a2bc4
mov rcx, rdi
call sym.hashbrown::map::HashMap_K_V_S_A_::retain::hdd56b74f4a0d7ef3
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14001cb8f
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::h5313441c9bd13595
mov ecx, 8
mov edx, 0xfa0
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
ud2