Function at 0x1400c956a
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, 0x488
movaps xmmword [rsp + 0x470], xmm6
mov rsi, rdx
mov qword [rsp + 0x48], rcx
mov rdi, qword [rsp + 0x508]
mov ebp, dword [rsp + 0x500]
mov ebx, dword [rsp + 0x4f8]
mov rax, qword [rsp + 0x4f0]
mov qword [rsp + 0x60], rdx
lea r13, [rsp + 0x460]
mov qword [r13], r9
mov qword [r13 + 8], rax
mov rcx, r13
call fcn.1400c7c0d
test al, al
je 0x1400c96de
shr rsi, 1
mov qword [rsp + 0x88], rsi
xor eax, eax
mov ecx, ebp
sub ecx, ebx
cmovb ecx, eax
cmp rsi, rcx
ja 0x1400ca095
add esi, ebx
call fcn.1400549b8
test rax, rax
je 0x1400c9dba
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x240]
mov qword [rdx], rcx
lea rcx, [rsp + 0x88]
mov qword [rdx + 8], rcx
mov qword [rdx + 0x10], r13
mov qword [rdx + 0x18], rdi
mov dword [rdx + 0x20], esi
mov dword [rdx + 0x24], ebp
mov qword [rdx + 0x28], rcx
mov qword [rdx + 0x30], r13
mov qword [rdx + 0x38], rdi
mov dword [rdx + 0x40], ebx
mov dword [rdx + 0x44], esi
lea rcx, [rsp + 0xa0]
mov r8, rax
xor r9d, r9d
call fcn.1400c916e
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xc8]
mov qword [rsp + 0x130], rbp
movups xmm0, xmmword [rsp + 0xb8]
movaps xmmword [rsp + 0x120], xmm0
mov qword [rsp + 0x250], rbp
movaps xmmword [rsp + 0x240], xmm0
test rdx, rdx
je 0x1400c9edc
mov rbp, qword [rsp + 0x240]
and qword [rsp + 0x240], 0
test rbp, rbp
je 0x1400c9f13
mov qword [rdx], rbp
mov qword [rbp + 8], rdx
mov rdx, qword [rsp + 0x248]
xorps xmm0, xmm0
add rcx, qword [rsp + 0x250]
movups xmmword [rsp + 0x248], xmm0
jmp 0x1400c9f13
xorps xmm6, xmm6
movaps xmmword [rsp + 0xd0], xmm6
mov eax, 8
mov qword [rsp + 0x78], rax
lea rsi, [rsp + 0x40]
lea r15, [rsp + 0x240]
lea r12, [rsp + 0x1c0]
cmp ebx, ebp
jae 0x1400c9cdb
lea r13d, [rbx + 1]
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x110], xmm0
mov rax, qword [rdi]
mov eax, dword [rax]
bt eax, ebx
jae 0x1400c9c57
add ebx, 0x41
mov word [rsp + 0x40], bx
mov dword [rsp + 0x42], 0x5c003a
and word [rsp + 0x46], 0
mov rcx, rsi
call sub.kernel32.dll_GetDriveTypeW
mov r14d, eax
lea eax, [r14 - 4]
cmp eax, 0xfffffffe
jb 0x1400c97d3
mov r8d, 0x20a
mov rcx, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movaps xmmword [rsp + 0x1f0], xmm6
movaps xmmword [rsp + 0x1e0], xmm6
movaps xmmword [rsp + 0x1d0], xmm6
movaps xmmword [rsp + 0x1c0], xmm6
mov qword [rsp + 0x30], r12
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, rsi
mov rdx, r15
mov r8d, 0x105
xor r9d, r9d
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x1400c97d3
xor r8d, r8d
cmp r8, 0x105
je 0x1400c97e4
cmp word [rsp + r8*2 + 0x240], 0
je 0x1400c97ea
inc r8
jmp 0x1400c97b9
mov qword [rsp + 0x120], 3
jmp 0x1400c9c57
mov r8d, 0x105
mov edx, 0x105
mov rcx, r15
lea r9, str.C:Users_tuxis.cargo_registry_srcgithub.com_1ecc6299db9ec823_sysinfo_0.28.4_srcwindowsdisk.rs
call fcn.1400c8cb8
mov r8, rdx
lea rcx, [rsp + 0x88]
mov rdx, rax
call fcn.1400c7fb7
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x98]
xor r8d, r8d
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x80], rcx
cmp r8, 0x20
je 0x1400c9848
cmp word [rsp + r8*2 + 0x1c0], 0
je 0x1400c984e
inc r8
jmp 0x1400c9831
mov r8d, 0x20
mov edx, 0x20
mov rcx, r12
lea r9, str.C:Users_tuxis.cargo_registry_srcgithub.com_1ecc6299db9ec823_sysinfo_0.28.4_srcwindowsdisk.rs
call fcn.1400c8cb8
mov rsi, rax
mov rdi, rdx
mov rcx, rdx
xor edx, edx
call fcn.140054d98
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rdx
and qword [rsp + 0xb0], 0
lea rcx, [rsp + 0xa0]
mov rdx, rdi
call fcn.14004c1fb
mov r15, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xb0]
lea rax, [r15 + rbp]
mov r12, rdi
btr r12, 0x3f
add rdi, rdi
xor ecx, ecx
cmp rdi, rcx
je 0x1400c98cf
mov dl, byte [rsi + rcx]
mov byte [rax], dl
inc rax
add rcx, 2
jmp 0x1400c98bc
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0xe2], rax
mov word [rsp + 0xea], bx
mov dword [rsp + 0xec], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0xe2]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.kernel32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x1400c9bf8
mov rsi, rax
and qword [rsp + 0x68], 0
and qword [rsp + 0x208], 0
lea rcx, [rsp + 0x40]
xor edx, edx
lea r8, [rsp + 0x68]
lea r9, [rsp + 0x208]
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1400c9be1
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400c9be1
add rbp, r12
mov rcx, qword [rsp + 0x208]
mov qword [rsp + 0xf8], rcx
and dword [rsp + 0x70], 0
mov qword [rsp + 0x100], 7
and qword [rsp + 0x68], 0
mov byte [rsp + 0x108], 0
and dword [rsp + 0x54], 0
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov rcx, rsi
mov edx, 0x2d1400
lea r8, [rsp + 0x100]
mov r9d, 0xc
call qword [sym.imp.kernel32.dll_DeviceIoControl]
xor r12d, r12d
cmp byte [rsp + 0x70], 0
sete r12b
cmp dword [rsp + 0x54], 0xc
mov ecx, 2
cmovne r12, rcx
test eax, eax
cmove r12, rcx
lea rcx, [rsp + 0x208]
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x80]
call fcn.1400c5320
mov rcx, rbp
xor edx, edx
call fcn.140054d98
mov rdi, rax
mov qword [rsp + 0x58], rdx
mov rcx, rax
mov rdx, r15
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov ecx, 4
xor edx, edx
call fcn.1400c8aef
mov rbx, rax
mov qword [rsp + 0x80], rdx
mov rax, qword [rsp + 0x40]
mov qword [rbx], rax
mov edx, 4
mov r8d, 3
lea rcx, [rsp + 0x40]
lea r9, str.C:Users_tuxis.cargo_registry_srcgithub.com_1ecc6299db9ec823_sysinfo_0.28.4_srcwindowsdisk.rs
call fcn.1400c8cb8
mov r8, rdx
lea r15, [rsp + 0x180]
mov rcx, r15
mov rdx, rax
call fcn.1400c7fb7
movups xmm0, xmmword [rsp + 0x208]
movups xmm1, xmmword [rsp + 0x218]
movups xmmword [r15 - 0x40], xmm1
movups xmmword [r15 - 0x50], xmm0
or qword [rsp + 0x128], 0xffffffffffffffff
cmp r14d, 2
mov qword [rsp + 0x120], r12
mov qword [rsp + 0x150], rdi
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x160], rbp
mov qword [rsp + 0x168], rbx
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], 4
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x1a0], rax
sete byte [rsp + 0x1a8]
mov eax, dword [rsp + 0x208]
mov ecx, dword [rsp + 0x20b]
mov dword [r15 + 0x2c], ecx
mov dword [r15 + 0x29], eax
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
call fcn.140021595
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
call fcn.140021595
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x240], rdx
movaps xmm0, xmmword [rsp + 0x110]
lea rax, [rsp + 0x248]
movups xmmword [rax], xmm0
mov rsi, qword [rsp + 0x250]
cmp rsi, qword [rsp + 0x248]
jne 0x1400c9c6f
lea r15, [rsp + 0x240]
mov rcx, r15
mov rdx, rsi
call fcn.1400c58fa
mov rdx, qword [rsp + 0x240]
mov rsi, qword [rsp + 0x250]
mov rdi, qword [rsp + 0x508]
mov ebp, dword [rsp + 0x500]
jmp 0x1400c9c86
mov qword [rsp + 0x120], 3
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x1400c9c11
mov rcx, 0xffffffffffffffff
call qword [sym.imp.kernel32.dll_CloseHandle]
mov qword [rsp + 0x120], 3
mov rdx, qword [rsp + 0xa8]
mov rcx, r15
call fcn.140021595
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
call fcn.140021595
mov rdi, qword [rsp + 0x508]
mov ebp, dword [rsp + 0x500]
lea rsi, [rsp + 0x40]
lea r15, [rsp + 0x240]
lea r12, [rsp + 0x1c0]
movaps xmm0, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0xd0], xmm0
mov ebx, r13d
jmp 0x1400c9708
mov rdi, qword [rsp + 0x508]
mov ebp, dword [rsp + 0x500]
lea r15, [rsp + 0x240]
lea r12, [rsp + 0x1c0]
imul rcx, rsi, 0x90
mov qword [rsp + 0x78], rdx
add rcx, rdx
mov r8d, 0x90
lea rdx, [rsp + 0x120]
call sub.VCRUNTIME140.dll_memmove
inc rsi
mov qword [rsp + 0x250], rsi
lea rax, [rsp + 0x248]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xd0], xmm0
mov ebx, r13d
lea rsi, [rsp + 0x40]
jmp 0x1400c9708
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x450], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x120], rax
movups xmmword [rsp + 0x128], xmm0
cmp qword [rsp + 0x130], 0
je 0x1400c9d98
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x258], rax
xorps xmm6, xmm6
movaps xmmword [rsp + 0x240], xmm6
mov ecx, 0x28
mov edx, 8
call fcn.1400c5c02
movaps xmm0, xmmword [rsp + 0x240]
movaps xmm1, xmmword [rsp + 0x250]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov rcx, qword [rsp + 0x260]
mov qword [rax + 0x20], rcx
movups xmmword [rax], xmm6
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], 1
jmp 0x1400c9f31
xorps xmm0, xmm0
mov rax, qword [rsp + 0x48]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x120]
call fcn.1400c5c46
jmp 0x1400c9f31
call fcn.14005517c
mov r12, qword [rax]
lea r14, [r12 + 0x80]
call fcn.1400549b8
test rax, rax
je 0x1400c9f4d
mov r15, rax
cmp qword [rax + 0x140], r12
je 0x1400ca042
mov rax, qword [r15 + 0x130]
lea rcx, [rsp + 0x60]
lea r12, [rsp + 0x120]
mov qword [r12 + 0x20], rcx
lea rcx, [rsp + 0x88]
mov qword [r12 + 0x28], rcx
mov qword [r12 + 0x30], r13
mov qword [r12 + 0x38], rdi
mov dword [r12 + 0x40], esi
mov edx, dword [rsp + 0x500]
mov dword [r12 + 0x44], edx
mov qword [r12 + 0x48], rcx
mov qword [r12 + 0x50], r13
mov qword [r12 + 0x58], rdi
mov dword [r12 + 0x60], ebx
mov dword [r12 + 0x64], esi
and qword [r12], 0
mov rcx, r15
add rcx, 0x140
mov qword [r12 + 8], rcx
mov qword [r12 + 0x10], rax
mov byte [r12 + 0x18], 1
and qword [r12 + 0x68], 0
lea r8, [0x1400ca0dd]
mov rcx, r14
mov rdx, r12
call fcn.140055234
mov rcx, r15
mov rdx, r12
call fcn.1400c6167
lea rsi, [rsp + 0x240]
mov r8d, 0xa0
mov rcx, rsi
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x98]
lea rdx, [rsp + 0x1c0]
mov qword [rdx + 0x30], rax
movups xmm0, xmmword [rsi + 0x68]
movups xmm1, xmmword [rsi + 0x78]
movups xmm2, xmmword [rsi + 0x88]
movaps xmmword [rdx + 0x20], xmm2
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
lea rcx, [rsp + 0xa0]
call fcn.1400c5ce8
jmp 0x1400c964c
mov rbp, qword [rsp + 0x240]
mov rdx, qword [rsp + 0x248]
mov rbx, qword [rsp + 0x250]
mov qword [rsp + 0x240], rax
and qword [rsp + 0x248], 0
mov qword [rsp + 0x250], rcx
mov rax, rbp
mov rcx, rbx
mov rbp, qword [rsp + 0x48]
mov qword [rbp], rax
mov qword [rbp + 8], rdx
mov qword [rbp + 0x10], rcx
lea rcx, [rsp + 0x240]
call fcn.1400c94f1
movaps xmm6, xmmword [rsp + 0x470]
add rsp, 0x488
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
call fcn.140055473
test rax, rax
je 0x1400ca0af
lea rcx, [rsp + 0x60]
lea r15, [rsp + 0x120]
mov qword [r15 + 8], rcx
lea rcx, [rsp + 0x88]
mov qword [r15 + 0x10], rcx
mov qword [r15 + 0x18], r13
mov qword [r15 + 0x20], rdi
mov dword [r15 + 0x28], esi
mov edx, dword [rsp + 0x500]
mov dword [r15 + 0x2c], edx
mov qword [r15 + 0x30], rcx
mov qword [r15 + 0x38], r13
mov qword [r15 + 0x40], rdi
mov dword [r15 + 0x48], ebx
mov dword [r15 + 0x4c], esi
mov qword [r15], rax
and qword [r15 + 0x50], 0
lea r8, [0x1400ca271]
mov rcx, r14
mov rdx, r15
call fcn.140055234
mov rcx, qword [r15]
call fcn.14005510b
lea rsi, [rsp + 0x240]
mov r8d, 0x88
mov rcx, rsi
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
lea rdi, [rsp + 0x210]
mov rax, qword [rsi + 0x80]
lea rdx, [rsp + 0x1c0]
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 rcx, rdi
call fcn.1400c5ce8
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xc0], xmm2
jmp 0x1400c964c
lea rax, [rsp + 0x60]
lea rdx, [rsp + 0x240]
mov qword [rdx], rax
lea rax, [rsp + 0x88]
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], r13
mov qword [rdx + 0x18], rdi
mov dword [rdx + 0x20], esi
mov ecx, dword [rsp + 0x500]
mov dword [rdx + 0x24], ecx
mov qword [rdx + 0x28], rax
mov qword [rdx + 0x30], r13
mov qword [rdx + 0x38], rdi
mov dword [rdx + 0x40], ebx
mov dword [rdx + 0x44], esi
lea rcx, [rsp + 0xa0]
mov r8, r15
jmp 0x1400c9644
lea rcx, str.assertion_failed:_index___self.range.len__C:Users_tuxis.cargo_registry_srcgithub.com_1ecc6299db9ec823_rayon_1.7.0_src_range.rs
lea r8, [0x140114678]
mov edx, 0x2b
call fcn.1400e34e0
ud2
lea rax, [0x1401259e0]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_8b705839cd656d202e920efa8769cbe43a5ee269library_std_src_threadlocal.rs
lea r9, [0x140124f30]
lea r8, [rsp + 0x240]
mov edx, 0x46
call fcn.1400e3660
ud2