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

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x368
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x2d0], xmm6
mov qword [rbp + 0x2c8], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
call fcn.1401c73e0
cmp qword [rax], 0
je 0x140022450
add rax, 8
jmp 0x14002245a
mov rcx, rax
xor edx, edx
call fcn.1400264c0
movups xmm6, xmmword [rax]
inc qword [rax]
lea rcx, [rbp - 0x30]
mov edx, 0x1f4
mov r8b, 1
call fcn.140031670
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp - 0x50], xmm1
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm6
movzx eax, byte [0x14031df01]
mov ecx, 9
mov edx, 1
call fcn.14001c680
test rax, rax
je 0x140022b17
movzx ecx, byte [0x14020fba8]
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_x64C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.0_srcwindowscpu.rs]
mov qword [rax], rcx
mov qword [rbp + 0x210], rax
mov qword [rbp + 0x218], 9
mov qword [rbp + 0x220], 9
mov qword [rbp + 0x228], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x230], xmm0
mov qword [rbp + 0x240], 1
movups xmmword [rbp + 0x248], xmm0
mov qword [rbp + 0x258], 0
mov qword [rbp + 0x270], 0
mov dword [rbp + 0x278], 0
mov qword [rbp + 0x280], 8
movups xmmword [rbp + 0x288], xmm0
mov byte [rbp + 0x298], 0
mov qword [rbp + 0x1e0], 8
movups xmmword [rbp + 0x1e8], xmm0
movzx eax, byte [0x14031df01]
mov ecx, 0x120
mov edx, 8
call fcn.14001c680
test rax, rax
je 0x140022b28
mov qword [rbp + 0x1f8], rax
mov qword [rbp + 0x200], 2
mov qword [rbp + 0x208], 0
mov qword [rbp + 0x1a0], 0
call fcn.1401c73e0
cmp qword [rax], 0
je 0x14002259f
add rax, 8
jmp 0x1400225a9
mov rcx, rax
xor edx, edx
call fcn.1400264c0
lea rcx, [0x14020fd90]
mov qword [rbp + 0x170], rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x178], xmm0
mov qword [rbp + 0x188], 0
movups xmm0, xmmword [rax]
inc qword [rax]
movups xmmword [rbp + 0x190], xmm0
call fcn.1401d5f40
mov dword [rbp + 0x2a8], eax
mov dword [rbp + 0x2ac], edx
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x2a8]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call fcn.1401d5f70
cmp qword [rbp - 0x30], 0
je 0x140022611
xor ebx, ebx
jmp 0x140022638
mov r14, qword [rbp - 0x28]
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 [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x50]
movaps xmm2, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm2
lea rcx, [rbp + 0xe0]
xorps xmm6, xmm6
movaps xmmword [rbp + 0x70], xmm6
movaps xmmword [rbp + 0x80], xmm6
lea rdx, [rbp + 0x210]
mov r8d, 0x90
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rbp + 0x1e0]
movups xmmword [rbp + 0x98], xmm0
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0xa8], rax
movups xmm0, xmmword [rbp + 0x1f8]
movaps xmmword [rbp + 0xb0], xmm0
mov rax, qword [rbp + 0x208]
mov qword [rbp + 0xc0], rax
movups xmm0, xmmword [rbp + 0x1a0]
movups xmm1, xmmword [rbp + 0x1b0]
movups xmm2, xmmword [rbp + 0x1c0]
movups xmm3, xmmword [rbp + 0x1d0]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp], xmm3
movups xmm0, xmmword [rbp + 0x170]
movups xmm1, xmmword [rbp + 0x180]
movups xmm2, xmmword [rbp + 0x190]
movaps xmmword [rbp + 0x60], xmm2
movaps xmmword [rbp + 0x50], xmm1
movaps xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0xc8], 8
movaps xmmword [rbp + 0xd0], xmm6
cmp byte [rdi + 4], 0
je 0x140022803
movaps xmmword [rbp + 0x1a0], xmm6
movaps xmmword [rbp + 0x1d0], xmm6
movaps xmmword [rbp + 0x1c0], xmm6
movaps xmmword [rbp + 0x1b0], xmm6
mov dword [rbp + 0x1a0], 0x40
lea rcx, [rbp + 0x1a0]
call sub.kernel32.dll_GlobalMemoryStatusEx
movups xmm0, xmmword [rbp + 0x1a8]
movaps xmmword [rbp + 0x70], xmm0
xorps xmm0, xmm0
movaps xmmword [rbp + 0x260], xmm0
movaps xmmword [rbp + 0x250], xmm0
movaps xmmword [rbp + 0x240], xmm0
movaps xmmword [rbp + 0x230], xmm0
movaps xmmword [rbp + 0x220], xmm0
movaps xmmword [rbp + 0x210], xmm0
mov qword [rbp + 0x270], 0
lea rcx, [rbp + 0x210]
mov edx, 0x68
call sub.PSAPI.DLL_GetPerformanceInfo
cmp eax, 1
jne 0x140022803
mov rdx, qword [rbp + 0x220]
mov r9, qword [rbp + 0x230]
xor r10d, r10d
sub rdx, r9
cmovb rdx, r10
mov rcx, qword [rbp + 0x260]
mov rax, rcx
mul rdx
mov r8, rax
mov r11, 0xffffffffffffffff
cmovo r8, r11
mov rdx, qword [rbp + 0x218]
sub rdx, r9
cmovb rdx, r10
mov rax, rcx
mul rdx
cmovo rax, r11
mov qword [rbp + 0x80], r8
mov qword [rbp + 0x88], rax
movzx eax, byte [rdi + 0xb]
cmp al, 2
je 0x140022822
movzx r8d, byte [rdi + 0xc]
test al, al
setne dl
and r8b, 1
lea rcx, [rbp - 0x30]
call fcn.140022ea0
cmp byte [rdi + 6], 0
je 0x1400228f9
lea rcx, [rbp + 0x210]
call fcn.140024ad0
mov rbx, qword [rbp + 0x98]
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x2b8], rax
xor eax, eax
mov qword [rbp + 0x2c0], rax
mov qword [rbp + 0x2b0], rbx
jmp 0x140022879
inc r14
mov qword [rbp + 0x2c0], r14
lea r14, [rbx + 0x60]
mov rcx, rbx
call fcn.140030cc0
mov rbx, r14
mov rax, qword [rbp + 0x2c0]
cmp qword [rbp + 0x2b8], rax
je 0x1400228a6
mov r14, rax
mov rdx, qword [rbx + 0x48]
test rdx, rdx
je 0x140022860
mov rcx, qword [rbx + 0x40]
mov r8d, 1
call fcn.14001c690
jmp 0x140022860
mov rax, qword [rbp + 0xa0]
test rax, rax
je 0x1400228cc
mov rcx, qword [rbp + 0x98]
shl rax, 5
lea rdx, [rax + rax*2]
mov r8d, 8
call fcn.14001c690
mov rax, qword [rbp + 0x220]
lea rcx, [rbp + 0x98]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp + 0x210]
movups xmmword [rcx], xmm0
lea rcx, [rbp + 0x40]
cmp byte [rdi + 1], 0
je 0x140022933
call fcn.140020470
jmp 0x14002293d
cmp byte [rdi + 5], 0
je 0x1400228e8
mov rax, qword [rbp + 0xa8]
test rax, rax
je 0x1400228e8
mov rbx, qword [rbp + 0x98]
lea r14, [rax + rax*2]
shl r14, 5
add r14, rbx
nop dword [rax]
mov rcx, rbx
call fcn.140024530
add rbx, 0x60
cmp rbx, r14
jne 0x140022920
jmp 0x1400228e8
cmp byte [rdi], 0
je 0x14002293d
call fcn.140021450
movzx edx, word [rdi + 8]
cmp dl, 2
je 0x140022958
movzx eax, byte [rdi + 0xa]
shl eax, 0x10
or edx, eax
lea rcx, [rbp - 0x30]
call fcn.1400235b0
cmp byte [rdi + 2], 0
je 0x140022a96
lea rcx, [rbp + 0x210]
call fcn.140027bc0
lea rcx, [rbp + 0xb0]
call fcn.140016b50
mov rax, qword [rbp + 0xb8]
test rax, rax
je 0x1400229a0
mov rcx, qword [rbp + 0xb0]
shl rax, 4
lea rdx, [rax + rax*8]
mov r8d, 8
call fcn.14001c690
mov rax, qword [rbp + 0x220]
lea rcx, [rbp + 0xb0]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp + 0x210]
movups xmmword [rcx], xmm0
cmp byte [rdi + 7], 0
je 0x140022a6a
lea rcx, [rbp + 0x210]
call fcn.14002ffb0
mov rcx, qword [rbp + 0xc8]
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0x2b8], rax
xor eax, eax
mov qword [rbp + 0x2c0], rax
mov qword [rbp + 0x2b0], rcx
nop word [rax + rax]
mov rax, qword [rbp + 0x2c0]
cmp qword [rbp + 0x2b8], rax
je 0x140022a28
inc rax
mov qword [rbp + 0x2c0], rax
lea rdi, [rcx + 0x50]
call fcn.140015cc0
mov rcx, rdi
jmp 0x140022a00
mov rax, qword [rbp + 0xd0]
test rax, rax
je 0x140022a4e
mov rcx, qword [rbp + 0xc8]
shl rax, 4
lea rdx, [rax + rax*4]
mov r8d, 8
call fcn.14001c690
mov rax, qword [rbp + 0x220]
lea rcx, [rbp + 0xc8]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp + 0x210]
movups xmmword [rcx], xmm0
lea rdx, [rbp - 0x30]
mov r8d, 0x1a0
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rax, rsi
movaps xmm6, xmmword [rbp + 0x2d0]
add rsp, 0x368
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
cmp byte [rdi + 3], 0
je 0x1400229bc
mov rax, qword [rbp + 0xc0]
test rax, rax
je 0x1400229bc
mov r14, qword [rbp + 0xb0]
lea r15, [rax + rax*8]
shl r15, 4
add r15, r14
lea rbx, [rbp + 0x210]
jmp 0x140022ae0
add r14, 0x90
cmp r14, r15
je 0x1400229bc
cmp qword [r14 + 0x78], 0
je 0x140022ad0
mov qword [rbp + 0x210], 0
mov rcx, qword [r14 + 0x48]
xor edx, edx
xor r8d, r8d
mov r9, rbx
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x140022ad0
mov rax, qword [rbp + 0x210]
mov qword [r14 + 0x80], rax
jmp 0x140022ad0
mov ecx, 1
mov edx, 9
call fcn.14020b830
jmp 0x140022b37
mov ecx, 8
mov edx, 0x120
call fcn.14020b830
ud2