Function at 0x140139dc0
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, 0x1f8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x160], xmm6
mov qword [rbp + 0x158], 0xfffffffffffffffe
mov rdi, rdx
mov qword [rbp + 0x150], rcx
xor ecx, ecx
call fcn.140165c50
test rax, rax
je 0x14013a5d6
movups xmm6, xmmword [rax]
inc qword [rax]
lea rcx, [rbp - 0x40]
mov edx, 0x1f4
call fcn.140146c50
movups xmmword [rbp - 0x20], xmm6
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 1
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 1
mov qword [rbp + 0x40], 0
mov ecx, 9
mov edx, 1
call fcn.14000e8b0
test rax, rax
je 0x14013a603
movzx ecx, byte [0x1402225c8]
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:UsersWesley.cargo_registry_srcgithub.com_1ecc6299db9ec823_sysinfo_0.23.13_srcwindowsprocessor.rs]
mov qword [rax], rcx
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], 9
movups xmm0, xmmword [rbp + 0x80]
movups xmmword [rbp + 0xe8], xmm0
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0xf8], rax
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [rbp + 0x100], xmm0
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x110], rax
mov qword [rbp + 0xb8], 0
movaps xmm0, xmmword [0x1402225b0]
movups xmmword [rbp + 0xc8], xmm0
mov dword [rbp + 0x118], 0
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x128], 8
mov qword [rbp + 0x130], 0
mov qword [rbp + 8], 0
mov qword [rbp + 0x10], 8
mov qword [rbp + 0x18], 0
mov ecx, 0x120
mov edx, 8
call fcn.14000e8b0
test rax, rax
je 0x14013a614
mov qword [rbp - 0x10], 2
mov qword [rbp - 8], rax
mov qword [rbp], 0
mov qword [rbp + 0x48], 0
xor ecx, ecx
call fcn.140165c50
test rax, rax
je 0x14013a625
xorps xmm0, xmm0
movaps xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], 0
lea rcx, [0x140222cc0]
mov qword [rbp + 0x98], rcx
movups xmm0, xmmword [rax]
inc qword [rax]
movaps xmmword [rbp + 0xa0], xmm0
call fcn.140161ef0
mov dword [rbp + 0x70], eax
mov dword [rbp + 0x74], edx
lea rcx, [rbp - 0x58]
lea rdx, [rbp + 0x70]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call fcn.140161f20
cmp qword [rbp - 0x58], 0
je 0x140139fc7
xor esi, esi
jmp 0x140139fe8
mov rsi, qword [rbp - 0x50]
call sub.KERNEL32.dll_GetTickCount64
shr rax, 3
movabs rcx, 0x20c49ba5e353f7cf
mul rcx
shr rdx, 4
sub rsi, rdx
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
movups xmm2, xmmword [rbp - 0x20]
mov rbx, qword [rbp + 0x150]
movups xmmword [rbx + 0x60], xmm2
movups xmmword [rbx + 0x50], xmm1
movups xmmword [rbx + 0x40], xmm0
lea rcx, [rbx + 0xc8]
xorps xmm6, xmm6
movups xmmword [rbx + 0xa0], xmm6
movups xmmword [rbx + 0xb0], xmm6
lea rdx, [rbp + 0xb0]
mov r8d, 0x88
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 0x18]
mov qword [rbx + 0x160], rax
movups xmm0, xmmword [rbp + 8]
movups xmmword [rbx + 0x150], xmm0
mov rax, qword [rbp]
mov qword [rbx + 0x178], rax
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rbx + 0x168], 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 + 0x80]
movaps xmm1, xmmword [rbp + 0x90]
movaps xmm2, xmmword [rbp + 0xa0]
movups xmmword [rbx + 0x70], xmm0
movups xmmword [rbx + 0x80], xmm1
movups xmmword [rbx + 0x90], xmm2
mov qword [rbx + 0xc0], rsi
mov qword [rbx + 0x180], 0
mov qword [rbx + 0x188], 8
mov qword [rbx + 0x190], 0
movzx r14d, byte [rdi]
movzx eax, byte [rdi + 1]
mov byte [rbp + 0x14d], al
movzx eax, byte [rdi + 2]
mov byte [rbp + 0x14e], al
movzx eax, byte [rdi + 3]
mov byte [rbp + 0x14a], al
movzx eax, byte [rdi + 4]
mov byte [rbp + 0x14b], al
movzx eax, byte [rdi + 5]
mov byte [rbp + 0x14f], al
movzx r12d, byte [rdi + 7]
movzx ebx, byte [rdi + 8]
movzx r13d, byte [rdi + 9]
movzx eax, byte [rdi + 0xa]
mov byte [rbp + 0x14c], al
cmp byte [rdi + 6], 0
je 0x14013a236
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 + 0x38]
shr rax, 3
movabs r15, 0x20c49ba5e353f7cf
mul r15
mov rcx, rdx
shr rcx, 4
mov rax, qword [rbp + 0x40]
shr rax, 3
mul r15
mov rax, qword [rbp + 0x150]
mov qword [rax + 0xa0], rcx
shr rdx, 4
mov qword [rax + 0xa8], rdx
xorps xmm0, xmm0
movaps xmmword [rbp + 0x100], 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
mov qword [rbp + 0x110], 0
lea rcx, [rbp + 0xb0]
mov edx, 0x68
call sub.PSAPI.DLL_GetPerformanceInfo
cmp eax, 1
jne 0x14013a236
mov rdx, qword [rbp + 0x100]
mov rcx, qword [rbp + 0xb8]
mov rax, qword [rbp + 0xc0]
mov rdi, qword [rbp + 0xd0]
xor esi, esi
sub rax, rdi
cmovb rax, rsi
imul rax, rdx
sub rcx, rdi
cmovb rcx, rsi
imul rcx, rdx
shr rax, 3
mul r15
mov rdi, rdx
shr rdi, 4
shr rcx, 3
mov rax, rcx
mul r15
mov rax, qword [rbp + 0x150]
mov qword [rax + 0xb0], rdi
shr rdx, 4
mov qword [rax + 0xb8], rdx
test r12b, r12b
je 0x14013a247
mov rcx, qword [rbp + 0x150]
call fcn.14013aa10
test r13b, r13b
je 0x14013a34b
lea rcx, [rbp + 0xb0]
call fcn.140133f10
mov rax, qword [rbp + 0x150]
lea rcx, [rax + 0x150]
mov qword [rbp + 0x78], rcx
mov rdi, qword [rax + 0x158]
mov rax, qword [rax + 0x160]
shl rax, 5
lea rax, [rax + rax*2]
mov qword [rbp + 0x140], rax
add rax, rdi
mov qword [rbp + 0x28], rax
jmp 0x14013a2c2
lea rbx, [rdi + 0x60]
add rdi, 0x20
add rsi, 0xffffffffffffffa0
mov qword [rbp + 0x140], rsi
mov rcx, rdi
mov qword [rbp + 0x20], rbx
call fcn.140143670
mov rdi, rbx
mov rax, qword [rbp + 0x140]
test rax, rax
je 0x14013a2ee
mov rsi, rax
mov rdx, qword [rdi]
test rdx, rdx
je 0x14013a2a0
mov rcx, qword [rdi + 8]
mov r8, rdx
not r8
shr r8, 0x3f
call fcn.14000e8c0
jmp 0x14013a2a0
mov rsi, qword [rbp + 0x78]
mov rax, qword [rsi]
test rax, rax
je 0x14013a31b
mov rcx, qword [rbp + 0x150]
mov rcx, qword [rcx + 0x158]
shl rax, 5
lea rdx, [rax + rax*2]
mov r8d, 8
call fcn.14000e8c0
mov rax, qword [rbp + 0xc0]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rsi], xmm0
mov rax, qword [rbp + 0x150]
lea rcx, [rax + 0x70]
cmp byte [rbp + 0x14a], 0
je 0x14013a393
call fcn.140141f50
jmp 0x14013a3a1
test bl, bl
je 0x14013a330
mov rax, qword [rbp + 0x150]
mov rax, qword [rax + 0x160]
test rax, rax
je 0x14013a330
mov rcx, qword [rbp + 0x150]
mov rdi, qword [rcx + 0x158]
lea rsi, [rax + rax*2]
shl rsi, 5
add rsi, rdi
nop dword [rax + rax]
mov rcx, rdi
call fcn.140133be0
add rdi, 0x60
cmp rdi, rsi
jne 0x14013a380
jmp 0x14013a330
cmp byte [rbp + 0x14e], 0
je 0x14013a3a1
call fcn.140142c80
cmp r14b, 2
je 0x14013a3c6
and r14b, 1
movzx r8d, byte [rbp + 0x14d]
and r8b, 1
mov rcx, qword [rbp + 0x150]
mov edx, r14d
call fcn.14013afd0
cmp byte [rbp + 0x14b], 0
je 0x14013a431
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [rbp + 0x80], eax
test eax, eax
je 0x14013a4c4
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xb8], 8
mov qword [rbp + 0xc0], 0
movabs rax, 0x2000000000
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x80]
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0xb0]
lea rdx, [rbp + 0x30]
call fcn.140143a30
jmp 0x14013a4e5
cmp byte [rbp + 0x14f], 0
je 0x14013a544
mov rax, qword [rbp + 0x150]
mov rax, qword [rax + 0x178]
test rax, rax
je 0x14013a544
mov rcx, qword [rbp + 0x150]
mov rdi, qword [rcx + 0x170]
lea rbx, [rax + rax*8]
shl rbx, 4
add rbx, rdi
lea rsi, [rbp + 0xb0]
jmp 0x14013a490
add rdi, 0x90
cmp rdi, rbx
je 0x14013a544
cmp qword [rdi + 0x30], 0
je 0x14013a480
mov qword [rbp + 0xb0], 0
mov rcx, qword [rdi + 0x60]
xor edx, edx
xor r8d, r8d
mov r9, rsi
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14013a480
mov rax, qword [rbp + 0xb0]
mov qword [rdi + 0x38], rax
jmp 0x14013a480
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xb8], 8
mov qword [rbp + 0xc0], 0
mov rax, qword [rbp + 0x150]
lea rcx, [rax + 0x168]
mov qword [rbp + 0x140], rcx
call fcn.140003050
mov rsi, qword [rbp + 0x140]
mov rax, qword [rsi]
test rax, rax
je 0x14013a52f
mov rcx, qword [rbp + 0x150]
mov rcx, qword [rcx + 0x170]
shl rax, 4
lea rdx, [rax + rax*8]
mov r8d, 8
call fcn.14000e8c0
mov rax, qword [rbp + 0xc0]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rsi], xmm0
cmp byte [rbp + 0x14c], 0
je 0x14013a5b4
lea rcx, [rbp + 0xb0]
call fcn.14013c760
mov rax, qword [rbp + 0x150]
lea rcx, [rax + 0x180]
mov qword [rbp + 0x140], rcx
call fcn.140002f70
mov rsi, qword [rbp + 0x140]
mov rax, qword [rsi]
test rax, rax
je 0x14013a59f
mov rcx, qword [rbp + 0x150]
mov rcx, qword [rcx + 0x188]
imul rdx, rax, 0x38
mov r8d, 8
call fcn.14000e8c0
mov rax, qword [rbp + 0xc0]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rsi], xmm0
mov rax, qword [rbp + 0x150]
movaps xmm6, xmmword [rbp + 0x160]
add rsp, 0x1f8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, str.v.__
mov qword [rsp + 0x20], rax
lea rcx, [0x140222e30]
lea r9, fcn.140004ae0
lea r8, [rbp + 0x80]
mov edx, 0x46
call fcn.140190200
ud2
mov ecx, 9
mov edx, 1
call fcn.14018fcb0
jmp 0x14013a650
mov ecx, 0x120
mov edx, 8
call fcn.14018fcb0
jmp 0x14013a650
lea rax, str.v.__
mov qword [rsp + 0x20], rax
lea rcx, [0x140222e30]
lea r9, fcn.140004ae0
lea r8, [rbp + 0x80]
mov edx, 0x46
call fcn.140190200
ud2