Function at 0x14003c697
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, 0x4d8
movaps xmmword [rsp + 0x4c0], xmm6
mov rsi, rdx
mov qword [rsp + 0x88], rcx
mov r14, qword [rsp + 0x558]
mov ebp, dword [rsp + 0x550]
mov edi, dword [rsp + 0x548]
mov rax, qword [rsp + 0x540]
mov qword [rsp + 0x150], rdx
lea rbx, [rsp + 0x2a0]
mov qword [rbx], r9
mov qword [rbx + 8], rax
mov rcx, rbx
call fcn.140038a66
test al, al
je 0x14003c885
shr rsi, 1
mov qword [rsp + 0x158], rsi
xor eax, eax
mov ecx, ebp
sub ecx, edi
cmovb ecx, eax
cmp rsi, rcx
ja 0x14003d0b3
add esi, edi
lea rax, [rsp + 0x150]
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0x158]
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], rbx
mov qword [rsp + 0x190], r14
mov dword [rsp + 0x198], esi
mov dword [rsp + 0x19c], ebp
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1a8], rbx
mov qword [rsp + 0x1b0], r14
mov dword [rsp + 0x1b8], edi
mov dword [rsp + 0x1bc], esi
call fcn.14000e304
test rax, rax
je 0x14003ce86
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0x178]
mov r8, rax
xor r9d, r9d
call fcn.14003c324
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xd0], rax
movaps xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0xc0], xmm0
movups xmm0, xmmword [rsp + 0x118]
movaps xmmword [rsp + 0xe0], xmm0
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xc8]
test rax, rax
je 0x14003cf4a
mov rcx, qword [rsp + 0xe0]
and qword [rsp + 0xe0], 0
test rcx, rcx
je 0x14003c848
mov qword [rax + 0x18], rcx
mov qword [rcx + 0x20], rax
xorps xmm0, xmm0
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
movups xmmword [rsp + 0xe8], xmm0
mov qword [rsp + 0xc8], rax
add qword [rsp + 0xd0], rcx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x88]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0xc0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xc8]
mov qword [rcx + 8], rax
lea rcx, [rsp + 0xe0]
call fcn.14003c632
jmp 0x14003cf9b
mov rbx, qword [r14]
mov eax, 8
mov qword [rsp + 0xa0], rax
lea r12, [rsp + 0x4c]
lea r13, [rsp + 0x2b0]
xorps xmm6, xmm6
xor eax, eax
mov qword [rsp + 0x90], rax
xor eax, eax
mov qword [rsp + 0x98], rax
mov rsi, r14
mov qword [rsp + 0xf8], rbx
cmp edi, ebp
jae 0x14003cdf3
mov eax, dword [rbx]
bt eax, edi
jae 0x14003cdec
lea r15d, [rdi + 0x41]
mov word [rsp + 0x4c], r15w
mov dword [rsp + 0x4e], 0x5c003a
and word [rsp + 0x52], 0
mov rcx, r12
call sub.KERNEL32.dll_GetDriveTypeW
mov r14d, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14003c98f
mov r8d, 0x20a
mov rcx, r13
xor edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rsp + 0x290], xmm6
movaps xmmword [rsp + 0x280], xmm6
movaps xmmword [rsp + 0x270], xmm6
movaps xmmword [rsp + 0x260], xmm6
lea rax, [rsp + 0x260]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, r12
mov rdx, r13
mov r8d, 0x105
xor r9d, r9d
call sub.KERNEL32.dll_GetVolumeInformationW
test eax, eax
je 0x14003c98f
mov eax, 0x20a
xor r8d, r8d
lea r12, [rsp + 0x70]
test rax, rax
je 0x14003c9a0
cmp word [rsp + r8*2 + 0x2b0], 0
je 0x14003c9a8
inc r8
add rax, 0xfffffffffffffffe
jmp 0x14003c975
mov qword [rsp + 0x1c0], 3
jmp 0x14003cdec
mov r8d, 0x105
jmp 0x14003c9b5
cmp r8, 0x106
jae 0x14003d088
lea rcx, [rsp + 0x160]
mov rdx, r13
call fcn.140038c95
mov rcx, qword [rsp + 0x168]
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x58], rax
mov eax, 0x40
xor ebx, ebx
mov qword [rsp + 0xa8], rcx
test rax, rax
je 0x14003ca02
cmp word [rsp + rbx*2 + 0x260], 0
je 0x14003ca09
inc rbx
add rax, 0xfffffffffffffffe
jmp 0x14003c9e9
mov ebx, 0x20
jmp 0x14003ca13
cmp rbx, 0x21
jae 0x14003d09f
mov rcx, r12
mov rdx, rbx
xor r8d, r8d
call fcn.14000cbf9
cmp qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x78]
jne 0x14003d07b
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
and qword [rsp + 0x80], 0
mov rcx, r12
mov rdx, rbx
call fcn.140009f43
mov r13, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
test rbx, rbx
je 0x14003ca83
xor eax, eax
mov cl, byte [rsp + rax*2 + 0x260]
mov byte [r13 + rbp], cl
inc rbp
inc rax
cmp rbx, rax
jne 0x14003ca6c
mov rbx, qword [rsp + 0x70]
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x70], rax
mov word [rsp + 0x78], r15w
mov dword [rsp + 0x7a], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, r12
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x14003cbfe
mov r12, rax
and qword [rsp + 0xb0], 0
and qword [rsp + 0x60], 0
lea rcx, [rsp + 0x4c]
xor edx, edx
lea r8, [rsp + 0xb0]
lea r9, [rsp + 0x60]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14003cbe8
mov rax, qword [rsp + 0xb0]
test rax, rax
je 0x14003cbe8
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x138], rax
and dword [rsp + 0x68], 0
mov qword [rsp + 0xb0], 7
and qword [rsp + 0x60], 0
mov byte [rsp + 0xb8], 0
and dword [rsp + 0x54], 0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov rcx, r12
mov edx, 0x2d1400
lea r8, [rsp + 0xb0]
mov r9d, 0xc
call sub.KERNEL32.dll_DeviceIoControl
xor esi, esi
cmp byte [rsp + 0x68], 0
sete sil
cmp dword [rsp + 0x54], 0xc
mov ecx, 2
cmovne rsi, rcx
test eax, eax
cmove rsi, rcx
cmp qword [rsp + 0x58], 0
mov qword [rsp + 0x148], rbx
je 0x14003cc57
js 0x14003d0cb
mov al, byte [0x1400540f8]
xor ecx, ecx
mov rdx, qword [rsp + 0x58]
call fcn.140033c60
test rax, rax
je 0x14003d0d0
mov r15, rax
jmp 0x14003cc5d
mov qword [rsp + 0x1c0], 3
mov rcx, r12
call sub.KERNEL32.dll_CloseHandle
jmp 0x14003cc16
mov rcx, 0xffffffffffffffff
call sub.KERNEL32.dll_CloseHandle
mov qword [rsp + 0x1c0], 3
mov rcx, rbx
mov rdx, r13
call fcn.14000b288
mov rcx, qword [rsp + 0x160]
mov rdx, qword [rsp + 0xa8]
call fcn.14000b288
mov ebp, dword [rsp + 0x550]
mov rbx, qword [rsp + 0xf8]
lea r12, [rsp + 0x4c]
lea r13, [rsp + 0x2b0]
jmp 0x14003cdec
mov r15d, 1
mov rcx, r15
mov rdx, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x58]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x1d0], rbx
mov qword [rsp + 0x1d8], r15
mov qword [rsp + 0x1e0], rbx
mov byte [rsp + 0x1e8], 0
lea rcx, [rsp + 0x1f0]
mov rdx, r13
mov r8, rbp
call fcn.140038f23
mov r8d, 4
lea rcx, [rsp + 0x208]
lea r15, [rsp + 0x4c]
mov rdx, r15
call fcn.14003d35b
mov r8d, 3
lea rcx, [rsp + 0x220]
mov rdx, r15
call fcn.140038c95
or qword [rsp + 0x1c8], 0xffffffffffffffff
cmp r14d, 2
mov qword [rsp + 0x1c0], rsi
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x240], rax
sete byte [rsp + 0x248]
mov rcx, r12
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rsp + 0x148]
mov rdx, r13
call fcn.14000b288
mov rcx, qword [rsp + 0x160]
mov rdx, qword [rsp + 0xa8]
call fcn.14000b288
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x2b0], rcx
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x2b8], rax
mov rsi, qword [rsp + 0x98]
mov qword [rsp + 0x2c0], rsi
cmp rsi, rcx
lea r13, [rsp + 0x2b0]
jne 0x14003cda0
mov rcx, r13
call fcn.14003844a
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x2b8]
imul rcx, rsi, 0x90
mov qword [rsp + 0xa0], rax
add rcx, rax
mov r8d, 0x90
lea rdx, [rsp + 0x1c0]
call sub.msvcrt.dll_memcpy
inc rsi
mov qword [rsp + 0x98], rsi
mov rsi, qword [rsp + 0x558]
mov ebp, dword [rsp + 0x550]
mov rbx, qword [rsp + 0xf8]
lea r12, [rsp + 0x4c]
inc edi
jmp 0x14003c8c4
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rsi
test rax, rax
je 0x14003cf7b
mov ecx, 8
mov edx, 0x28
call fcn.1400387ca
test rax, rax
je 0x14003d0df
mov rcx, qword [rsp + 0x110]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x100]
movups xmmword [rax], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
mov rcx, qword [rsp + 0x88]
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], 1
jmp 0x14003cf9b
call fcn.14000cd36
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.14000e304
test rax, rax
je 0x14003cfb7
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x14003d063
mov rax, r14
add rax, 0x110
mov rcx, qword [r14 + 0x100]
lea r15, [rsp + 0x240]
mov qword [r15], rax
and qword [r15 + 8], 0
mov qword [r15 + 0x10], rcx
mov byte [r15 + 0x18], 1
lea r12, [rsp + 0x1c0]
lea rsi, [rsp + 0x178]
mov ecx, 9
mov rdi, r12
rep movsq qword [rdi], qword [rsi]
and qword [r12 + 0x48], 0
lea rdx, [0x14003d11b]
mov rcx, rbx
mov r8, r12
call fcn.14000e396
mov rcx, r14
mov rdx, r15
call fcn.140038a16
lea rcx, [rsp + 0x2b0]
mov r8d, 0xa0
mov rdx, r12
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2f8]
lea rcx, [rsp + 0x100]
call fcn.1400388ca
jmp 0x14003c7ae
xor eax, eax
cmp rax, 3
je 0x14003c848
mov rcx, qword [rsp + rax*8 + 0xc0]
mov rdx, qword [rsp + rax*8 + 0xe0]
mov qword [rsp + rax*8 + 0xc0], rdx
mov qword [rsp + rax*8 + 0xe0], rcx
inc rax
jmp 0x14003cf4c
xorps xmm0, xmm0
mov rax, qword [rsp + 0x88]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x100]
call fcn.14003880e
movaps xmm6, xmmword [rsp + 0x4c0]
add rsp, 0x4d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
call fcn.140038bf9
test rax, rax
je 0x14003d0ee
lea rdx, [rsp + 0x1c8]
mov qword [rdx - 8], rax
lea rsi, [rsp + 0x178]
mov ecx, 9
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
and qword [rdx + 0x48], 0
lea rdx, [0x14003d262]
lea rsi, [rsp + 0x1c0]
mov rcx, rbx
mov r8, rsi
call fcn.14000e396
mov rcx, qword [rsi]
call fcn.14000cc71
lea rcx, [rsp + 0x2b0]
mov r8d, 0x88
mov rdx, rsi
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x300]
lea rsi, [rsp + 0x268]
mov rcx, rsi
call fcn.1400388ca
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0x110], xmm1
movaps xmmword [rsp + 0x120], xmm2
jmp 0x14003c7ae
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0x178]
mov r8, r14
jmp 0x14003c7a6
mov rdx, qword [rsp + 0x80]
call fcn.140002400
lea rax, str._root_.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.1400037a0
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_disk.rs
mov edx, 0x20
mov rcx, rbx
call fcn.1400037a0
lea rcx, str.assertion_failed:_index___self.range.len___root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_1.10.0_src_range.rs
lea r8, [0x140049638]
mov edx, 0x2b
call fcn.140003b10
call fcn.140002420
mov ecx, 1
mov rdx, qword [rsp + 0x58]
call fcn.140002400
mov ecx, 8
mov edx, 0x28
call fcn.140002460
lea rax, [0x14004ce88]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_051478957371ee0084a7c0913941d2a8c4757bb9library_std_src_threadlocal.rs
lea r9, [0x14004cef0]
lea r8, [rsp + 0x2b0]
mov edx, 0x46
call fcn.1400049e0
int3