Function at 0x14015c3da
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 r13, rcx
mov rbx, qword [rsp + 0x548]
mov r14d, dword [rsp + 0x540]
mov r12d, dword [rsp + 0x538]
mov rax, qword [rsp + 0x530]
mov qword [rsp + 0x140], rdx
lea rdi, [rsp + 0x290]
mov qword [rdi], r9
mov qword [rdi + 8], rax
mov rcx, rdi
call fcn.14015b052
test al, al
je 0x14015c5c3
shr rsi, 1
mov qword [rsp + 0x148], rsi
xor eax, eax
mov ecx, r14d
sub ecx, r12d
cmovb ecx, eax
cmp rsi, rcx
ja 0x14015cd48
add esi, r12d
lea rax, [rsp + 0x140]
mov qword [rsp + 0x168], rax
lea rax, [rsp + 0x148]
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], rdi
mov qword [rsp + 0x180], rbx
mov dword [rsp + 0x188], esi
mov dword [rsp + 0x18c], r14d
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x198], rdi
mov qword [rsp + 0x1a0], rbx
mov dword [rsp + 0x1a8], r12d
mov dword [rsp + 0x1ac], esi
call fcn.14008145c
test rax, rax
je 0x14015cb28
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0x168]
mov r8, rax
xor r9d, r9d
call fcn.14015c047
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xc0], rax
movaps xmm0, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0xb0], xmm0
movups xmm0, xmmword [rsp + 0x108]
movaps xmmword [rsp + 0xd0], xmm0
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xb8]
test rax, rax
je 0x14015cbec
mov rcx, qword [rsp + 0xd0]
and qword [rsp + 0xd0], 0
test rcx, rcx
je 0x14015c58d
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 qword [r13 + 0x10], rax
mov rax, qword [rsp + 0xb0]
mov qword [r13], rax
mov rax, qword [rsp + 0xb8]
mov qword [r13 + 8], rax
lea rcx, [rsp + 0xd0]
call fcn.14015c35e
jmp 0x14015cc3d
mov qword [rsp + 0xe8], r13
mov rbp, qword [rbx]
mov eax, 8
mov qword [rsp + 0x78], rax
lea rsi, [rsp + 0x4c]
lea rbx, [rsp + 0x2a0]
xorps xmm6, xmm6
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov edi, r14d
cmp r12d, edi
jae 0x14015caa0
mov eax, dword [rbp]
bt eax, r12d
jae 0x14015ca98
lea r13d, [r12 + 0x41]
mov word [rsp + 0x4c], r13w
mov dword [rsp + 0x4e], 0x5c003a
and word [rsp + 0x52], 0
mov rcx, rsi
call sub.kernel32.dll_GetDriveTypeW
mov r15d, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14015c6c7
mov r8d, 0x20a
mov rcx, rbx
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movaps xmmword [rsp + 0x1e0], xmm6
movaps xmmword [rsp + 0x1d0], xmm6
movaps xmmword [rsp + 0x1c0], xmm6
movaps xmmword [rsp + 0x1b0], xmm6
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, rsi
mov rdx, rbx
mov r8d, 0x105
xor r9d, r9d
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x14015c6c7
mov eax, 0x20a
xor r8d, r8d
test rax, rax
je 0x14015c6d8
cmp word [rsp + r8*2 + 0x2a0], 0
je 0x14015c6e0
inc r8
add rax, 0xfffffffffffffffe
jmp 0x14015c6ad
mov qword [rsp + 0x1f0], 3
jmp 0x14015ca98
mov r8d, 0x105
jmp 0x14015c6ed
cmp r8, 0x106
jae 0x14015cd1d
lea rcx, [rsp + 0x150]
mov rdx, rbx
call fcn.14015b287
mov rcx, qword [rsp + 0x158]
mov rdx, qword [rsp + 0x160]
mov eax, 0x40
xor ebx, ebx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x138], rdx
test rax, rax
je 0x14015c73d
cmp word [rsp + rbx*2 + 0x1b0], 0
je 0x14015c744
inc rbx
add rax, 0xfffffffffffffffe
jmp 0x14015c724
mov ebx, 0x20
jmp 0x14015c74e
cmp rbx, 0x21
jae 0x14015cd34
mov edx, 1
mov r8d, 1
mov rcx, rbx
call fcn.14015b4cd
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rdx
and qword [rsp + 0xa8], 0
lea rcx, [rsp + 0x98]
mov rdx, rbx
call fcn.140019b5b
mov r14, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
test rbx, rbx
je 0x14015c7b7
xor eax, eax
mov cl, byte [rsp + rax*2 + 0x1b0]
mov byte [r14 + rsi], cl
inc rsi
inc rax
cmp rbx, rax
jne 0x14015c7a1
mov rbx, qword [rsp + 0x98]
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x98], rax
mov word [rsp + 0xa0], r13w
mov dword [rsp + 0xa2], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x98]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.kernel32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x14015ca53
mov r13, rax
and qword [rsp + 0x88], 0
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x4c]
xor edx, edx
lea r8, [rsp + 0x88]
lea r9, [rsp + 0x58]
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14015ca3d
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x14015ca3d
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x130], rcx
and dword [rsp + 0x60], 0
mov qword [rsp + 0x88], 7
and qword [rsp + 0x58], 0
mov byte [rsp + 0x90], 0
and dword [rsp + 0x54], 0
mov qword [rsp + 0x128], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov rcx, r13
mov edx, 0x2d1400
lea r8, [rsp + 0x88]
mov r9d, 0xc
call sub.kernel32.dll_DeviceIoControl
xor edi, edi
cmp byte [rsp + 0x60], 0
sete dil
cmp dword [rsp + 0x54], 0xc
mov ecx, 2
cmovne rdi, rcx
test eax, eax
cmove rdi, rcx
lea rcx, [rsp + 0x200]
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x138]
call fcn.14015a470
lea rcx, [rsp + 0x220]
mov rdx, r14
mov r8, rsi
call fcn.14001cc8e
mov r8d, 4
lea rcx, [rsp + 0x238]
lea rsi, [rsp + 0x4c]
mov rdx, rsi
call fcn.14015b47a
mov r8d, 3
lea rcx, [rsp + 0x250]
mov rdx, rsi
call fcn.14015b287
or qword [rsp + 0x1f8], 0xffffffffffffffff
cmp r15d, 2
mov qword [rsp + 0x1f0], rdi
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x270], rax
sete byte [rsp + 0x278]
mov rcx, r13
call fcn.140173dfc
mov rcx, rbx
mov rdx, r14
call fcn.14005068f
mov rcx, qword [rsp + 0x150]
mov rdx, qword [rsp + 0x80]
call fcn.14005068f
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x2a0], rcx
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x2a8], rax
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x2b0], rdi
cmp rdi, rcx
lea rbx, [rsp + 0x2a0]
jne 0x14015ca0a
mov rcx, rbx
call fcn.14015ac5f
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x2a8]
imul rcx, rdi, 0x90
mov qword [rsp + 0x78], rax
add rcx, rax
mov r8d, 0x90
lea rdx, [rsp + 0x1f0]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
inc rdi
mov qword [rsp + 0x70], rdi
mov edi, dword [rsp + 0x540]
jmp 0x14015ca98
mov qword [rsp + 0x1f0], 3
mov rcx, r13
call fcn.140173dfc
jmp 0x14015ca6b
mov rcx, 0xffffffffffffffff
call fcn.140173dfc
mov qword [rsp + 0x1f0], 3
mov rcx, rbx
mov rdx, r14
call fcn.14005068f
mov rcx, qword [rsp + 0x150]
mov rdx, qword [rsp + 0x80]
call fcn.14005068f
lea rsi, [rsp + 0x4c]
lea rbx, [rsp + 0x2a0]
inc r12d
jmp 0x14015c5fd
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x100], rcx
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x108], rax
test rcx, rcx
je 0x14015cc1d
call fcn.14015ad5e
test rax, rax
mov rdx, qword [rsp + 0xe8]
je 0x14015cd60
mov rcx, qword [rsp + 0x100]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0xf0]
movups xmmword [rax], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
mov qword [rdx], rax
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], 1
jmp 0x14015cc3d
call fcn.140080192
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.14008145c
test rax, rax
je 0x14015cc59
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x14015cd05
mov rax, r14
add rax, 0x110
mov rcx, qword [r14 + 0x100]
lea r15, [rsp + 0x270]
mov qword [r15], rax
and qword [r15 + 8], 0
mov qword [r15 + 0x10], rcx
mov byte [r15 + 0x18], 1
lea r12, [rsp + 0x1f0]
lea rsi, [rsp + 0x168]
mov ecx, 9
mov rdi, r12
rep movsq qword [rdi], qword [rsi]
and qword [r12 + 0x48], 0
lea rdx, [0x14015cd9c]
mov rcx, rbx
mov r8, r12
call fcn.1400814ee
mov rcx, r14
mov rdx, r15
call fcn.14015b03e
lea rcx, [rsp + 0x2a0]
mov r8d, 0xa0
mov rdx, r12
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
lea rdx, [rsp + 0x2e8]
lea rcx, [rsp + 0xf0]
call fcn.14015aef8
jmp 0x14015c4f3
xor eax, eax
cmp rax, 3
je 0x14015c58d
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 0x14015cbee
xorps xmm0, xmm0
mov rax, qword [rsp + 0xe8]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0xf0]
call fcn.14015acdb
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.14015b1e5
test rax, rax
je 0x14015cd6f
lea rdx, [rsp + 0x1f8]
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, [0x14015cee3]
lea rsi, [rsp + 0x1f0]
mov rcx, rbx
mov r8, rsi
call fcn.1400814ee
mov rcx, qword [rsi]
call fcn.1400800cc
lea rcx, [rsp + 0x2a0]
mov r8d, 0x88
mov rdx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
lea rdx, [rsp + 0x2f0]
lea rsi, [rsp + 0x1b8]
mov rcx, rsi
call fcn.14015aef8
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0x100], xmm1
movaps xmmword [rsp + 0x110], xmm2
jmp 0x14015c4f3
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0x168]
mov r8, r14
jmp 0x14015c4eb
lea rax, str.C:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rsh
mov edx, 0x105
mov rcx, r8
mov r8, rax
call fcn.14003f980
lea r8, str.C:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rsh
mov edx, 0x20
mov rcx, rbx
call fcn.14003f980
lea rcx, str.assertion_failed:_index___self.range.len__C:Users_saelko.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rayon_1.10.0_src_range.rs
lea r8, str.e_
mov edx, 0x2b
call fcn.14003fe40
mov ecx, 8
mov edx, 0x28
call fcn.14003be7d
lea rax, [0x140312a50]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_90b35a6239c3d8bdabc530a6a0816f7ff89a0aaflibrary_std_src_threadlocal.rs
lea r9, [0x140312b60]
lea r8, [rsp + 0x2a0]
mov edx, 0x46
call fcn.140041b70
int3