Function at 0x1400c6948
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x6e8]
sub rsp, 0x7b0
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1401543b0]
xor rax, rsp
mov qword [rbp + 0x6a0], rax
mov r15, rdx
mov r13, rcx
lea r14, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rsp + 0x38], r14
lea rax, str.CVssDeletingWriter::FixupSnapshotVolumeSpecification
mov qword [rsp + 0x40], rax
lea rax, str.WRTDELET
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x4aa
mov dword [rsp + 0x54], 4
mov dword [rsp + 0x58], 0xff
xor ebx, ebx
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.140003840
nop
mov rdx, qword [r15 + 0x10]
or rsi, 0xffffffffffffffff
mov rdi, rsi
inc rdi
cmp word [rdx + rdi*2], bx
jne 0x1400c69f9
mov r12d, 0x104
cmp rdi, r12
jae 0x1400c6fad
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x1400c6f32
mov rax, qword [rcx]
mov rax, qword [rax + 0x68]
call qword [case.0x140007ddd.0]
test al, al
je 0x1400c6f32
lea r8d, [rdi + 1]
lea rdx, [rbp + 0x70]
mov rcx, qword [r15 + 0x10]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumePathNameW]
test eax, eax
jne 0x1400c6acd
mov qword [rsp + 0x38], r14
lea rax, str.CVssDeletingWriter::FixupSnapshotVolumeSpecification
mov qword [rsp + 0x40], rax
lea rax, str.WRTDELET
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x4c4
mov dword [rsp + 0x54], 4
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov rbx, qword [r15 + 0x20]
mov rdi, qword [r15 + 0x10]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9, rdi
lea r8, str.GetVolumePathName__s_s__failed_with__d
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400037d0
jmp 0x1400c6fa0
lea rax, [rbp + 0x70]
mov r14, rsi
inc r14
cmp word [rax + r14*2], bx
jne 0x1400c6ad4
test r14, r14
je 0x1400c6fa0
mov rcx, qword [r15 + 0x10]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], bx
jne 0x1400c6aee
cmp r14, rax
ja 0x1400c6ed3
mov r8, r14
lea rdx, [rbp + 0x70]
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x1400c6ed3
mov rdx, qword [r15 + 0x10]
call fcn.1400c7f28
test al, al
je 0x1400c6b8f
lea rax, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rsp + 0x38], rax
lea rax, str.CVssDeletingWriter::FixupSnapshotVolumeSpecification
mov qword [rsp + 0x40], rax
lea rax, str.WRTDELET
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x4e5
mov dword [rsp + 0x54], 4
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
lea r8, str.reparse_point_found_on_path__so_skipping
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400037d0
jmp 0x1400c6fa0
lea r8, [rbp + 0x70]
mov rdx, r12
lea rcx, [rbp + 0x70]
call fcn.14001ec98
mov edi, eax
mov dword [rbp - 8], eax
test eax, eax
jns 0x1400c6c22
lea rax, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rsp + 0x38], rax
lea rax, str.CVssDeletingWriter::FixupSnapshotVolumeSpecification
mov qword [rsp + 0x40], rax
lea rax, str.WRTDELET
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x4ed
mov dword [rsp + 0x54], 4
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
lea r8, str.StringCchCopy_failed_with_0x_08lx__winerror__d
mov r9d, edi
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400037d0
jmp 0x1400c6fa0
cmp word [rbp + r14*2 + 0x6e], 0x5c
je 0x1400c6cb0
lea r8, [0x1400e84e8]
mov rdx, r12
lea rcx, [rbp + 0x70]
call fcn.14004b4c0
mov edi, eax
mov dword [rbp - 8], eax
test eax, eax
jns 0x1400c6cb0
lea rax, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rsp + 0x38], rax
lea rax, str.CVssDeletingWriter::FixupSnapshotVolumeSpecification
mov qword [rsp + 0x40], rax
lea rax, str.WRTDELET
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x4fb
mov dword [rsp + 0x54], 4
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
lea r8, str.StringCchCat_failed_with_0x_08lx__winerror__d
jmp 0x1400c6c08
mov r8d, r12d
lea rdx, [rbp + 0x490]
lea rcx, [rbp + 0x70]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x1400c6e64
mov dword [rbp - 8], ebx
mov qword [rbp - 0x20], rbx
mov rcx, qword [r13 + 8]
test rcx, rcx
jne 0x1400c6ce6
mov edi, 0x80004005
mov dword [rbp - 8], edi
jmp 0x1400c6d07
mov rax, qword [rcx]
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x490]
mov rax, qword [rax + 0x48]
call qword [case.0x140007ddd.0]
mov edi, eax
mov dword [rbp - 8], eax
test eax, eax
jns 0x1400c6d71
lea rax, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rsp + 0x38], rax
lea rax, str.CVssDeletingWriter::FixupSnapshotVolumeSpecification
mov qword [rsp + 0x40], rax
lea rax, str.WRTDELET
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x517
mov dword [rsp + 0x54], 4
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], edi
lea r9, [rbp + 0x490]
lea r8, str.GetSnapshotDeviceName__s__failed_with_0x_08lx
jmp 0x1400c6f92
mov rax, qword [r15 + 0x10]
lea rcx, [rax + r14*2]
mov qword [rsp + 0x20], rcx
mov r9, qword [rbp - 0x20]
lea r8, [0x1400e9278]
mov rdx, r12
lea rcx, [rbp + 0x280]
call fcn.140006550
mov edi, eax
mov dword [rbp - 8], eax
test eax, eax
jns 0x1400c6e11
lea rax, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rsp + 0x38], rax
lea rax, str.CVssDeletingWriter::FixupSnapshotVolumeSpecification
mov qword [rsp + 0x40], rax
lea rax, str.WRTDELET
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x529
mov dword [rsp + 0x54], 4
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov r9d, edi
lea r8, str.StringCchPrintf_failed_with_0x_08lx
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400037d0
jmp 0x1400c6fa0
lea rax, [rbp + 0x280]
inc rsi
cmp word [rax + rsi*2], bx
jne 0x1400c6e18
cmp word [rbp + rsi*2 + 0x27e], 0x5c
jne 0x1400c6e4d
lea rsi, [rsi*2 - 2]
cmp rsi, 0x208
jae 0x1400c6e47
mov word [rbp + rsi + 0x280], bx
jmp 0x1400c6e4d
call fcn.140020338
int3
lea rcx, [r15 + 8]
lea rdx, [rbp + 0x280]
call fcn.1400441ec
mov dl, 1
jmp 0x1400c6fa2
mov edi, 0x80004005
mov dword [rbp - 8], edi
lea rax, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rsp + 0x38], rax
lea rax, str.CVssDeletingWriter::FixupSnapshotVolumeSpecification
mov qword [rsp + 0x40], rax
lea rax, str.WRTDELET
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x50a
mov dword [rsp + 0x54], 4
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], edi
lea r9, [rbp + 0x70]
lea r8, str.GetVolumeNameForVolumeMountPoint__s__failed_with_0x_08lx
jmp 0x1400c6f92
lea rax, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rsp + 0x38], rax
lea rax, str.CVssDeletingWriter::FixupSnapshotVolumeSpecification
mov qword [rsp + 0x40], rax
lea rax, str.WRTDELET
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x4df
mov dword [rsp + 0x54], 4
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
lea r8, str.not_a_prefix__so_skipping
jmp 0x1400c6b7c
mov qword [rsp + 0x38], r14
lea rax, str.CVssDeletingWriter::FixupSnapshotVolumeSpecification
mov qword [rsp + 0x40], rax
lea rax, str.WRTDELET
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x4b7
mov dword [rsp + 0x54], 4
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov rax, qword [r15 + 0x20]
mov qword [rsp + 0x20], rax
mov r9, qword [r15 + 0x10]
lea r8, str.skipping_deletion_of__s_s_since_its_not_included_on_a_snapshot
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400037d0
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.140013f94
mov bl, al
lea rcx, [rbp - 0x10]
call fcn.140003960
mov al, bl
mov rcx, qword [rbp + 0x6a0]
xor rcx, rsp
call fcn.14001ff30
mov rbx, qword [rsp + 0x800]
add rsp, 0x7b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret