Function at 0x1400f8c99
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, 0x4b8
movaps xmmword [rsp + 0x4a0], xmm6
mov rsi, rdx
mov qword [rsp + 0x90], rcx
mov r15, qword [rsp + 0x538]
mov ebx, dword [rsp + 0x530]
mov ebp, dword [rsp + 0x528]
mov rax, qword [rsp + 0x520]
mov qword [rsp + 0x1c8], rdx
lea rdi, [rsp + 0x280]
mov qword [rdi], r9
mov qword [rdi + 8], rax
mov rcx, rdi
call fcn.1400f8362
test al, al
je 0x1400f8db5
shr rsi, 1
mov qword [rsp + 0x190], rsi
xor eax, eax
mov ecx, ebx
sub ecx, ebp
cmovb ecx, eax
cmp rsi, rcx
ja 0x1400f9760
add esi, ebp
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x190]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xe8], r15
mov dword [rsp + 0xf0], esi
mov dword [rsp + 0xf4], ebx
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x108], r15
mov dword [rsp + 0x110], ebp
mov dword [rsp + 0x114], esi
call fcn.140074892
test rax, rax
je 0x1400f954b
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0xd0]
mov r8, rax
xor r9d, r9d
call fcn.1400f884c
jmp 0x1400f96c5
xorps xmm6, xmm6
movups xmmword [rsp + 0xa8], xmm6
mov qword [rsp + 0xa0], 8
mov qword [rsp + 0xb8], r15
lea rdi, [rsp + 0x48]
lea r14, [rsp + 0x290]
lea r12, [rsp + 0xd0]
cmp ebp, ebx
jae 0x1400f9446
mov rax, qword [r15]
mov eax, dword [rax]
bt eax, ebp
jae 0x1400f9152
lea esi, [rbp + 0x41]
mov word [rsp + 0x48], si
mov dword [rsp + 0x4a], 0x5c003a
and word [rsp + 0x4e], 0
mov rcx, rdi
call sub.kernel32.dll_GetDriveTypeW
mov r13d, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x1400f914a
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
mov qword [rsp + 0x30], r12
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, rdi
mov rdx, r14
mov r8d, 0x105
xor r9d, r9d
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x1400f914a
xor r8d, r8d
cmp r8, 0x105
je 0x1400f8ea7
cmp word [rsp + r8*2 + 0x290], 0
je 0x1400f8ead
inc r8
jmp 0x1400f8e8d
mov r8d, 0x105
mov edx, 0x105
mov rcx, r14
lea r9, str._home_wyene_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.26.9_src_windows_disk.rs
call fcn.1400f861f
mov r8, rdx
lea rcx, [rsp + 0x138]
mov rdx, rax
call fcn.1400f8644
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x80], rax
xor r8d, r8d
cmp r8, 0x20
je 0x1400f8f0b
cmp word [rsp + r8*2 + 0xd0], 0
je 0x1400f8f11
inc r8
jmp 0x1400f8ef4
mov r8d, 0x20
mov edx, 0x20
mov rcx, r12
lea r9, str._home_wyene_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.26.9_src_windows_disk.rs
call fcn.1400f861f
mov rdi, rax
mov rbx, rdx
mov rcx, rdx
call fcn.140072fab
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdx
and qword [rsp + 0x78], 0
lea rcx, [rsp + 0x68]
mov rdx, rbx
call fcn.140070abe
mov r12, qword [rsp + 0x68]
mov r14, qword [rsp + 0x78]
test rbx, rbx
je 0x1400f8f73
xor eax, eax
mov cl, byte [rdi + rax*2]
mov byte [r12 + r14], cl
inc r14
inc rax
cmp rbx, rax
jne 0x1400f8f61
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x98], rax
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x182], rax
mov word [rsp + 0x18a], si
mov dword [rsp + 0x18c], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x182]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.kernel32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x1400f9100
mov rdi, rax
and qword [rsp + 0x160], 0
and qword [rsp + 0x68], 0
lea rcx, [rsp + 0x48]
xor edx, edx
lea r8, [rsp + 0x160]
lea r9, [rsp + 0x68]
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1400f90f6
mov rsi, qword [rsp + 0x160]
test rsi, rsi
je 0x1400f90f6
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x1c0], rax
and dword [rsp + 0x158], 0
mov qword [rsp + 0x1d4], 7
and qword [rsp + 0x150], 0
mov byte [rsp + 0x1dc], 0
and dword [rsp + 0x64], 0
lea rax, [rsp + 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov rcx, rdi
mov edx, 0x2d1400
lea r8, [rsp + 0x1d4]
mov r9d, 0xc
call sub.kernel32.dll_DeviceIoControl
xor ebx, ebx
cmp byte [rsp + 0x158], 0
sete bl
cmp dword [rsp + 0x64], 0xc
mov ecx, 2
cmovne rbx, rcx
test eax, eax
cmove rbx, rcx
mov r8, qword [rsp + 0x80]
test r8, r8
je 0x1400f91a1
js 0x1400f9789
mov al, byte [0x1402f6250]
mov edx, 1
mov rcx, r8
call fcn.14002dcc0
mov r8, qword [rsp + 0x80]
test rax, rax
jne 0x1400f91a6
jmp 0x1400f977a
mov rcx, rdi
call fcn.14011d1e4
jmp 0x1400f910c
mov rcx, 0xffffffffffffffff
call fcn.14011d1e4
mov rcx, r12
mov rdx, qword [rsp + 0x98]
call fcn.1400f7fd9
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x50]
call fcn.1400f7fd9
mov ebx, dword [rsp + 0x530]
lea rdi, [rsp + 0x48]
lea r14, [rsp + 0x290]
lea r12, [rsp + 0xd0]
mov r15, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0xd0], xmm0
inc ebp
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0xa0], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], r15
jmp 0x1400f8de9
mov eax, 1
mov qword [rsp + 0x1b8], rsi
mov qword [rsp + 0x130], rax
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call sub.msvcrt.dll_memcpy
mov rcx, r14
call fcn.140072fab
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x128], rax
mov rcx, rax
mov rdx, r12
mov r8, r14
call sub.msvcrt.dll_memcpy
mov ecx, 4
xor edx, edx
call fcn.1400f87a9
mov qword [rsp + 0x120], rdx
mov rsi, rax
mov rax, qword [rsp + 0x48]
mov qword [rsi], rax
mov edx, 4
mov r8d, 3
lea rcx, [rsp + 0x48]
lea r9, str._home_wyene_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.26.9_src_windows_disk.rs
call fcn.1400f861f
mov r8, rdx
lea rcx, [rsp + 0x68]
mov rdx, rax
call fcn.1400f8644
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x5f]
mov dword [rsp + 0x8b], ecx
mov dword [rsp + 0x88], eax
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x160], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x170], rax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x6b]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x5f], ecx
mov rcx, rdi
call fcn.14011d1e4
mov rcx, r12
mov rdx, qword [rsp + 0x98]
call fcn.1400f7fd9
mov rcx, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x140]
call fcn.1400f7fd9
or qword [rsp + 0x1e8], 0xffffffffffffffff
cmp r13d, 2
mov qword [rsp + 0x1e0], rbx
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x1f8], rax
mov qword [rsp + 0x200], rax
mov byte [rsp + 0x208], 0
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x8b]
lea rdx, [rsp + 0x209]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x218], rax
mov qword [rsp + 0x220], r14
mov qword [rsp + 0x228], rsi
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x230], rax
mov qword [rsp + 0x238], 4
mov rax, qword [rsp + 0x170]
mov qword [rdx + 0x47], rax
movaps xmm0, xmmword [rsp + 0x160]
movups xmmword [rdx + 0x37], xmm0
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x260], rax
sete byte [rsp + 0x268]
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x5f]
mov dword [rdx + 0x63], ecx
mov dword [rdx + 0x60], eax
movups xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x290], xmm0
mov rsi, qword [rsp + 0xb0]
mov qword [rsp + 0x2a0], rsi
cmp rsi, qword [rsp + 0x298]
jne 0x1400f93f0
lea r14, [rsp + 0x290]
mov rcx, r14
mov rdx, rsi
call fcn.1400f7c40
mov ebx, dword [rsp + 0x530]
lea r12, [rsp + 0xd0]
mov rsi, qword [rsp + 0x2a0]
lea rdi, [rsp + 0x48]
jmp 0x1400f940c
mov ebx, dword [rsp + 0x530]
lea rdi, [rsp + 0x48]
lea r14, [rsp + 0x290]
lea r12, [rsp + 0xd0]
imul rcx, rsi, 0x90
add rcx, qword [rsp + 0x290]
mov r8d, 0x90
lea rdx, [rsp + 0x1e0]
call sub.msvcrt.dll_memcpy
inc rsi
mov qword [rsp + 0xe0], rsi
movaps xmm0, xmmword [rsp + 0x290]
jmp 0x1400f916a
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x1a0], xmm1
movaps xmmword [rsp + 0x190], xmm0
and qword [rsp + 0x1f0], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1e0], xmm0
cmp qword [rsp + 0x1a0], 0
je 0x1400f9614
movups xmmword [rsp + 0x2a8], xmm0
movaps xmm0, xmmword [rsp + 0x190]
movaps xmmword [rsp + 0x290], xmm0
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x2a0], rax
lea rcx, [rsp + 0x1f8]
call fcn.1400f812f
movaps xmm0, xmmword [rsp + 0x290]
movaps xmm1, xmmword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x2b0]
mov qword [rax + 0x20], rcx
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
and qword [rax + 0x18], 0
mov rcx, qword [rsp + 0x1e8]
mov qword [rax + 0x20], rcx
lea rdx, [rcx + 0x18]
test rcx, rcx
lea rcx, [rsp + 0x1e0]
cmove rdx, rcx
mov qword [rdx], rax
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1f0]
inc rax
mov qword [rsp + 0x1f0], rax
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rcx], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rcx + 8], rax
jmp 0x1400f972c
call fcn.1400730b8
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.140074892
test rax, rax
je 0x1400f9636
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x1400f9748
mov rax, r14
add rax, 0x110
mov rdx, qword [r14 + 0x100]
lea r8, [rsp + 0x1e0]
lea rsi, [rsp + 0xd0]
mov ecx, 9
mov rdi, r8
rep movsq qword [rdi], qword [rsi]
mov qword [r8 + 0x80], rax
and qword [r8 + 0x88], 0
mov qword [r8 + 0x90], rdx
mov byte [r8 + 0x98], 1
lea rsi, [rsp + 0x228]
and qword [rsi], 0
lea rdx, [0x1400f9970]
mov rcx, rbx
call fcn.1400749ee
lea rdx, [rsp + 0x260]
mov rcx, r14
call fcn.1400f83a5
lea rcx, [rsp + 0x290]
lea rdx, [rsp + 0x1e0]
mov r8d, 0xa0
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2d8]
jmp 0x1400f96b8
mov rax, qword [rsp + 0x90]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x190]
call fcn.140009485
jmp 0x1400f972c
xor ecx, ecx
call fcn.140074c45
test rax, rax
je 0x1400f9790
lea rdx, [rsp + 0x1e8]
lea rsi, [rsp + 0xd0]
mov ecx, 9
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
mov qword [rdx - 8], rax
lea rsi, [rsp + 0x230]
and qword [rsi], 0
lea rdx, [0x1400f9b9a]
lea r8, [rsp + 0x1e0]
mov rcx, rbx
call fcn.1400749ee
mov rcx, qword [rsp + 0x1e0]
call fcn.140073047
lea rcx, [rsp + 0x290]
lea rdx, [rsp + 0x1e0]
mov r8d, 0x88
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0xa0]
call fcn.1400f82bc
mov rax, qword [rsp + 0xb0]
lea rsi, [rsp + 0x1e0]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsi], xmm0
mov rax, qword [rsp + 0xc8]
lea rdi, [rsp + 0x290]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0xb8]
movaps xmmword [rdi], xmm0
mov rcx, rsi
mov rdx, rdi
call fcn.1400f9900
mov rax, qword [rsi + 0x10]
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [rsi]
movups xmmword [rcx], xmm0
mov rcx, rdi
call fcn.1400f80d0
movaps xmm6, xmmword [rsp + 0x4a0]
add rsp, 0x4b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0xd0]
mov r8, r14
jmp 0x1400f8da8
lea rcx, str.assertion_failed:_index___self.range.len___home_wyene_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_1.9.0_src_range.rs
lea r8, [0x140267130]
mov edx, 0x2b
call fcn.140033ba0
ud2
mov ecx, 1
mov rdx, r8
call fcn.14002fda0
jmp 0x1400f978e
call fcn.14002fd60
ud2
lea rax, [0x140278248]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_threadlocal.rs
lea r9, [0x140277658]
lea r8, [rsp + 0x290]
mov edx, 0x46
call fcn.1400367c0
ud2