Function at 0x14029fb1c
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
vmovaps xmmword [rsp + 0x490], xmm6
mov rsi, rdx
mov qword [rsp + 0x80], rcx
mov rbx, qword [rsp + 0x528]
mov ebp, 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.14029ca4f
test al, al
je 0x14029fcaa
shr rsi, 1
mov qword [rsp + 0x128], rsi
xor eax, eax
mov ecx, ebp
sub ecx, r12d
cmovb ecx, eax
cmp rsi, rcx
ja 0x1402a057d
add esi, r12d
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], rbx
mov dword [rsp + 0xc0], esi
mov dword [rsp + 0xc4], ebp
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], rbx
mov dword [rsp + 0xe0], r12d
mov dword [rsp + 0xe4], esi
call fcn.14013d3fd
test rax, rax
je 0x1402a0376
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0xa0]
mov r8, rax
xor r9d, r9d
call fcn.14029f76e
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
mov rax, qword [rsp + 0x100]
vmovups xmm0, xmmword [rsp + 0x108]
vmovaps xmmword [rsp + 0x50], xmm0
mov r8, qword [rsp + 0x118]
mov qword [rsp + 0x60], r8
test rcx, rcx
je 0x1402a0450
mov r8, qword [rsp + 0x50]
and qword [rsp + 0x50], 0
test r8, r8
je 0x1402a0475
mov qword [rcx + 0x18], r8
mov qword [r8 + 0x20], rcx
mov rcx, qword [rsp + 0x58]
vxorps xmm0, xmm0, xmm0
add rax, qword [rsp + 0x60]
vmovups xmmword [rsp + 0x58], xmm0
jmp 0x1402a0475
vxorps xmm6, xmm6, xmm6
vmovaps xmmword [rsp + 0x140], xmm6
mov r14, qword [rbx]
mov eax, 8
mov qword [rsp + 0x88], rax
lea rsi, [rsp + 0x40]
lea r15, [rsp + 0x280]
mov qword [rsp + 0x90], r14
cmp r12d, ebp
jae 0x1402a02c4
mov eax, dword [r14]
bt eax, r12d
jae 0x1402a0227
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 r13d, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14029fd96
mov r8d, 0x20a
mov rcx, r15
xor edx, edx
call sub.msvcrt.dll_memset
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0xc0], ymm0
vmovups ymmword [rsp + 0xa0], ymm0
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rax
vmovups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, rsi
mov rdx, r15
mov r8d, 0x105
xor r9d, r9d
vzeroupper
call sub.KERNEL32.dll_GetVolumeInformationW
test eax, eax
je 0x14029fd96
xor r8d, r8d
cmp r8, 0x105
je 0x14029fda7
cmp word [rsp + r8*2 + 0x280], 0
je 0x14029fdad
inc r8
jmp 0x14029fd7c
mov qword [rsp + 0x1d0], 3
jmp 0x1402a0227
mov r8d, 0x105
mov edx, 0x105
mov rcx, r15
lea r9, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.10_src_windows_disk.rs
call fcn.14029cb8d
mov r8, rdx
lea rcx, [rsp + 0x128]
mov rdx, rax
call fcn.14029cbb2
mov rbx, qword [rsp + 0x128]
mov rax, qword [rsp + 0x138]
xor r8d, r8d
mov qword [rsp + 0x98], rax
cmp r8, 0x20
je 0x14029fe06
cmp word [rsp + r8*2 + 0xa0], 0
je 0x14029fe0c
inc r8
jmp 0x14029fdef
mov r8d, 0x20
mov edx, 0x20
lea rcx, [rsp + 0xa0]
lea r9, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.10_src_windows_disk.rs
call fcn.14029cb8d
mov rsi, rax
mov r14, rdx
mov rcx, rdx
xor edx, edx
call fcn.14012debe
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdx
and qword [rsp + 0x170], 0
lea rcx, [rsp + 0x160]
mov rdx, r14
call fcn.14013a606
mov rbp, qword [rsp + 0x160]
mov r15, qword [rsp + 0x170]
test r14, r14
je 0x14029fe88
xor eax, eax
mov cl, byte [rsi + rax*2]
mov byte [rbp + r15], cl
inc r15
inc rax
cmp r14, rax
jne 0x14029fe75
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0xe8], rax
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x152], rax
mov word [rsp + 0x15a], di
mov dword [rsp + 0x15c], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x152]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x1402a01cb
mov r14, rax
and qword [rsp + 0x70], 0
and qword [rsp + 0x160], 0
lea rsi, [rsp + 0x40]
mov rcx, rsi
xor edx, edx
lea r8, [rsp + 0x70]
lea r9, [rsp + 0x160]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1402a01b5
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1402a01b5
mov rcx, qword [rsp + 0x160]
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 + 0x1a8], 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 rdi, rsi
xor esi, esi
cmp byte [rsp + 0x78], 0
sete sil
cmp dword [rsp + 0x4c], 0xc
mov ecx, 2
cmovne rsi, rcx
test eax, eax
cmove rsi, rcx
lea rcx, [rsp + 0x160]
mov rdx, rbx
mov r8, qword [rsp + 0x98]
call fcn.14029ad70
mov rcx, r15
xor edx, edx
call fcn.14012debe
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x98], rdx
mov rcx, rax
mov rdx, rbp
mov r8, r15
call sub.msvcrt.dll_memcpy
mov ecx, 4
xor edx, edx
call fcn.14029cbd9
mov rbx, rax
mov qword [rsp + 0x198], rdx
mov rax, qword [rsp + 0x40]
mov qword [rbx], rax
mov edx, 4
mov r8d, 3
mov rcx, rdi
lea r9, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.10_src_windows_disk.rs
call fcn.14029cb8d
mov r8, rdx
lea rdi, [rsp + 0x230]
mov rcx, rdi
mov rdx, rax
call fcn.14029cbb2
vmovups ymm0, ymmword [rsp + 0x160]
vmovups ymmword [rdi - 0x50], ymm0
or qword [rsp + 0x1d8], 0xffffffffffffffff
cmp r13d, 2
mov qword [rsp + 0x1d0], rsi
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x208], rax
mov qword [rsp + 0x210], r15
mov qword [rsp + 0x218], rbx
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x228], 4
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x250], rax
sete byte [rsp + 0x258]
mov eax, dword [rsp + 0x160]
mov ecx, dword [rsp + 0x163]
mov dword [rdi + 0x2c], ecx
mov dword [rdi + 0x29], eax
mov rcx, r14
vzeroupper
call fcn.1403001e4
mov rcx, rbp
mov rdx, qword [rsp + 0xe8]
call fcn.1400d33bf
mov rcx, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x130]
call fcn.1400d33bf
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x280], rcx
vmovaps xmm0, xmmword [rsp + 0x140]
lea rax, [rsp + 0x288]
vmovups xmmword [rax], xmm0
mov rsi, qword [rsp + 0x290]
cmp rsi, qword [rsp + 0x288]
jne 0x1402a0253
lea r15, [rsp + 0x280]
mov rcx, r15
mov rdx, rsi
call fcn.14029c645
mov rax, qword [rsp + 0x280]
mov rsi, qword [rsp + 0x290]
mov rbx, qword [rsp + 0x528]
mov ebp, dword [rsp + 0x520]
mov r14, qword [rsp + 0x90]
jmp 0x1402a0275
mov qword [rsp + 0x1d0], 3
mov rcx, r14
call fcn.1403001e4
jmp 0x1402a01e8
mov rcx, 0xffffffffffffffff
call fcn.1403001e4
mov qword [rsp + 0x1d0], 3
lea rsi, [rsp + 0x40]
mov rcx, rbp
mov rdx, qword [rsp + 0xe8]
call fcn.1400d33bf
mov rdx, qword [rsp + 0x130]
mov rcx, rbx
call fcn.1400d33bf
mov rbx, qword [rsp + 0x528]
mov ebp, dword [rsp + 0x520]
mov r14, qword [rsp + 0x90]
lea r15, [rsp + 0x280]
vmovaps xmm0, xmmword [rsp + 0x140]
vmovaps xmmword [rsp + 0xa0], xmm0
inc r12d
vmovaps xmm0, xmmword [rsp + 0xa0]
vmovaps xmmword [rsp + 0x140], xmm0
jmp 0x14029fcdc
mov rax, rcx
mov rbx, qword [rsp + 0x528]
mov ebp, dword [rsp + 0x520]
mov r14, qword [rsp + 0x90]
lea r15, [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]
vmovups xmm0, xmmword [rax]
vmovaps xmmword [rsp + 0xa0], xmm0
lea rsi, [rsp + 0x40]
jmp 0x1402a0239
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xf0], rax
vmovaps xmm0, xmmword [rsp + 0x140]
vmovups xmmword [rsp + 0xf8], xmm0
mov qword [rsp + 0x108], rbx
cmp qword [rsp + 0x100], 0
je 0x1402a034f
mov ecx, 8
mov edx, 0x28
call fcn.1400adeb4
test rax, rax
je 0x1402a0597
vmovups xmm0, xmmword [rsp + 0xf0]
mov rcx, qword [rsp + 0x100]
mov qword [rax + 0x10], rcx
vmovups xmmword [rax], xmm0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rax + 0x18], xmm0
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], 1
jmp 0x1402a0495
vxorps xmm0, xmm0, xmm0
mov rax, qword [rsp + 0x80]
vmovups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0xf0]
call fcn.14029c715
jmp 0x1402a0495
call fcn.14013c19d
mov rbx, qword [rax]
lea rsi, [rbx + 0x80]
call fcn.14013d3fd
test rax, rax
je 0x1402a04b2
mov rdi, rax
cmp qword [rax + 0x110], rbx
je 0x1402a0565
mov rax, rdi
add rax, 0x110
mov rcx, qword [rdi + 0x100]
mov rdx, qword [rsp + 0xe0]
lea rbx, [rsp + 0x250]
mov qword [rbx - 0x40], rdx
vmovups ymm0, ymmword [rsp + 0xa0]
vmovups ymm1, ymmword [rsp + 0xc0]
vmovups ymmword [rbx - 0x60], ymm1
vmovups ymmword [rbx - 0x80], ymm0
mov qword [rbx], rax
and qword [rbx + 8], 0
mov qword [rbx + 0x10], rcx
mov byte [rbx + 0x18], 1
and qword [rbx - 0x38], 0
lea rdx, [0x1402a05d6]
lea r14, [rsp + 0x1d0]
mov rcx, rsi
mov r8, r14
vzeroupper
call fcn.14013d481
mov rcx, rdi
mov rdx, rbx
call fcn.14029ca3b
lea rcx, [rsp + 0x280]
mov r8d, 0xa0
mov rdx, r14
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2c8]
lea rcx, [rsp + 0xf0]
call fcn.14029c8ed
jmp 0x14029fc38
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]
vzeroupper
call fcn.14029faea
vmovaps 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.14013d6c4
test rax, rax
je 0x1402a05a8
mov rcx, qword [rsp + 0xe0]
lea rdi, [rsp + 0x1d0]
mov qword [rdi + 0x48], rcx
vmovups ymm0, ymmword [rsp + 0xa0]
vmovups ymm1, ymmword [rsp + 0xc0]
vmovups ymmword [rdi + 0x28], ymm1
vmovups ymmword [rdi + 8], ymm0
mov qword [rdi], rax
and qword [rdi + 0x50], 0
lea rdx, [0x1402a0752]
mov rcx, rsi
mov r8, rdi
vzeroupper
call fcn.14013d481
mov rcx, qword [rdi]
call fcn.14013c12c
lea rcx, [rsp + 0x280]
mov r8d, 0x88
mov rdx, rdi
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2d0]
lea rsi, [rsp + 0x168]
mov rcx, rsi
call fcn.14029c8ed
vmovups ymm0, ymmword [rsi]
vmovups ymm1, ymmword [rsi + 0x10]
vmovups ymmword [rsp + 0xf0], ymm0
vmovups ymmword [rsp + 0x100], ymm1
jmp 0x14029fc38
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0xa0]
mov r8, rdi
jmp 0x14029fc30
lea rcx, str.assertion_failed:_index___self.range.len___root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_1.8.0_src_range.rs
lea r8, [0x140542f90]
mov edx, 0x2b
call fcn.1400b45f0
ud2
mov ecx, 8
mov edx, 0x28
call fcn.1400a9a20
ud2
lea rax, [0x1405eaa78]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_608e9682f0a6482903de8d3332770104a0ad943clibrary_std_src_threadlocal.rs
lea r9, [0x1405c0708]
lea r8, [rsp + 0x280]
mov edx, 0x46
call fcn.1400b9710
ud2