Function at 0x14003c0c8
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 r15, rcx
mov rbx, qword [rsp + 0x528]
mov r14d, dword [rsp + 0x520]
mov r13d, 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.14003a814
test al, al
je 0x14003c24f
shr rsi, 1
mov qword [rsp + 0xf8], rsi
xor eax, eax
mov ecx, r14d
sub ecx, r13d
cmovb ecx, eax
cmp rsi, rcx
ja 0x14003cb1b
add esi, r13d
lea rax, [rsp + 0x190]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x128], rbx
mov dword [rsp + 0x130], esi
mov dword [rsp + 0x134], r14d
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], rdi
mov qword [rsp + 0x148], rbx
mov dword [rsp + 0x150], r13d
mov dword [rsp + 0x154], esi
call fcn.14000e1ec
test rax, rax
je 0x14003c917
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0x110]
mov r8, rax
xor r9d, r9d
call fcn.14003bd44
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
movups xmm0, xmmword [rsp + 0xd8]
movaps xmmword [rsp + 0x60], xmm0
mov r8, qword [rsp + 0xe8]
mov qword [rsp + 0x70], r8
test rcx, rcx
je 0x14003c9df
mov r8, qword [rsp + 0x60]
and qword [rsp + 0x60], 0
test r8, r8
je 0x14003ca04
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 0x14003ca04
mov qword [rsp + 0xf0], r15
mov rdi, qword [rbx]
mov eax, 8
mov qword [rsp + 0xa0], rax
lea r15, [rsp + 0x48]
xorps xmm6, xmm6
xor eax, eax
mov qword [rsp + 0x90], rax
xor eax, eax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa8], rdi
cmp r13d, r14d
jae 0x14003c884
mov eax, dword [rdi]
bt eax, r13d
jae 0x14003c87c
lea esi, [r13 + 0x41]
mov word [rsp + 0x48], si
mov dword [rsp + 0x4a], 0x5c003a
and word [rsp + 0x4e], 0
mov rcx, r15
call sub.KERNEL32.dll_GetDriveTypeW
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14003c354
mov r8d, 0x20a
lea r12, [rsp + 0x280]
mov rcx, r12
xor edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
lea rax, [rsp + 0x110]
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
test eax, eax
je 0x14003c354
xor r8d, r8d
cmp r8, 0x105
je 0x14003c365
cmp word [rsp + r8*2 + 0x280], 0
je 0x14003c36b
inc r8
jmp 0x14003c33a
mov qword [rsp + 0x198], 3
jmp 0x14003c87c
mov r8d, 0x105
mov edx, 0x105
lea rcx, [rsp + 0x280]
lea r9, str._home_kali_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_disk.rs
call fcn.14003aac4
mov r8, rdx
lea rcx, [rsp + 0xf8]
mov rdx, rax
call fcn.14003aae9
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x58], rax
mov r12, qword [rsp + 0x108]
xor r8d, r8d
cmp r8, 0x20
je 0x14003c3c6
cmp word [rsp + r8*2 + 0x110], 0
je 0x14003c3cc
inc r8
jmp 0x14003c3af
mov r8d, 0x20
mov edx, 0x20
lea rcx, [rsp + 0x110]
lea r9, str._home_kali_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_disk.rs
call fcn.14003aac4
mov rdi, rax
mov r14, rdx
mov rcx, rdx
xor edx, edx
call fcn.14000cd14
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rdx
and qword [rsp + 0xd0], 0
lea rcx, [rsp + 0xc0]
mov rdx, r14
call fcn.14000a58d
mov rbx, qword [rsp + 0xc8]
mov r15, qword [rsp + 0xd0]
test r14, r14
je 0x14003c447
xor eax, eax
mov cl, byte [rdi + rax*2]
mov byte [rbx + r15], cl
inc r15
inc rax
cmp r14, rax
jne 0x14003c435
mov rdi, qword [rsp + 0xc0]
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0xc0], rax
mov word [rsp + 0xc8], si
mov dword [rsp + 0xca], 0x3a
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0xc0]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x14003c5d9
mov r14, rax
and qword [rsp + 0xb0], 0
and qword [rsp + 0x78], 0
lea rcx, [rsp + 0x48]
xor edx, edx
lea r8, [rsp + 0xb0]
lea r9, [rsp + 0x78]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14003c5c3
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
je 0x14003c5c3
mov qword [rsp + 0x188], rdi
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x178], rax
and dword [rsp + 0x80], 0
mov qword [rsp + 0xb0], 7
and qword [rsp + 0x78], 0
mov byte [rsp + 0xb8], 0
and dword [rsp + 0x54], 0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
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
mov rdx, r12
xor r12d, r12d
cmp byte [rsp + 0x80], 0
sete r12b
cmp dword [rsp + 0x54], 0xc
mov ecx, 2
cmovne r12, rcx
test eax, eax
cmove r12, rcx
mov rdi, rdx
test rdx, rdx
mov qword [rsp + 0x180], rsi
je 0x14003c62b
js 0x14003cb33
mov al, byte [0x140056128]
mov edx, 1
mov rcx, rdi
call fcn.1400021a0
test rax, rax
jne 0x14003c630
jmp 0x14003cb38
mov qword [rsp + 0x198], 3
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
jmp 0x14003c5f1
mov rcx, 0xffffffffffffffff
call sub.KERNEL32.dll_CloseHandle
mov qword [rsp + 0x198], 3
mov rcx, rdi
mov rdx, rbx
call fcn.14000b59c
mov rcx, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x58]
call fcn.14000b59c
mov rbx, qword [rsp + 0x528]
mov r14d, dword [rsp + 0x520]
mov rdi, qword [rsp + 0xa8]
jmp 0x14003c877
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.14000cd14
mov qword [rsp + 0x58], rax
mov rcx, rdx
mov qword [rsp + 0x168], rdx
mov rdx, rbx
mov r8, r15
call sub.msvcrt.dll_memcpy
mov ecx, 4
xor edx, edx
call fcn.14003ace4
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x158], rdx
mov rax, qword [rsp + 0x48]
mov qword [rdx], rax
mov edx, 4
mov r8d, 3
lea rcx, [rsp + 0x48]
lea r9, str._home_kali_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.29.11_src_windows_disk.rs
call fcn.14003aac4
mov r8, rdx
lea rsi, [rsp + 0x1f8]
mov rcx, rsi
mov rdx, rax
call fcn.14003aae9
mov qword [rsp + 0x1a8], rdi
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1b8], rdi
mov byte [rsp + 0x1c0], 0
mov eax, dword [rsp + 0x89]
mov ecx, dword [rsp + 0x8c]
mov dword [rsi - 0x34], ecx
mov dword [rsi - 0x37], eax
or qword [rsp + 0x1a0], 0xffffffffffffffff
cmp ebp, 2
mov qword [rsp + 0x198], r12
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1d8], r15
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x1f0], 4
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x218], rax
sete byte [rsp + 0x220]
mov eax, dword [rsp + 0x89]
mov ecx, dword [rsp + 0x8c]
mov dword [rsi + 0x2c], ecx
mov dword [rsi + 0x29], eax
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rsp + 0x188]
mov rdx, rbx
call fcn.14000b59c
mov rcx, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
call fcn.14000b59c
mov rdx, qword [rsp + 0x90]
mov qword [rsp + 0x280], rdx
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x288], rax
mov rsi, qword [rsp + 0x98]
mov qword [rsp + 0x290], rsi
cmp rsi, rdx
jne 0x14003c82f
lea rcx, [rsp + 0x280]
call fcn.14003a440
mov rsi, qword [rsp + 0x290]
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x288]
mov rbx, qword [rsp + 0x528]
mov r14d, dword [rsp + 0x520]
mov rdi, qword [rsp + 0xa8]
imul rcx, rsi, 0x90
mov qword [rsp + 0xa0], rax
add rcx, rax
mov r8d, 0x90
lea rdx, [rsp + 0x198]
call sub.msvcrt.dll_memcpy
inc rsi
mov qword [rsp + 0x98], rsi
lea r15, [rsp + 0x48]
inc r13d
jmp 0x14003c28b
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x248], rax
mov qword [rsp + 0x250], rbx
test rax, rax
je 0x14003ca1b
mov ecx, 8
mov edx, 0x28
call fcn.14003a5cc
test rax, rax
mov rdx, qword [rsp + 0xf0]
je 0x14003cb45
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 0x14003ca3b
call fcn.14000cde7
mov rsi, qword [rax]
lea rbx, [rsi + 0x80]
call fcn.14000e1ec
test rax, rax
je 0x14003ca57
mov r14, rax
cmp qword [rax + 0x110], rsi
je 0x14003cb03
mov rax, r14
add rax, 0x110
mov rdx, qword [r14 + 0x100]
mov r12, r15
lea r15, [rsp + 0x198]
lea rsi, [rsp + 0x110]
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, [0x14003cb81]
mov rcx, rbx
mov r8, r15
call fcn.14000e27e
mov rcx, r14
mov rdx, rsi
call fcn.14003a857
lea rcx, [rsp + 0x280]
mov r8d, 0xa0
mov rdx, r15
mov r15, r12
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x2c8]
lea rcx, [rsp + 0xc0]
call fcn.14003a7c0
jmp 0x14003c1e1
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 [r15], rdx
mov qword [r15 + 8], rcx
mov qword [r15 + 0x10], rax
lea rcx, [rsp + 0x60]
call fcn.14003c08c
jmp 0x14003ca3b
xorps xmm0, xmm0
mov rax, qword [rsp + 0xf0]
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
lea rcx, [rsp + 0x238]
call fcn.14003a510
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.14000e4c0
test rax, rax
je 0x14003cb54
lea rdx, [rsp + 0x1a0]
lea rsi, [rsp + 0x110]
mov ecx, 9
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
mov qword [rdx - 8], rax
and qword [rdx + 0x48], 0
lea rdx, [0x14003ccd4]
lea rsi, [rsp + 0x198]
mov rcx, rbx
mov r8, rsi
call fcn.14000e27e
mov rcx, qword [rsi]
call fcn.14000cd76
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.14003a7c0
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xe0], xmm2
jmp 0x14003c1e1
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0x110]
mov r8, r14
jmp 0x14003c1d9
lea rcx, str.assertion_failed:_index___self.range.len___home_kali_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_1.10.0_src_range.rs
lea r8, [0x14004b680]
mov edx, 0x2b
call fcn.140003ff0
call fcn.140002720
mov ecx, 1
mov rdx, rdi
call fcn.140002760
mov ecx, 8
mov edx, 0x28
call fcn.140002760
lea rax, [0x14004f900]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_src_threadlocal.rs
lea r9, [0x14004f9a0]
lea r8, [rsp + 0x280]
mov edx, 0x46
call fcn.140004f00
int3