Function at 0x14003f2d7
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, 0x4c8
movaps xmmword [rsp + 0x4b0], xmm6
mov rsi, rdx
mov r15, rcx
mov rbx, qword [rsp + 0x548]
mov r14d, dword [rsp + 0x540]
mov r13d, dword [rsp + 0x538]
mov rax, qword [rsp + 0x530]
mov qword [rsp + 0x1b0], rdx
lea rdi, [rsp + 0x290]
mov qword [rdi], r9
mov qword [rdi + 8], rax
push rdi
nop
pop rcx
call fcn.14003bb1d
test al, al
je 0x14003f4bf
shr rsi, 1
mov qword [rsp + 0x118], rsi
xor eax, eax
mov ecx, r14d
sub ecx, r13d
cmovb ecx, eax
cmp rsi, rcx
ja 0x14003fd53
add esi, r13d
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x118]
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], rdi
mov qword [rsp + 0x148], rbx
mov dword [rsp + 0x150], esi
mov dword [rsp + 0x154], r14d
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x160], rdi
mov qword [rsp + 0x168], rbx
mov dword [rsp + 0x170], r13d
mov dword [rsp + 0x174], esi
call fcn.14000f52f
test rax, rax
je 0x14003fb5a
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x130]
mov r8, rax
sub r9d, r9d
call fcn.14003fdeb
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0xd0], xmm0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [rsp + 0xb8]
movaps xmmword [rsp + 0xf0], xmm0
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0xd8]
or rax, rax
je 0x14003fc22
mov rcx, qword [rsp + 0xf0]
and qword [rsp + 0xf0], 0
or rcx, rcx
je 0x14003f48a
mov qword [rax + 0x18], rcx
mov qword [rcx + 0x20], rax
xorps xmm0, xmm0
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
movups xmmword [rsp + 0xf8], xmm0
mov qword [rsp + 0xd8], rax
add qword [rsp + 0xe0], rcx
mov rax, qword [rsp + 0xe0]
mov qword [r15 + 0x10], rax
mov rax, qword [rsp + 0xd0]
mov qword [r15], rax
mov rax, qword [rsp + 0xd8]
mov qword [r15 + 8], rax
lea rcx, [rsp + 0xf0]
call fcn.14003fdb9
jmp 0x14003fc73
mov qword [rsp + 0x110], r15
mov rdi, qword [rbx]
mov eax, 8
mov qword [rsp + 0x80], rax
lea r15, [rsp + 0x40]
xorps xmm6, xmm6
sub eax, eax
mov qword [rsp + 0x70], rax
sub eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x88], rdi
cmp r13d, r14d
jae 0x14003facd
mov eax, dword [rdi]
bt eax, r13d
jae 0x14003fac5
lea esi, [r13 + 0x41]
mov word [rsp + 0x40], si
mov dword [rsp + 0x42], 0x5c003a
and word [rsp + 0x46], 0
mov rcx, r15
call sub.KERNEL32.dll_GetDriveTypeW
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14003f5be
mov r8d, 0x20a
lea r12, [rsp + 0x2a0]
mov rcx, r12
xor edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rsp + 0x160], xmm6
movaps xmmword [rsp + 0x150], xmm6
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm6
lea rax, [rsp + 0x130]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, r15
mov rdx, r12
mov r8d, 0x105
xor r9d, r9d
call sub.KERNEL32.dll_GetVolumeInformationW
or eax, eax
je 0x14003f5be
sub r8d, r8d
cmp r8, 0x105
je 0x14003f5cf
cmp word [rsp + r8*2 + 0x2a0], 0
je 0x14003f5d5
inc r8
jmp 0x14003f5a4
mov qword [rsp + 0x1b8], 3
jmp 0x14003fac5
mov r8d, 0x105
mov edx, 0x105
lea rcx, [rsp + 0x2a0]
lea r9, str._home_torcrypt_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_disk.rs
call fcn.14003bc8f
mov r8, rdx
lea rcx, [rsp + 0x118]
push rax
nop
pop rdx
call fcn.14003bcb4
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x50], rax
mov r12, qword [rsp + 0x128]
xor r8d, r8d
cmp r8, 0x20
je 0x14003f630
cmp word [rsp + r8*2 + 0x130], 0
je 0x14003f636
inc r8
jmp 0x14003f619
mov r8d, 0x20
mov edx, 0x20
lea rcx, [rsp + 0x130]
lea r9, str._home_torcrypt_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_disk.rs
call fcn.14003bc8f
nop
push rax
pop rdi
mov r14, rdx
nop
push rdx
pop rcx
sub edx, edx
call fcn.14000e00d
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rdx
and qword [rsp + 0xb0], 0
lea rcx, [rsp + 0xa0]
mov rdx, r14
call fcn.14000b78d
mov rbx, qword [rsp + 0xa8]
mov r15, qword [rsp + 0xb0]
or r14, r14
je 0x14003f6b1
xor eax, eax
mov cl, byte [rdi + rax*2]
mov byte [rbx + r15], cl
inc r15
inc rax
cmp r14, rax
jne 0x14003f69f
mov rdi, qword [rsp + 0xa0]
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0xa0], rax
mov word [rsp + 0xa8], si
mov dword [rsp + 0xaa], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x14003f83a
mov r14, rax
and qword [rsp + 0x90], 0
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x40]
xor edx, edx
lea r8, [rsp + 0x90]
lea r9, [rsp + 0x58]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
or eax, eax
je 0x14003f824
mov rsi, qword [rsp + 0x90]
test rsi, rsi
je 0x14003f824
mov qword [rsp + 0x1a8], rdi
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x198], rax
and dword [rsp + 0x60], 0
mov qword [rsp + 0x90], 7
and qword [rsp + 0x58], 0
mov byte [rsp + 0x98], 0
and dword [rsp + 0x4c], 0
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
mov rcx, r14
mov edx, 0x2d1400
lea r8, [rsp + 0x90]
mov r9d, 0xc
call sub.KERNEL32.dll_DeviceIoControl
mov rdx, r12
xor r12d, r12d
cmp byte [rsp + 0x60], 0
sete r12b
cmp dword [rsp + 0x4c], 0xc
mov ecx, 2
cmovne r12, rcx
or eax, eax
cmove r12, rcx
push rdx
nop
pop rdi
test rdx, rdx
mov qword [rsp + 0x1a0], rsi
je 0x14003f88c
js 0x14003fd6b
mov al, byte [0x1400bf128]
sub ecx, ecx
nop
push rdi
pop rdx
call fcn.140036e50
test rax, rax
jne 0x14003f891
jmp 0x14003fd70
mov qword [rsp + 0x1b8], 3
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
jmp 0x14003f852
mov rcx, 0xffffffffffffffff
call sub.KERNEL32.dll_CloseHandle
mov qword [rsp + 0x1b8], 3
push rdi
pop rcx
nop
nop
push rbx
pop rdx
call fcn.14000c812
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x50]
call fcn.14000c812
mov rbx, qword [rsp + 0x548]
mov r14d, dword [rsp + 0x540]
mov rdi, qword [rsp + 0x88]
jmp 0x14003fac0
mov eax, 1
mov qword [rsp + 0x190], rax
push rax
pop rcx
nop
mov rdx, qword [rsp + 0x50]
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rcx, r15
xor edx, edx
call fcn.14000e00d
mov qword [rsp + 0x50], rax
mov rcx, rdx
mov qword [rsp + 0x188], rdx
mov rdx, rbx
mov r8, r15
call sub.msvcrt.dll_memcpy
mov ecx, 4
sub edx, edx
call fcn.14003beaf
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x178], rdx
mov rax, qword [rsp + 0x40]
mov qword [rdx], rax
mov edx, 4
mov r8d, 3
lea rcx, [rsp + 0x40]
lea r9, str._home_torcrypt_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_disk.rs
call fcn.14003bc8f
mov r8, rdx
lea rsi, [rsp + 0x218]
mov rcx, rsi
push rax
pop rdx
nop
call fcn.14003bcb4
mov qword [rsp + 0x1c8], rdi
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1d8], rdi
mov byte [rsp + 0x1e0], 0
mov eax, dword [rsp + 0x69]
mov ecx, dword [rsp + 0x6c]
mov dword [rsi - 0x34], ecx
mov dword [rsi - 0x37], eax
or qword [rsp + 0x1c0], 0xffffffffffffffff
cmp ebp, 2
mov qword [rsp + 0x1b8], r12
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x1f8], r15
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x208], rax
mov qword [rsp + 0x210], 4
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x238], rax
sete byte [rsp + 0x240]
mov eax, dword [rsp + 0x69]
mov ecx, dword [rsp + 0x6c]
mov dword [rsi + 0x2c], ecx
mov dword [rsi + 0x29], eax
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rsp + 0x1a8]
nop
push rbx
pop rdx
call fcn.14000c812
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x120]
call fcn.14000c812
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x2a0], rdx
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x2a8], rax
mov rsi, qword [rsp + 0x78]
mov qword [rsp + 0x2b0], rsi
cmp rsi, rdx
jne 0x14003fa7b
lea rcx, [rsp + 0x2a0]
call fcn.14003b650
mov rsi, qword [rsp + 0x2b0]
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x2a8]
mov rbx, qword [rsp + 0x548]
mov r14d, dword [rsp + 0x540]
mov rdi, qword [rsp + 0x88]
imul rcx, rsi, 0x90
mov qword [rsp + 0x80], rax
add rcx, rax
mov r8d, 0x90
lea rdx, [rsp + 0x1b8]
call sub.msvcrt.dll_memcpy
inc rsi
mov qword [rsp + 0x78], rsi
lea r15, [rsp + 0x40]
inc r13d
jmp 0x14003f4f5
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x268], rax
mov qword [rsp + 0x270], rbx
or rax, rax
je 0x14003fc53
mov ecx, 8
mov edx, 0x28
call fcn.14000c493
test rax, rax
mov rdx, qword [rsp + 0x110]
je 0x14003fd7d
movups xmm0, xmmword [rsp + 0x258]
mov rcx, qword [rsp + 0x268]
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 0x14003fc73
call fcn.14000e137
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.14000f52f
test rax, rax
je 0x14003fc8f
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x14003fd3b
mov rax, r14
add rax, 0x110
mov rdx, qword [r14 + 0x100]
mov r12, r15
lea r15, [rsp + 0x1b8]
lea rsi, [rsp + 0x130]
mov ecx, 9
mov rdi, r15
rep movsq qword [rdi], qword [rsi]
lea rsi, [rsp + 0x238]
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, [0x14003ffd2]
push rbx
pop rcx
nop
mov r8, r15
call fcn.14000f5c1
mov rcx, r14
push rsi
nop
pop rdx
call fcn.14003bad8
lea rcx, [rsp + 0x2a0]
mov r8d, 0xa0
mov rdx, r15
mov r15, r12
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2e8]
lea rcx, [rsp + 0xa0]
call fcn.14003b98c
jmp 0x14003f3f0
xor eax, eax
cmp rax, 3
je 0x14003f48a
mov rcx, qword [rsp + rax*8 + 0xd0]
mov rdx, qword [rsp + rax*8 + 0xf0]
mov qword [rsp + rax*8 + 0xd0], rdx
mov qword [rsp + rax*8 + 0xf0], rcx
inc rax
jmp 0x14003fc24
xorps xmm0, xmm0
mov rax, qword [rsp + 0x110]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x258]
call fcn.14003b8d0
movaps xmm6, xmmword [rsp + 0x4b0]
add rsp, 0x4c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
sub ecx, ecx
call fcn.14000f7f7
test rax, rax
je 0x14003fd8c
lea rdx, [rsp + 0x1c0]
lea rsi, [rsp + 0x130]
mov ecx, 9
push rdx
pop rdi
nop
rep movsq qword [rdi], qword [rsi]
mov qword [rdx - 8], rax
and qword [rdx + 0x48], 0
lea rdx, [0x140040119]
lea rsi, [rsp + 0x1b8]
mov rcx, rbx
mov r8, rsi
call fcn.14000f5c1
mov rcx, qword [rsi]
call fcn.14000e06f
lea rcx, [rsp + 0x2a0]
mov r8d, 0x88
push rsi
pop rdx
nop
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2f0]
lea rsi, [rsp + 0x260]
nop
push rsi
pop rcx
call fcn.14003b98c
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xc0], xmm2
jmp 0x14003f3f0
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x130]
mov r8, r14
jmp 0x14003f3e8
lea rcx, str.assertion_failed:_index___self.range.len___home_torcrypt_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_1.10.0_src_range.rs
lea r8, [0x1400b3e20]
mov edx, 0x2b
call fcn.140004c80
call fcn.1400032a0
mov ecx, 1
nop
push rdi
pop rdx
call fcn.1400032e0
mov ecx, 8
mov edx, 0x28
call fcn.1400032e0
lea rax, [0x1400b8098]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04library_std_src_threadlocal.rs
lea r9, [0x1400b8100]
lea r8, [rsp + 0x2a0]
mov edx, 0x46
call fcn.140005b90
int3