Function at 0x14004114a
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, 0x4e8
movaps xmmword [rsp + 0x4d0], xmm6
mov rsi, rdx
mov qword [rsp + 0x98], rcx
mov rbx, qword [rsp + 0x568]
mov r14d, dword [rsp + 0x560]
mov ebp, dword [rsp + 0x558]
mov rax, qword [rsp + 0x550]
mov qword [rsp + 0x198], rdx
lea rdi, [rsp + 0x2b0]
mov qword [rdi], r9
mov qword [rdi + 8], rax
mov rcx, rdi
call fcn.14003f9bf
test al, al
je 0x1400412d2
shr rsi, 1
mov qword [rsp + 0xc0], rsi
xor eax, eax
mov ecx, r14d
sub ecx, ebp
cmovb ecx, eax
cmp rsi, rcx
ja 0x140041c29
add esi, ebp
lea rax, [rsp + 0x198]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xe8], rbx
mov dword [rsp + 0xf0], esi
mov dword [rsp + 0xf4], r14d
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x108], rbx
mov dword [rsp + 0x110], ebp
mov dword [rsp + 0x114], esi
call fcn.140010240
test rax, rax
je 0x1400419dc
lea rcx, [rsp + 0x120]
lea rdx, [rsp + 0xd0]
mov r8, rax
xor r9d, r9d
call fcn.140040d68
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
mov rax, qword [rsp + 0x130]
movups xmm0, xmmword [rsp + 0x138]
movaps xmmword [rsp + 0x60], xmm0
mov r8, qword [rsp + 0x148]
mov qword [rsp + 0x70], r8
test rcx, rcx
je 0x140041ac0
mov r8, qword [rsp + 0x60]
and qword [rsp + 0x60], 0
test r8, r8
je 0x140041ae5
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 0x140041ae5
xorps xmm6, xmm6
movaps xmmword [rsp + 0xc0], xmm6
mov rdi, qword [rbx]
mov eax, 8
mov qword [rsp + 0xa0], rax
lea rsi, [rsp + 0x48]
lea r15, [rsp + 0x2c0]
lea rax, [rsp + 0xd0]
mov ebx, r14d
mov r14, rax
mov qword [rsp + 0xa8], rdi
cmp ebp, ebx
jae 0x14004195b
lea r12d, [rbp + 1]
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x120], xmm0
mov eax, dword [rdi]
bt eax, ebp
jae 0x1400416c8
add ebp, 0x41
mov word [rsp + 0x48], bp
mov dword [rsp + 0x4a], 0x5c003a
and word [rsp + 0x4e], 0
mov rcx, rsi
call sub.KERNEL32.dll_GetDriveTypeW
mov r13d, eax
lea eax, [r13 - 4]
cmp eax, 0xfffffffe
jb 0x1400413d8
mov r8d, 0x20a
mov rcx, r15
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], r14
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, rsi
mov rdx, r15
mov r8d, 0x105
xor r9d, r9d
call sub.KERNEL32.dll_GetVolumeInformationW
test eax, eax
je 0x1400413d8
xor r8d, r8d
cmp r8, 0x105
je 0x1400413e9
cmp word [rsp + r8*2 + 0x2c0], 0
je 0x1400413ef
inc r8
jmp 0x1400413be
mov qword [rsp + 0x1d8], 3
jmp 0x1400416c8
mov r8d, 0x105
mov edx, 0x105
mov rcx, r15
lea r9, str.C:Usersz0x.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.28.4_srcwindowsdisk.rs
call fcn.14003fb30
mov r8, rdx
lea rcx, [rsp + 0x278]
mov rdx, rax
call fcn.14003fb55
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x288]
xor r8d, r8d
mov qword [rsp + 0x190], rax
cmp r8, 0x20
je 0x14004144d
cmp word [rsp + r8*2 + 0xd0], 0
je 0x140041453
inc r8
jmp 0x140041436
mov r8d, 0x20
mov edx, 0x20
mov rcx, r14
lea r9, str.C:Usersz0x.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.28.4_srcwindowsdisk.rs
call fcn.14003fb30
mov rdi, rax
mov r14, rdx
mov rcx, rdx
xor edx, edx
call fcn.14000ee6a
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1a8], rdx
and qword [rsp + 0x1b0], 0
lea rcx, [rsp + 0x1a0]
mov rdx, r14
call fcn.14000c8be
mov rsi, qword [rsp + 0x1a0]
mov r15, qword [rsp + 0x1b0]
test r14, r14
je 0x1400414c9
xor eax, eax
mov cl, byte [rdi + rax*2]
mov byte [rsi + r15], cl
inc r15
inc rax
cmp r14, rax
jne 0x1400414b7
mov rdi, qword [rsp + 0x1a8]
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x1a0], rax
mov word [rsp + 0x1a8], bp
mov dword [rsp + 0x1aa], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x1a0]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x140041676
mov r14, rax
and qword [rsp + 0xb0], 0
and qword [rsp + 0x80], 0
lea rcx, [rsp + 0x48]
xor edx, edx
lea r8, [rsp + 0xb0]
lea r9, [rsp + 0x80]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x140041660
mov rbp, qword [rsp + 0xb0]
test rbp, rbp
je 0x140041660
mov qword [rsp + 0x188], rdi
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x178], rax
and dword [rsp + 0x88], 0
mov qword [rsp + 0xb0], 7
and qword [rsp + 0x80], 0
mov byte [rsp + 0xb8], 0
and dword [rsp + 0x54], 0
lea rax, [rsp + 0x54]
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 + 0xb0]
mov r9d, 0xc
call sub.KERNEL32.dll_DeviceIoControl
xor ebx, ebx
cmp byte [rsp + 0x88], 0
sete bl
cmp dword [rsp + 0x54], 0xc
mov ecx, 2
cmovne rbx, rcx
test eax, eax
cmove rbx, rcx
mov rdi, qword [rsp + 0x190]
test rdi, rdi
mov qword [rsp + 0x180], rbp
je 0x1400416e0
js 0x140041c43
mov rbp, rdi
not rbp
shr rbp, 0x3f
mov al, byte [0x14005d198]
mov rcx, rdi
mov rdx, rbp
call fcn.1400034d0
test rax, rax
jne 0x1400416e5
jmp 0x140041c4a
mov qword [rsp + 0x1d8], 3
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
jmp 0x14004168e
mov rcx, 0xffffffffffffffff
call sub.KERNEL32.dll_CloseHandle
mov qword [rsp + 0x1d8], 3
mov rcx, rsi
mov rdx, rdi
call fcn.14000d7dc
mov rdx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x58]
call fcn.14000d7dc
mov rdi, qword [rsp + 0xa8]
lea rsi, [rsp + 0x48]
lea r15, [rsp + 0x2c0]
lea r14, [rsp + 0xd0]
movaps xmm0, xmmword [rsp + 0x120]
movaps xmmword [rsp + 0xc0], xmm0
mov ebp, r12d
jmp 0x140041310
mov eax, 1
mov qword [rsp + 0x170], 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.14000ee6a
mov qword [rsp + 0x168], 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.14003fd45
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x160], rdx
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov edx, 4
mov r8d, 3
lea rcx, [rsp + 0x48]
lea r9, str.C:Usersz0x.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.28.4_srcwindowsdisk.rs
call fcn.14003fb30
mov r8, rdx
lea rbp, [rsp + 0x238]
mov rcx, rbp
mov rdx, rax
call fcn.14003fb55
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x1f0], rdi
mov qword [rsp + 0x1f8], rdi
mov byte [rsp + 0x200], 0
mov eax, dword [rsp + 0x91]
mov ecx, dword [rsp + 0x94]
mov dword [rbp - 0x34], ecx
mov dword [rbp - 0x37], eax
or qword [rsp + 0x1e0], 0xffffffffffffffff
cmp r13d, 2
mov qword [rsp + 0x1d8], rbx
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x210], rax
mov qword [rsp + 0x218], r15
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x228], rax
mov qword [rsp + 0x230], 4
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x258], rax
sete byte [rsp + 0x260]
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 + 0x188]
call fcn.14000d7dc
mov rcx, qword [rsp + 0x278]
mov rdx, qword [rsp + 0x280]
call fcn.14000d7dc
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x2c0], rdx
movaps xmm0, xmmword [rsp + 0x120]
lea rax, [rsp + 0x2c8]
movups xmmword [rax], xmm0
mov rsi, qword [rsp + 0x2d0]
cmp rsi, qword [rsp + 0x2c8]
jne 0x1400418ec
lea r15, [rsp + 0x2c0]
mov rcx, r15
mov rdx, rsi
call fcn.14003f520
mov rdx, qword [rsp + 0x2c0]
mov rsi, qword [rsp + 0x2d0]
mov ebx, dword [rsp + 0x560]
mov rdi, qword [rsp + 0xa8]
jmp 0x140041903
mov ebx, dword [rsp + 0x560]
mov rdi, qword [rsp + 0xa8]
lea r15, [rsp + 0x2c0]
lea r14, [rsp + 0xd0]
imul rcx, rsi, 0x90
mov qword [rsp + 0xa0], rdx
add rcx, rdx
mov r8d, 0x90
lea rdx, [rsp + 0x1d8]
call sub.msvcrt.dll_memmove
inc rsi
mov qword [rsp + 0x2d0], rsi
lea rax, [rsp + 0x2c8]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xc0], xmm0
mov ebp, r12d
lea rsi, [rsp + 0x48]
jmp 0x140041310
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [rsp + 0x2c8], xmm0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x2c0], rax
cmp qword [rsp + 0x2d0], 0
je 0x140041b04
mov ecx, 8
mov edx, 0x28
call fcn.14000d470
test rax, rax
je 0x140041c52
movups xmm0, xmmword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x2d0]
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 0x140041b24
call fcn.14000ef42
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.140010240
test rax, rax
je 0x140041b40
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x140041c11
mov rax, r14
add rax, 0x110
mov rdx, qword [r14 + 0x100]
lea r15, [rsp + 0x1d8]
lea rsi, [rsp + 0xd0]
mov ecx, 9
mov rdi, r15
rep movsq qword [rdi], qword [rsi]
lea rsi, [rsp + 0x258]
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, [0x140041c91]
mov rcx, rbx
mov r8, r15
call fcn.1400102c3
mov rcx, r14
mov rdx, rsi
call fcn.14003f987
lea rsi, [rsp + 0x2c0]
mov r8d, 0xa0
mov rcx, rsi
mov rdx, r15
call sub.msvcrt.dll_memcpy
mov rax, qword [rsi + 0x78]
lea rdx, [rsp + 0x1a0]
mov qword [rdx + 0x30], rax
movups xmm0, xmmword [rsi + 0x48]
movups xmm1, xmmword [rsi + 0x58]
movups xmm2, xmmword [rsi + 0x68]
movaps xmmword [rdx + 0x20], xmm2
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
lea rcx, [rsp + 0x120]
call fcn.14003f838
jmp 0x140041264
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 r8, qword [rsp + 0x98]
mov qword [r8], rdx
mov qword [r8 + 8], rcx
mov qword [r8 + 0x10], rax
lea rcx, [rsp + 0x60]
call fcn.1400410e4
jmp 0x140041b24
xorps xmm0, xmm0
mov rax, qword [rsp + 0x98]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x2c0]
call fcn.14003f788
movaps xmm6, xmmword [rsp + 0x4d0]
add rsp, 0x4e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
call fcn.140010506
test rax, rax
je 0x140041c63
lea rdx, [rsp + 0x1e0]
lea rsi, [rsp + 0xd0]
mov ecx, 9
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
mov qword [rdx - 8], rax
and qword [rdx + 0x48], 0
lea rdx, [0x140041e22]
lea rsi, [rsp + 0x1d8]
mov rcx, rbx
mov r8, rsi
call fcn.1400102c3
mov rcx, qword [rsi]
call fcn.14000eed1
lea rdi, [rsp + 0x2c0]
mov r8d, 0x88
mov rcx, rdi
mov rdx, rsi
call sub.msvcrt.dll_memcpy
lea rsi, [rsp + 0x280]
mov rax, qword [rdi + 0x80]
lea rdx, [rsp + 0x1a0]
mov qword [rdx + 0x30], rax
movups xmm0, xmmword [rdi + 0x50]
movups xmm1, xmmword [rdi + 0x60]
movups xmm2, xmmword [rdi + 0x70]
movaps xmmword [rdx + 0x20], xmm2
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
mov rcx, rsi
call fcn.14003f838
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [rsp + 0x130], xmm1
movaps xmmword [rsp + 0x140], xmm2
jmp 0x140041264
lea rcx, [rsp + 0x120]
lea rdx, [rsp + 0xd0]
mov r8, r14
jmp 0x14004125c
lea rcx, str.assertion_failed:_index___self.range.len__C:Usersz0x.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rayon_1.8.0_src_range.rs
lea r8, [0x140051860]
mov edx, 0x2b
call fcn.1400054d0
ud2
call fcn.140003a60
ud2
mov rcx, rbp
mov rdx, rdi
jmp 0x140041c5c
mov ecx, 8
mov edx, 0x28
call fcn.140003aa0
ud2
lea rax, [0x140055ab0]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_std_src_threadlocal.rs
lea r9, [0x140055b50]
lea r8, [rsp + 0x2c0]
mov edx, 0x46
call fcn.140005f00
ud2