Function at 0x140021230
Capabilities:
Get disk information
Get disk size
Get memory capacity

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x218
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x180], xmm6
mov qword [rbp + 0x178], 0xfffffffffffffffe
mov rdi, rdx
mov qword [rbp + 0x170], rcx
xor ecx, ecx
call fcn.1401e6760
test rax, rax
je 0x140021a53
movups xmm6, xmmword [rax]
inc qword [rax]
lea rcx, [rbp - 0x38]
mov edx, 0x1f4
call fcn.140031d40
movups xmmword [rbp - 0x18], xmm6
mov ecx, 9
mov edx, 1
call fcn.14001c230
test rax, rax
je 0x140021a7d
movzx ecx, byte [0x14021b928]
mov byte [rax + 8], cl
mov rcx, qword [str.Total_CPUunknownIntel_Itanium_based_x86ARMARM_x64_Intel_or_AMD__x64MSILRISC_Alpha_x64Intel_Itanium_based_x64SHXPPCRISC_AlphaMIPSIntel_x86C:UsersAdministrator.cargo_registry_srcgithub.com_1ecc6299db9ec823_sysinfo_0.29.0_srcwindowscpu.rs]
mov qword [rax], rcx
mov qword [rbp + 0xa8], 0
movaps xmm0, xmmword [0x14021b900]
movups xmmword [rbp + 0xb8], xmm0
movaps xmm0, xmmword [0x14021b910]
mov qword [rbp + 0xc8], rax
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov qword [rbp + 0xf8], 1
mov qword [rbp + 0x100], 0
mov dword [rbp + 0x108], 0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x118], 8
mov qword [rbp + 0x120], 0
mov byte [rbp + 0x128], 0
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 8
mov qword [rbp + 0x20], 0
mov ecx, 0x120
mov edx, 8
call fcn.14001c230
test rax, rax
je 0x140021a8e
mov qword [rbp - 8], 2
mov qword [rbp], rax
mov qword [rbp + 8], 0
mov qword [rbp + 0x48], 0
xor ecx, ecx
call fcn.1401e6760
test rax, rax
je 0x140021a9f
xorps xmm0, xmm0
movaps xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], 0
lea rcx, [0x14021c2f0]
mov qword [rbp + 0x88], rcx
movups xmm0, xmmword [rax]
inc qword [rax]
movaps xmmword [rbp + 0x90], xmm0
call fcn.1401e2420
mov dword [rbp + 0x138], eax
mov dword [rbp + 0x13c], edx
lea rcx, [rbp - 0x50]
lea rdx, [rbp + 0x138]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call fcn.1401e2450
cmp qword [rbp - 0x50], 0
je 0x140021407
xor esi, esi
jmp 0x14002142e
mov rbx, qword [rbp - 0x48]
call sub.kernel32.dll_GetTickCount64
shr rax, 3
movabs rcx, 0x20c49ba5e353f7cf
mul rcx
shr rdx, 4
xor esi, esi
sub rbx, rdx
cmovae rsi, rbx
movups xmm0, xmmword [rbp - 0x38]
movups xmm1, xmmword [rbp - 0x28]
movups xmm2, xmmword [rbp - 0x18]
mov rbx, qword [rbp + 0x170]
movups xmmword [rbx + 0x60], xmm2
movups xmmword [rbx + 0x50], xmm1
movups xmmword [rbx + 0x40], xmm0
lea rcx, [rbx + 0xa0]
xorps xmm6, xmm6
movups xmmword [rbx + 0x130], xmm6
movups xmmword [rbx + 0x140], xmm6
lea rdx, [rbp + 0xa0]
mov r8d, 0x90
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 0x20]
mov qword [rbx + 0x168], rax
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rbx + 0x158], xmm0
mov rax, qword [rbp + 8]
mov qword [rbx + 0x180], rax
movups xmm0, xmmword [rbp - 8]
movups xmmword [rbx + 0x170], xmm0
movups xmm0, xmmword [rbp + 0x30]
movups xmm1, xmmword [rbp + 0x40]
movups xmm2, xmmword [rbp + 0x50]
movups xmm3, xmmword [rbp + 0x60]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx + 0x20], xmm2
movups xmmword [rbx + 0x30], xmm3
movaps xmm0, xmmword [rbp + 0x70]
movaps xmm1, xmmword [rbp + 0x80]
movaps xmm2, xmmword [rbp + 0x90]
movups xmmword [rbx + 0x70], xmm0
movups xmmword [rbx + 0x80], xmm1
movups xmmword [rbx + 0x90], xmm2
mov qword [rbx + 0x150], rsi
mov qword [rbx + 0x188], 0
mov qword [rbx + 0x190], 8
mov qword [rbx + 0x198], 0
movzx ebx, byte [rdi]
movzx r14d, byte [rdi + 1]
movzx r13d, word [rdi + 2]
movzx r12d, byte [rdi + 4]
movzx eax, byte [rdi + 5]
mov byte [rbp + 0x16e], al
movzx eax, byte [rdi + 6]
mov byte [rbp + 0x158], al
movzx eax, byte [rdi + 7]
mov byte [rbp + 0x150], al
movzx eax, byte [rdi + 8]
mov byte [rbp + 0x16f], al
movzx eax, byte [rdi + 0xa]
mov byte [rbp + 0x160], al
movzx r15d, byte [rdi + 0xb]
movzx eax, byte [rdi + 0xc]
mov byte [rbp + 0x16d], al
cmp byte [rdi + 9], 0
je 0x14002164d
movaps xmmword [rbp + 0x30], xmm6
movaps xmmword [rbp + 0x60], xmm6
movaps xmmword [rbp + 0x50], xmm6
movaps xmmword [rbp + 0x40], xmm6
mov dword [rbp + 0x30], 0x40
lea rcx, [rbp + 0x30]
call sub.kernel32.dll_GlobalMemoryStatusEx
mov rax, qword [rbp + 0x170]
add rax, 0x130
movups xmm0, xmmword [rbp + 0x38]
movups xmmword [rax], xmm0
xorps xmm0, xmm0
movaps xmmword [rbp + 0xf0], xmm0
movaps xmmword [rbp + 0xe0], xmm0
movaps xmmword [rbp + 0xd0], xmm0
movaps xmmword [rbp + 0xc0], xmm0
movaps xmmword [rbp + 0xb0], xmm0
movaps xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0x100], 0
lea rcx, [rbp + 0xa0]
mov edx, 0x68
call sub.PSAPI.DLL_GetPerformanceInfo
cmp eax, 1
jne 0x14002164d
mov rdi, qword [rbp + 0xb0]
mov r10, qword [rbp + 0xc0]
xor r8d, r8d
sub rdi, r10
cmovb rdi, r8
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
mul rdi
mov rdi, rax
mov r9, 0xffffffffffffffff
cmovo rdi, r9
mov rsi, qword [rbp + 0xa8]
sub rsi, r10
cmovb rsi, r8
mov rax, rcx
mul rsi
cmovo rax, r9
mov rcx, qword [rbp + 0x170]
mov qword [rcx + 0x140], rdi
mov qword [rcx + 0x148], rax
cmp bl, 2
je 0x14002166a
and bl, 1
and r14b, 1
mov rcx, qword [rbp + 0x170]
mov edx, ebx
mov r8d, r14d
call fcn.140021e90
test r15b, r15b
je 0x14002176d
lea rcx, [rbp + 0xa0]
call fcn.140024810
mov rax, qword [rbp + 0x170]
lea rcx, [rax + 0x158]
mov qword [rbp + 0x140], rcx
mov rdi, qword [rax + 0x160]
mov rax, qword [rax + 0x168]
shl rax, 5
lea rax, [rax + rax*2]
mov qword [rbp + 0x160], rax
add rax, rdi
mov qword [rbp + 0x28], rax
jmp 0x1400216e5
lea rsi, [rdi + 0x60]
add rdi, 0x20
add rbx, 0xffffffffffffffa0
mov qword [rbp + 0x160], rbx
mov rcx, rdi
mov qword [rbp + 0x148], rsi
call fcn.14002f030
mov rdi, rsi
mov rax, qword [rbp + 0x160]
test rax, rax
je 0x14002170d
mov rbx, rax
mov rdx, qword [rdi]
test rdx, rdx
je 0x1400216c0
mov rcx, qword [rdi + 8]
mov r8d, 1
call fcn.14001c240
jmp 0x1400216c0
mov rdi, qword [rbp + 0x140]
mov rax, qword [rdi]
test rax, rax
je 0x14002173d
mov rcx, qword [rbp + 0x170]
mov rcx, qword [rcx + 0x160]
shl rax, 5
lea rdx, [rax + rax*2]
mov r8d, 8
call fcn.14001c240
mov rax, qword [rbp + 0xb0]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rdi], xmm0
mov rax, qword [rbp + 0x170]
lea rcx, [rax + 0x70]
cmp byte [rbp + 0x158], 0
je 0x1400217c3
call fcn.140030a60
jmp 0x1400217d1
cmp byte [rbp + 0x160], 0
je 0x140021752
mov rax, qword [rbp + 0x170]
mov rax, qword [rax + 0x168]
test rax, rax
je 0x140021752
mov rcx, qword [rbp + 0x170]
mov rdi, qword [rcx + 0x160]
lea rbx, [rax + rax*2]
shl rbx, 5
add rbx, rdi
nop word cs:[rax + rax]
mov rcx, rdi
call fcn.140024480
add rdi, 0x60
cmp rdi, rbx
jne 0x1400217b0
jmp 0x140021752
cmp byte [rbp + 0x16e], 0
je 0x1400217d1
call fcn.1400317f0
shl r12d, 0x10
or r13d, r12d
cmp r13b, 2
je 0x1400217ed
mov rcx, qword [rbp + 0x170]
mov edx, r13d
call fcn.140022540
cmp byte [rbp + 0x150], 0
je 0x140021852
call sub.kernel32.dll_GetLogicalDrives
mov dword [rbp + 0x70], eax
test eax, eax
je 0x1400218e4
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 8
mov qword [rbp + 0xb0], 0
movabs rax, 0x2000000000
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x70]
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0xa0]
lea rdx, [rbp + 0x30]
call fcn.14002f370
jmp 0x140021905
cmp byte [rbp + 0x16f], 0
je 0x140021964
mov rax, qword [rbp + 0x170]
mov rax, qword [rax + 0x180]
test rax, rax
je 0x140021964
mov rcx, qword [rbp + 0x170]
mov rdi, qword [rcx + 0x178]
lea rbx, [rax + rax*8]
shl rbx, 4
add rbx, rdi
lea rsi, [rbp + 0xa0]
jmp 0x1400218b0
add rdi, 0x90
cmp rdi, rbx
je 0x140021964
cmp qword [rdi + 0x30], 0
je 0x1400218a0
mov qword [rbp + 0xa0], 0
mov rcx, qword [rdi + 0x60]
xor edx, edx
xor r8d, r8d
mov r9, rsi
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1400218a0
mov rax, qword [rbp + 0xa0]
mov qword [rdi + 0x38], rax
jmp 0x1400218a0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 8
mov qword [rbp + 0xb0], 0
mov rax, qword [rbp + 0x170]
lea rcx, [rax + 0x170]
mov qword [rbp + 0x160], rcx
call fcn.14000eac0
mov rsi, qword [rbp + 0x160]
mov rax, qword [rsi]
test rax, rax
je 0x14002194f
mov rcx, qword [rbp + 0x170]
mov rcx, qword [rcx + 0x178]
shl rax, 4
lea rdx, [rax + rax*8]
mov r8d, 8
call fcn.14001c240
mov rax, qword [rbp + 0xb0]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rsi], xmm0
cmp byte [rbp + 0x16d], 0
je 0x140021a31
lea rcx, [rbp + 0xa0]
call fcn.14002e4c0
mov rax, qword [rbp + 0x170]
lea rcx, [rax + 0x188]
mov qword [rbp + 0x158], rcx
mov rcx, qword [rax + 0x190]
mov rax, qword [rax + 0x198]
shl rax, 4
lea rax, [rax + rax*4]
mov qword [rbp + 0x160], rax
add rax, rcx
mov qword [rbp + 0x150], rax
nop dword [rax]
mov rax, qword [rbp + 0x160]
test rax, rax
je 0x1400219ec
lea rsi, [rcx + 0x50]
add rax, 0xffffffffffffffb0
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x148], rsi
call fcn.14000def0
mov rcx, rsi
jmp 0x1400219c0
mov rsi, qword [rbp + 0x158]
mov rax, qword [rsi]
test rax, rax
je 0x140021a1c
mov rcx, qword [rbp + 0x170]
mov rcx, qword [rcx + 0x190]
shl rax, 4
lea rdx, [rax + rax*4]
mov r8d, 8
call fcn.14001c240
mov rax, qword [rbp + 0xb0]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rsi], xmm0
mov rax, qword [rbp + 0x170]
movaps xmm6, xmmword [rbp + 0x180]
add rsp, 0x218
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, [0x14021c5f8]
mov qword [rsp + 0x20], rax
lea rcx, [0x14021c560]
lea r9, fcn.140008810
lea r8, [rbp + 0x70]
mov edx, 0x46
call fcn.140217f90
ud2
mov ecx, 9
mov edx, 1
call fcn.1402179b0
jmp 0x140021ac7
mov ecx, 0x120
mov edx, 8
call fcn.1402179b0
jmp 0x140021ac7
lea rax, [0x14021c5f8]
mov qword [rsp + 0x20], rax
lea rcx, [0x14021c560]
lea r9, fcn.140008810
lea r8, [rbp + 0x70]
mov edx, 0x46
call fcn.140217f90
ud2