Function at 0x14001cbf0
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, 0x368
mov rbx, rcx
mov eax, dword [rdx]
bt eax, r8d
jae 0x14001cd02
mov ebp, r8d
add ebp, 0x41
mov word [rsp + 0x50], bp
mov dword [rsp + 0x52], 0x5c003a
mov word [rsp + 0x56], 0
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_GetDriveTypeW
mov ecx, eax
and ecx, 0xfffffffe
cmp ecx, 2
jne 0x14001cd02
mov dword [rsp + 0xd4], eax
lea rsi, [rsp + 0x15e]
mov r14d, 0x20a
mov r8d, 0x20a
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
pxor xmm0, xmm0
movdqa xmmword [rsp + 0xb0], xmm0
movdqa xmmword [rsp + 0xa0], xmm0
movdqa xmmword [rsp + 0x90], xmm0
movdqa xmmword [rsp + 0x80], xmm0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x38], 0x20
lea rcx, [rsp + 0x50]
mov rdx, rsi
mov r8d, 0x105
xor r9d, r9d
call sub.KERNEL32.dll_GetVolumeInformationW
test eax, eax
je 0x14001cd02
mov edi, 2
nop dword [rax + rax]
cmp word [rsp + rdi*2 + 0x15a], 0
je 0x14001cd1d
cmp word [rsp + rdi*2 + 0x15c], 0
je 0x14001cd23
cmp word [rsp + rdi*2 + 0x15e], 0
je 0x14001cd26
add rdi, 3
add r14, 0xfffffffffffffffa
jne 0x14001ccd0
mov edi, 0x105
jmp 0x14001cd33
mov qword [rbx], 3
add rsp, 0x368
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
add rdi, 0xfffffffffffffffe
jmp 0x14001cd26
dec rdi
cmp rdi, 0x106
jae 0x14001d0b7
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 1
mov qword [rsp + 0x68], 0
mov rax, rdi
shr rax, 1
mov r8d, edi
and r8d, 1
add r8, rax
je 0x14001cd6c
lea rcx, [rsp + 0x58]
xor edx, edx
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h6c2a5b235ccc591d
lea rax, [rsp + rdi*2]
add rax, 0x15e
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xe0], rax
mov word [rsp + 0xe8], 0
lea rcx, [rsp + 0xd8]
lea rdx, [rsp + 0x58]
call sym._ZN102__LT_core..iter..adapters..map..Map_LT_I_C_F_GT__u20_as_u20_core..iter..traits..iterator..Iterator_GT_4fold17h99296544d9
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
movzx eax, word [rsp + 0x80]
test ax, ax
mov word [rsp + 0x4e], ax
je 0x14001cfa1
cmp word [rsp + 0x82], 0
je 0x14001cfaf
cmp word [rsp + 0x84], 0
je 0x14001cfba
cmp word [rsp + 0x86], 0
je 0x14001cfc5
cmp word [rsp + 0x88], 0
je 0x14001cfd0
cmp word [rsp + 0x8a], 0
je 0x14001cfdb
cmp word [rsp + 0x8c], 0
je 0x14001cfe6
cmp word [rsp + 0x8e], 0
je 0x14001cff1
cmp word [rsp + 0x90], 0
je 0x14001cffc
cmp word [rsp + 0x92], 0
je 0x14001d007
cmp word [rsp + 0x94], 0
je 0x14001d012
cmp word [rsp + 0x96], 0
je 0x14001d01d
cmp word [rsp + 0x98], 0
je 0x14001d028
cmp word [rsp + 0x9a], 0
je 0x14001d033
cmp word [rsp + 0x9c], 0
je 0x14001d03e
cmp word [rsp + 0x9e], 0
je 0x14001d049
cmp word [rsp + 0xa0], 0
je 0x14001d054
cmp word [rsp + 0xa2], 0
je 0x14001d05f
cmp word [rsp + 0xa4], 0
je 0x14001d067
cmp word [rsp + 0xa6], 0
je 0x14001d06f
cmp word [rsp + 0xa8], 0
je 0x14001d077
cmp word [rsp + 0xaa], 0
je 0x14001d07f
cmp word [rsp + 0xac], 0
je 0x14001d087
cmp word [rsp + 0xae], 0
je 0x14001d08f
cmp word [rsp + 0xb0], 0
je 0x14001d097
cmp word [rsp + 0xb2], 0
je 0x14001d09f
cmp word [rsp + 0xb4], 0
je 0x14001d0a7
cmp word [rsp + 0xb6], 0
je 0x14001d0af
cmp word [rsp + 0xb8], 0
je 0x14001d0cb
cmp word [rsp + 0xba], 0
je 0x14001d0d3
cmp word [rsp + 0xbc], 0
je 0x14001d0db
cmp word [rsp + 0xbe], 1
mov r14d, 0x20
sbb r14, 0
jmp 0x14001d0e1
mov r15d, 1
xor r14d, r14d
jmp 0x14001d1e6
mov r14d, 1
jmp 0x14001d0e1
mov r14d, 2
jmp 0x14001d0e1
mov r14d, 3
jmp 0x14001d0e1
mov r14d, 4
jmp 0x14001d0e1
mov r14d, 5
jmp 0x14001d0e1
mov r14d, 6
jmp 0x14001d0e1
mov r14d, 7
jmp 0x14001d0e1
mov r14d, 8
jmp 0x14001d0e1
mov r14d, 9
jmp 0x14001d0e1
mov r14d, 0xa
jmp 0x14001d0e1
mov r14d, 0xb
jmp 0x14001d0e1
mov r14d, 0xc
jmp 0x14001d0e1
mov r14d, 0xd
jmp 0x14001d0e1
mov r14d, 0xe
jmp 0x14001d0e1
mov r14d, 0xf
jmp 0x14001d0e1
mov r14d, 0x10
jmp 0x14001d0e1
mov r14d, 0x11
jmp 0x14001d0e1
mov r14d, 0x12
jmp 0x14001d0e1
mov r14d, 0x13
jmp 0x14001d0e1
mov r14d, 0x14
jmp 0x14001d0e1
mov r14d, 0x15
jmp 0x14001d0e1
mov r14d, 0x16
jmp 0x14001d0e1
mov r14d, 0x17
jmp 0x14001d0e1
mov r14d, 0x18
jmp 0x14001d0e1
mov r14d, 0x19
jmp 0x14001d0e1
mov r14d, 0x1a
jmp 0x14001d0e1
mov r14d, 0x1b
jmp 0x14001d0e1
lea r8, str.C:UsersDango.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.11_srcwindowsdisk.rs
mov edx, 0x105
mov rcx, rdi
call sym.core::slice::index::slice_end_index_len_fail::hdaa9bbd2fcad4cbb
mov r14d, 0x1c
jmp 0x14001d0e1
mov r14d, 0x1d
jmp 0x14001d0e1
mov r14d, 0x1e
mov rax, qword [0x1400ff528]
movzx eax, byte [rax]
mov edx, 1
mov rcx, r14
call sym.__rust_alloc
test rax, rax
je 0x14001d19e
mov r15, rax
cmp r14, 0x10
jae 0x14001d111
xor eax, eax
jmp 0x14001d692
mov eax, r14d
and eax, 0x30
movdqa xmm0, xmmword [0x1400d58b0]
movdqa xmm1, xmmword [rsp + 0x80]
pand xmm1, xmm0
movdqa xmm2, xmmword [rsp + 0x90]
pand xmm2, xmm0
packuswb xmm1, xmm2
movdqu xmmword [r15], xmm1
cmp rax, 0x10
je 0x14001d689
movdqa xmm1, xmmword [rsp + 0xa0]
pand xmm1, xmm0
movdqa xmm2, xmmword [rsp + 0xb0]
pand xmm2, xmm0
packuswb xmm1, xmm2
movdqu xmmword [r15 + 0x10], xmm1
cmp eax, 0x20
je 0x14001d689
movdqa xmm1, xmmword [rsp + 0xc0]
pand xmm1, xmm0
pand xmm0, xmmword [rsp + 0xd0]
packuswb xmm1, xmm0
movdqu xmmword [r15 + 0x20], xmm1
jmp 0x14001d689
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0xc0], rdi
mov ecx, 1
mov rdx, r14
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
jmp 0x14001d5bb
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x118], rax
mov word [rsp + 0x120], bp
mov dword [rsp + 0x122], 0x3a
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x118]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x14001d410
mov r13, rax
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x58], 0
mov qword [rsp + 0xd8], 0
lea rcx, [rsp + 0x50]
lea r8, [rsp + 0x58]
lea r9, [rsp + 0xd8]
xor edx, edx
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14001d3c4
mov rsi, qword [rsp + 0x58]
test rsi, rsi
je 0x14001d3c4
mov qword [rsp + 0xc0], rdi
mov rbp, qword [rsp + 0xd8]
mov qword [rsp + 0x134], 7
mov byte [rsp + 0x13c], 0
mov dword [rsp + 0x110], 0
mov qword [rsp + 0x108], 0
mov dword [rsp + 0x7c], 0
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
lea r8, [rsp + 0x134]
mov rcx, r13
mov edx, 0x2d1400
mov r9d, 0xc
call sub.KERNEL32.dll_DeviceIoControl
xor edi, edi
cmp byte [rsp + 0x110], 0
sete dil
cmp dword [rsp + 0x7c], 0xc
mov ecx, 2
cmovne rdi, rcx
test eax, eax
cmove rdi, rcx
lea rcx, [rsp + 0xd8]
mov rdx, qword [rsp + 0x70]
mov r8, r12
call sym.std::sys::os_str::wtf8::Slice::to_owned::h13bae00f91567cc3
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xc8], rax
mov r12, qword [rsp + 0xe0]
movdqu xmm0, xmmword [rsp + 0xe8]
movdqa xmmword [rsp + 0x140], xmm0
test r14, r14
mov qword [rsp + 0x100], r12
mov qword [rsp + 0x128], rbp
je 0x14001d42d
mov rax, qword [0x1400ff528]
movzx eax, byte [rax]
mov edx, 1
mov rcx, r14
call sym.__rust_alloc
test rax, rax
jne 0x14001d432
mov ecx, 1
mov rdx, r14
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
jmp 0x14001d5bb
mov qword [rbx], 3
mov rcx, r13
call fcn.1400d0f0c
cmp word [rsp + 0x4e], 0
mov rsi, qword [rsp + 0x70]
je 0x14001d3f1
mov r8d, 1
mov rcx, r15
mov rdx, r14
call sym.__rust_dealloc
test rdi, rdi
je 0x14001cd09
mov r8d, 1
mov rcx, rsi
mov rdx, rdi
call sym.__rust_dealloc
jmp 0x14001cd09
mov rcx, 0xffffffffffffffff
call fcn.1400d0f0c
mov qword [rbx], 3
cmp word [rsp + 0x4e], 0
jne 0x14001d3e0
jmp 0x14001d3f1
mov eax, 1
mov qword [rsp + 0xf8], rax
mov rcx, rax
mov rdx, r15
mov r8, r14
call sym.memcpy
mov r12, qword [rsp + 0x50]
mov rax, qword [0x1400ff528]
movzx eax, byte [rax]
mov ecx, 8
mov edx, 2
call sym.__rust_alloc
test rax, rax
je 0x14001d5ac
mov rbp, rax
mov qword [rax], r12
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 1
mov qword [rsp + 0x68], 0
lea rcx, [rsp + 0x58]
mov r8d, 2
xor edx, edx
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h6c2a5b235ccc591d
lea rax, [rsp + 0x50]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x56]
mov qword [rsp + 0xe0], rax
mov word [rsp + 0xe8], 0
lea rcx, [rsp + 0xd8]
lea rdx, [rsp + 0x58]
call sym._ZN102__LT_core..iter..adapters..map..Map_LT_I_C_F_GT__u20_as_u20_core..iter..traits..iterator..Iterator_GT_4fold17h99296544d9
cmp dword [rsp + 0xd4], 2
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x70], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x60], xmm0
mov rax, qword [rsp + 0xc8]
mov qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x100]
mov qword [rbx + 0x18], rax
movdqa xmm0, xmmword [rsp + 0x140]
movdqu xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], r14
mov rax, qword [rsp + 0xf8]
mov qword [rbx + 0x38], rax
mov qword [rbx + 0x40], r14
mov qword [rbx + 0x48], 4
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x58], 4
mov qword [rbx], rdi
mov qword [rbx + 8], 0xffffffffffffffff
mov qword [rbx + 0x78], rsi
mov rax, qword [rsp + 0x128]
mov qword [rbx + 0x80], rax
sete byte [rbx + 0x88]
mov rcx, r13
call fcn.1400d0f0c
cmp word [rsp + 0x4e], 0
je 0x14001d586
mov r8d, 1
mov rcx, r15
mov rdx, r14
call sym.__rust_dealloc
mov rdx, qword [rsp + 0xc0]
test rdx, rdx
mov rcx, qword [rsp + 0x70]
je 0x14001cd09
mov r8d, 1
call sym.__rust_dealloc
jmp 0x14001cd09
mov ecx, 2
mov edx, 8
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
ud2
cmp r14, rax
je 0x14001d1e6
movzx ecx, byte [rsp + rax*2 + 0x80]
mov byte [r15 + rax], cl
inc rax
jmp 0x14001d689