Function at 0x14003c8a3
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, 0x4c8
movaps xmmword [rsp + 0x4b0], xmm6
mov rsi, rdx
mov r12, rcx
mov rbx, qword [rsp + 0x548]
mov ebp, dword [rsp + 0x540]
mov r13d, dword [rsp + 0x538]
mov rax, qword [rsp + 0x530]
mov qword [rsp + 0x160], rdx
lea rdi, [rsp + 0x290]
mov qword [rdi], r9
mov qword [rdi + 8], rax
mov rcx, rdi
call fcn.14003affe
test al, al
je 0x14003c9b8
shr rsi, 1
mov qword [rsp + 0x60], rsi
xor eax, eax
mov ecx, ebp
sub ecx, r13d
cmovb ecx, eax
cmp rsi, rcx
ja 0x14003d295
add esi, r13d
lea rax, [rsp + 0x160]
mov qword [rsp + 0x190], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x1a0], rdi
mov qword [rsp + 0x1a8], rbx
mov dword [rsp + 0x1b0], esi
mov dword [rsp + 0x1b4], ebp
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x1c0], rdi
mov qword [rsp + 0x1c8], rbx
mov dword [rsp + 0x1d0], r13d
mov dword [rsp + 0x1d4], esi
call fcn.14000fa62
test rax, rax
je 0x14003cfd9
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0x190]
mov r8, rax
xor r9d, r9d
call fcn.14003c514
jmp 0x14003d13c
mov qword [rsp + 0xd0], r12
mov r15, qword [rbx]
mov r12d, 8
lea rsi, [rsp + 0x48]
xorps xmm6, xmm6
xor eax, eax
mov qword [rsp + 0x80], rax
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x88], r15
cmp r13d, ebp
jae 0x14003cf49
mov eax, dword [r15]
bt eax, r13d
jae 0x14003cf41
lea edi, [r13 + 0x41]
mov word [rsp + 0x48], di
mov dword [rsp + 0x4a], 0x5c003a
and word [rsp + 0x4e], 0
mov rcx, rsi
call sub.KERNEL32.dll_GetDriveTypeW
mov r14d, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14003cf41
mov r8d, 0x20a
lea rbx, [rsp + 0x2a0]
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rsp + 0x220], xmm6
movaps xmmword [rsp + 0x210], xmm6
movaps xmmword [rsp + 0x200], xmm6
movaps xmmword [rsp + 0x1f0], xmm6
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, rsi
mov rdx, rbx
mov r8d, 0x105
xor r9d, r9d
call sub.KERNEL32.dll_GetVolumeInformationW
test eax, eax
je 0x14003cf41
mov eax, 0x20a
xor r8d, r8d
test rax, rax
je 0x14003cabe
cmp word [rsp + r8*2 + 0x2a0], 0
je 0x14003cac6
inc r8
add rax, 0xfffffffffffffffe
jmp 0x14003caa4
mov r8d, 0x105
jmp 0x14003cad3
cmp r8, 0x106
jae 0x14003d26a
lea rcx, [rsp + 0x120]
lea rdx, [rsp + 0x2a0]
call fcn.14003b2cf
mov rcx, qword [rsp + 0x128]
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x50], rax
mov eax, 0x40
xor esi, esi
mov qword [rsp + 0xd8], rcx
test rax, rax
je 0x14003cb25
cmp word [rsp + rsi*2 + 0x1f0], 0
je 0x14003cb2c
inc rsi
add rax, 0xfffffffffffffffe
jmp 0x14003cb0c
mov esi, 0x20
jmp 0x14003cb36
cmp rsi, 0x21
jae 0x14003d281
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
call fcn.14000e557
mov rcx, rbx
call fcn.14003fa6d
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
and qword [rsp + 0x70], 0
mov rcx, rbx
mov rdx, rsi
call fcn.14000b9cd
mov rbx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
test rsi, rsi
je 0x14003cb93
xor eax, eax
mov cl, byte [rsp + rax*2 + 0x1f0]
mov byte [rbx + r15], cl
inc r15
inc rax
cmp rsi, rax
jne 0x14003cb7d
mov rbp, qword [rsp + 0x60]
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x13a], rax
mov word [rsp + 0x142], di
mov dword [rsp + 0x144], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x13a]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x14003cd0e
mov rdi, rax
and qword [rsp + 0x168], 0
and qword [rsp + 0x60], 0
lea rsi, [rsp + 0x48]
mov rcx, rsi
xor edx, edx
lea r8, [rsp + 0x168]
lea r9, [rsp + 0x60]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14003cd04
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x14003cd04
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x150], rax
and dword [rsp + 0xe8], 0
mov qword [rsp + 0x184], 7
and qword [rsp + 0xe0], 0
mov byte [rsp + 0x18c], 0
and dword [rsp + 0x5c], 0
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov rcx, rdi
mov edx, 0x2d1400
lea r8, [rsp + 0x184]
mov r9d, 0xc
call sub.KERNEL32.dll_DeviceIoControl
xor esi, esi
cmp byte [rsp + 0xe8], 0
sete sil
cmp dword [rsp + 0x5c], 0xc
mov ecx, 2
cmovne rsi, rcx
test eax, eax
cmove rsi, rcx
cmp qword [rsp + 0x50], 0
je 0x14003cd53
js 0x14003d2ad
mov al, byte [0x140059108]
xor ecx, ecx
mov rdx, qword [rsp + 0x50]
call fcn.140036470
test rax, rax
jne 0x14003cd58
jmp 0x14003d2b2
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
jmp 0x14003cd1f
mov rcx, 0xffffffffffffffff
call sub.KERNEL32.dll_CloseHandle
lea rsi, [rsp + 0x48]
mov rcx, rbp
mov rdx, rbx
call fcn.14000cd3f
mov rcx, qword [rsp + 0x120]
mov rdx, qword [rsp + 0xd8]
call fcn.14000cd3f
mov ebp, dword [rsp + 0x540]
mov r15, qword [rsp + 0x88]
jmp 0x14003cf41
mov eax, 1
cmp r14d, 2
sete byte [rsp + 0x47]
mov qword [rsp + 0x148], rax
mov rcx, rax
mov r14, qword [rsp + 0xd8]
mov rdx, r14
mov r8, qword [rsp + 0x50]
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x60]
mov rdx, rbx
mov r8, r15
call fcn.14003c188
mov r8d, 4
lea rcx, [rsp + 0x168]
lea r15, [rsp + 0x48]
mov rdx, r15
call fcn.14003c4b9
mov r8d, 3
lea rcx, [rsp + 0x1d8]
mov rdx, r15
call fcn.14003b2cf
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
mov rcx, rbp
mov rdx, rbx
call fcn.14000cd3f
mov rcx, qword [rsp + 0x120]
mov rdx, r14
call fcn.14000cd3f
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x2a0], rax
mov qword [rsp + 0x2a8], r12
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x2b0], rdx
cmp rdx, rax
jne 0x14003ce42
lea rcx, [rsp + 0x2a0]
call fcn.14003ab96
mov r8, qword [rsp + 0x2b0]
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x78], rax
mov r12, qword [rsp + 0x2a8]
mov ebp, dword [rsp + 0x540]
jmp 0x14003ce4c
mov ebp, dword [rsp + 0x540]
mov r8, rdx
mov r15, qword [rsp + 0x88]
imul rax, r8, 0x90
mov qword [r12 + rax], rsi
or qword [r12 + rax + 8], 0xffffffffffffffff
mov rcx, qword [rsp + 0x50]
mov qword [r12 + rax + 0x10], rcx
mov rdx, qword [rsp + 0x148]
mov qword [r12 + rax + 0x18], rdx
mov qword [r12 + rax + 0x20], rcx
mov byte [r12 + rax + 0x28], 0
mov ecx, dword [rsp + 0x1f0]
mov edx, dword [rsp + 0x1f3]
mov dword [r12 + rax + 0x2c], edx
mov dword [r12 + rax + 0x29], ecx
mov rcx, qword [rsp + 0x70]
mov qword [r12 + rax + 0x40], rcx
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [r12 + rax + 0x30], xmm0
movups xmm0, xmmword [rsp + 0x168]
movups xmmword [r12 + rax + 0x48], xmm0
mov rcx, qword [rsp + 0x178]
mov qword [r12 + rax + 0x58], rcx
movups xmm0, xmmword [rsp + 0x1d8]
movups xmmword [r12 + rax + 0x60], xmm0
mov rcx, qword [rsp + 0x1e8]
mov qword [r12 + rax + 0x70], rcx
mov rcx, qword [rsp + 0x158]
mov qword [r12 + rax + 0x78], rcx
mov rcx, qword [rsp + 0x150]
mov qword [r12 + rax + 0x80], rcx
mov cl, byte [rsp + 0x47]
mov byte [r12 + rax + 0x88], cl
mov ecx, dword [rsp + 0x120]
mov edx, dword [rsp + 0x123]
mov dword [r12 + rax + 0x8c], edx
mov dword [r12 + rax + 0x89], ecx
inc r8
mov qword [rsp + 0x80], r8
lea rsi, [rsp + 0x48]
inc r13d
jmp 0x14003c9ea
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], r12
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x548]
mov qword [rsp + 0x108], rcx
test rax, rax
je 0x14003d096
mov ecx, 8
mov edx, 0x28
call fcn.14000c9c0
test rax, rax
mov rdx, qword [rsp + 0xd0]
je 0x14003d2c1
mov rcx, qword [rsp + 0x100]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0xf0]
movups xmmword [rax], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
mov qword [rdx], rax
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], 1
jmp 0x14003d209
call fcn.14000e694
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.14000fa62
test rax, rax
je 0x14003d0bb
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x14003d252
mov rax, r14
add rax, 0x110
mov rcx, qword [r14 + 0x100]
lea r15, [rsp + 0x270]
mov qword [r15], rax
and qword [r15 + 8], 0
mov qword [r15 + 0x10], rcx
mov byte [r15 + 0x18], 1
mov r13, r12
lea r12, [rsp + 0x1f0]
lea rsi, [rsp + 0x190]
mov ecx, 9
mov rdi, r12
rep movsq qword [rdi], qword [rsi]
and qword [r12 + 0x48], 0
lea rdx, [0x14003d2fd]
mov rcx, rbx
mov r8, r12
call fcn.14000faf4
mov rcx, r14
mov rdx, r15
call fcn.14003b041
lea rcx, [rsp + 0x2a0]
mov r8d, 0xa0
mov rdx, r12
mov r12, r13
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2e8]
jmp 0x14003d12f
xorps xmm0, xmm0
mov rax, qword [rsp + 0xd0]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0xf0]
call fcn.14003ad3e
jmp 0x14003d209
xor ecx, ecx
call fcn.14000fd0f
test rax, rax
je 0x14003d2d0
lea rdx, [rsp + 0x1f8]
mov qword [rdx - 8], rax
lea rsi, [rsp + 0x190]
mov ecx, 9
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
and qword [rdx + 0x48], 0
lea rdx, [0x14003d444]
lea rsi, [rsp + 0x1f0]
mov rcx, rbx
mov r8, rsi
call fcn.14000faf4
mov rcx, qword [rsi]
call fcn.14000e5cf
lea rcx, [rsp + 0x2a0]
mov r8d, 0x88
mov rdx, rsi
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0xf0]
call fcn.14003afaa
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [rsp + 0x108]
movaps xmmword [rsp + 0xb0], xmm0
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x98]
test rax, rax
je 0x14003d225
mov rcx, qword [rsp + 0xb0]
and qword [rsp + 0xb0], 0
test rcx, rcx
je 0x14003d1d6
mov qword [rax + 0x18], rcx
mov qword [rcx + 0x20], rax
xorps xmm0, xmm0
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
movups xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0x98], rax
add qword [rsp + 0xa0], rcx
mov rax, qword [rsp + 0xa0]
mov qword [r12 + 0x10], rax
mov rax, qword [rsp + 0x90]
mov qword [r12], rax
mov rax, qword [rsp + 0x98]
mov qword [r12 + 8], rax
lea rcx, [rsp + 0xb0]
call fcn.14003c843
movaps xmm6, xmmword [rsp + 0x4b0]
add rsp, 0x4c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
cmp rax, 3
je 0x14003d1d6
mov rcx, qword [rsp + rax*8 + 0x90]
mov rdx, qword [rsp + rax*8 + 0xb0]
mov qword [rsp + rax*8 + 0x90], rdx
mov qword [rsp + rax*8 + 0xb0], rcx
inc rax
jmp 0x14003d227
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0x190]
mov r8, r14
jmp 0x14003c9ab
lea rax, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_disk.rs
mov edx, 0x105
mov rcx, r8
mov r8, rax
call fcn.140004830
lea r8, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_disk.rs
mov edx, 0x20
mov rcx, rsi
call fcn.140004830
lea rcx, str.assertion_failed:_index___self.range.len___usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_1.10.0_src_range.rs
lea r8, [0x14004ed90]
mov edx, 0x2b
call fcn.140004ba0
call fcn.140003340
mov ecx, 1
mov rdx, qword [rsp + 0x50]
call fcn.140003380
mov ecx, 8
mov edx, 0x28
call fcn.140003380
lea rax, [0x140052a08]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_9b00956e56009bab2aa15d7bff10916599e3d6d6library_std_src_threadlocal.rs
lea r9, [0x140052a70]
lea r8, [rsp + 0x2a0]
mov edx, 0x46
call fcn.140005ae0
int3