Function at 0x140024970
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
sub rsp, 0x8f8
mov qword [rsp + 0xa0], rcx
mov ax, dx
mov word [rsp + 0xb4], ax
shr edx, 0x10
mov al, dl
mov byte [rsp + 0xb6], al
mov ax, word [rsp + 0xb4]
mov word [rsp + 0xb1], ax
mov al, byte [rsp + 0xb6]
mov byte [rsp + 0xb3], al
mov qword [rsp + 0x8b8], rcx
mov byte [rsp + 0x8b7], 0
mov byte [rsp + 0x8b6], 0
mov eax, 0x200
mov ecx, 0x400
mul rcx
mov qword [rsp + 0xa8], rax
seto al
jo 0x140024a0d
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0xc0]
call dbg.alloc::vec::Vec<T>::with_capacity::h7d6769cd1bf156c1
jmp 0x140024a19
lea rcx, [0x140156e90]
call dbg.panic_const_mul_overflow
mov dword [rsp + 0xdc], 0
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0xc0]
call dbg.alloc::vec::Vec<T,A>::reserve::h3f8bc2ee3ae5f816
jmp 0x140024a63
lea rcx, [rsp + 0xc0]
call dbg.alloc::vec::Vec<T,A>::as_mut_ptr::h243dc7669a2762ca
mov qword [rsp + 0x98], rax
jmp 0x140024a7a
mov rdx, qword [rsp + 0x98]
mov r8d, dword [rsp + 0xb8]
mov ecx, 5
lea r9, [rsp + 0xdc]
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x94], eax
jmp 0x140024aa5
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x8d4], eax
cmp eax, 0
je 0x140024ac8
mov eax, dword [rsp + 0x94]
cmp eax, 0xc0000004
je 0x140024af1
jmp 0x140024ae2
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0xc0]
call dbg.alloc::vec::Vec<T,A>::set_len::h9a2d0cac83cf7a9a
jmp 0x140024bbb
lea rcx, [rsp + 0xc0]
call dbg.drop_in_place<alloc::vec::Vec<u8, alloc::alloc::Global>>
jmp 0x140024afd
cmp dword [rsp + 0xdc], 0
je 0x140024b05
jmp 0x140024b24
add rsp, 0x8f8
ret
mov rax, qword [rsp + 0xb8]
mov ecx, 2
mul rcx
mov qword [rsp + 0x88], rax
seto al
jo 0x140024b61
jmp 0x140024b4c
mov eax, dword [rsp + 0xdc]
mov dword [rsp + 0x80], eax
mov eax, 0x400
mov ecx, 0xa
mul ecx
mov dword [rsp + 0x84], eax
seto al
jo 0x140024b8c
jmp 0x140024b71
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xb8], rax
jmp 0x140024a19
lea rcx, [0x140156ea8]
call dbg.panic_const_mul_overflow
jmp 0x140024b6f
ud2
mov ecx, dword [rsp + 0x84]
mov eax, dword [rsp + 0x80]
add eax, ecx
mov dword [rsp + 0x7c], eax
setb al
jb 0x140024bad
jmp 0x140024b9a
lea rcx, [0x140156ec0]
call dbg.panic_const_mul_overflow
jmp 0x140024b6f
mov eax, dword [rsp + 0x7c]
mov eax, eax
mov qword [rsp + 0xb8], rax
jmp 0x140024a19
lea rcx, [0x140156ed8]
call dbg.panic_const_add_overflow
jmp 0x140024b6f
lea rcx, [rsp + 0xe0]
mov edx, 0x1f4
call dbg.alloc::vec::Vec<T>::with_capacity::h820dcfdafdc5ec75
jmp 0x140024bcf
mov byte [rsp + 0x8b7], 1
mov qword [rsp + 0xf8], 0
lea rcx, [rsp + 0xc0]
call dbg.alloc::vec::Vec<T,A>::as_ptr::h47ab6e9805e5bbc4
mov qword [rsp + 0x70], rax
jmp 0x140024c20
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x8e0], rax
mov qword [rsp + 0x8e8], rcx
add rax, rcx
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x8d8], rdx
lea rcx, [rsp + 0xe0]
call dbg.alloc::vec::Vec<T,A>::push::h6982d9c576684b33
jmp 0x140024c61
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x100]
call dbg.read_unaligned<ntapi::ntexapi::SYSTEM_PROCESS_INFORMATION>
jmp 0x140024c75
cmp dword [rsp + 0x100], 0
jne 0x140024c9c
mov rax, qword [rsp + 0xa0]
add rax, 0xd8
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x8f0], rax
jmp 0x140024cbe
mov eax, dword [rsp + 0x100]
add rax, qword [rsp + 0xf8]
mov qword [rsp + 0x58], rax
seto al
jo 0x140024fe9
jmp 0x140024fd7
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x250], rax
lea rcx, [rsp + 0xb1]
call dbg.sysinfo::common::ProcessRefreshKind::cpu::hb6339d0af8d0928a
mov byte [rsp + 0x57], al
jmp 0x140024cde
mov al, byte [rsp + 0x57]
test al, 1
jne 0x140024cf6
jmp 0x140024ce8
mov qword [rsp + 0x258], 0
jmp 0x140024d0a
mov rcx, qword [rsp + 0xa0]
call dbg.sysinfo::windows::cpu::CpusWrapper::len::h45759bd9bde1699c
mov qword [rsp + 0x48], rax
jmp 0x140024d16
call dbg.get_now
mov qword [rsp + 0x40], rax
jmp 0x140024d25
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x258], rax
jmp 0x140024d0a
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x260], rax
mov byte [rsp + 0x8b7], 0
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x2e0], rax
movups xmm0, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x2d0], xmm0
lea rcx, [rsp + 0x2b8]
lea rdx, [rsp + 0x2d0]
call dbg.into_iter<alloc::vec::Vec<sysinfo::windows::system::Wrap<*const ntapi::ntexapi::SYSTEM_PROCESS_INFORMATION>, alloc::alloc::Global>>
jmp 0x140024d71
lea rax, [rsp + 0x250]
mov qword [rsp + 0x2f0], rax
lea rax, [rsp + 0xb1]
mov qword [rsp + 0x2f8], rax
lea rax, [rsp + 0x258]
mov qword [rsp + 0x300], rax
lea rax, [rsp + 0x260]
mov qword [rsp + 0x308], rax
lea rcx, [rsp + 0x280]
lea rdx, [rsp + 0x2b8]
lea r8, [rsp + 0x2f0]
call dbg.filter_map<rayon::vec::IntoIter<sysinfo::windows::system::Wrap<*const ntapi::ntexapi::SYSTEM_PROCESS_INFORMATION>>, sysinfo::windows::system::{impl#3}::refresh_processes_specifics::{closure_env#0}, sysinfo::windows::process::Process>
jmp 0x140024dd0
lea rcx, [rsp + 0x268]
lea rdx, [rsp + 0x280]
call sym.rayon::iter::ParallelIterator::collect::hd1366b5d5ca92441
jmp 0x140024de7
lea rcx, [rsp + 0x330]
lea rdx, [rsp + 0x268]
call dbg.into_iter<sysinfo::windows::process::Process, alloc::alloc::Global>
jmp 0x140024dfe
lea rcx, [rsp + 0x310]
lea rdx, [rsp + 0x330]
call dbg.into_iter<alloc::vec::into_iter::IntoIter<sysinfo::windows::process::Process, alloc::alloc::Global>>
jmp 0x140024e15
mov rax, qword [rsp + 0x310]
mov qword [rsp + 0x350], rax
mov rax, qword [rsp + 0x318]
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x320]
mov qword [rsp + 0x360], rax
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0x368], rax
lea rcx, [rsp + 0x370]
lea rdx, [rsp + 0x350]
call dbg.next<sysinfo::windows::process::Process, alloc::alloc::Global>
jmp 0x140024e94
mov eax, 1
xor ecx, ecx
cmp qword [rsp + 0x370], 2
cmove rax, rcx
cmp rax, 0
jne 0x140024ebd
lea rcx, [rsp + 0x350]
call dbg.drop_in_place<alloc::vec::into_iter::IntoIter<sysinfo::windows::process::Process, alloc::alloc::Global>>
jmp 0x140024f09
mov byte [rsp + 0x8b6], 1
lea rcx, [rsp + 0x4c0]
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x370]
mov r8d, 0x150
call sym.memcpy
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0xa0]
add rax, 0xd8
mov qword [rsp + 0x30], rax
call dbg.pid
mov qword [rsp + 0x38], rax
jmp 0x140024f5e
mov rcx, qword [rsp + 0xa0]
add rcx, 0xd8
call dbg.std::collections::hash::map::HashMap<K,V,S>::retain::h7f0fc2deda82143a
jmp 0x140024f1f
mov byte [rsp + 0x8b7], 0
lea rcx, [rsp + 0xc0]
call dbg.drop_in_place<alloc::vec::Vec<u8, alloc::alloc::Global>>
jmp 0x140024afd
mov byte [rsp + 0x8b6], 0
lea rcx, [rsp + 0x760]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x4c0]
mov r8d, 0x150
call sym.memcpy
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov r9, qword [rsp + 0x20]
lea rcx, [rsp + 0x610]
call dbg.std::collections::hash::map::HashMap<K,V,S>::insert::h5dea80c88f5c8021
jmp 0x140024fa4
lea rcx, [rsp + 0x610]
call dbg.drop_in_place<core::option::Option<sysinfo::windows::process::Process>>
jmp 0x140024fb3
mov byte [rsp + 0x8b6], 0
jmp 0x140024e55
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xf8], rax
jmp 0x140024be3
lea rcx, [0x140156ef0]
call dbg.panic_const_add_overflow
jmp 0x140024b6f