Function at 0x140093d11
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, 0x448
movaps xmmword [rsp + 0x430], xmm6
mov rsi, rdx
mov qword [rsp + 0x98], rcx
mov r14, qword [rsp + 0x4c8]
mov r15d, dword [rsp + 0x4c0]
mov edi, dword [rsp + 0x4b8]
mov rax, qword [rsp + 0x4b0]
mov qword [rsp + 0x140], rdx
lea rbx, [rsp + 0x210]
mov qword [rbx], r9
mov qword [rbx + 8], rax
mov rcx, rbx
call fcn.140092702
test al, al
je 0x140093e34
shr rsi, 1
mov qword [rsp + 0x78], rsi
xor eax, eax
mov ecx, r15d
sub ecx, edi
cmovb ecx, eax
cmp rsi, rcx
ja 0x140094610
add esi, edi
lea rax, [rsp + 0x140]
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], r14
mov dword [rsp + 0x190], esi
mov dword [rsp + 0x194], r15d
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x1a0], rbx
mov qword [rsp + 0x1a8], r14
mov dword [rsp + 0x1b0], edi
mov dword [rsp + 0x1b4], esi
call fcn.140090bb1
test rax, rax
je 0x1400944c4
lea rsi, [rsp + 0xe0]
lea rdx, [rsp + 0x170]
mov rcx, rsi
mov r8, rax
xor r9d, r9d
call fcn.140093992
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
jmp 0x14009455f
xorps xmm6, xmm6
movaps xmmword [rsp + 0xc0], xmm6
mov rsi, qword [r14]
mov eax, 8
mov qword [rsp + 0xa0], rax
lea rbx, [rsp + 0x40]
lea r14, [rsp + 0x220]
lea r13, [rsp + 0xe0]
mov qword [rsp + 0xb0], rsi
cmp edi, r15d
jae 0x140094422
lea r12d, [rdi + 1]
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x200], xmm0
mov eax, dword [rsi]
bt eax, edi
jae 0x14009439a
add edi, 0x41
mov word [rsp + 0x40], di
mov dword [rsp + 0x42], 0x5c003a
and word [rsp + 0x46], 0
mov rcx, rbx
call sub.kernel32.dll_GetDriveTypeW
mov ebp, eax
lea eax, [rbp - 4]
cmp eax, 0xfffffffe
jb 0x140093f33
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.1400ca750
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
mov qword [rsp + 0x30], r13
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, rbx
mov rdx, r14
mov r8d, 0x105
xor r9d, r9d
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x140093f33
xor r8d, r8d
cmp r8, 0x105
je 0x140093f44
cmp word [rsp + r8*2 + 0x220], 0
je 0x140093f4a
inc r8
jmp 0x140093f19
mov qword [rsp + 0x170], 3
jmp 0x14009439a
mov r8d, 0x105
mov edx, 0x105
mov rcx, r14
lea r9, str.C:UsersYo.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.10_srcwindowsdisk.rs
call fcn.1400931ec
mov r8, rdx
lea rcx, [rsp + 0x148]
mov rdx, rax
call fcn.14009278a
mov rsi, qword [rsp + 0x148]
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xa8], rax
xor r8d, r8d
cmp r8, 0x20
je 0x140093fa3
cmp word [rsp + r8*2 + 0xe0], 0
je 0x140093fa9
inc r8
jmp 0x140093f8c
mov r8d, 0x20
mov edx, 0x20
mov rcx, r13
lea r9, str.C:UsersYo.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.10_srcwindowsdisk.rs
call fcn.1400931ec
mov rbx, rax
mov r14, rdx
mov rcx, rdx
xor edx, edx
call fcn.140039b90
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rdx
and qword [rsp + 0x88], 0
lea rcx, [rsp + 0x78]
mov rdx, r14
call fcn.14003826f
mov r13, qword [rsp + 0x78]
mov r15, qword [rsp + 0x88]
test r14, r14
je 0x140094017
xor eax, eax
mov cl, byte [rbx + rax*2]
mov byte [r13 + r15], cl
inc r15
inc rax
cmp r14, rax
jne 0x140094004
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xb8], rax
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0xd2], rax
mov word [rsp + 0xda], di
mov dword [rsp + 0xdc], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0xd2]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.kernel32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x14009433c
mov r14, rax
and qword [rsp + 0x68], 0
and qword [rsp + 0x78], 0
lea rbx, [rsp + 0x40]
mov rcx, rbx
xor edx, edx
lea r8, [rsp + 0x68]
lea r9, [rsp + 0x78]
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x140094325
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140094325
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x138], rcx
and dword [rsp + 0x70], 0
mov qword [rsp + 0x160], 7
and qword [rsp + 0x68], 0
mov byte [rsp + 0x168], 0
and dword [rsp + 0x4c], 0
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov rcx, r14
mov edx, 0x2d1400
lea r8, [rsp + 0x160]
mov r9d, 0xc
call qword [sym.imp.kernel32.dll_DeviceIoControl]
xor ebx, ebx
cmp byte [rsp + 0x70], 0
sete bl
cmp dword [rsp + 0x4c], 0xc
mov ecx, 2
cmovne rbx, rcx
test eax, eax
cmove rbx, rcx
lea rcx, [rsp + 0x78]
mov rdx, rsi
mov r8, qword [rsp + 0xa8]
call fcn.1400900b0
mov rcx, r15
xor edx, edx
call fcn.140039b90
mov qword [rsp + 0x128], rax
mov qword [rsp + 0xa8], rdx
mov rcx, rax
mov rdx, r13
mov r8, r15
call fcn.1400ca0a0
mov ecx, 4
xor edx, edx
call fcn.140093038
mov rdi, rax
mov qword [rsp + 0x120], rdx
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov edx, 4
mov r8d, 3
lea rcx, [rsp + 0x40]
lea r9, str.C:UsersYo.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.10_srcwindowsdisk.rs
call fcn.1400931ec
mov r8, rdx
lea rsi, [rsp + 0x1d0]
mov rcx, rsi
mov rdx, rax
call fcn.14009278a
movups xmm0, xmmword [rsp + 0x78]
movups xmm1, xmmword [rsp + 0x88]
movups xmmword [rsi - 0x40], xmm1
movups xmmword [rsi - 0x50], xmm0
or qword [rsp + 0x178], 0xffffffffffffffff
cmp ebp, 2
mov qword [rsp + 0x170], rbx
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1b0], r15
mov qword [rsp + 0x1b8], rdi
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], 4
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x1f0], rax
sete byte [rsp + 0x1f8]
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x7b]
mov dword [rsi + 0x2c], ecx
mov dword [rsi + 0x29], eax
mov rcx, r14
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, r13
mov rdx, qword [rsp + 0xb8]
call fcn.14003829d
mov rcx, qword [rsp + 0x148]
mov rdx, qword [rsp + 0x150]
call fcn.14003829d
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x220], rdx
movaps xmm0, xmmword [rsp + 0x200]
lea rax, [rsp + 0x228]
movups xmmword [rax], xmm0
mov rsi, qword [rsp + 0x230]
cmp rsi, qword [rsp + 0x228]
jne 0x1400943b2
lea r14, [rsp + 0x220]
mov rcx, r14
mov rdx, rsi
call fcn.1400905c0
mov rdx, qword [rsp + 0x220]
mov rsi, qword [rsp + 0x230]
mov r15d, dword [rsp + 0x4c0]
jmp 0x1400943c2
mov qword [rsp + 0x170], 3
mov rcx, r14
call qword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x14009435a
mov rcx, 0xffffffffffffffff
call qword [sym.imp.kernel32.dll_CloseHandle]
mov qword [rsp + 0x170], 3
lea rbx, [rsp + 0x40]
mov rcx, r13
mov rdx, qword [rsp + 0xb8]
call fcn.14003829d
mov rdx, qword [rsp + 0x150]
mov rcx, rsi
call fcn.14003829d
mov r15d, dword [rsp + 0x4c0]
mov rsi, qword [rsp + 0xb0]
lea r14, [rsp + 0x220]
lea r13, [rsp + 0xe0]
movaps xmm0, xmmword [rsp + 0x200]
movaps xmmword [rsp + 0xc0], xmm0
mov edi, r12d
jmp 0x140093e6c
mov r15d, dword [rsp + 0x4c0]
lea r14, [rsp + 0x220]
lea r13, [rsp + 0xe0]
imul rcx, rsi, 0x90
mov qword [rsp + 0xa0], rdx
add rcx, rdx
mov r8d, 0x90
lea rdx, [rsp + 0x170]
call fcn.1400ca0a0
inc rsi
mov qword [rsp + 0x230], rsi
lea rax, [rsp + 0x228]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xc0], xmm0
mov edi, r12d
mov rsi, qword [rsp + 0xb0]
lea rbx, [rsp + 0x40]
jmp 0x140093e6c
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [rsp + 0x228], xmm0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x220], rax
cmp qword [rsp + 0x230], 0
je 0x14009449f
mov ecx, 8
mov edx, 0x28
call fcn.140024995
test rax, rax
je 0x140094644
movups xmm0, xmmword [rsp + 0x220]
mov rcx, qword [rsp + 0x230]
mov qword [rax + 0x10], rcx
movups xmmword [rax], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], 1
jmp 0x1400945f4
xorps xmm0, xmm0
mov rax, qword [rsp + 0x98]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x220]
call fcn.1400908f9
jmp 0x1400945f4
call fcn.140039cbf
mov rbx, qword [rax]
xor ecx, ecx
call fcn.140092745
sub rbx, 0xffffffffffffff80
lea rdx, [rsp + 0x228]
lea rsi, [rsp + 0x170]
mov ecx, 9
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
mov qword [rdx - 8], rax
and qword [rdx + 0x48], 0
lea rax, [0x1400937b8]
lea rdx, [rsp + 0xe0]
mov qword [rdx], rax
lea rsi, [rsp + 0x220]
mov qword [rdx + 8], rsi
mov rcx, rbx
call fcn.14003a753
mov rcx, qword [rsi]
call fcn.140039c4e
mov rax, qword [rsi + 0x50]
mov rcx, qword [rsi + 0x58]
mov rdx, qword [rsi + 0x60]
cmp rax, 1
jne 0x140094625
movups xmm0, xmmword [rsp + 0x288]
movups xmm1, xmmword [rsp + 0x298]
movups xmmword [rsp + 0x100], xmm1
movups xmmword [rsp + 0xf0], xmm0
mov rax, qword [rsp + 0xf0]
movups xmm0, xmmword [rsp + 0xf8]
movaps xmmword [rsp + 0x50], xmm0
mov r8, qword [rsp + 0x108]
mov qword [rsp + 0x60], r8
test rdx, rdx
je 0x1400945b2
mov r8, qword [rsp + 0x50]
and qword [rsp + 0x50], 0
test r8, r8
je 0x1400945d7
mov qword [rdx + 0x18], r8
mov qword [r8 + 0x20], rdx
mov rdx, qword [rsp + 0x58]
xorps xmm0, xmm0
add rax, qword [rsp + 0x60]
movups xmmword [rsp + 0x58], xmm0
jmp 0x1400945d7
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov r9, qword [rsp + 0x60]
mov qword [rsp + 0x50], rcx
and qword [rsp + 0x58], 0
mov qword [rsp + 0x60], rax
mov rax, r9
mov rcx, r8
mov r8, qword [rsp + 0x98]
mov qword [r8], rcx
mov qword [r8 + 8], rdx
mov qword [r8 + 0x10], rax
lea rcx, [rsp + 0x50]
call fcn.140093936
movaps xmm6, xmmword [rsp + 0x430]
add rsp, 0x448
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_index___self.range.len__C:UsersYo.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rayon_1.5.3_src_range.rs
lea r8, [0x1400e2ae8]
mov edx, 0x2b
jmp 0x14009463d
test rax, rax
jne 0x140094655
lea rcx, str.internal_error:_entered_unreachable_codeC:UsersYo.cargo_registry_srcindex.crates.io_6f17d22bba15001fwebpki_0.22.0_srccalendar.rs
lea r8, str.C:UsersYo.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rayon_core_1.9.3_srcjob.rs
mov edx, 0x28
call fcn.1400cd8b0
ud2
mov ecx, 8
mov edx, 0x28
call fcn.1400cd4f0
ud2
call fcn.140039c43
ud2