Function at 0x14003bc2d
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 rbx, qword [rsp + 0x558]
mov ebp, dword [rsp + 0x550]
mov r15d, dword [rsp + 0x548]
mov rax, qword [rsp + 0x540]
mov qword [rsp + 0x168], rdx
lea rdi, [rsp + 0x2a0]
mov qword [rdi], r9
mov qword [rdi + 8], rax
mov rcx, rdi
call fcn.14003b2f2
test al, al
je 0x14003be1f
shr rsi, 1
mov qword [rsp + 0x170], rsi
xor eax, eax
mov ecx, ebp
sub ecx, r15d
cmovb ecx, eax
cmp rsi, rcx
ja 0x14003c669
add esi, r15d
lea rax, [rsp + 0x168]
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], rdi
mov qword [rsp + 0x190], rbx
mov dword [rsp + 0x198], esi
mov dword [rsp + 0x19c], ebp
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1a8], rdi
mov qword [rsp + 0x1b0], rbx
mov dword [rsp + 0x1b8], r15d
mov dword [rsp + 0x1bc], esi
call fcn.14000cef7
test rax, rax
je 0x14003c43c
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0x178]
mov r8, rax
xor r9d, r9d
call fcn.14003b89e
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xc0], rax
movaps xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0xb0], xmm0
movups xmm0, xmmword [rsp + 0x118]
movaps xmmword [rsp + 0xd0], xmm0
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xb8]
test rax, rax
je 0x14003c500
mov rcx, qword [rsp + 0xd0]
and qword [rsp + 0xd0], 0
test rcx, rcx
je 0x14003bde2
mov qword [rax + 0x18], rcx
mov qword [rcx + 0x20], rax
xorps xmm0, xmm0
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe0]
movups xmmword [rsp + 0xd8], xmm0
mov qword [rsp + 0xb8], rax
add qword [rsp + 0xc0], rcx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x88]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0xb0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb8]
mov qword [rcx + 8], rax
lea rcx, [rsp + 0xd0]
call fcn.14003bbac
jmp 0x14003c551
mov r14, qword [rbx]
mov r13d, 8
lea r12, [rsp + 0x4c]
xorps xmm6, xmm6
xor eax, eax
mov qword [rsp + 0x90], rax
xor edi, edi
mov qword [rsp + 0xf0], r14
cmp r15d, ebp
jae 0x14003c3b1
mov eax, dword [r14]
bt eax, r15d
jae 0x14003c38b
lea ebx, [r15 + 0x41]
mov word [rsp + 0x4c], bx
mov dword [rsp + 0x4e], 0x5c003a
and word [rsp + 0x52], 0
mov rcx, r12
call sub.kernel32.dll_GetDriveTypeW
mov esi, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14003bf23
mov qword [rsp + 0x98], rdi
mov r8d, 0x20a
lea rdi, [rsp + 0x2b0]
mov rcx, rdi
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, rdi
mov r8d, 0x105
xor r9d, r9d
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x14003bf34
mov eax, 0x20a
xor r8d, r8d
mov rdi, qword [rsp + 0x98]
test rax, rax
je 0x14003bf45
cmp word [rsp + r8*2 + 0x2b0], 0
je 0x14003bf4d
inc r8
add rax, 0xfffffffffffffffe
jmp 0x14003bf09
mov qword [rsp + 0x1c0], 3
jmp 0x14003c316
mov qword [rsp + 0x1c0], 3
jmp 0x14003c30e
mov r8d, 0x105
jmp 0x14003bf5a
cmp r8, 0x106
jae 0x14003c63e
lea rcx, [rsp + 0x130]
lea rdx, [rsp + 0x2b0]
call fcn.14003b527
mov rbp, qword [rsp + 0x138]
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x70], rax
mov eax, 0x40
xor r12d, r12d
test rax, rax
je 0x14003bfa6
cmp word [rsp + r12*2 + 0x260], 0
je 0x14003bfae
inc r12
add rax, 0xfffffffffffffffe
jmp 0x14003bf8c
mov r12d, 0x20
jmp 0x14003bfb8
cmp r12, 0x21
jae 0x14003c655
mov qword [rsp + 0xf8], r13
lea rcx, [rsp + 0x58]
mov rdx, r12
xor r8d, r8d
call fcn.14000e00d
cmp qword [rsp + 0x58], 0
mov r14, qword [rsp + 0x60]
jne 0x14003c631
mov qword [rsp + 0x160], rbp
mov r13, qword [rsp + 0x68]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r13
and qword [rsp + 0x68], 0
cmp r12, r14
ja 0x14003c393
mov eax, 0
mov ebp, 0
test r12, r12
je 0x14003c037
mov rbp, rax
xor eax, eax
mov cl, byte [rsp + rax*2 + 0x260]
mov byte [r13 + rbp], cl
inc rbp
inc rax
cmp r12, rax
jne 0x14003c01b
mov r14, qword [rsp + 0x58]
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x58], rax
mov word [rsp + 0x60], bx
mov dword [rsp + 0x62], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x58]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.kernel32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x14003c1b4
mov r12, rax
and qword [rsp + 0xa0], 0
and qword [rsp + 0x78], 0
lea rcx, [rsp + 0x4c]
xor edx, edx
lea r8, [rsp + 0xa0]
lea r9, [rsp + 0x78]
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14003c19e
mov rbx, qword [rsp + 0xa0]
test rbx, rbx
je 0x14003c19e
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x148], rax
and dword [rsp + 0x80], 0
mov qword [rsp + 0xa0], 7
and qword [rsp + 0x78], 0
mov byte [rsp + 0xa8], 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 + 0xa0]
mov r9d, 0xc
call sub.kernel32.dll_DeviceIoControl
xor edi, edi
cmp byte [rsp + 0x80], 0
sete dil
cmp dword [rsp + 0x54], 0xc
mov ecx, 2
cmovne rdi, rcx
test eax, eax
cmove rdi, rcx
cmp qword [rsp + 0x70], 0
mov qword [rsp + 0x158], r12
mov qword [rsp + 0x150], rbx
je 0x14003c20d
js 0x14003c681
mov al, byte [0x14008e108]
xor ecx, ecx
mov rdx, qword [rsp + 0x70]
call fcn.140037990
test rax, rax
je 0x14003c686
mov rbx, rax
jmp 0x14003c212
mov qword [rsp + 0x1c0], 3
mov rcx, r12
call fcn.1400464f4
jmp 0x14003c1cc
mov rcx, 0xffffffffffffffff
call fcn.1400464f4
mov qword [rsp + 0x1c0], 3
mov rcx, r14
mov rdx, r13
call fcn.14000b63c
mov rcx, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x138]
call fcn.14000b63c
mov ebp, dword [rsp + 0x550]
mov r14, qword [rsp + 0xf0]
mov r13, qword [rsp + 0xf8]
lea r12, [rsp + 0x4c]
jmp 0x14003c316
mov ebx, 1
mov rcx, rbx
mov rdx, qword [rsp + 0x160]
mov r12, qword [rsp + 0x70]
mov r8, r12
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x1d0], r12
mov qword [rsp + 0x1d8], rbx
mov qword [rsp + 0x1e0], r12
mov byte [rsp + 0x1e8], 0
lea rcx, [rsp + 0x1f0]
mov rdx, r13
mov r8, rbp
call fcn.14003b743
mov r8d, 4
lea rcx, [rsp + 0x208]
lea r12, [rsp + 0x4c]
mov rdx, r12
call fcn.14003b7ac
mov r8d, 3
lea rcx, [rsp + 0x220]
mov rdx, r12
call fcn.14003b527
or qword [rsp + 0x1c8], 0xffffffffffffffff
cmp esi, 2
mov qword [rsp + 0x1c0], rdi
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x240], rax
sete byte [rsp + 0x248]
mov rcx, qword [rsp + 0x158]
call fcn.1400464f4
mov rcx, r14
mov rdx, r13
call fcn.14000b63c
mov rcx, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x138]
call fcn.14000b63c
mov ebp, dword [rsp + 0x550]
mov r14, qword [rsp + 0xf0]
mov r13, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x98]
cmp qword [rsp + 0x1c0], 3
je 0x14003c38b
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x2b0], rax
mov qword [rsp + 0x2b8], r13
mov qword [rsp + 0x2c0], rdi
cmp rdi, rax
jne 0x14003c36b
lea rcx, [rsp + 0x2b0]
call fcn.14003add2
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x90], rax
mov r13, qword [rsp + 0x2b8]
imul rcx, rdi, 0x90
add rcx, r13
mov r8d, 0x90
lea rdx, [rsp + 0x1c0]
call sub.msvcrt.dll_memcpy
inc rdi
inc r15d
jmp 0x14003be44
lea rcx, [rsp + 0x58]
xor edx, edx
mov r8, r12
call fcn.14000a473
mov r13, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
jmp 0x14003c016
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], r13
mov qword [rsp + 0x110], rdi
mov rax, qword [rsp + 0x558]
mov qword [rsp + 0x118], rax
test rdi, rdi
je 0x14003c531
mov ecx, 8
mov edx, 0x28
call fcn.14003af76
test rax, rax
je 0x14003c695
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 0x14003c551
call fcn.14000e197
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.14000cef7
test rax, rax
je 0x14003c56d
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x14003c619
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, [0x14003c6d1]
mov rcx, rbx
mov r8, r12
call fcn.14000e43c
mov rcx, r14
mov rdx, r15
call fcn.14003b2a2
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.14003b156
jmp 0x14003bd48
xor eax, eax
cmp rax, 3
je 0x14003bde2
mov rcx, qword [rsp + rax*8 + 0xb0]
mov rdx, qword [rsp + rax*8 + 0xd0]
mov qword [rsp + rax*8 + 0xb0], rdx
mov qword [rsp + rax*8 + 0xd0], rcx
inc rax
jmp 0x14003c502
xorps xmm0, xmm0
mov rax, qword [rsp + 0x88]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x100]
call fcn.14003aeba
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.14003b485
test rax, rax
je 0x14003c6a4
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, [0x14003c818]
lea rsi, [rsp + 0x1c0]
mov rcx, rbx
mov r8, rsi
call fcn.14000e43c
mov rcx, qword [rsi]
call fcn.14000e0d2
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.14003b156
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 0x14003bd48
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0x178]
mov r8, r14
jmp 0x14003bd40
mov rdx, qword [rsp + 0x68]
mov rcx, r14
call fcn.140002740
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.140003c50
lea r8, str._b_b_
mov edx, 0x20
mov rcx, r12
call fcn.140003c50
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, [0x140082700]
mov edx, 0x2b
call fcn.140003f30
call fcn.140002760
mov ecx, 1
mov rdx, qword [rsp + 0x70]
call fcn.140002740
mov ecx, 8
mov edx, 0x28
call fcn.1400027a0
lea rax, str._b_
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_eeb90cda1969383f56a2637cbd3037bdf598841clibrary_std_src_threadlocal.rs
lea r9, [0x140085d20]
lea r8, [rsp + 0x2b0]
mov edx, 0x46
call fcn.140004e20
int3