Function at 0x14003db0c
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, 0x4a8
movaps xmmword [rsp + 0x490], xmm6
mov rsi, rdx
mov qword [rsp + 0x50], rcx
mov r14, qword [rsp + 0x528]
mov r15d, dword [rsp + 0x520]
mov r12d, dword [rsp + 0x518]
mov rax, qword [rsp + 0x510]
mov qword [rsp + 0x190], rdx
lea rdi, [rsp + 0x270]
mov qword [rdi], r9
mov qword [rdi + 8], rax
mov rcx, rdi
call fcn.14003e5fe
test al, al
je 0x14003dc9a
shr rsi, 1
mov qword [rsp + 0x138], rsi
xor eax, eax
mov ecx, r15d
sub ecx, r12d
cmovb ecx, eax
cmp rsi, rcx
ja 0x14003e594
add esi, r12d
lea rax, [rsp + 0x190]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x138]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x108], r14
mov dword [rsp + 0x110], esi
mov dword [rsp + 0x114], r15d
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x128], r14
mov dword [rsp + 0x130], r12d
mov dword [rsp + 0x134], esi
call fcn.14000f619
test rax, rax
je 0x14003e389
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0xf0]
mov r8, rax
xor r9d, r9d
call fcn.14003d627
mov r12, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xc0]
movups xmm0, xmmword [rsp + 0xc8]
movaps xmmword [rsp + 0x60], xmm0
mov r8, qword [rsp + 0xd8]
mov qword [rsp + 0x70], r8
test rcx, rcx
je 0x14003e450
mov r8, qword [rsp + 0x60]
and qword [rsp + 0x60], 0
test r8, r8
je 0x14003e475
mov qword [rcx + 0x18], r8
mov qword [r8 + 0x20], rcx
mov rcx, qword [rsp + 0x68]
xorps xmm0, xmm0
add rax, qword [rsp + 0x70]
movups xmmword [rsp + 0x68], xmm0
jmp 0x14003e475
xorps xmm6, xmm6
movaps xmmword [rsp + 0x150], xmm6
mov rsi, qword [r14]
mov eax, 8
mov qword [rsp + 0x98], rax
lea rdi, [rsp + 0x40]
mov qword [rsp + 0xe0], rsi
cmp r12d, r15d
jae 0x14003e303
mov eax, dword [rsi]
bt eax, r12d
jae 0x14003e07e
lea ebp, [r12 + 0x41]
mov word [rsp + 0x40], bp
mov dword [rsp + 0x42], 0x5c003a
and word [rsp + 0x46], 0
mov rcx, rdi
call sub.KERNEL32.dll_GetDriveTypeW
mov r13d, eax
lea eax, [r13 - 4]
cmp eax, 0xfffffffe
jb 0x14003dd8e
mov r8d, 0x20a
lea rbx, [rsp + 0x280]
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x105
xor r9d, r9d
call sub.KERNEL32.dll_GetVolumeInformationW
test eax, eax
je 0x14003dd8e
xor r8d, r8d
cmp r8, 0x105
je 0x14003dd9f
cmp word [rsp + r8*2 + 0x280], 0
je 0x14003dda5
inc r8
jmp 0x14003dd74
mov qword [rsp + 0x198], 3
jmp 0x14003e07e
mov r8d, 0x105
mov edx, 0x105
lea rcx, [rsp + 0x280]
lea r9, str._home_vnc_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.10_src_windows_disk.rs
call fcn.14003e9cc
mov r8, rdx
lea rcx, [rsp + 0x138]
mov rdx, rax
call fcn.14003e9f1
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x148]
xor r8d, r8d
cmp r8, 0x20
je 0x14003de00
cmp word [rsp + r8*2 + 0xf0], 0
je 0x14003de06
inc r8
jmp 0x14003dde9
mov r8d, 0x20
mov edx, 0x20
lea rcx, [rsp + 0xf0]
lea r9, str._home_vnc_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.10_src_windows_disk.rs
call fcn.14003e9cc
mov rdi, rax
mov r14, rdx
mov rcx, rdx
xor edx, edx
call fcn.14000e0b1
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rdx
and qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xb0]
mov rdx, r14
call fcn.14000bbde
mov rsi, qword [rsp + 0xb0]
mov r15, qword [rsp + 0xc0]
test r14, r14
je 0x14003de81
xor eax, eax
mov cl, byte [rdi + rax*2]
mov byte [rsi + r15], cl
inc r15
inc rax
cmp r14, rax
jne 0x14003de6f
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xe8], rax
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0xb0], rax
mov word [rsp + 0xb8], bp
mov dword [rsp + 0xba], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0xb0]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x14003e027
mov r14, rax
and qword [rsp + 0xa0], 0
and qword [rsp + 0x80], 0
lea rdi, [rsp + 0x40]
mov rcx, rdi
xor edx, edx
lea r8, [rsp + 0xa0]
lea r9, [rsp + 0x80]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14003e011
mov rbp, qword [rsp + 0xa0]
test rbp, rbp
je 0x14003e011
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x180], rax
and dword [rsp + 0x88], 0
mov qword [rsp + 0xa0], 7
and qword [rsp + 0x80], 0
mov byte [rsp + 0xa8], 0
and dword [rsp + 0x4c], 0
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov rcx, r14
mov edx, 0x2d1400
lea r8, [rsp + 0xa0]
mov r9d, 0xc
call sub.KERNEL32.dll_DeviceIoControl
mov rdx, rbx
xor ebx, ebx
cmp byte [rsp + 0x88], 0
sete bl
cmp dword [rsp + 0x4c], 0xc
mov ecx, 2
cmovne rbx, rcx
test eax, eax
cmove rbx, rcx
mov rdi, rdx
test rdx, rdx
mov qword [rsp + 0x188], rbp
je 0x14003e0a6
js 0x14003e5ae
mov al, byte [0x1400a51a0]
mov edx, 1
mov rcx, rdi
call fcn.140009520
test rax, rax
jne 0x14003e0ab
jmp 0x14003e5b5
mov qword [rsp + 0x198], 3
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
jmp 0x14003e044
mov rcx, 0xffffffffffffffff
call sub.KERNEL32.dll_CloseHandle
mov qword [rsp + 0x198], 3
lea rdi, [rsp + 0x40]
mov rcx, rsi
mov rdx, qword [rsp + 0xe8]
call fcn.14000ca88
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x58]
call fcn.14000ca88
mov r14, qword [rsp + 0x528]
mov r15d, dword [rsp + 0x520]
mov rsi, qword [rsp + 0xe0]
movaps xmm0, xmmword [rsp + 0x150]
movaps xmmword [rsp + 0xf0], xmm0
inc r12d
movaps xmm0, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0x150], xmm0
jmp 0x14003dcc2
mov eax, 1
mov qword [rsp + 0x178], rax
mov rcx, rax
mov rdx, qword [rsp + 0x58]
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rcx, r15
xor edx, edx
call fcn.14000e0b1
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x58], rdx
mov rcx, rax
mov rdx, rsi
mov r8, r15
call sub.msvcrt.dll_memcpy
mov ecx, 4
xor edx, edx
call fcn.14003ebdf
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdx
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov edx, 4
mov r8d, 3
lea rcx, [rsp + 0x40]
lea r9, str._home_vnc_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.10_src_windows_disk.rs
call fcn.14003e9cc
mov r8, rdx
lea rbp, [rsp + 0x1f8]
mov rcx, rbp
mov rdx, rax
call fcn.14003e9f1
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1b0], rdi
mov qword [rsp + 0x1b8], rdi
mov byte [rsp + 0x1c0], 0
mov eax, dword [rsp + 0x91]
mov ecx, dword [rsp + 0x94]
mov dword [rbp - 0x34], ecx
mov dword [rbp - 0x37], eax
or qword [rsp + 0x1a0], 0xffffffffffffffff
cmp r13d, 2
mov qword [rsp + 0x198], rbx
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1d8], r15
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x1f0], 4
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x218], rax
sete byte [rsp + 0x220]
mov eax, dword [rsp + 0x91]
mov ecx, dword [rsp + 0x94]
mov dword [rbp + 0x2c], ecx
mov dword [rbp + 0x29], eax
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
mov rcx, rsi
mov rdx, qword [rsp + 0xe8]
call fcn.14000ca88
mov rcx, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x140]
call fcn.14000ca88
mov rdx, qword [rsp + 0x98]
mov qword [rsp + 0x280], rdx
movaps xmm0, xmmword [rsp + 0x150]
lea rax, [rsp + 0x288]
movups xmmword [rax], xmm0
mov rsi, qword [rsp + 0x290]
cmp rsi, qword [rsp + 0x288]
jne 0x14003e29e
lea rcx, [rsp + 0x280]
mov rdx, rsi
call fcn.14003d1e5
mov rdx, qword [rsp + 0x280]
mov rsi, qword [rsp + 0x290]
mov r14, qword [rsp + 0x528]
mov r15d, dword [rsp + 0x520]
imul rcx, rsi, 0x90
mov qword [rsp + 0x98], rdx
add rcx, rdx
mov r8d, 0x90
lea rdx, [rsp + 0x198]
call sub.msvcrt.dll_memcpy
inc rsi
mov qword [rsp + 0x290], rsi
lea rax, [rsp + 0x288]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xf0], xmm0
mov rsi, qword [rsp + 0xe0]
lea rdi, [rsp + 0x40]
jmp 0x14003e08e
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x238], rax
movaps xmm0, xmmword [rsp + 0x150]
movups xmmword [rsp + 0x240], xmm0
mov qword [rsp + 0x250], r14
cmp qword [rsp + 0x248], 0
je 0x14003e48f
mov ecx, 8
mov edx, 0x28
call fcn.14000c71f
test rax, rax
mov rdx, qword [rsp + 0x50]
je 0x14003e5bf
movups xmm0, xmmword [rsp + 0x238]
mov rcx, qword [rsp + 0x248]
mov qword [rax + 0x10], rcx
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 0x14003e4ac
mov r12, qword [rsp + 0x50]
call fcn.14000e185
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.14000f619
test rax, rax
je 0x14003e4c8
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x14003e574
mov rax, r14
add rax, 0x110
mov rdx, qword [r14 + 0x100]
lea r15, [rsp + 0x198]
lea rsi, [rsp + 0xf0]
mov ecx, 9
mov rdi, r15
rep movsq qword [rdi], qword [rsi]
lea rsi, [rsp + 0x218]
mov qword [rsi], rax
and qword [rsi + 8], 0
mov qword [rsi + 0x10], rdx
mov byte [rsi + 0x18], 1
and qword [rsi - 0x38], 0
lea rdx, [0x14003e641]
mov rcx, rbx
mov r8, r15
call fcn.14000f69b
mov rcx, r14
mov rdx, rsi
call fcn.14003d9e5
lea rcx, [rsp + 0x280]
mov r8d, 0xa0
mov rdx, r15
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2c8]
lea rcx, [rsp + 0xb0]
call fcn.14003d5d0
jmp 0x14003dc2c
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov r9, qword [rsp + 0x70]
mov qword [rsp + 0x60], rdx
and qword [rsp + 0x68], 0
mov qword [rsp + 0x70], rax
mov rax, r9
mov rdx, r8
mov qword [r12], rdx
mov qword [r12 + 8], rcx
mov qword [r12 + 0x10], rax
lea rcx, [rsp + 0x60]
call fcn.14003dad0
jmp 0x14003e4ac
xorps xmm0, xmm0
mov rax, qword [rsp + 0x50]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x238]
call fcn.14003d520
movaps xmm6, xmmword [rsp + 0x490]
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
call fcn.14000f8de
test rax, rax
je 0x14003e5d0
lea rdx, [rsp + 0x1a0]
lea rsi, [rsp + 0xf0]
mov ecx, 9
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
mov qword [rdx - 8], rax
and qword [rdx + 0x48], 0
lea rdx, [0x14003e7fa]
lea rsi, [rsp + 0x198]
mov rcx, rbx
mov r8, rsi
call fcn.14000f69b
mov rcx, qword [rsi]
call fcn.14000e114
lea rcx, [rsp + 0x280]
mov r8d, 0x88
mov rdx, rsi
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2d0]
lea rsi, [rsp + 0x240]
mov rcx, rsi
call fcn.14003d5d0
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xc0], xmm1
movaps xmmword [rsp + 0xd0], xmm2
jmp 0x14003dc2c
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0xf0]
mov r8, r14
xor r9d, r9d
call fcn.14003d627
jmp 0x14003dc2c
lea rcx, str.assertion_failed:_index___self.range.len___home_vnc_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_1.8.0_src_range.rs
lea r8, [0x1400993d8]
mov edx, 0x2b
call fcn.140004c30
ud2
call fcn.140003060
ud2
mov ecx, 1
mov rdx, rdi
jmp 0x14003e5c9
mov ecx, 8
mov edx, 0x28
call fcn.1400030a0
ud2
lea rax, [0x14009d5e8]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_std_src_threadlocal.rs
lea r9, [0x14009d680]
lea r8, [rsp + 0x280]
mov edx, 0x46
call fcn.140005640
ud2