Function at 0x140036410
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 0x140036b26
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::h2cc01d4e542dd247
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 [0x140166748]
movzx eax, byte [rbx]
mov ecx, 9
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x140036b54
movzx ecx, byte [0x140131cd8]
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_Users_joakim_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.10_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 0x140036b65
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 0x140036b76
lea rcx, [0x140132ec0]
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::h4ccbf124a4258c50
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::hbbc5441ea3523d38
cmp qword [rsp + 0x190], 0
je 0x140036602
xor ebx, ebx
jmp 0x14003662d
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 0x140036840
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 0x140036840
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 0x140036863
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::h01cc50099b85d1c2
cmp byte [rdi + 6], 0
je 0x140036921
lea rcx, [rsp + 0x30]
call sym.sysinfo::windows::component::get_components::h017ae54890694272
lea r15, [rsp + 0x258]
mov rbx, qword [rsp + 0x258]
mov r12, qword [rsp + 0x268]
inc r12
jmp 0x1400368b2
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_17h4a872a3ab7e379aeE.llv
mov rbx, r14
cmp r12, 1
je 0x1400368d2
mov rdx, qword [rbx + 0x48]
test rdx, rdx
je 0x1400368a0
mov rcx, qword [rbx + 0x40]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x1400368a0
mov rax, qword [rsp + 0x260]
test rax, rax
je 0x1400368fa
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 0x140036964
call sym._ZN84__LT_sysinfo..windows..network..Networks_u20_as_u20_sysinfo..traits..NetworksExt_GT_21refresh_networks_list17h917432958a5
jmp 0x14003696e
cmp byte [rdi + 5], 0
je 0x14003690c
mov rax, qword [rsp + 0x268]
test rax, rax
je 0x14003690c
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::hb68c2027efb930f7
add rbx, 0x60
add r14, 0xffffffffffffffa0
jne 0x140036950
jmp 0x14003690c
cmp byte [rdi], 0
je 0x14003696e
call sym.__sysinfo::windows::network::Networks_as_sysinfo::traits::NetworksExt_::refresh::h43ca2ac984614a62
movzx edx, word [rdi + 8]
cmp dl, 2
je 0x14003698d
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_specifics17h6e5e333d21
cmp byte [rdi + 2], 0
je 0x140036aa2
lea rcx, [rsp + 0x30]
call sym.sysinfo::windows::disk::get_disks::hb6945a544a504bd7
lea rbx, [rsp + 0x270]
mov rcx, rbx
call sym.__alloc::vec::Vec_T_A__as_core::ops::drop::Drop_::drop::h7e3f786ba7661b08
mov rax, qword [rsp + 0x278]
test rax, rax
je 0x1400369d9
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 0x140036a70
lea rcx, [rsp + 0x30]
call sym.sysinfo::windows::users::get_users::hb45ea023db6241bc
lea rbx, [rsp + 0x288]
mov rcx, qword [rsp + 0x288]
mov r14, qword [rsp + 0x298]
inc r14
nop dword [rax]
cmp r14, 1
je 0x140036a37
lea rdi, [rcx + 0x50]
dec r14
call sym._ZN4core3ptr42drop_in_place_LT_sysinfo..common..User_GT_17h48cdcfb104c60b4fE.llvm.2724988991397680415
mov rcx, rdi
jmp 0x140036a20
mov rax, qword [rsp + 0x290]
test rax, rax
je 0x140036a5f
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 0x1400369ea
mov rax, qword [rsp + 0x280]
test rax, rax
je 0x1400369ea
mov r14, qword [rsp + 0x270]
shl rax, 4
lea r15, [rax + rax*8]
xor r12d, r12d
lea rbx, [rsp + 0x30]
jmp 0x140036af0
add r12, 0x90
cmp r15, r12
je 0x1400369ea
cmp qword [r14 + r12 + 0x78], 0
je 0x140036ae0
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 0x140036ae0
mov rax, qword [rsp + 0x30]
mov qword [r14 + r12 + 0x80], rax
jmp 0x140036ae0
lea rax, [0x1401318a0]
mov qword [rsp + 0x20], rax
lea rcx, [0x140131806]
lea r9, sym.core::ptr::drop_in_place_std::thread::local::AccessError_::h7b0d6c956acc7a57
lea r8, [rsp + 0x190]
mov edx, 0x46
call dbg.unwrap_failed
ud2
mov ecx, 1
mov edx, 9
call dbg.handle_alloc_error
jmp 0x140036ba2
mov ecx, 8
mov edx, 0x120
call dbg.handle_alloc_error
jmp 0x140036ba2
lea rax, [0x140132ea8]
mov qword [rsp + 0x20], rax
lea rcx, [0x140132e10]
lea r9, sym._ZN4core3ptr52drop_in_place_LT_std..thread..local..AccessError_GT_17h7b0d6c956acc7a57E.llvm.11706152452260088795
lea r8, [rsp + 0x190]
mov edx, 0x46
call dbg.unwrap_failed
ud2