Function at 0x14001ca00
Capabilities:
Get disk information

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, rdx
mov qword [rbp - 0x40], rcx
movzx eax, byte [0x14045b121]
mov ecx, 0x208
mov edx, 2
call fcn.14000bfe0
test rax, rax
je 0x14001cd25
mov r12, rax
mov dword [rbp - 0xc], 0
xor esi, esi
mov r15d, 0x104
lea rbx, [rbp - 0xc]
mov r14, qword [sym.imp.kernel32.dll_GetVolumePathNamesForVolumeNameW]
nop word cs:[rax + rax]
cmp esi, 0xa
mov qword [rbp - 8], r15
mov qword [rbp - 0x18], r12
jae 0x14001cb4c
mov rcx, rdi
mov rdx, r12
mov r8d, r15d
mov r9, rbx
call r14
test eax, eax
jne 0x14001cb4c
call fcn.140021130
mov r13, rax
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], edx
call fcn.140021130
mov r12d, edx
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], edx
test rax, rax
je 0x14001cac8
lea rcx, [rbp - 0x30]
call fcn.140016340
mov r13, qword [rbp - 0x58]
test r13, r13
je 0x14001cad6
lea rcx, [rbp - 0x58]
call fcn.140016340
cmp r12d, 0x800700ea
jne 0x14001ccb6
mov r15d, dword [rbp - 0xc]
test r15, r15
je 0x14001cb20
lea r13, [r15 + r15]
movzx eax, byte [0x14045b121]
mov edx, 2
mov rcx, r13
call fcn.14000bfe0
test rax, rax
je 0x14001cd0f
mov r12, rax
inc esi
mov rdx, qword [rbp - 8]
test rdx, rdx
jne 0x14001cb35
jmp 0x14001ca70
mov r12d, 2
inc esi
mov rdx, qword [rbp - 8]
test rdx, rdx
je 0x14001ca70
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x18]
call fcn.14000bfc0
jmp 0x14001ca70
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 8
mov qword [rbp - 0x20], 0
test r15, r15
je 0x14001cc69
mov qword [rbp - 0x38], 0
movabs rsi, 0x7ffffffffffffffe
lea r15, [rbp - 0x30]
mov r12, qword [rbp - 0x18]
mov rbx, qword [rbp - 8]
jmp 0x14001cbbd
mov rax, qword [rbp - 0x28]
lea rcx, [r14 + r14*2]
mov qword [rax + rcx*8], rdi
mov rdx, qword [rbp - 0x48]
mov qword [rax + rcx*8 + 8], rdx
mov qword [rax + rcx*8 + 0x10], rdi
inc r14
mov qword [rbp - 0x20], r14
sub r12, r13
sub rbx, rdi
je 0x14001cc69
cmp word [r12], 0
je 0x14001cc69
lea rax, [rbx + rbx]
neg rax
mov ecx, 1
mov r13, 0xfffffffffffffffe
nop dword [rax]
cmp rax, r13
je 0x14001ccdc
lea rdi, [rcx + 1]
add r13, 0xfffffffffffffffe
cmp word [r12 + rcx*2], 0
mov rcx, rdi
jne 0x14001cbe0
test rdi, rdi
js 0x14001ccfd
mov r14, r13
neg r14
cmp r14, rsi
ja 0x14001ccfd
movzx eax, byte [0x14045b121]
mov edx, 2
mov rcx, r14
call fcn.14000bfb0
test rax, rax
je 0x14001ccf1
mov qword [rbp - 0x48], rax
mov rcx, rax
mov rdx, r12
mov qword [rbp - 0x60], r14
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov r14, qword [rbp - 0x20]
cmp r14, qword [rbp - 0x30]
jne 0x14001cb90
mov rcx, r15
lea rdx, str.C:Userskyanw.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.31.4_srcwindowsdisk.rs
call fcn.14001bed0
jmp 0x14001cb90
mov rax, qword [rbp - 0x20]
mov rsi, qword [rbp - 0x40]
mov qword [rsi + 0x10], rax
mov rax, qword [rbp - 0x30]
mov qword [rsi], rax
mov rax, qword [rbp - 0x28]
mov qword [rsi + 8], rax
mov rdx, qword [rbp - 8]
test rdx, rdx
je 0x14001cc9f
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x18]
call fcn.14000bfc0
mov rax, rsi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rsi, qword [rbp - 0x40]
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
mov rdx, qword [rbp - 8]
test rdx, rdx
jne 0x14001cc8d
jmp 0x14001cc9f
lea rcx, [rbx + 1]
lea r8, str.C:Userskyanw.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.31.4_srcwindowsdisk.rs
mov rdx, rbx
call fcn.1400600a0
jmp 0x14001cd23
mov eax, 2
mov qword [rbp - 0x38], rax
mov rdx, r14
lea r8, str.C:Userskyanw.rustup_toolchains_nightly_x86_64_pc_windows_msvclib_rustlib_src_rustlibrary_alloc_src_slice.rs_
mov rcx, qword [rbp - 0x38]
call fcn.14005fb43
jmp 0x14001cd23
lea r8, str.C:Userskyanw.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.31.4_srcwindowsdisk.rs
mov ecx, 2
mov rdx, r13
call fcn.14005fb43
ud2
lea r8, str.C:Userskyanw.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.31.4_srcwindowsdisk.rs
mov ecx, 2
mov edx, 0x208
call fcn.14005fb43
int3