Function at 0x1400c2627
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, 0x4b8
movaps xmmword [rsp + 0x4a0], xmm6
mov rsi, rdx
mov qword [rsp + 0x90], rcx
mov r14, qword [rsp + 0x538]
mov ebx, dword [rsp + 0x530]
mov r13d, dword [rsp + 0x528]
mov rax, qword [rsp + 0x520]
mov qword [rsp + 0x1c8], rdx
lea rdi, [rsp + 0x490]
mov qword [rdi], r9
mov qword [rdi + 8], rax
mov rcx, rdi
call fcn.1400c32ec
test al, al
je 0x1400c2747
shr rsi, 1
mov qword [rsp + 0x190], rsi
xor eax, eax
mov ecx, ebx
sub ecx, r13d
cmovb ecx, eax
cmp rsi, rcx
ja 0x1400c3131
add esi, r13d
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x190]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xe8], r14
mov dword [rsp + 0xf0], esi
mov dword [rsp + 0xf4], ebx
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x108], r14
mov dword [rsp + 0x110], r13d
mov dword [rsp + 0x114], esi
call fcn.14003d016
test rax, rax
je 0x1400c2ec2
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0xd0]
mov r8, rax
xor r9d, r9d
call fcn.1400c332f
jmp 0x1400c302e
xorps xmm6, xmm6
movups xmmword [rsp + 0xa8], xmm6
mov qword [rsp + 0xa0], 8
mov qword [rsp + 0xb8], r14
lea rdi, [rsp + 0x48]
lea r15, [rsp + 0x280]
cmp r13d, ebx
jae 0x1400c2dd0
mov rax, qword [r14]
mov eax, dword [rax]
bt eax, r13d
jae 0x1400c2ae8
lea ebp, [r13 + 0x41]
mov word [rsp + 0x48], bp
mov dword [rsp + 0x4a], 0x5c003a
and word [rsp + 0x4e], 0
mov rcx, rdi
call sub.KERNEL32.dll_GetDriveTypeW
mov r12d, eax
lea eax, [r12 - 4]
cmp eax, 0xfffffffe
jb 0x1400c2ae0
mov r8d, 0x20a
mov rcx, r15
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, rdi
mov rdx, r15
mov r8d, 0x105
xor r9d, r9d
call sub.KERNEL32.dll_GetVolumeInformationW
test eax, eax
je 0x1400c2ae0
xor r8d, r8d
cmp r8, 0x105
je 0x1400c283e
cmp word [rsp + r8*2 + 0x280], 0
je 0x1400c2844
inc r8
jmp 0x1400c2824
mov r8d, 0x105
mov edx, 0x105
mov rcx, r15
lea r9, str._home_affix_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_disk.rs
call fcn.1400c3d8b
mov r8, rdx
lea rcx, [rsp + 0x138]
mov rdx, rax
call fcn.1400c3db0
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x80], rax
xor r8d, r8d
cmp r8, 0x20
je 0x1400c28a2
cmp word [rsp + r8*2 + 0xd0], 0
je 0x1400c28a8
inc r8
jmp 0x1400c288b
mov r8d, 0x20
mov edx, 0x20
lea rcx, [rsp + 0xd0]
lea r9, str._home_affix_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_disk.rs
call fcn.1400c3d8b
mov rsi, rax
mov rbx, rdx
mov rcx, rdx
xor edx, edx
call fcn.14003b781
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdx
and qword [rsp + 0x78], 0
lea rcx, [rsp + 0x68]
mov rdx, rbx
call fcn.1400e0c3e
mov r15, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
test rbx, rbx
je 0x1400c2911
xor eax, eax
mov cl, byte [rsi + rax*2]
mov byte [r15 + rdi], cl
inc rdi
inc rax
cmp rbx, rax
jne 0x1400c28ff
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x98], rax
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x182], rax
mov word [rsp + 0x18a], bp
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 0x1400c2a9e
mov rsi, rax
and qword [rsp + 0x160], 0
and qword [rsp + 0x68], 0
lea rcx, [rsp + 0x48]
xor edx, edx
lea r8, [rsp + 0x160]
lea r9, [rsp + 0x68]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1400c2a94
mov rbp, qword [rsp + 0x160]
test rbp, rbp
je 0x1400c2a94
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x1c0], rax
and dword [rsp + 0x158], 0
mov qword [rsp + 0x1d4], 7
and qword [rsp + 0x150], 0
mov byte [rsp + 0x1dc], 0
and dword [rsp + 0x64], 0
lea rax, [rsp + 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov rcx, rsi
mov edx, 0x2d1400
lea r8, [rsp + 0x1d4]
mov r9d, 0xc
call sub.KERNEL32.dll_DeviceIoControl
xor ebx, ebx
cmp byte [rsp + 0x158], 0
sete bl
cmp dword [rsp + 0x64], 0xc
mov ecx, 2
cmovne rbx, rcx
test eax, eax
cmove rbx, rcx
mov r8, qword [rsp + 0x80]
test r8, r8
je 0x1400c2b38
js 0x1400c315a
mov al, byte [0x1401661f8]
mov edx, 1
mov rcx, r8
call fcn.140006580
mov r8, qword [rsp + 0x80]
test rax, rax
jne 0x1400c2b3d
jmp 0x1400c314b
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
jmp 0x1400c2aaa
mov rcx, 0xffffffffffffffff
call sub.KERNEL32.dll_CloseHandle
mov rcx, r15
mov rdx, qword [rsp + 0x98]
call fcn.1400d71d3
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x50]
call fcn.1400d71d3
mov ebx, dword [rsp + 0x530]
lea rdi, [rsp + 0x48]
lea r15, [rsp + 0x280]
mov r14, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0xd0], xmm0
inc r13d
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0xa0], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], r14
jmp 0x1400c2773
mov eax, 1
mov qword [rsp + 0x1b8], rbp
mov qword [rsp + 0x130], rax
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call sub.msvcrt.dll_memcpy
mov rcx, rdi
xor edx, edx
call fcn.14003b781
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x128], rax
mov rcx, rax
mov rdx, r15
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov ecx, 4
xor edx, edx
call fcn.1400c3fc2
mov qword [rsp + 0x120], rdx
mov rbp, rax
mov rax, qword [rsp + 0x48]
mov qword [rbp], rax
mov edx, 4
mov r8d, 3
lea rcx, [rsp + 0x48]
lea r9, str._home_affix_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_disk.rs
call fcn.1400c3d8b
mov r8, rdx
lea rcx, [rsp + 0x68]
mov rdx, rax
call fcn.1400c3db0
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x5f]
mov dword [rsp + 0x8b], ecx
mov dword [rsp + 0x88], eax
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x160], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x170], rax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x6b]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x5f], ecx
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
mov rcx, r15
mov rdx, qword [rsp + 0x98]
call fcn.1400d71d3
mov rcx, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x140]
call fcn.1400d71d3
or qword [rsp + 0x1e8], 0xffffffffffffffff
cmp r12d, 2
mov qword [rsp + 0x1e0], rbx
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x1f8], rax
mov qword [rsp + 0x200], rax
mov byte [rsp + 0x208], 0
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x8b]
lea rdx, [rsp + 0x209]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x218], rax
mov qword [rsp + 0x220], rdi
mov qword [rsp + 0x228], rbp
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x230], rax
mov qword [rsp + 0x238], 4
mov rax, qword [rsp + 0x170]
mov qword [rdx + 0x47], rax
movaps xmm0, xmmword [rsp + 0x160]
movups xmmword [rdx + 0x37], xmm0
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x260], rax
sete byte [rsp + 0x268]
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x5f]
mov dword [rdx + 0x63], ecx
mov dword [rdx + 0x60], eax
movups xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x280], xmm0
mov rsi, qword [rsp + 0xb0]
mov qword [rsp + 0x290], rsi
cmp rsi, qword [rsp + 0x288]
jne 0x1400c2d82
lea r15, [rsp + 0x280]
mov rcx, r15
mov rdx, rsi
call fcn.1400c2263
mov ebx, dword [rsp + 0x530]
mov rsi, qword [rsp + 0x290]
lea rdi, [rsp + 0x48]
jmp 0x1400c2d96
mov ebx, dword [rsp + 0x530]
lea rdi, [rsp + 0x48]
lea r15, [rsp + 0x280]
imul rcx, rsi, 0x90
add rcx, qword [rsp + 0x280]
mov r8d, 0x90
lea rdx, [rsp + 0x1e0]
call sub.msvcrt.dll_memcpy
inc rsi
mov qword [rsp + 0xe0], rsi
movaps xmm0, xmmword [rsp + 0x280]
jmp 0x1400c2b00
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x1a0], xmm1
movaps xmmword [rsp + 0x190], xmm0
and qword [rsp + 0x1f0], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1e0], xmm0
cmp qword [rsp + 0x1a0], 0
je 0x1400c2f84
movups xmmword [rsp + 0x298], xmm0
movaps xmm0, xmmword [rsp + 0x190]
movaps xmmword [rsp + 0x280], xmm0
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x290], rax
mov ecx, 8
mov edx, 0x28
call fcn.1400c23bf
test rax, rax
je 0x1400c3161
movaps xmm0, xmmword [rsp + 0x280]
movaps xmm1, xmmword [rsp + 0x290]
mov rcx, qword [rsp + 0x2a0]
mov qword [rax + 0x20], rcx
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rax
mov eax, 1
mov qword [rsp + 0x1f0], rax
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rcx], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rcx + 8], rax
jmp 0x1400c30fd
call fcn.14003b8a6
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.14003d016
test rax, rax
je 0x1400c2fa6
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x1400c3119
mov rax, r14
add rax, 0x110
mov rdx, qword [r14 + 0x100]
lea r8, [rsp + 0x1e0]
lea rsi, [rsp + 0xd0]
mov ecx, 9
mov rdi, r8
rep movsq qword [rdi], qword [rsi]
mov qword [r8 + 0x80], rax
and qword [r8 + 0x88], 0
mov qword [r8 + 0x90], rdx
mov byte [r8 + 0x98], 1
and qword [r8 + 0x48], 0
lea rdx, [0x1400c38fd]
mov rcx, rbx
call fcn.14003d1cc
lea rdx, [rsp + 0x260]
mov rcx, r14
call fcn.1400c37e4
lea rcx, [rsp + 0x280]
lea rdx, [rsp + 0x1e0]
mov r8d, 0xa0
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2c8]
jmp 0x1400c3021
mov rax, qword [rsp + 0x90]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x190]
call fcn.140001a31
jmp 0x1400c30fd
xor ecx, ecx
call fcn.14003d423
test rax, rax
je 0x1400c3172
lea rdx, [rsp + 0x1e8]
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, [0x1400c3b07]
lea r8, [rsp + 0x1e0]
mov rcx, rbx
call fcn.14003d1cc
mov rcx, qword [rsp + 0x1e0]
call fcn.14003b830
lea rcx, [rsp + 0x280]
lea rdx, [rsp + 0x1e0]
mov r8d, 0x88
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0xa0]
call fcn.1400c2586
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xc8]
mov qword [rsp + 0x290], r8
movups xmm0, xmmword [rsp + 0xb8]
movaps xmmword [rsp + 0x280], xmm0
test rcx, rcx
je 0x1400c30a6
mov r8, qword [rsp + 0x280]
and qword [rsp + 0x280], 0
test r8, r8
je 0x1400c30dd
mov qword [rcx + 0x18], r8
mov qword [r8 + 0x20], rcx
mov rcx, qword [rsp + 0x288]
xorps xmm0, xmm0
add rax, qword [rsp + 0x290]
movups xmmword [rsp + 0x288], xmm0
jmp 0x1400c30dd
mov r8, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x288]
mov r9, qword [rsp + 0x290]
mov qword [rsp + 0x280], rdx
and qword [rsp + 0x288], 0
mov qword [rsp + 0x290], rax
mov rax, r9
mov rdx, r8
mov r8, qword [rsp + 0x90]
mov qword [r8], rdx
mov qword [r8 + 8], rcx
mov qword [r8 + 0x10], rax
lea rcx, [rsp + 0x280]
call fcn.1400c2403
movaps xmm6, xmmword [rsp + 0x4a0]
add rsp, 0x4b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0xd0]
mov r8, r14
jmp 0x1400c273a
lea rcx, str.assertion_failed:_index___self.range.len___home_affix_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_1.10.0_src_range.rs
lea r8, [0x140111f30]
mov edx, 0x2b
call fcn.14000ae60
ud2
mov ecx, 1
mov rdx, r8
call fcn.140006b60
jmp 0x1400c3170
call fcn.140006b20
jmp 0x1400c3170
mov ecx, 8
mov edx, 0x28
call fcn.140006b60
ud2
lea rax, [0x14011ede0]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_std_src_threadlocal.rs
lea r9, [0x14011e398]
lea r8, [rsp + 0x280]
mov edx, 0x46
call fcn.14000c3d0
ud2