Function at 0x140037a10
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, 0x358
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 [0x140166748]
movzx eax, byte [r12]
mov r13d, 0x80000
mov ecx, 0x80000
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x140037e16
mov rsi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x80000
mov qword [rsp + 0x50], 0
xor edx, edx
lea rdi, [rsp + 0x40]
lea r15, [rsp + 0xb0]
mov r14d, 0x80000
mov dword [rsp + 0xb0], 0
sub r13, rdx
cmp r13, r14
jae 0x140037ac0
nop word cs:[rax + rax]
mov rcx, rdi
mov r8, r14
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hfab123b8e59ad310
mov rsi, qword [rsp + 0x40]
mov ecx, 5
mov rdx, rsi
mov r8d, r14d
mov r9, r15
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140037b0f
mov eax, dword [rsp + 0xb0]
add r14, r14
lea ecx, [rax + 0x2800]
test eax, eax
cmovne r14, rcx
mov r13, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov dword [rsp + 0xb0], 0
sub r13, rdx
cmp r13, r14
jb 0x140037ab0
jmp 0x140037ac0
test eax, eax
jne 0x140037de9
mov qword [rsp + 0x50], r14
movzx eax, byte [r12]
mov ecx, 0xfa0
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140037e27
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x1f4
mov qword [rsp + 0x38], 0
xor edx, edx
lea rdi, [rsp + 0x28]
xor r14d, r14d
jmp 0x140037b84
lea rax, [rsi + r14]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + rdx*8], rax
mov rdx, qword [rsp + 0x38]
inc rdx
mov qword [rsp + 0x38], rdx
mov eax, dword [rax]
add r14, rax
test rax, rax
je 0x140037b9a
cmp rdx, qword [rsp + 0x30]
jne 0x140037b60
mov rcx, rdi
call sym.alloc::raw_vec::RawVec_T_A_::reserve_for_push::h728382a68432c97a
mov rdx, qword [rsp + 0x38]
jmp 0x140037b60
lea rax, [rbx + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x98], rax
test bpl, bpl
je 0x140037bca
lea rcx, [rbx + 0x110]
xor edx, edx
xor r8d, r8d
call sym._ZN7sysinfo7windows3cpu11CpusWrapper14init_if_needed17h5094cbadc32f48f1E.llvm.2242015256939113614
mov rax, qword [rbx + 0x190]
jmp 0x140037bcc
xor eax, eax
mov qword [rsp + 0xa0], rax
call sym.std::time::SystemTime::now::h4ccbf124a4258c50
mov dword [rsp + 0x200], eax
mov dword [rsp + 0x204], edx
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x200]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call sym.std::time::SystemTime::duration_since::hbbc5441ea3523d38
cmp qword [rsp + 0xb0], 0
je 0x140037c17
xor eax, eax
jmp 0x140037c1f
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x60], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov r9, qword [rsp + 0x38]
mov qword [rsp + 0xc0], r9
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rsp + 0xb0], xmm0
lea r8, [rsp + 0xc8]
lea rax, [rsp + 0x98]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x24]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xe0], rax
movaps xmmword [rsp + 0x200], xmm0
mov qword [rsp + 0x210], r9
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x200]
call sym.__rayon::vec::IntoIter_T__as_rayon::iter::IndexedParallelIterator_::with_producer::hab2f7bb5be0c7876
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x78]
call sym.rayon::iter::extend::vec_append::h57d3d598c8957a95
mov rdi, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
imul rbx, rcx, 0x150
lea rdx, [rdi + rbx]
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], rdx
test rcx, rcx
je 0x140037dd5
add rdi, 0x150
lea r15, [rsp + 0x200]
lea r12, [rsp + 0xb0]
jmp 0x140037d44
add rdi, 0x150
add rbx, 0xfffffffffffffeb0
je 0x140037dd5
mov qword [rsp + 0x88], rdi
mov r14, qword [rdi - 0x150]
cmp r14, 2
je 0x140037dd5
lea r13, [rdi - 0x88]
mov rbp, qword [rdi - 0x90]
lea rdx, [rdi - 0x148]
mov r8d, 0xb8
lea rcx, [rsp + 0xb8]
call sym.memcpy
mov r8d, 0x88
lea rcx, [rsp + 0x178]
mov rdx, r13
call sym.memcpy
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0x170], rbp
mov rcx, r15
mov rdx, qword [rsp + 0x58]
mov r8, rbp
mov r9, r12
call sym.hashbrown::map::HashMap_K_V_S_A_::insert::h18b01e6792d2e263
cmp dword [rsp + 0x200], 2
je 0x140037d30
mov rcx, r15
call fcn.140035a30
jmp 0x140037d30
lea rcx, [rsp + 0x78]
call sym.__alloc::vec::into_iter::IntoIter_T_A__as_core::ops::drop::Drop_::drop::ha729b1b2d474295a
mov rcx, qword [rsp + 0x58]
call sym.hashbrown::map::HashMap_K_V_S_A_::retain::h07c8213ac01f6377
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140037e01
mov r8d, 1
mov rcx, rsi
call sym.__rust_dealloc
nop
add rsp, 0x358
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