Function at 0x409f90
Capabilities:
Get disk size
Get memory capacity

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x348
movaps xmmword [rsp + 0x330], xmm6
mov rdi, rdx
mov rsi, rcx
xor ecx, ecx
call dbg.__getit
test rax, rax
je 0x40a6a6
movups xmm6, xmmword [rax]
inc qword [rax]
lea rcx, [rsp + 0x190]
mov edx, 0x1f4
mov r8b, 1
call sym.hashbrown::raw::RawTable_T_A_::fallible_with_capacity::hdafbc0d3f4754e53
movups xmm0, xmmword [rsp + 0x190]
movups xmm1, xmmword [rsp + 0x1a0]
movaps xmmword [rsp + 0x170], xmm1
movaps xmmword [rsp + 0x160], xmm0
movaps xmmword [rsp + 0x180], xmm6
mov rbx, qword [0x005757d8]
movzx eax, byte [rbx]
mov ecx, 9
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x40a6d4
movzx ecx, byte [0x005421f8]
mov byte [rax + 8], cl
mov rcx, qword [str.Total_CPUIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64_root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.2_src_windows_cpu.rs]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 9
mov qword [rsp + 0x40], 9
mov qword [rsp + 0x48], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 1
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 8
movups xmmword [rsp + 0xa8], xmm0
mov byte [rsp + 0xb8], 0
mov qword [rsp + 0xd8], 8
movups xmmword [rsp + 0xe0], xmm0
movzx eax, byte [rbx]
mov ecx, 0x120
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x40a6e5
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], 2
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xf0], 0
xor ecx, ecx
call dbg.__getit
test rax, rax
je 0x40a6f6
lea rcx, [0x00543970]
mov qword [rsp + 0x130], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x138], xmm0
mov qword [rsp + 0x148], 0
movups xmm0, xmmword [rax]
inc qword [rax]
movups xmmword [rsp + 0x150], xmm0
call sym.std::time::SystemTime::now::h917c4859312cb920
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], edx
lea rcx, [rsp + 0x190]
lea rdx, [rsp + 0x28]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call sym.std::time::SystemTime::duration_since::h0568ea37f582335e
cmp qword [rsp + 0x190], 0
je 0x40a182
xor ebx, ebx
jmp 0x40a1ad
mov r14, qword [rsp + 0x198]
call sub.KERNEL32.dll_GetTickCount64
shr rax, 3
movabs rcx, 0x20c49ba5e353f7cf
mul rcx
shr rdx, 4
xor ebx, ebx
sub r14, rdx
cmovae rbx, r14
movaps xmm0, xmmword [rsp + 0x160]
movaps xmm1, xmmword [rsp + 0x170]
movaps xmm2, xmmword [rsp + 0x180]
movaps xmmword [rsp + 0x1d0], xmm0
movaps xmmword [rsp + 0x1e0], xmm1
movaps xmmword [rsp + 0x1f0], xmm2
lea rcx, [rsp + 0x2a0]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x230], xmm6
movaps xmmword [rsp + 0x240], xmm6
lea rdx, [rsp + 0x30]
mov r8d, 0x90
call sym.memcpy
movups xmm0, xmmword [rsp + 0xd8]
movups xmmword [rsp + 0x258], xmm0
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x268], rax
movups xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x270], xmm0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x280], rax
movups xmm0, xmmword [rsp + 0xf0]
movups xmm1, xmmword [rsp + 0x100]
movups xmm2, xmmword [rsp + 0x110]
movups xmm3, xmmword [rsp + 0x120]
movaps xmmword [rsp + 0x190], xmm0
movaps xmmword [rsp + 0x1a0], xmm1
movaps xmmword [rsp + 0x1b0], xmm2
movaps xmmword [rsp + 0x1c0], xmm3
movups xmm0, xmmword [rsp + 0x130]
movups xmm1, xmmword [rsp + 0x140]
movups xmm2, xmmword [rsp + 0x150]
movaps xmmword [rsp + 0x220], xmm2
movaps xmmword [rsp + 0x210], xmm1
movaps xmmword [rsp + 0x200], xmm0
mov qword [rsp + 0x250], rbx
mov qword [rsp + 0x288], 8
movaps xmmword [rsp + 0x290], xmm6
cmp byte [rdi + 4], 0
je 0x40a3c0
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
mov dword [rsp + 0xf0], 0x40
lea rcx, [rsp + 0xf0]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
movups xmm0, xmmword [rsp + 0xf8]
movaps xmmword [rsp + 0x230], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x90], 0
lea rcx, [rsp + 0x30]
mov edx, 0x68
call sub.PSAPI.DLL_GetPerformanceInfo
cmp eax, 1
jne 0x40a3c0
mov rdx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x50]
xor r10d, r10d
sub rdx, r9
cmovb rdx, r10
mov rcx, qword [rsp + 0x80]
mov rax, rcx
mul rdx
mov r8, rax
mov r11, 0xffffffffffffffff
cmovo r8, r11
mov rdx, qword [rsp + 0x38]
sub rdx, r9
cmovb rdx, r10
mov rax, rcx
mul rdx
cmovo rax, r11
mov qword [rsp + 0x240], r8
mov qword [rsp + 0x248], rax
movzx eax, byte [rdi + 0xb]
cmp al, 2
je 0x40a3e3
movzx r8d, byte [rdi + 0xc]
test al, al
setne dl
and r8b, 1
lea rcx, [rsp + 0x190]
call sym.__sysinfo::windows::system::System_as_sysinfo::traits::SystemExt_::refresh_cpu_specifics::hc679a04402094e3b
cmp byte [rdi + 6], 0
je 0x40a4a1
lea rcx, [rsp + 0x30]
call sym.sysinfo::windows::component::get_components::h4751f76bfc9870b2
lea r15, [rsp + 0x258]
mov rbx, qword [rsp + 0x258]
mov r12, qword [rsp + 0x268]
inc r12
jmp 0x40a432
lea r14, [rbx + 0x60]
dec r12
mov rcx, rbx
call sym._ZN4core3ptr88drop_in_place_LT_core..option..Option_LT_sysinfo..windows..component..Connection_GT__GT_17hb8c07523b6b7fd8eE.llv
mov rbx, r14
cmp r12, 1
je 0x40a452
mov rdx, qword [rbx + 0x48]
test rdx, rdx
je 0x40a420
mov rcx, qword [rbx + 0x40]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x40a420
mov rax, qword [rsp + 0x260]
test rax, rax
je 0x40a47a
mov rcx, qword [rsp + 0x258]
shl rax, 5
lea rdx, [rax + rax*2]
mov r8d, 8
call sym.__rust_dealloc
mov rax, qword [rsp + 0x40]
mov qword [r15 + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r15], xmm0
lea rcx, [rsp + 0x200]
cmp byte [rdi + 1], 0
je 0x40a4e4
call sym._ZN84__LT_sysinfo..windows..network..Networks_u20_as_u20_sysinfo..traits..NetworksExt_GT_21refresh_networks_list17h29f76aaf8cf
jmp 0x40a4ee
cmp byte [rdi + 5], 0
je 0x40a48c
mov rax, qword [rsp + 0x268]
test rax, rax
je 0x40a48c
mov rbx, qword [rsp + 0x258]
shl rax, 5
lea r14, [rax + rax*2]
nop word cs:[rax + rax]
mov rcx, rbx
call sym.__sysinfo::windows::component::Component_as_sysinfo::traits::ComponentExt_::refresh::h94692954a79d309d
add rbx, 0x60
add r14, 0xffffffffffffffa0
jne 0x40a4d0
jmp 0x40a48c
cmp byte [rdi], 0
je 0x40a4ee
call sym.__sysinfo::windows::network::Networks_as_sysinfo::traits::NetworksExt_::refresh::h4aaeadc94b69a9fd
movzx edx, word [rdi + 8]
cmp dl, 2
je 0x40a50d
movzx eax, byte [rdi + 0xa]
shl eax, 0x10
or edx, eax
lea rcx, [rsp + 0x190]
call sym._ZN79__LT_sysinfo..windows..system..System_u20_as_u20_sysinfo..traits..SystemExt_GT_27refresh_processes_specifics17h459986e2f0
cmp byte [rdi + 2], 0
je 0x40a622
lea rcx, [rsp + 0x30]
call sym.sysinfo::windows::disk::get_disks::h1f1aaf9fa2810ed9
lea rbx, [rsp + 0x270]
mov rcx, rbx
call sym.__alloc::vec::Vec_T_A__as_core::ops::drop::Drop_::drop::h9de09da1b886721c
mov rax, qword [rsp + 0x278]
test rax, rax
je 0x40a559
mov rcx, qword [rsp + 0x270]
shl rax, 4
lea rdx, [rax + rax*8]
mov r8d, 8
call sym.__rust_dealloc
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
cmp byte [rdi + 7], 0
je 0x40a5f0
lea rcx, [rsp + 0x30]
call sym.sysinfo::windows::users::get_users::h7cd3b443dd9842ce
lea rbx, [rsp + 0x288]
mov rcx, qword [rsp + 0x288]
mov r14, qword [rsp + 0x298]
inc r14
nop dword [rax]
cmp r14, 1
je 0x40a5b7
lea rdi, [rcx + 0x50]
dec r14
call sym._ZN4core3ptr42drop_in_place_LT_sysinfo..common..User_GT_17h95f6ddcca600ab63E.llvm.12024626445890568119
mov rcx, rdi
jmp 0x40a5a0
mov rax, qword [rsp + 0x290]
test rax, rax
je 0x40a5df
mov rcx, qword [rsp + 0x288]
shl rax, 4
lea rdx, [rax + rax*4]
mov r8d, 8
call sym.__rust_dealloc
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
lea rdx, [rsp + 0x190]
mov r8d, 0x1a0
mov rcx, rsi
call sym.memcpy
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x330]
add rsp, 0x348
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp byte [rdi + 3], 0
je 0x40a56a
mov rax, qword [rsp + 0x280]
test rax, rax
je 0x40a56a
mov r14, qword [rsp + 0x270]
shl rax, 4
lea r15, [rax + rax*8]
xor r12d, r12d
lea rbx, [rsp + 0x30]
jmp 0x40a670
add r12, 0x90
cmp r15, r12
je 0x40a56a
cmp qword [r14 + r12 + 0x78], 0
je 0x40a660
mov qword [rsp + 0x30], 0
mov rcx, qword [r14 + r12 + 0x48]
xor edx, edx
xor r8d, r8d
mov r9, rbx
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x40a660
mov rax, qword [rsp + 0x30]
mov qword [r14 + r12 + 0x80], rax
jmp 0x40a660
lea rax, [0x00541dc8]
mov qword [rsp + 0x20], rax
lea rcx, [0x00541d2e]
lea r9, sym.core::ptr::drop_in_place_std::thread::local::AccessError_::h5e795f79c18189b1
lea r8, [rsp + 0x190]
mov edx, 0x46
call dbg.unwrap_failed
ud2
mov ecx, 1
mov edx, 9
call dbg.handle_alloc_error
jmp 0x40a722
mov ecx, 8
mov edx, 0x120
call dbg.handle_alloc_error
jmp 0x40a722
lea rax, [0x00543950]
mov qword [rsp + 0x20], rax
lea rcx, [0x005438b8]
lea r9, sym._ZN4core3ptr52drop_in_place_LT_std..thread..local..AccessError_GT_17h5e795f79c18189b1E.llvm.8483197739864331204
lea r8, [rsp + 0x190]
mov edx, 0x46
call dbg.unwrap_failed
ud2