Function at 0x1400326a0
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, 0x358
mov rbx, rcx
mov eax, dword [rdx]
bt eax, r8d
jae 0x1400327b2
mov ebp, r8d
add ebp, 0x41
mov word [rsp + 0x40], bp
mov dword [rsp + 0x42], 0x5c003a
mov word [rsp + 0x46], 0
lea rcx, [rsp + 0x40]
call sub.kernel32.dll_GetDriveTypeW
mov ecx, eax
and ecx, 0xfffffffe
cmp ecx, 2
jne 0x1400327b2
mov dword [rsp + 0xc4], eax
lea rsi, [rsp + 0x14e]
mov r14d, 0x20a
mov r8d, 0x20a
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
pxor xmm0, xmm0
movdqa xmmword [rsp + 0xa0], xmm0
movdqa xmmword [rsp + 0x90], xmm0
movdqa xmmword [rsp + 0x80], xmm0
movdqa xmmword [rsp + 0x70], xmm0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x38], 0x20
lea rcx, [rsp + 0x40]
mov rdx, rsi
mov r8d, 0x105
xor r9d, r9d
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x1400327b2
mov edi, 2
nop word cs:[rax + rax]
cmp word [rsp + rdi*2 + 0x14a], 0
je 0x1400327cd
cmp word [rsp + rdi*2 + 0x14c], 0
je 0x1400327d3
cmp word [rsp + rdi*2 + 0x14e], 0
je 0x1400327d6
add rdi, 3
add r14, 0xfffffffffffffffa
jne 0x140032780
mov edi, 0x105
jmp 0x1400327e3
mov qword [rbx], 3
add rsp, 0x358
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
add rdi, 0xfffffffffffffffe
jmp 0x1400327d6
dec rdi
cmp rdi, 0x106
jae 0x140032b50
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x58], 0
mov rax, rdi
shr rax, 1
mov r8d, edi
and r8d, 1
add r8, rax
je 0x14003281c
lea rcx, [rsp + 0x48]
xor edx, edx
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h08b630a79034b96b
lea rax, [rsp + rdi*2]
add rax, 0x14e
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], rax
mov word [rsp + 0xd8], 0
lea rcx, [rsp + 0xc8]
lea rdx, [rsp + 0x48]
call sym._ZN102__LT_core..iter..adapters..map..Map_LT_I_C_F_GT__u20_as_u20_core..iter..traits..iterator..Iterator_GT_4fold17h0318bcfd3c
mov rsi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xb0], rax
mov r12, qword [rsp + 0x58]
cmp word [rsp + 0x70], 0
je 0x140032a3a
cmp word [rsp + 0x72], 0
je 0x140032a48
cmp word [rsp + 0x74], 0
je 0x140032a53
cmp word [rsp + 0x76], 0
je 0x140032a5e
cmp word [rsp + 0x78], 0
je 0x140032a69
cmp word [rsp + 0x7a], 0
je 0x140032a74
cmp word [rsp + 0x7c], 0
je 0x140032a7f
cmp word [rsp + 0x7e], 0
je 0x140032a8a
cmp word [rsp + 0x80], 0
je 0x140032a95
cmp word [rsp + 0x82], 0
je 0x140032aa0
cmp word [rsp + 0x84], 0
je 0x140032aab
cmp word [rsp + 0x86], 0
je 0x140032ab6
cmp word [rsp + 0x88], 0
je 0x140032ac1
cmp word [rsp + 0x8a], 0
je 0x140032acc
cmp word [rsp + 0x8c], 0
je 0x140032ad7
cmp word [rsp + 0x8e], 0
je 0x140032ae2
cmp word [rsp + 0x90], 0
je 0x140032aed
cmp word [rsp + 0x92], 0
je 0x140032af8
cmp word [rsp + 0x94], 0
je 0x140032b00
cmp word [rsp + 0x96], 0
je 0x140032b08
cmp word [rsp + 0x98], 0
je 0x140032b10
cmp word [rsp + 0x9a], 0
je 0x140032b18
cmp word [rsp + 0x9c], 0
je 0x140032b20
cmp word [rsp + 0x9e], 0
je 0x140032b28
cmp word [rsp + 0xa0], 0
je 0x140032b30
cmp word [rsp + 0xa2], 0
je 0x140032b38
cmp word [rsp + 0xa4], 0
je 0x140032b40
cmp word [rsp + 0xa6], 0
je 0x140032b48
cmp word [rsp + 0xa8], 0
je 0x140032b64
cmp word [rsp + 0xaa], 0
je 0x140032b6c
cmp word [rsp + 0xac], 0
je 0x140032b74
cmp word [rsp + 0xae], 1
mov r14d, 0x20
sbb r14, 0
jmp 0x140032b7a
mov r15d, 1
xor r14d, r14d
jmp 0x140032c74
mov r14d, 1
jmp 0x140032b7a
mov r14d, 2
jmp 0x140032b7a
mov r14d, 3
jmp 0x140032b7a
mov r14d, 4
jmp 0x140032b7a
mov r14d, 5
jmp 0x140032b7a
mov r14d, 6
jmp 0x140032b7a
mov r14d, 7
jmp 0x140032b7a
mov r14d, 8
jmp 0x140032b7a
mov r14d, 9
jmp 0x140032b7a
mov r14d, 0xa
jmp 0x140032b7a
mov r14d, 0xb
jmp 0x140032b7a
mov r14d, 0xc
jmp 0x140032b7a
mov r14d, 0xd
jmp 0x140032b7a
mov r14d, 0xe
jmp 0x140032b7a
mov r14d, 0xf
jmp 0x140032b7a
mov r14d, 0x10
jmp 0x140032b7a
mov r14d, 0x11
jmp 0x140032b7a
mov r14d, 0x12
jmp 0x140032b7a
mov r14d, 0x13
jmp 0x140032b7a
mov r14d, 0x14
jmp 0x140032b7a
mov r14d, 0x15
jmp 0x140032b7a
mov r14d, 0x16
jmp 0x140032b7a
mov r14d, 0x17
jmp 0x140032b7a
mov r14d, 0x18
jmp 0x140032b7a
mov r14d, 0x19
jmp 0x140032b7a
mov r14d, 0x1a
jmp 0x140032b7a
mov r14d, 0x1b
jmp 0x140032b7a
lea r8, str._home_l1nvx_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_disk.rs
mov edx, 0x105
mov rcx, rdi
call sym.core::slice::index::slice_end_index_len_fail::h829dac2b01cd87d1
mov r14d, 0x1c
jmp 0x140032b7a
mov r14d, 0x1d
jmp 0x140032b7a
mov r14d, 0x1e
mov rax, qword [0x140109d88]
movzx eax, byte [rax]
mov edx, 1
mov rcx, r14
call sym.__rust_alloc
test rax, rax
je 0x140032c34
mov r15, rax
cmp r14, 0x10
jae 0x140032baa
xor eax, eax
jmp 0x1400330ec
mov eax, r14d
and eax, 0x30
movdqa xmm0, xmmword [0x1400e11a0]
movdqa xmm1, xmmword [rsp + 0x70]
pand xmm1, xmm0
movdqa xmm2, xmmword [rsp + 0x80]
pand xmm2, xmm0
packuswb xmm1, xmm2
movdqu xmmword [r15], xmm1
cmp rax, 0x10
je 0x1400330e3
movdqa xmm1, xmmword [rsp + 0x90]
pand xmm1, xmm0
movdqa xmm2, xmmword [rsp + 0xa0]
pand xmm2, xmm0
packuswb xmm1, xmm2
movdqu xmmword [r15 + 0x10], xmm1
cmp eax, 0x20
je 0x1400330e3
movdqa xmm1, xmmword [rsp + 0xb0]
pand xmm1, xmm0
pand xmm0, xmmword [rsp + 0xc0]
packuswb xmm1, xmm0
movdqu xmmword [r15 + 0x20], xmm1
jmp 0x1400330e3
mov qword [rsp + 0x60], rsi
mov ecx, 1
mov rdx, r14
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
jmp 0x14003300c
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x100], rax
mov word [rsp + 0x108], bp
mov dword [rsp + 0x10a], 0x3a
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x100]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.kernel32.dll_CreateFileW
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x140032e91
mov qword [rsp + 0x48], 0
mov qword [rsp + 0xc8], 0
lea rcx, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea r9, [rsp + 0xc8]
xor edx, edx
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x140032e48
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140032e48
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x124], 7
mov byte [rsp + 0x12c], 0
mov dword [rsp + 0xf8], 0
mov qword [rsp + 0xf0], 0
mov dword [rsp + 0x6c], 0
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
lea r8, [rsp + 0x124]
mov rcx, r13
mov edx, 0x2d1400
mov r9d, 0xc
call sub.kernel32.dll_DeviceIoControl
xor edi, edi
cmp byte [rsp + 0xf8], 0
sete dil
cmp dword [rsp + 0x6c], 0xc
mov ecx, 2
cmovne rdi, rcx
test eax, eax
cmove rdi, rcx
lea rcx, [rsp + 0xc8]
mov rdx, qword [rsp + 0xb0]
mov r8, r12
call sym.std::sys::os_str::wtf8::Slice::to_owned::hb5ef23e877efc9cd
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xb8], rax
mov rbp, qword [rsp + 0xd0]
movdqu xmm0, xmmword [rsp + 0xd8]
movdqa xmmword [rsp + 0x130], xmm0
test r14, r14
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0xe8], rbp
je 0x140032eab
mov rax, qword [0x140109d88]
movzx eax, byte [rax]
mov edx, 1
mov rcx, r14
call sym.__rust_alloc
test rax, rax
je 0x140032fff
mov r12, rax
jmp 0x140032eb1
mov qword [rbx], 3
mov rcx, r13
call fcn.1400da584
test r14, r14
je 0x140032e6d
mov r8d, 1
mov rcx, r15
mov rdx, r14
call sym.__rust_dealloc
test rsi, rsi
je 0x1400327b9
mov r8d, 1
mov rcx, qword [rsp + 0xb0]
mov rdx, rsi
call sym.__rust_dealloc
jmp 0x1400327b9
mov rcx, 0xffffffffffffffff
call fcn.1400da584
mov qword [rbx], 3
test r14, r14
jne 0x140032e5c
jmp 0x140032e6d
mov r12d, 1
mov rcx, r12
mov rdx, r15
mov r8, r14
call sym.memcpy
mov rsi, qword [rsp + 0x40]
mov rax, qword [0x140109d88]
movzx eax, byte [rax]
mov ecx, 8
mov edx, 2
call sym.__rust_alloc
test rax, rax
je 0x140032fee
mov rbp, rax
mov qword [rax], rsi
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x48]
mov r8d, 2
xor edx, edx
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h08b630a79034b96b
lea rax, [rsp + 0x40]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x46]
mov qword [rsp + 0xd0], rax
mov word [rsp + 0xd8], 0
lea rcx, [rsp + 0xc8]
lea rdx, [rsp + 0x48]
call sym._ZN102__LT_core..iter..adapters..map..Map_LT_I_C_F_GT__u20_as_u20_core..iter..traits..iterator..Iterator_GT_4fold17h0318bcfd3c
cmp dword [rsp + 0xc4], 2
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x70], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x60], xmm0
mov rax, qword [rsp + 0xb8]
mov qword [rbx + 0x10], rax
mov rax, qword [rsp + 0xe8]
mov qword [rbx + 0x18], rax
movdqa xmm0, xmmword [rsp + 0x130]
movdqu xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], r14
mov qword [rbx + 0x38], r12
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 rax, qword [rsp + 0x118]
mov qword [rbx + 0x78], rax
mov rax, qword [rsp + 0x110]
mov qword [rbx + 0x80], rax
sete byte [rbx + 0x88]
mov rcx, r13
mov rsi, qword [rsp + 0x60]
call fcn.1400da584
jmp 0x140032e57
mov ecx, 2
mov edx, 8
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
jmp 0x14003300c
mov ecx, 1
mov rdx, r14
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
ud2
cmp r14, rax
je 0x140032c74
movzx ecx, byte [rsp + rax*2 + 0x70]
mov byte [r15 + rax], cl
inc rax
jmp 0x1400330e3