Function at 0x14013fced
Capabilities:
Get disk information
Get disk size
Get storage device properties

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4d8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x440], xmm6
mov qword [rbp + 0x438], 0xfffffffffffffffe
mov rsi, rdx
mov r14, rcx
mov r13, qword [rbp + 0x4d8]
mov r15d, dword [rbp + 0x4d0]
mov ebx, dword [rbp + 0x4c8]
mov rax, qword [rbp + 0x4c0]
mov qword [rbp + 0x3e8], rdx
lea r12, [rbp - 0x40]
mov qword [r12], r9
mov qword [r12 + 8], rax
mov rcx, r12
call fcn.14013dd4c
test al, al
je 0x14013fde4
shr rsi, 1
mov qword [rbp + 0x388], rsi
xor eax, eax
mov ecx, r15d
sub ecx, ebx
cmovb ecx, eax
cmp rsi, rcx
ja 0x140140897
add esi, ebx
call fcn.14009fed2
test rax, rax
je 0x140140546
lea rcx, [rbp + 0x3e8]
lea rdx, [rbp - 0x30]
mov qword [rdx], rcx
lea rcx, [rbp + 0x388]
mov qword [rdx + 8], rcx
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r13
mov dword [rdx + 0x20], esi
mov r8d, dword [rbp + 0x4d0]
mov dword [rdx + 0x24], r8d
mov qword [rdx + 0x28], rcx
mov qword [rdx + 0x30], r12
mov qword [rdx + 0x38], r13
mov dword [rdx + 0x40], ebx
mov dword [rdx + 0x44], esi
lea rcx, [rbp + 0x3b0]
mov r8, rax
xor r9d, r9d
call fcn.14013f695
jmp 0x1401407f2
mov qword [rbp + 0x420], r14
xorps xmm6, xmm6
movaps xmmword [rbp + 0x2d0], xmm6
lea rdi, [rbp + 0x290]
push 8
pop r14
lea r12, [rbp + 0x310]
mov esi, r15d
cmp ebx, esi
jae 0x140140485
mov qword [rbp + 0x288], r14
movaps xmm0, xmmword [rbp + 0x2d0]
movups xmmword [rdi], xmm0
mov qword [rbp + 0x2a0], r13
mov rax, qword [r13]
mov eax, dword [rax]
bt eax, ebx
jae 0x14014041b
mov qword [rbp + 0x360], r13
lea r13d, [rbx + 0x41]
mov word [rbp + 0x428], r13w
mov dword [rbp + 0x42a], 0x5c003a
and word [rbp + 0x42e], 0
mov byte [rbp + 0x437], 1
lea rcx, [rbp + 0x428]
call sub.kernel32.dll_GetDriveTypeW
mov r15d, eax
lea eax, [r15 - 4]
cmp eax, 0xfffffffe
jb 0x14014040d
mov r8d, 0x20a
lea r14, [rbp - 0x30]
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movaps xmmword [rbp + 0x340], xmm6
movaps xmmword [rbp + 0x330], xmm6
movaps xmmword [rbp + 0x320], xmm6
movaps xmmword [rbp + 0x310], xmm6
mov byte [rbp + 0x437], 1
mov qword [rsp + 0x30], r12
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
lea rcx, [rbp + 0x428]
mov rdx, r14
mov r8d, 0x105
xor r9d, r9d
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x14014040d
xor r8d, r8d
cmp r8, 0x105
je 0x14013ff04
cmp word [rbp + r8*2 - 0x30], 0
je 0x14013ff28
inc r8
jmp 0x14013feed
mov byte [rbp + 0x437], 1
mov edx, 0x105
mov r8d, 0x105
lea rcx, [rbp - 0x30]
lea r9, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.8_srcwindowsdisk.rs
call fcn.14013f3a2
jmp 0x14013ff44
mov byte [rbp + 0x437], 1
mov edx, 0x105
lea rcx, [rbp - 0x30]
lea r9, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.8_srcwindowsdisk.rs
call fcn.14013f3a2
mov r8, rdx
mov byte [rbp + 0x437], 1
lea rcx, [rbp + 0x388]
mov rdx, rax
call fcn.14013e63c
mov rsi, qword [rbp + 0x388]
mov rax, qword [rbp + 0x398]
mov qword [rbp + 0x3f8], rax
xor r8d, r8d
push 0x20
pop rdx
cmp r8, 0x20
je 0x14013ff8f
cmp word [rbp + r8*2 + 0x310], 0
je 0x14013ff92
inc r8
jmp 0x14013ff78
mov r8, rdx
mov rcx, r12
lea r9, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.8_srcwindowsdisk.rs
call fcn.14013f3a2
mov r12, rax
mov r14, rdx
mov rcx, rdx
xor edx, edx
call fcn.14009dbaf
mov qword [rbp + 0x410], rsi
mov qword [rbp + 0x3b0], rax
mov qword [rbp + 0x3b8], rdx
and qword [rbp + 0x3c0], 0
lea rcx, [rbp + 0x3b0]
mov rdx, r14
call fcn.14009b0f7
mov rdx, qword [rbp + 0x3b0]
mov rsi, qword [rbp + 0x3c0]
test r14, r14
je 0x140140004
xor eax, eax
mov cl, byte [r12 + rax*2]
mov byte [rdx + rsi], cl
inc rsi
inc rax
cmp r14, rax
jne 0x14013fff2
mov qword [rbp + 0x3f0], rdx
mov rax, qword [rbp + 0x3b8]
mov qword [rbp + 0x3a0], rax
movabs rax, 0x5c002e005c005c
mov qword [rbp + 0x2e2], rax
mov word [rbp + 0x2ea], r13w
mov dword [rbp + 0x2ec], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rbp + 0x2e2]
xor edx, edx
push 3
pop r8
xor r9d, r9d
call qword [sym.imp.kernel32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x1401403c2
mov qword [rbp + 0x400], rax
and qword [rbp + 0x2f0], 0
and qword [rbp + 0x3b0], 0
lea rcx, [rbp + 0x428]
xor edx, edx
lea r8, [rbp + 0x2f0]
lea r9, [rbp + 0x3b0]
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1401403cd
mov r12, qword [rbp + 0x2f0]
test r12, r12
mov rcx, qword [rbp + 0x400]
je 0x1401403d4
mov rax, qword [rbp + 0x3b0]
mov qword [rbp + 0x2c8], rax
and dword [rbp + 0x358], 0
mov qword [rbp + 0x2b8], 7
and qword [rbp + 0x350], 0
mov byte [rbp + 0x2c0], 0
and dword [rbp + 0x40c], 0
lea rax, [rbp + 0x40c]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x350]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov edx, 0x2d1400
lea r8, [rbp + 0x2b8]
push 0xc
pop r9
call qword [sym.imp.kernel32.dll_DeviceIoControl]
xor r13d, r13d
cmp byte [rbp + 0x358], 0
sete r13b
cmp dword [rbp + 0x40c], 0xc
push 2
pop rcx
cmovne r13, rcx
test eax, eax
cmove r13, rcx
push 1
pop rax
mov r8, qword [rbp + 0x3f8]
test r8, r8
je 0x140140195
js 0x1401408af
mov r14, r8
not r14
shr r14, 0x3f
mov al, byte [0x14036f2c8]
mov rcx, r8
mov rdx, r14
call fcn.14005d760
mov r8, qword [rbp + 0x3f8]
test rax, rax
je 0x1401408b6
mov qword [rbp + 0x368], rax
mov rcx, rax
mov rdx, qword [rbp + 0x410]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
xor edx, edx
call fcn.14009dbaf
mov qword [rbp + 0x410], rdx
mov qword [rbp + 0x370], rax
mov rcx, rax
mov rdx, qword [rbp + 0x3f0]
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
push 4
pop r14
mov rcx, r14
xor edx, edx
call fcn.14013f1e6
mov qword [rbp + 0x378], rdx
mov rcx, qword [rbp + 0x428]
mov qword [rbp + 0x380], rax
mov qword [rax], rcx
lea rcx, [rbp + 0x428]
mov rdx, r14
push 3
pop r8
lea r9, str.h___
call fcn.14013f3a2
mov r8, rdx
lea rcx, [rbp + 0x3b0]
mov rdx, rax
call fcn.14013e63c
mov eax, dword [rbp + 0x418]
mov ecx, dword [rbp + 0x41b]
mov dword [rbp + 0x3ab], ecx
mov dword [rbp + 0x3a8], eax
movups xmm0, xmmword [rbp + 0x3b0]
movaps xmmword [rbp + 0x2f0], xmm0
mov rax, qword [rbp + 0x3c0]
mov qword [rbp + 0x300], rax
mov eax, dword [rbp + 0x3b0]
mov ecx, dword [rbp + 0x3b3]
mov dword [rbp + 0x418], eax
mov dword [rbp + 0x41b], ecx
mov rcx, qword [rbp + 0x400]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbp + 0x3f0]
mov rdx, qword [rbp + 0x3a0]
call fcn.14006b51b
mov rcx, qword [rbp + 0x388]
mov rdx, qword [rbp + 0x390]
call fcn.14006b51b
or qword [rbp + 0x1e8], 0xffffffffffffffff
cmp r15d, 2
mov qword [rbp + 0x1e0], r13
mov rax, qword [rbp + 0x368]
mov qword [rbp + 0x1f0], rax
mov rax, qword [rbp + 0x3f8]
mov qword [rbp + 0x1f8], rax
mov qword [rbp + 0x200], rax
mov byte [rbp + 0x208], 0
mov eax, dword [rbp + 0x3a8]
mov ecx, dword [rbp + 0x3ab]
lea rdx, [rbp + 0x209]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov rax, qword [rbp + 0x370]
mov qword [rbp + 0x210], rax
mov rax, qword [rbp + 0x410]
mov qword [rbp + 0x218], rax
mov qword [rbp + 0x220], rsi
mov rax, qword [rbp + 0x380]
mov qword [rbp + 0x228], rax
mov rax, qword [rbp + 0x378]
mov qword [rbp + 0x230], rax
mov qword [rbp + 0x238], 4
mov rax, qword [rbp + 0x300]
mov qword [rdx + 0x47], rax
movaps xmm0, xmmword [rbp + 0x2f0]
movups xmmword [rdx + 0x37], xmm0
mov qword [rbp + 0x258], r12
mov rax, qword [rbp + 0x2c8]
mov qword [rbp + 0x260], rax
sete byte [rbp + 0x268]
mov eax, dword [rbp + 0x418]
mov ecx, dword [rbp + 0x41b]
mov dword [rdx + 0x63], ecx
mov dword [rdx + 0x60], eax
movups xmm0, xmmword [rbp + 0x288]
movaps xmmword [rbp - 0x30], xmm0
mov rsi, qword [rbp + 0x298]
mov qword [rbp - 0x20], rsi
cmp rsi, qword [rbp - 0x28]
jne 0x14014043a
lea rcx, [rbp - 0x30]
mov rdx, rsi
call fcn.14013a1e6
mov r13, qword [rbp + 0x360]
mov rsi, qword [rbp - 0x20]
jmp 0x140140441
push 0xffffffffffffffff
pop rcx
call qword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x1401403da
mov rcx, qword [rbp + 0x400]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbp + 0x3f0]
mov rdx, qword [rbp + 0x3a0]
call fcn.14006b51b
mov rdx, qword [rbp + 0x390]
mov rcx, qword [rbp + 0x410]
call fcn.14006b51b
mov esi, dword [rbp + 0x4d0]
lea r12, [rbp + 0x310]
mov r14, qword [rbp + 0x288]
mov r13, qword [rbp + 0x2a0]
movups xmm0, xmmword [rdi]
movaps xmmword [rbp + 0x310], xmm0
inc ebx
movaps xmm0, xmmword [rbp + 0x310]
movaps xmmword [rbp + 0x2d0], xmm0
jmp 0x14013fe0a
mov r13, qword [rbp + 0x360]
lea r12, [rbp + 0x310]
mov r14, qword [rbp - 0x30]
imul rcx, rsi, 0x90
add rcx, r14
mov r8d, 0x90
lea rdx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memcpy
inc rsi
mov qword [rbp - 0x20], rsi
lea rax, [rbp - 0x28]
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x310], xmm0
mov esi, dword [rbp + 0x4d0]
jmp 0x140140425
movaps xmm0, xmmword [rbp + 0x2d0]
movups xmmword [rbp + 0x318], xmm0
mov qword [rbp + 0x310], r14
and qword [rbp + 0x1f0], 0
xorps xmm0, xmm0
movaps xmmword [rbp + 0x1e0], xmm0
cmp qword [rbp + 0x320], 0
je 0x14014067a
mov rax, qword [rbp + 0x320]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0x310]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x318]
mov qword [rbp - 0x28], rax
movups xmmword [rbp - 0x18], xmm0
push 8
pop rcx
push 0x28
pop rdx
call fcn.14009161f
test rax, rax
mov rdx, qword [rbp + 0x420]
je 0x1401408c3
mov rcx, qword [rbp - 0x20]
mov qword [rax + 0x10], rcx
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rax], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
mov qword [rbp + 0x1e0], rax
mov qword [rbp + 0x1e8], rax
push 1
pop rax
mov qword [rbp + 0x1f0], rax
mov qword [rdx + 0x10], rax
mov rax, qword [rbp + 0x1e0]
mov qword [rdx], rax
mov rax, qword [rbp + 0x1e8]
mov qword [rdx + 8], rax
jmp 0x14014087c
mov rdi, r13
mov qword [rbp + 0x420], r14
call fcn.14009dc87
mov r13, qword [rax]
lea r14, [r13 + 0x80]
call fcn.14009fed2
test rax, rax
je 0x14014069a
mov r15, rax
cmp qword [rax + 0x110], r13
je 0x14014079a
mov rax, r15
add rax, 0x110
mov rcx, qword [r15 + 0x100]
lea rdx, [rbp + 0x3e8]
lea r8, [rbp + 0x1e0]
mov qword [r8], rdx
lea rdx, [rbp + 0x388]
mov qword [r8 + 8], rdx
mov qword [r8 + 0x10], r12
mov qword [r8 + 0x18], rdi
mov dword [r8 + 0x20], esi
mov r9d, dword [rbp + 0x4d0]
mov dword [r8 + 0x24], r9d
mov qword [r8 + 0x28], rdx
mov qword [r8 + 0x30], r12
mov qword [r8 + 0x38], rdi
mov dword [r8 + 0x40], ebx
mov dword [r8 + 0x44], esi
mov qword [r8 + 0x80], rax
and qword [r8 + 0x88], 0
mov qword [r8 + 0x90], rcx
mov al, 1
mov byte [r8 + 0x98], al
and qword [r8 + 0x48], 0
mov byte [rbp + 0x435], al
lea rdx, [0x140140c92]
mov rcx, r14
call fcn.1400a0636
lea rdx, [rbp + 0x260]
mov byte [rbp + 0x435], 1
mov rcx, r15
call fcn.14013afee
lea rsi, [rbp - 0x30]
lea rdx, [rbp + 0x1e0]
mov r8d, 0xa0
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x78]
lea rdx, [rbp + 0x310]
mov qword [rdx + 0x30], rax
movups xmm0, xmmword [rsi + 0x48]
movups xmm1, xmmword [rsi + 0x58]
movups xmm2, xmmword [rsi + 0x68]
movaps xmmword [rdx + 0x20], xmm2
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
mov byte [rbp + 0x435], 0
lea rcx, [rbp + 0x3b0]
call fcn.14013a7df
jmp 0x1401407eb
mov rax, qword [rbp + 0x420]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rbp + 0x310]
call fcn.14013a247
jmp 0x14014087c
xor ecx, ecx
call fcn.14013e5e8
lea rcx, [rbp + 0x3e8]
lea r8, [rbp + 0x1e0]
mov qword [r8 + 8], rcx
lea rcx, [rbp + 0x388]
mov qword [r8 + 0x10], rcx
mov qword [r8 + 0x18], r12
mov qword [r8 + 0x20], rdi
mov dword [r8 + 0x28], esi
mov edx, dword [rbp + 0x4d0]
mov dword [r8 + 0x2c], edx
mov qword [r8 + 0x30], rcx
mov qword [r8 + 0x38], r12
mov qword [r8 + 0x40], rdi
mov dword [r8 + 0x48], ebx
mov dword [r8 + 0x4c], esi
mov qword [r8], rax
and qword [r8 + 0x50], 0
mov byte [rbp + 0x436], 1
lea rdx, [0x140140f60]
mov rcx, r14
call fcn.1400a0636
mov rcx, qword [rbp + 0x1e0]
mov byte [rbp + 0x436], 1
call fcn.14009dc16
lea rsi, [rbp - 0x30]
lea rdx, [rbp + 0x1e0]
mov r8d, 0x88
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x80]
lea rdx, [rbp + 0x310]
mov qword [rdx + 0x30], rax
movups xmm0, xmmword [rsi + 0x50]
movups xmm1, xmmword [rsi + 0x60]
movups xmm2, xmmword [rsi + 0x70]
movaps xmmword [rdx + 0x20], xmm2
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
mov byte [rbp + 0x436], 0
lea rcx, [rbp + 0x288]
call fcn.14013a7df
movups xmm0, xmmword [rbp + 0x288]
movups xmm1, xmmword [rbp + 0x298]
movups xmm2, xmmword [rbp + 0x2a8]
movaps xmmword [rbp + 0x3b0], xmm0
movaps xmmword [rbp + 0x3c0], xmm1
movaps xmmword [rbp + 0x3d0], xmm2
jmp 0x1401407eb
lea rax, [rbp + 0x3e8]
lea rdx, [rbp - 0x30]
mov qword [rdx], rax
lea rax, [rbp + 0x388]
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], rdi
mov dword [rdx + 0x20], esi
mov ecx, dword [rbp + 0x4d0]
mov dword [rdx + 0x24], ecx
mov qword [rdx + 0x28], rax
mov qword [rdx + 0x30], r12
mov qword [rdx + 0x38], rdi
mov dword [rdx + 0x40], ebx
mov dword [rdx + 0x44], esi
lea rcx, [rbp + 0x3b0]
mov r8, r15
xor r9d, r9d
call fcn.14013f695
mov r14, qword [rbp + 0x420]
mov rdx, qword [rbp + 0x3b0]
mov rcx, qword [rbp + 0x3b8]
mov rax, qword [rbp + 0x3c0]
mov r8, qword [rbp + 0x3d8]
mov qword [rbp - 0x20], r8
movups xmm0, xmmword [rbp + 0x3c8]
movaps xmmword [rbp - 0x30], xmm0
test rcx, rcx
je 0x140140849
mov r8, qword [rbp - 0x30]
and qword [rbp - 0x30], 0
test r8, r8
je 0x140140868
mov qword [rcx + 0x18], r8
mov qword [r8 + 0x20], rcx
mov rcx, qword [rbp - 0x28]
xorps xmm0, xmm0
add rax, qword [rbp - 0x20]
movups xmmword [rbp - 0x28], xmm0
jmp 0x140140868
mov r8, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
mov r9, qword [rbp - 0x20]
mov qword [rbp - 0x30], rdx
and qword [rbp - 0x28], 0
mov qword [rbp - 0x20], rax
mov rax, r9
mov rdx, r8
mov qword [r14], rdx
mov qword [r14 + 8], rcx
mov qword [r14 + 0x10], rax
lea rcx, [rbp - 0x30]
call fcn.14013a6e3
movaps xmm6, xmmword [rbp + 0x440]
add rsp, 0x4d8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.assertion_failed:_index___self.range.len__C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rayon_1.7.0_src_range.rs
lea r8, [0x1402c5040]
push 0x2b
pop rdx
call fcn.140281860
ud2
call fcn.14005b2d0
jmp 0x1401408ce
mov rcx, r14
mov rdx, r8
call fcn.140281350
jmp 0x1401408ce
push 8
pop rcx
push 0x28
pop rdx
call fcn.140281350
ud2