Function at 0x14003b574
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 qword [rsp + 0x88], rcx
mov r14, qword [rsp + 0x548]
mov ebp, dword [rsp + 0x540]
mov edi, dword [rsp + 0x538]
mov rax, qword [rsp + 0x530]
mov qword [rsp + 0x148], rdx
lea rbx, [rsp + 0x290]
mov qword [rbx], r9
mov qword [rbx + 8], rax
mov rcx, rbx
call fcn.14003a167
test al, al
je 0x14003b75c
shr rsi, 1
mov qword [rsp + 0x58], rsi
xor eax, eax
mov ecx, ebp
sub ecx, edi
cmovb ecx, eax
cmp rsi, rcx
ja 0x14003bf84
add esi, edi
lea rax, [rsp + 0x148]
mov qword [rsp + 0x168], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], rbx
mov qword [rsp + 0x180], r14
mov dword [rsp + 0x188], esi
mov dword [rsp + 0x18c], ebp
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x198], rbx
mov qword [rsp + 0x1a0], r14
mov dword [rsp + 0x1a8], edi
mov dword [rsp + 0x1ac], esi
call fcn.14000f972
test rax, rax
je 0x14003bd5a
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0x168]
mov r8, rax
xor r9d, r9d
call fcn.14003c01e
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 0x14003be1e
mov rcx, qword [rsp + 0xe0]
and qword [rsp + 0xe0], 0
test rcx, rcx
je 0x14003b71f
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.14003bfec
jmp 0x14003be6f
mov rbx, qword [r14]
mov eax, 8
mov qword [rsp + 0xa0], rax
lea r12, [rsp + 0x4c]
lea r13, [rsp + 0x2a0]
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 0x14003bcc7
mov eax, dword [rbx]
bt eax, edi
jae 0x14003bcc0
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 0x14003b866
mov r8d, 0x20a
mov rcx, r13
xor edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rsp + 0x280], xmm6
movaps xmmword [rsp + 0x270], xmm6
movaps xmmword [rsp + 0x260], xmm6
movaps xmmword [rsp + 0x250], xmm6
lea rax, [rsp + 0x250]
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 0x14003b866
mov eax, 0x20a
xor r8d, r8d
lea r12, [rsp + 0x58]
test rax, rax
je 0x14003b877
cmp word [rsp + r8*2 + 0x2a0], 0
je 0x14003b87f
inc r8
add rax, 0xfffffffffffffffe
jmp 0x14003b84c
mov qword [rsp + 0x1b0], 3
jmp 0x14003bcc0
mov r8d, 0x105
jmp 0x14003b88c
cmp r8, 0x106
jae 0x14003bf59
lea rcx, [rsp + 0x150]
mov rdx, r13
call fcn.14003a2fa
mov rcx, qword [rsp + 0x158]
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x70], rax
mov eax, 0x40
xor ebx, ebx
mov qword [rsp + 0xa8], rcx
test rax, rax
je 0x14003b8d9
cmp word [rsp + rbx*2 + 0x250], 0
je 0x14003b8e0
inc rbx
add rax, 0xfffffffffffffffe
jmp 0x14003b8c0
mov ebx, 0x20
jmp 0x14003b8ea
cmp rbx, 0x21
jae 0x14003bf70
mov rcx, r12
mov rdx, rbx
xor r8d, r8d
call fcn.14000e275
cmp qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x60]
jne 0x14003bf4f
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
and qword [rsp + 0x68], 0
mov rcx, r12
mov rdx, rbx
call fcn.14000b593
mov r13, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
test rbx, rbx
je 0x14003b951
xor eax, eax
mov cl, byte [rsp + rax*2 + 0x250]
mov byte [r13 + rbp], cl
inc rbp
inc rax
cmp rbx, rax
jne 0x14003b93a
mov rbx, qword [rsp + 0x58]
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x58], rax
mov word [rsp + 0x60], r15w
mov dword [rsp + 0x62], 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 0x14003bad2
mov r12, rax
and qword [rsp + 0xb0], 0
and qword [rsp + 0x78], 0
lea rcx, [rsp + 0x4c]
xor edx, edx
lea r8, [rsp + 0xb0]
lea r9, [rsp + 0x78]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14003babc
mov rax, qword [rsp + 0xb0]
test rax, rax
je 0x14003babc
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x130], rax
and dword [rsp + 0x80], 0
mov qword [rsp + 0xb0], 7
and qword [rsp + 0x78], 0
mov byte [rsp + 0xb8], 0
and dword [rsp + 0x54], 0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
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 + 0x80], 0
sete sil
cmp dword [rsp + 0x54], 0xc
mov ecx, 2
cmovne rsi, rcx
test eax, eax
cmove rsi, rcx
cmp qword [rsp + 0x70], 0
mov qword [rsp + 0x140], rbx
je 0x14003bb2b
js 0x14003bf9c
mov al, byte [0x14005a108]
xor ecx, ecx
mov rdx, qword [rsp + 0x70]
call fcn.1400354c0
test rax, rax
je 0x14003bfa1
mov r15, rax
jmp 0x14003bb31
mov qword [rsp + 0x1b0], 3
mov rcx, r12
call sub.KERNEL32.dll_CloseHandle
jmp 0x14003baea
mov rcx, 0xffffffffffffffff
call sub.KERNEL32.dll_CloseHandle
mov qword [rsp + 0x1b0], 3
mov rcx, rbx
mov rdx, r13
call fcn.14000c986
mov rcx, qword [rsp + 0x150]
mov rdx, qword [rsp + 0xa8]
call fcn.14000c986
mov ebp, dword [rsp + 0x540]
mov rbx, qword [rsp + 0xf8]
lea r12, [rsp + 0x4c]
lea r13, [rsp + 0x2a0]
jmp 0x14003bcc0
mov r15d, 1
mov rcx, r15
mov rdx, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x70]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x1c0], rbx
mov qword [rsp + 0x1c8], r15
mov qword [rsp + 0x1d0], rbx
mov byte [rsp + 0x1d8], 0
lea rcx, [rsp + 0x1e0]
mov rdx, r13
mov r8, rbp
call fcn.14003a588
mov r8d, 4
lea rcx, [rsp + 0x1f8]
lea r15, [rsp + 0x4c]
mov rdx, r15
call fcn.14003c525
mov r8d, 3
lea rcx, [rsp + 0x210]
mov rdx, r15
call fcn.14003a2fa
or qword [rsp + 0x1b8], 0xffffffffffffffff
cmp r14d, 2
mov qword [rsp + 0x1b0], rsi
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x228], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x230], rax
sete byte [rsp + 0x238]
mov rcx, r12
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rsp + 0x140]
mov rdx, r13
call fcn.14000c986
mov rcx, qword [rsp + 0x150]
mov rdx, qword [rsp + 0xa8]
call fcn.14000c986
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x2a0], rcx
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x2a8], rax
mov rsi, qword [rsp + 0x98]
mov qword [rsp + 0x2b0], rsi
cmp rsi, rcx
lea r13, [rsp + 0x2a0]
jne 0x14003bc74
mov rcx, r13
call fcn.140039c82
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x2a8]
imul rcx, rsi, 0x90
mov qword [rsp + 0xa0], rax
add rcx, rax
mov r8d, 0x90
lea rdx, [rsp + 0x1b0]
call sub.msvcrt.dll_memcpy
inc rsi
mov qword [rsp + 0x98], rsi
mov rsi, qword [rsp + 0x548]
mov ebp, dword [rsp + 0x540]
mov rbx, qword [rsp + 0xf8]
lea r12, [rsp + 0x4c]
inc edi
jmp 0x14003b79b
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 0x14003be4f
mov ecx, 8
mov edx, 0x28
call fcn.14000c607
test rax, rax
je 0x14003bfb0
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 0x14003be6f
call fcn.14000e3b2
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.14000f972
test rax, rax
je 0x14003be8b
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x14003bf37
mov rax, r14
add rax, 0x110
mov rcx, qword [r14 + 0x100]
lea r15, [rsp + 0x230]
mov qword [r15], rax
and qword [r15 + 8], 0
mov qword [r15 + 0x10], rcx
mov byte [r15 + 0x18], 1
lea r12, [rsp + 0x1b0]
lea rsi, [rsp + 0x168]
mov ecx, 9
mov rdi, r12
rep movsq qword [rdi], qword [rsi]
and qword [r12 + 0x48], 0
lea rdx, [0x14003c206]
mov rcx, rbx
mov r8, r12
call fcn.14000fa04
mov rcx, r14
mov rdx, r15
call fcn.14003a122
lea rcx, [rsp + 0x2a0]
mov r8d, 0xa0
mov rdx, r12
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2e8]
lea rcx, [rsp + 0x100]
call fcn.140039fd6
jmp 0x14003b685
xor eax, eax
cmp rax, 3
je 0x14003b71f
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 0x14003be20
xorps xmm0, xmm0
mov rax, qword [rsp + 0x88]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x100]
call fcn.140039f1a
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 ecx, ecx
call fcn.14000fc1f
test rax, rax
je 0x14003bfbf
lea rdx, [rsp + 0x1b8]
mov qword [rdx - 8], rax
lea rsi, [rsp + 0x168]
mov ecx, 9
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
and qword [rdx + 0x48], 0
lea rdx, [0x14003c34d]
lea rsi, [rsp + 0x1b0]
mov rcx, rbx
mov r8, rsi
call fcn.14000fa04
mov rcx, qword [rsi]
call fcn.14000e2ed
lea rcx, [rsp + 0x2a0]
mov r8d, 0x88
mov rdx, rsi
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2f0]
lea rsi, [rsp + 0x258]
mov rcx, rsi
call fcn.140039fd6
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 0x14003b685
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0x168]
mov r8, r14
jmp 0x14003b67d
mov rdx, qword [rsp + 0x68]
call fcn.140003180
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.140004550
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, rbx
call fcn.140004550
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, [0x14004dc68]
mov edx, 0x2b
call fcn.1400048c0
call fcn.1400031a0
mov ecx, 1
mov rdx, qword [rsp + 0x70]
call fcn.140003180
mov ecx, 8
mov edx, 0x28
call fcn.1400031e0
lea rax, [0x140051740]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_129f3b9964af4d4a709d1383930ade12dfe7c081library_std_src_threadlocal.rs
lea r9, [0x1400517b0]
lea r8, [rsp + 0x2a0]
mov edx, 0x46
call fcn.140005920
int3