Function at 0x1400ce1a6
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, 0x518
movaps xmmword [rsp + 0x500], xmm6
mov rsi, rdx
mov qword [rsp + 0xf0], rcx
mov rbx, qword [rsp + 0x598]
mov ebp, dword [rsp + 0x590]
mov r13d, dword [rsp + 0x588]
mov rax, qword [rsp + 0x580]
mov qword [rsp + 0x198], rdx
lea rdi, [rsp + 0x2e0]
mov qword [rdi], r9
mov qword [rdi + 8], rax
mov rcx, rdi
call fcn.1400cbcf7
test al, al
je 0x1400ce395
shr rsi, 1
mov qword [rsp + 0x1a0], rsi
xor eax, eax
mov ecx, ebp
sub ecx, r13d
cmovb ecx, eax
cmp rsi, rcx
ja 0x1400ced3c
add esi, r13d
lea rax, [rsp + 0x198]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], rdi
mov qword [rsp + 0x1d0], rbx
mov dword [rsp + 0x1d8], esi
mov dword [rsp + 0x1dc], ebp
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rdi
mov qword [rsp + 0x1f0], rbx
mov dword [rsp + 0x1f8], r13d
mov dword [rsp + 0x1fc], esi
call fcn.14003f059
test rax, rax
je 0x1400ceaf7
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x1b8]
mov r8, rax
call fcn.1400cb7d1
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x110], rax
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x100], xmm0
movups xmm0, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x120], xmm0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x108]
test rax, rax
je 0x1400cebcd
mov rcx, qword [rsp + 0x120]
and qword [rsp + 0x120], 0
test rcx, rcx
je 0x1400ce358
mov qword [rax + 0x18], rcx
mov qword [rcx + 0x20], rax
xorps xmm0, xmm0
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x130]
movups xmmword [rsp + 0x128], xmm0
mov qword [rsp + 0x108], rax
add qword [rsp + 0x110], rcx
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xf0]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x100]
mov qword [rcx], rax
mov rax, qword [rsp + 0x108]
mov qword [rcx + 8], rax
lea rcx, [rsp + 0x120]
call fcn.1400d037e
jmp 0x1400cec1b
mov rsi, qword [rbx]
mov r15d, 8
lea rdi, [rsp + 0x58]
lea r12, [rsp + 0x2f0]
xorps xmm6, xmm6
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x168], rsi
cmp r13d, ebp
jae 0x1400ce9fa
mov eax, dword [rsi]
bt eax, r13d
jae 0x1400ce9f2
lea r14d, [r13 + 0x41]
mov word [rsp + 0x58], r14w
mov dword [rsp + 0x5a], 0x5c003a
and word [rsp + 0x5e], 0
mov rcx, rdi
call sub.KERNEL32.dll_GetDriveTypeW
mov ebx, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x1400ce9f2
mov r8d, 0x20a
mov rcx, r12
xor edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rsp + 0x230], xmm6
movaps xmmword [rsp + 0x220], xmm6
movaps xmmword [rsp + 0x210], xmm6
movaps xmmword [rsp + 0x200], xmm6
lea rax, [rsp + 0x200]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, rdi
mov rdx, r12
mov r8d, 0x105
xor r9d, r9d
call sub.KERNEL32.dll_GetVolumeInformationW
test eax, eax
je 0x1400ce9f2
mov eax, 0x20a
xor r8d, r8d
mov qword [rsp + 0x70], r15
test rax, rax
je 0x1400ce498
cmp word [rsp + r8*2 + 0x2f0], 0
je 0x1400ce4a0
inc r8
add rax, 0xfffffffffffffffe
jmp 0x1400ce47e
mov r8d, 0x105
jmp 0x1400ce4ad
cmp r8, 0x106
jae 0x1400ced06
lea rcx, [rsp + 0x140]
mov rdx, r12
call fcn.1400cb307
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xb8], rax
mov eax, 0x40
xor edi, edi
test rax, rax
je 0x1400ce4fa
cmp word [rsp + rdi*2 + 0x200], 0
je 0x1400ce501
inc rdi
add rax, 0xfffffffffffffffe
jmp 0x1400ce4e1
mov edi, 0x20
jmp 0x1400ce50b
cmp rdi, 0x21
jae 0x1400ced1f
mov edx, 1
mov r8d, 1
mov rcx, rdi
call fcn.1400c7a13
mov esi, ebp
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rdx
and qword [rsp + 0x90], 0
lea rcx, [rsp + 0x80]
mov rdx, rdi
call fcn.14003ca9d
mov rbp, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
test rdi, rdi
je 0x1400ce577
xor eax, eax
mov cl, byte [rsp + rax*2 + 0x200]
mov byte [rbp + r12], cl
inc r12
inc rax
cmp rdi, rax
jne 0x1400ce560
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xf8], rax
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x172], rax
mov word [rsp + 0x17a], r14w
mov dword [rsp + 0x17c], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x172]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x1400ce70f
mov r15, rax
and qword [rsp + 0xc0], 0
and qword [rsp + 0x80], 0
lea rdi, [rsp + 0x58]
mov rcx, rdi
xor edx, edx
lea r8, [rsp + 0xc0]
lea r9, [rsp + 0x80]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
mov r14, qword [rsp + 0x50]
je 0x1400ce705
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x1400ce705
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x188], rax
and dword [rsp + 0xc8], 0
mov qword [rsp + 0x1ac], 7
and qword [rsp + 0xc0], 0
mov byte [rsp + 0x1b4], 0
and dword [rsp + 0x7c], 0
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov rcx, r15
mov edx, 0x2d1400
lea r8, [rsp + 0x1ac]
mov r9d, 0xc
call sub.KERNEL32.dll_DeviceIoControl
xor edi, edi
cmp byte [rsp + 0xc8], 0
sete dil
cmp dword [rsp + 0x7c], 0xc
mov ecx, 2
cmovne rdi, rcx
test eax, eax
cmove rdi, rcx
mov r14, qword [rsp + 0xb8]
test r14, r14
js 0x1400ced35
je 0x1400ce759
mov al, byte [0x140124138]
xor ecx, ecx
mov rdx, r14
call fcn.1400c3830
test rax, rax
jne 0x1400ce75e
jmp 0x1400ced54
mov rcx, r15
call sub.KERNEL32.dll_CloseHandle
jmp 0x1400ce725
mov rcx, 0xffffffffffffffff
call sub.KERNEL32.dll_CloseHandle
lea rdi, [rsp + 0x58]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xf8]
mov rdx, rbp
call fcn.1400969d8
mov rcx, qword [rsp + 0x140]
mov rdx, r14
call fcn.1400969d8
mov r15, qword [rsp + 0x70]
mov ebp, esi
mov rsi, qword [rsp + 0x168]
jmp 0x1400ce9ea
mov eax, 1
mov qword [rsp + 0xe8], rax
mov rcx, rax
mov rdx, qword [rsp + 0x50]
mov r8, r14
call sub.msvcrt.dll_memcpy
mov edx, 1
mov r8d, 1
mov rcx, r12
call fcn.1400c7a13
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x50], rdx
mov rcx, rdx
mov rdx, rbp
mov r8, r12
call sub.msvcrt.dll_memcpy
mov ecx, 4
mov edx, 2
mov r8d, 2
call fcn.1400c7a13
mov qword [rsp + 0xd8], rax
mov r14, rdx
mov rax, qword [rsp + 0x58]
mov qword [rdx], rax
mov r8d, 3
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x58]
call fcn.1400cb307
cmp ebx, 2
sete byte [rsp + 0x4f]
mov eax, dword [rsp + 0x181]
mov ecx, dword [rsp + 0x184]
mov dword [rsp + 0xd3], ecx
mov dword [rsp + 0xd0], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x160], rax
mov rbx, qword [rsp + 0x90]
mov rcx, r15
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rsp + 0xf8]
mov rdx, rbp
call fcn.1400969d8
mov rcx, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x148]
call fcn.1400969d8
mov eax, dword [rsp + 0xd0]
mov ecx, dword [rsp + 0xd3]
mov dword [rsp + 0x200], eax
mov dword [rsp + 0x203], ecx
mov eax, dword [rsp + 0x140]
mov ecx, dword [rsp + 0x143]
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x83], ecx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x2f0], rcx
mov r15, qword [rsp + 0x70]
mov qword [rsp + 0x2f8], r15
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x300], rax
cmp rax, rcx
jne 0x1400ce8e3
lea rcx, [rsp + 0x2f0]
call fcn.1400d17c1
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x60], rax
mov r15, qword [rsp + 0x2f8]
mov r8, qword [rsp + 0x68]
imul rax, r8, 0x90
mov qword [r15 + rax], rdi
or qword [r15 + rax + 8], 0xffffffffffffffff
mov rcx, qword [rsp + 0xb8]
mov qword [r15 + rax + 0x10], rcx
mov rdx, qword [rsp + 0xe8]
mov qword [r15 + rax + 0x18], rdx
mov qword [r15 + rax + 0x20], rcx
mov byte [r15 + rax + 0x28], 0
mov ecx, dword [rsp + 0x200]
mov edx, dword [rsp + 0x203]
mov dword [r15 + rax + 0x29], ecx
mov dword [r15 + rax + 0x2c], edx
mov rcx, qword [rsp + 0xe0]
mov qword [r15 + rax + 0x30], rcx
mov rcx, qword [rsp + 0x50]
mov qword [r15 + rax + 0x38], rcx
mov qword [r15 + rax + 0x40], r12
mov rcx, qword [rsp + 0xd8]
mov qword [r15 + rax + 0x48], rcx
mov qword [r15 + rax + 0x50], r14
mov qword [r15 + rax + 0x58], 4
mov rcx, qword [rsp + 0x158]
mov qword [r15 + rax + 0x60], rcx
mov rcx, qword [rsp + 0x160]
mov qword [r15 + rax + 0x68], rcx
mov qword [r15 + rax + 0x70], rbx
mov rcx, qword [rsp + 0x190]
mov qword [r15 + rax + 0x78], rcx
mov rcx, qword [rsp + 0x188]
mov qword [r15 + rax + 0x80], rcx
mov cl, byte [rsp + 0x4f]
mov byte [r15 + rax + 0x88], cl
mov ecx, dword [rsp + 0x80]
mov edx, dword [rsp + 0x83]
mov dword [r15 + rax + 0x8c], edx
mov dword [r15 + rax + 0x89], ecx
inc r8
mov qword [rsp + 0x68], r8
mov ebp, esi
mov rsi, qword [rsp + 0x168]
lea rdi, [rsp + 0x58]
lea r12, [rsp + 0x2f0]
inc r13d
jmp 0x1400ce3c8
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x2a8], rax
mov qword [rsp + 0x2b0], r15
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x2b8], rax
mov rcx, qword [rsp + 0x598]
mov qword [rsp + 0x2c0], rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x200], xmm0
and qword [rsp + 0x210], 0
test rax, rax
je 0x1400cebfe
movups xmmword [rsp + 0x308], xmm0
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x2f0], rax
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x2b8]
mov qword [rsp + 0x300], rax
mov ecx, 0x28
call fcn.1400d0c60
test rax, rax
je 0x1400ced63
mov rcx, qword [rsp + 0x300]
mov qword [rax + 0x10], rcx
movaps xmm0, xmmword [rsp + 0x2f0]
movups xmmword [rax], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
mov qword [rsp + 0x200], rax
mov qword [rsp + 0x208], rax
mov eax, 1
mov qword [rsp + 0x210], rax
mov rcx, qword [rsp + 0xf0]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x200]
mov qword [rcx], rax
mov rax, qword [rsp + 0x208]
mov qword [rcx + 8], rax
jmp 0x1400cec1b
call fcn.14003d6b6
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.14003f059
test rax, rax
je 0x1400cec37
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x1400cecee
mov rax, r14
add rax, 0x110
mov rcx, qword [r14 + 0x100]
lea r8, [rsp + 0x200]
mov qword [r8 + 0x80], rax
and qword [r8 + 0x88], 0
mov qword [r8 + 0x90], rcx
mov byte [r8 + 0x98], 1
lea rsi, [rsp + 0x1b8]
mov ecx, 9
mov rdi, r8
rep movsq qword [rdi], qword [rsi]
lea rsi, [rsp + 0x248]
and qword [rsi], 0
lea rdx, [0x1400cf8ac]
mov rcx, rbx
call fcn.14003f2a1
lea rdx, [rsp + 0x280]
mov rcx, r14
call fcn.1400cb741
lea rcx, [rsp + 0x2f0]
lea rdx, [rsp + 0x200]
mov r8d, 0xa0
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x338]
lea rcx, [rsp + 0x80]
call fcn.1400cf604
jmp 0x1400ce2be
xor eax, eax
cmp rax, 3
je 0x1400ce358
mov rcx, qword [rsp + rax*8 + 0x100]
mov rdx, qword [rsp + rax*8 + 0x120]
mov qword [rsp + rax*8 + 0x100], rdx
mov qword [rsp + rax*8 + 0x120], rcx
inc rax
jmp 0x1400cebcf
mov rax, qword [rsp + 0xf0]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x2a8]
call fcn.140001ac6
movaps xmm6, xmmword [rsp + 0x500]
add rsp, 0x518
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
call fcn.1400cb5cd
test rax, rax
je 0x1400ced74
lea rdi, [rsp + 0x208]
mov qword [rdi - 8], rax
lea rsi, [rsp + 0x1b8]
mov ecx, 9
rep movsq qword [rdi], qword [rsi]
lea rsi, [rsp + 0x250]
and qword [rsi], 0
lea rdx, [0x1400cfca0]
lea r8, [rsp + 0x200]
mov rcx, rbx
call fcn.14003f2a1
mov rcx, qword [rsp + 0x200]
call fcn.1400410c7
lea rcx, [rsp + 0x2f0]
lea rdx, [rsp + 0x200]
mov r8d, 0x88
call sub.msvcrt.dll_memcpy
lea rsi, [rsp + 0x2b0]
lea rdx, [rsp + 0x340]
mov rcx, rsi
call fcn.1400cf604
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0xa0], xmm2
jmp 0x1400ce2be
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x1b8]
mov r8, r14
jmp 0x1400ce2b9
lea rax, str._home_ghost_.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.14002b4e0
jmp 0x1400ced72
lea r8, str._home_ghost_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_disk.rs
mov edx, 0x20
mov rcx, rdi
call fcn.14002b4e0
jmp 0x1400ced72
call fcn.140029220
jmp 0x1400ced72
lea rcx, str.assertion_failed:_index___self.range.len___home_ghost_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_1.10.0_src_range.rs
lea r8, [0x1400fbaa8]
mov edx, 0x2b
call fcn.14002b9a0
mov ecx, 1
mov rdx, r14
call fcn.140029200
jmp 0x1400ced72
mov ecx, 8
mov edx, 0x28
call fcn.140029260
ud2
lea rax, [0x14010b030]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14library_std_src_threadlocal.rs
lea r9, [0x14010b048]
lea r8, [rsp + 0x2f0]
mov edx, 0x46
call fcn.14002ca50
mov r12, rax
mov rcx, rsi
call fcn.1400cb66f
jmp 0x1400cef1d
mov rcx, r12
call fcn.1400d3580
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
call fcn.1400d1892
call fcn.14002ce20
int3