Function at 0x1400f0350
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, 0x4b8
movaps xmmword [rsp + 0x4a0], xmm6
mov rsi, rdx
mov r15, rcx
mov rbx, qword [rsp + 0x538]
mov r14d, dword [rsp + 0x530]
mov r12d, dword [rsp + 0x528]
mov rax, qword [rsp + 0x520]
mov qword [rsp + 0x1d0], rdx
mov qword [rsp + 0x1f8], rax
shr rsi, 1
cmp rsi, rax
jae 0x1400f0af1
cmp r12d, r14d
jae 0x1400f0b11
mov qword [rsp + 0x1c0], r15
mov rbx, qword [rbx]
mov esi, 8
lea r15, [rsp + 0x48]
xorps xmm6, xmm6
xor ebp, ebp
xor eax, eax
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x118], rbx
mov eax, dword [rbx]
bt eax, r12d
jae 0x1400f07ab
lea edi, [r12 + 0x41]
mov word [rsp + 0x48], di
mov dword [rsp + 0x4a], 0x5c003a
mov word [rsp + 0x4e], 0
mov rcx, r15
call sub.KERNEL32.dll_GetDriveTypeW
mov r13d, eax
lea eax, [r13 - 4]
cmp eax, 0xfffffffe
jb 0x1400f07ab
mov qword [rsp + 0x120], rbp
mov r8d, 0x20a
lea rbp, [rsp + 0x290]
mov rcx, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movaps xmmword [rsp + 0x230], xmm6
movaps xmmword [rsp + 0x220], xmm6
movaps xmmword [rsp + 0x210], xmm6
movaps xmmword [rsp + 0x200], xmm6
lea rax, [rsp + 0x200]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, r15
mov rdx, rbp
mov r8d, 0x105
xor r9d, r9d
call sub.KERNEL32.dll_GetVolumeInformationW
test eax, eax
je 0x1400f07a3
xor ecx, ecx
cmp word [rsp + rcx*2 + 0x290], 0
je 0x1400f04b5
inc rcx
cmp rcx, 0x105
jne 0x1400f0497
mov ecx, 0x105
jmp 0x1400f04c2
cmp rcx, 0x106
jae 0x1400f0e8c
lea rax, [rsp + rcx*2]
add rax, 0x290
xor ecx, ecx
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xe8], 1
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x88], rax
mov word [rsp + 0x90], 0
lea rcx, [rsp + 0xe0]
lea rdx, [rsp + 0x80]
call fcn.1400ecdc9
mov rbp, qword [rsp + 0xe8]
mov r15, qword [rsp + 0xf0]
xor ebx, ebx
cmp word [rsp + rbx*2 + 0x200], 0
je 0x1400f054e
inc rbx
cmp rbx, 0x20
jne 0x1400f0533
mov ebx, 0x20
jmp 0x1400f0558
cmp rbx, 0x21
jae 0x1400f0e9a
mov rcx, rbx
call fcn.1400674de
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], rdx
mov qword [rsp + 0x148], 0
cmp rax, rbx
jb 0x1400f0aca
xor r14d, r14d
test rbx, rbx
je 0x1400f05a9
add rbx, rbx
xor eax, eax
mov cl, byte [rsp + rax + 0x200]
mov byte [rdx + r14], cl
inc r14
add rax, 2
cmp rbx, rax
jne 0x1400f0592
mov qword [rsp + 0x148], r14
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x1b2], rax
mov word [rsp + 0x1ba], di
mov dword [rsp + 0x1bc], 0x3a
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x1b2]
xor edx, edx
mov r8d, 3
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
cmp rax, 0xffffffffffffffff
je 0x1400f073d
mov rbx, rax
xor eax, eax
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x48]
xor edx, edx
lea r8, [rsp + 0x170]
lea r9, [rsp + 0x80]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1400f0738
mov rax, qword [rsp + 0x170]
test rax, rax
je 0x1400f0738
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x1e0], 7
mov byte [rsp + 0x1e8], 0
xor eax, eax
mov dword [rsp + 0x130], eax
mov qword [rsp + 0x128], rax
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0xc
mov rcx, rbx
mov edx, 0x2d1400
lea r8, [rsp + 0x1e0]
mov r9d, 0xc
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor edi, edi
cmp byte [rsp + 0x130], 0
sete dil
cmp dword [rsp + 0x5c], 0xc
mov ecx, 2
cmovne rdi, rcx
test eax, eax
cmove rdi, rcx
test r15, r15
je 0x1400f07bc
js 0x1400f0eca
mov rbp, r15
not rbp
shr rbp, 0x3f
mov rcx, r15
mov rdx, rbp
call fcn.14002d260
test rax, rax
jne 0x1400f07c1
jmp 0x1400f0ed1
mov rcx, rbx
jmp 0x1400f0744
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x138], 0
mov r14d, dword [rsp + 0x530]
mov rbx, qword [rsp + 0x118]
lea r15, [rsp + 0x48]
je 0x1400f0781
mov r8, qword [rsp + 0x140]
mov rcx, qword [0x1401849b0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rsp + 0xe0], 0
je 0x1400f07a3
mov r8, qword [rsp + 0xe8]
mov rcx, qword [0x1401849b0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbp, qword [rsp + 0x120]
inc r12d
cmp r12d, r14d
jne 0x1400f03e2
jmp 0x1400f0b47
mov eax, 1
cmp r13d, 2
sete byte [rsp + 0x47]
mov qword [rsp + 0x100], rax
mov rcx, rax
mov rdx, qword [rsp + 0xd0]
mov qword [rsp + 0xd0], r15
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
mov r15, qword [rsp + 0x140]
mov rcx, r14
call fcn.1400674de
mov qword [rsp + 0xf8], rax
mov r13, rdx
mov rcx, rdx
mov rdx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov ecx, 4
call fcn.1400ed7f4
mov qword [rsp + 0x1c8], rax
mov r15, rdx
mov rax, qword [rsp + 0x48]
mov qword [rdx], rax
xor ebp, ebp
mov qword [rsp + 0x170], rbp
mov qword [rsp + 0x178], 1
mov qword [rsp + 0x180], rbp
lea rax, [rsp + 0x4e]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x88], rax
mov word [rsp + 0x90], 0
lea rcx, [rsp + 0x170]
lea rdx, [rsp + 0x80]
call fcn.1400ecdc9
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x57]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x7b], ecx
movups xmm0, xmmword [rsp + 0x170]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x170]
mov ecx, dword [rsp + 0x173]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x57], ecx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x138], rbp
je 0x1400f08fa
mov r8, qword [rsp + 0x140]
mov rcx, qword [0x1401849b0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rsp + 0xe0], 0
mov rbx, qword [rsp + 0x118]
mov rbp, qword [rsp + 0x120]
je 0x1400f092c
mov r8, qword [rsp + 0xe8]
mov rcx, qword [0x1401849b0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x7b]
mov dword [rsp + 0x170], eax
mov dword [rsp + 0x173], ecx
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x200], xmm0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x210], rax
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x57]
mov dword [rsp + 0x138], eax
mov dword [rsp + 0x13b], ecx
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x298], rsi
mov qword [rsp + 0x2a0], rbp
cmp rbp, rax
jne 0x1400f09cd
lea rcx, [rsp + 0x290]
mov rdx, rbp
call fcn.1400ec92d
mov rbp, qword [rsp + 0x2a0]
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0xd8], rax
mov rsi, qword [rsp + 0x298]
mov r8, qword [rsp + 0x110]
mov r9, qword [rsp + 0x108]
mov r10b, byte [rsp + 0x47]
mov rdx, qword [rsp + 0x100]
mov r11, qword [rsp + 0xf8]
lea rax, [rbp*8]
add rax, rbp
shl rax, 4
mov rcx, qword [rsp + 0xd0]
mov qword [rsi + rax], rcx
mov qword [rsi + rax + 8], rdx
mov qword [rsi + rax + 0x10], rcx
mov byte [rsi + rax + 0x18], 0
mov ecx, dword [rsp + 0x170]
mov edx, dword [rsp + 0x173]
mov dword [rsi + rax + 0x19], ecx
mov dword [rsi + rax + 0x1c], edx
mov qword [rsi + rax + 0x20], rdi
mov qword [rsi + rax + 0x28], 0xffffffffffffffff
mov qword [rsi + rax + 0x30], r8
mov qword [rsi + rax + 0x38], r9
mov qword [rsi + rax + 0x40], r11
mov qword [rsi + rax + 0x48], r13
mov qword [rsi + rax + 0x50], r14
mov rcx, qword [rsp + 0x1c8]
mov qword [rsi + rax + 0x58], rcx
mov qword [rsi + rax + 0x60], r15
mov qword [rsi + rax + 0x68], 4
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [rsi + rax + 0x70], xmm0
mov rcx, qword [rsp + 0x210]
mov qword [rsi + rax + 0x80], rcx
mov byte [rsi + rax + 0x88], r10b
mov ecx, dword [rsp + 0x138]
mov edx, dword [rsp + 0x13b]
mov dword [rsi + rax + 0x8c], edx
mov dword [rsi + rax + 0x89], ecx
inc rbp
mov r14d, dword [rsp + 0x530]
lea r15, [rsp + 0x48]
jmp 0x1400f07ab
lea rcx, [rsp + 0x138]
xor edx, edx
mov r8, rbx
call fcn.140111de1
mov rdx, qword [rsp + 0x140]
mov r14, qword [rsp + 0x148]
jmp 0x1400f0588
mov rdi, r9
test r8b, r8b
je 0x1400f0bf8
call fcn.1400803a1
shr rdi, 1
cmp rax, rdi
cmova rdi, rax
jmp 0x1400f0c04
xor eax, eax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 8
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x210], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x200], xmm0
jmp 0x1400f0bda
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rbp
xorps xmm0, xmm0
movaps xmmword [rsp + 0x200], xmm0
mov qword [rsp + 0x210], 0
test rbp, rbp
mov r15, qword [rsp + 0x1c0]
je 0x1400f0bda
mov rax, qword [rsp + 0x90]
lea rdx, [rsp + 0x290]
mov qword [rdx + 0x10], rax
mov rax, qword [rsp + 0x80]
mov qword [rdx], rax
mov rax, qword [rsp + 0x88]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x200]
mov rcx, rsi
call fcn.1400eca28
mov rax, qword [rsi + 0x10]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [rsi]
movups xmmword [r15], xmm0
jmp 0x1400f0e70
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
lea rcx, [rsp + 0x80]
call fcn.1400ecaaf
jmp 0x1400f0e70
test rdi, rdi
je 0x1400f03ad
shr rdi, 1
mov qword [rsp + 0x1f0], rdi
mov qword [rsp + 0x1d8], rsi
xor eax, eax
mov ecx, r14d
sub ecx, r12d
cmovb ecx, eax
cmp rsi, rcx
ja 0x1400f0eb0
add esi, r12d
mov dword [rsp + 0xa0], esi
mov dword [rsp + 0xa4], r14d
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x1f0]
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xc0], rbx
mov dword [rsp + 0x80], r12d
mov dword [rsp + 0x84], esi
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rbx
lea rcx, [0x14007ee17]
call fcn.14007ef9d
test rax, rax
je 0x1400f0cca
lea rcx, [rsp + 0x290]
lea rdx, [rsp + 0x80]
mov r8, rax
xor r9d, r9d
call fcn.1400effc3
jmp 0x1400f0dce
call fcn.14007f397
mov rbx, qword [rax]
sub rbx, 0xffffffffffffff80
mov eax, dword [0x140184a60]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0xa8], 0
jne 0x1400f0cfa
xor ecx, ecx
call fcn.14007ef10
lea r14, [rsp + 0x200]
lea rsi, [rsp + 0x80]
mov ecx, 9
mov rdi, r14
rep movsq qword [rdi], qword [rsi]
mov eax, dword [0x140184a60]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 0xb0]
mov qword [r14 + 0x80], rax
mov qword [r14 + 0x48], 0
lea rdx, [rsp + 0x290]
mov qword [rdx], r14
lea rax, [0x1400efd48]
mov qword [rdx + 8], rax
mov rcx, rbx
call fcn.1400801a3
mov rcx, qword [r14 + 0x80]
call fcn.14007f2aa
lea rsi, [rsp + 0x290]
mov r8d, 0x88
mov rcx, rsi
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x78]
lea rdx, [rsp + 0x170]
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 rdi, [rsp + 0x140]
mov rcx, rdi
call fcn.1400ecd23
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movaps xmmword [rsi], xmm0
movaps xmmword [rsi + 0x10], xmm1
movaps xmmword [rsi + 0x20], xmm2
mov rdx, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x298]
mov rax, qword [rsp + 0x2a0]
movups xmm0, xmmword [rsp + 0x2a8]
movaps xmmword [rsp + 0x60], xmm0
mov r8, qword [rsp + 0x2b8]
mov qword [rsp + 0x70], r8
test rcx, rcx
je 0x1400f0e33
mov r8, qword [rsp + 0x60]
mov qword [rsp + 0x60], 0
test r8, r8
je 0x1400f0e5b
mov qword [rcx], r8
mov qword [r8 + 8], rcx
mov rcx, qword [rsp + 0x68]
xorps xmm0, xmm0
add rax, qword [rsp + 0x70]
movups xmmword [rsp + 0x68], xmm0
jmp 0x1400f0e5b
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov r9, qword [rsp + 0x70]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], rax
mov rdx, r8
mov rax, r9
mov qword [r15], rdx
mov qword [r15 + 8], rcx
mov qword [r15 + 0x10], rax
lea rcx, [rsp + 0x60]
call fcn.1400eff54
movaps xmm6, xmmword [rsp + 0x4a0]
add rsp, 0x4b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.27.2_srcwindowsdisk.rs
mov edx, 0x105
jmp 0x1400f0ea9
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.27.2_srcwindowsdisk.rs
mov edx, 0x20
mov rcx, rbx
call fcn.140109240
ud2
lea rcx, str.assertion_failed:_index___self.range.len__C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rayon_1.5.3_src_range.rs
lea r8, [0x140143000]
mov edx, 0x2b
call fcn.140109250
ud2
call fcn.14002d420
ud2
mov rcx, r15
mov rdx, rbp
call fcn.140108e10
ud2