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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
movaps xmmword [rsp + 0x490], xmm6
mov rsi, rdx
mov qword [rsp + 0x80], rcx
mov rbx, qword [rsp + 0x528]
mov r14d, dword [rsp + 0x520]
mov r12d, dword [rsp + 0x518]
mov rax, qword [rsp + 0x510]
mov qword [rsp + 0x1b8], rdx
lea rdi, [rsp + 0x270]
mov qword [rdi], r9
mov qword [rdi + 8], rax
mov rcx, rdi
call fcn.14016c887
test al, al
je 0x14016bf8c
shr rsi, 1
mov qword [rsp + 0x118], rsi
xor eax, eax
mov ecx, r14d
sub ecx, r12d
cmovb ecx, eax
cmp rsi, rcx
ja 0x14016c82e
add esi, r12d
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x118]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xe8], rbx
mov dword [rsp + 0xf0], esi
mov dword [rsp + 0xf4], r14d
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x108], rbx
mov dword [rsp + 0x110], r12d
mov dword [rsp + 0x114], esi
call fcn.14007c87a
test rax, rax
je 0x14016c64a
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0xd0]
mov r8, rax
xor r9d, r9d
call fcn.14016c934
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xb0]
movups xmm0, xmmword [rsp + 0xb8]
movaps xmmword [rsp + 0x50], xmm0
mov r8, qword [rsp + 0xc8]
mov qword [rsp + 0x60], r8
test rcx, rcx
je 0x14016c70c
mov r8, qword [rsp + 0x50]
and qword [rsp + 0x50], 0
test r8, r8
je 0x14016c731
mov qword [rcx + 0x18], r8
mov qword [r8 + 0x20], rcx
mov rcx, qword [rsp + 0x58]
xorps xmm0, xmm0
add rax, qword [rsp + 0x60]
movups xmmword [rsp + 0x58], xmm0
jmp 0x14016c731
xorps xmm6, xmm6
movaps xmmword [rsp + 0x130], xmm6
mov r15, qword [rbx]
mov eax, 8
mov qword [rsp + 0x88], rax
lea rsi, [rsp + 0x40]
lea r13, [rsp + 0x280]
mov qword [rsp + 0x90], r15
cmp r12d, r14d
jae 0x14016c5a0
mov eax, dword [r15]
bt eax, r12d
jae 0x14016c508
lea edi, [r12 + 0x41]
mov word [rsp + 0x40], di
mov dword [rsp + 0x42], 0x5c003a
and word [rsp + 0x46], 0
mov rcx, rsi
call sub.KERNEL32.dll_GetDriveTypeW
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14016c07b
mov r8d, 0x20a
mov rcx, r13
xor edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, rsi
mov rdx, r13
mov r8d, 0x105
xor r9d, r9d
call sub.KERNEL32.dll_GetVolumeInformationW
test eax, eax
je 0x14016c07b
xor r8d, r8d
cmp r8, 0x105
je 0x14016c08c
cmp word [rsp + r8*2 + 0x280], 0
je 0x14016c092
inc r8
jmp 0x14016c061
mov qword [rsp + 0x1d0], 3
jmp 0x14016c508
mov r8d, 0x105
mov edx, 0x105
mov rcx, r13
lea r9, str._.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.8_src_windows_disk.rs
call fcn.14016d100
mov r8, rdx
lea rcx, [rsp + 0x118]
mov rdx, rax
call fcn.14016d125
mov rsi, qword [rsp + 0x118]
mov rax, qword [rsp + 0x128]
xor r8d, r8d
mov qword [rsp + 0x98], rax
cmp r8, 0x20
je 0x14016c0eb
cmp word [rsp + r8*2 + 0xd0], 0
je 0x14016c0f1
inc r8
jmp 0x14016c0d4
mov r8d, 0x20
mov edx, 0x20
lea rcx, [rsp + 0xd0]
lea r9, str._.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.8_src_windows_disk.rs
call fcn.14016d100
mov rbx, rax
mov r14, rdx
mov rcx, rdx
xor edx, edx
call fcn.14003ad87
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], rdx
and qword [rsp + 0x158], 0
lea rcx, [rsp + 0x148]
mov rdx, r14
call fcn.140131462
mov r13, qword [rsp + 0x148]
mov r15, qword [rsp + 0x158]
test r14, r14
je 0x14016c16d
xor eax, eax
mov cl, byte [rbx + rax*2]
mov byte [r13 + r15], cl
inc r15
inc rax
cmp r14, rax
jne 0x14016c15a
mov rbx, qword [rsp + 0x150]
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x182], rax
mov word [rsp + 0x18a], di
mov dword [rsp + 0x18c], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x182]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x14016c4b0
mov r14, rax
and qword [rsp + 0x70], 0
and qword [rsp + 0x148], 0
lea rcx, [rsp + 0x40]
xor edx, edx
lea r8, [rsp + 0x70]
lea r9, [rsp + 0x148]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14016c49a
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14016c49a
mov rcx, qword [rsp + 0x148]
mov qword [rsp + 0x1b0], rcx
and dword [rsp + 0x78], 0
mov qword [rsp + 0x1c4], 7
and qword [rsp + 0x70], 0
mov byte [rsp + 0x1cc], 0
and dword [rsp + 0x4c], 0
mov qword [rsp + 0x1a0], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov rcx, r14
mov edx, 0x2d1400
lea r8, [rsp + 0x1c4]
mov r9d, 0xc
call sub.KERNEL32.dll_DeviceIoControl
mov qword [rsp + 0x1a8], rbx
xor ebx, ebx
cmp byte [rsp + 0x78], 0
sete bl
cmp dword [rsp + 0x4c], 0xc
mov ecx, 2
cmovne rbx, rcx
test eax, eax
cmove rbx, rcx
lea rcx, [rsp + 0x148]
mov rdx, rsi
mov r8, qword [rsp + 0x98]
call fcn.14016b100
mov rcx, r15
xor edx, edx
call fcn.14003ad87
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x98], rdx
mov rcx, rax
mov rdx, r13
mov r8, r15
call sub.msvcrt.dll_memcpy
mov ecx, 4
xor edx, edx
call fcn.14016d14c
mov rdi, rax
mov qword [rsp + 0x190], rdx
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov edx, 4
mov r8d, 3
lea rcx, [rsp + 0x40]
lea r9, str._.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.8_src_windows_disk.rs
call fcn.14016d100
mov r8, rdx
lea rsi, [rsp + 0x230]
mov rcx, rsi
mov rdx, rax
call fcn.14016d125
movups xmm0, xmmword [rsp + 0x148]
movups xmm1, xmmword [rsp + 0x158]
movups xmmword [rsi - 0x40], xmm1
movups xmmword [rsi - 0x50], xmm0
or qword [rsp + 0x1d8], 0xffffffffffffffff
cmp ebp, 2
mov qword [rsp + 0x1d0], rbx
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x208], rax
mov qword [rsp + 0x210], r15
mov qword [rsp + 0x218], rdi
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x228], 4
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x250], rax
sete byte [rsp + 0x258]
mov eax, dword [rsp + 0x148]
mov ecx, dword [rsp + 0x14b]
mov dword [rsi + 0x2c], ecx
mov dword [rsi + 0x29], eax
mov rcx, r14
call fcn.14018750c
mov rcx, r13
mov rdx, qword [rsp + 0x1a8]
call fcn.1400fa958
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x120]
call fcn.1400fa958
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x280], rcx
movaps xmm0, xmmword [rsp + 0x130]
lea rax, [rsp + 0x288]
movups xmmword [rax], xmm0
mov rsi, qword [rsp + 0x290]
cmp rsi, qword [rsp + 0x288]
jne 0x14016c530
lea r13, [rsp + 0x280]
mov rcx, r13
mov rdx, rsi
call fcn.14016b994
mov rax, qword [rsp + 0x280]
mov rsi, qword [rsp + 0x290]
mov rbx, qword [rsp + 0x528]
mov r14d, dword [rsp + 0x520]
mov r15, qword [rsp + 0x90]
jmp 0x14016c553
mov qword [rsp + 0x1d0], 3
mov rcx, r14
call fcn.14018750c
jmp 0x14016c4c8
mov rcx, 0xffffffffffffffff
call fcn.14018750c
mov qword [rsp + 0x1d0], 3
mov rcx, r13
mov rdx, rbx
call fcn.1400fa958
mov rdx, qword [rsp + 0x120]
mov rcx, rsi
call fcn.1400fa958
mov rbx, qword [rsp + 0x528]
mov r14d, dword [rsp + 0x520]
mov r15, qword [rsp + 0x90]
lea rsi, [rsp + 0x40]
lea r13, [rsp + 0x280]
movaps xmm0, xmmword [rsp + 0x130]
movaps xmmword [rsp + 0xd0], xmm0
inc r12d
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x130], xmm0
jmp 0x14016bfbc
mov rax, rcx
mov rbx, qword [rsp + 0x528]
mov r14d, dword [rsp + 0x520]
mov r15, qword [rsp + 0x90]
lea r13, [rsp + 0x280]
imul rcx, rsi, 0x90
mov qword [rsp + 0x88], rax
add rcx, rax
mov r8d, 0x90
lea rdx, [rsp + 0x1d0]
call sub.msvcrt.dll_memcpy
inc rsi
mov qword [rsp + 0x290], rsi
lea rax, [rsp + 0x288]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xd0], xmm0
lea rsi, [rsp + 0x40]
jmp 0x14016c518
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [rsp + 0x130]
movups xmmword [rsp + 0xa8], xmm0
mov qword [rsp + 0xb8], rbx
cmp qword [rsp + 0xb0], 0
je 0x14016c625
mov ecx, 8
mov edx, 0x28
call fcn.14001e247
test rax, rax
je 0x14016c848
movups xmm0, xmmword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x10], rcx
movups xmmword [rax], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], 1
jmp 0x14016c74e
xorps xmm0, xmm0
mov rax, qword [rsp + 0x80]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0xa0]
call fcn.14016bcd8
jmp 0x14016c74e
call fcn.14007baf6
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.14007c87a
test rax, rax
je 0x14016c76a
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x14016c816
mov rax, r14
add rax, 0x110
mov rdx, qword [r14 + 0x100]
lea r15, [rsp + 0x1d0]
lea rsi, [rsp + 0xd0]
mov ecx, 9
mov rdi, r15
rep movsq qword [rdi], qword [rsi]
lea rsi, [rsp + 0x250]
mov qword [rsi], rax
and qword [rsi + 8], 0
mov qword [rsi + 0x10], rdx
mov byte [rsi + 0x18], 1
and qword [rsi - 0x38], 0
lea rdx, [0x14016cb44]
mov rcx, rbx
mov r8, r15
call fcn.14007cada
mov rcx, r14
mov rdx, rsi
call fcn.14016cc4d
lea rcx, [rsp + 0x280]
mov r8d, 0xa0
mov rdx, r15
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2c8]
lea rcx, [rsp + 0xa0]
call fcn.14016bd62
jmp 0x14016bf1e
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov r9, qword [rsp + 0x60]
mov qword [rsp + 0x50], rdx
and qword [rsp + 0x58], 0
mov qword [rsp + 0x60], rax
mov rax, r9
mov rdx, r8
mov r8, qword [rsp + 0x80]
mov qword [r8], rdx
mov qword [r8 + 8], rcx
mov qword [r8 + 0x10], rax
lea rcx, [rsp + 0x50]
call fcn.14016c8ca
movaps xmm6, xmmword [rsp + 0x490]
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
call fcn.14007cd1d
test rax, rax
je 0x14016c859
lea rdx, [rsp + 0x1d8]
lea rsi, [rsp + 0xd0]
mov ecx, 9
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
mov qword [rdx - 8], rax
and qword [rdx + 0x48], 0
lea rdx, [0x14016cd11]
lea rsi, [rsp + 0x1d0]
mov rcx, rbx
mov r8, rsi
call fcn.14007cada
mov rcx, qword [rsi]
call fcn.14007ba85
lea rcx, [rsp + 0x280]
mov r8d, 0x88
mov rdx, rsi
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2d0]
lea rsi, [rsp + 0x150]
mov rcx, rsi
call fcn.14016bd62
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xc0], xmm2
jmp 0x14016bf1e
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0xd0]
mov r8, r14
jmp 0x14016bf16
lea rcx, str.assertion_failed:_index___self.range.len___.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_1.7.0_src_range.rs
lea r8, [0x1402bf480]
mov edx, 0x2b
call fcn.14003cdd0
ud2
mov ecx, 8
mov edx, 0x28
call fcn.140037c50
ud2
lea rax, [0x14032ca60]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_a28077b28a02b92985b3a3faecf92813155f1ea1library_std_src_threadlocal.rs
lea r9, [0x14032bbe8]
lea r8, [rsp + 0x280]
mov edx, 0x46
call fcn.14003e8c0
ud2