Function at 0x14009b068
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x800
mov qword [r11 - 0x670], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x7f0], rax
mov rax, r9
mov qword [rsp + 0x58], rax
mov rbx, rdx
mov qword [rsp + 0x118], r8
mov qword [rsp + 0x48], rax
lea r14, str.base_stor_vssmodulescoord_srchwdelete.cxx
mov qword [rsp + 0x60], r14
lea r15, str.CVssHardwareProviderWrapper::RestoreSharesAndMountPointsOnVolume
mov qword [rsp + 0x68], r15
lea r12, str.CORHDELC
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5a7
mov dword [rsp + 0x7c], 1
mov r13d, 0xff
mov dword [r11 - 0x7a8], r13d
xor edi, edi
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdi + 0x78]
lea rcx, [r11 - 0x7a0]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140010990
nop
mov dword [rsp + 0x54], edi
mov word [rsp + 0x3d0], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x3d2]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x130], rdi
lea rax, [0x1400f2350]
mov qword [rsp + 0x128], rax
mov r8, rbx
lea edx, [r13 + 5]
lea rcx, [rsp + 0x3d0]
call fcn.140005350
mov dword [rsp + 0x148], eax
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5b4
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x100], 0x1000000
lea ebx, [rdi + 0x78]
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r8, str.StringCchCopy_copy_input_volume_name
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140010880
lea rcx, [rsp + 0x3d0]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x14009b1e9
movzx eax, ax
cmp word [rsp + rax*2 + 0x3ce], 0x5c
je 0x14009b27d
lea r8, [0x1400f2048]
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call fcn.140006000
mov dword [rsp + 0x148], eax
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5bd
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x100], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r8, str.StringCchCat_fails_to_concat_backslash
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140010880
mov eax, edi
mov rcx, qword [rsp + 0x58]
test rcx, rcx
sete al
mov dword [rsp + 0x110], eax
test rcx, rcx
je 0x14009b6e5
lea r9, [rsp + 0x54]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumePathNamesForVolumeNameW]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
cmp eax, 0xea
je 0x14009b35b
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5d2
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x100], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14009b31c
movzx ebx, ax
or ebx, 0x80070000
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14009b32e
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x28], ebx
lea rcx, [rsp + 0x3d0]
mov qword [rsp + 0x20], rcx
lea r9, str.GetVolumePathNamesForVolumeName__s__fails_with_0x_08lx
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.1400ce7c0
mov ebx, dword [rsp + 0x54]
lea rcx, [rsp + 0x128]
call fcn.14001e0e8
lea rdx, [rbx*2 + 2]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov rbx, rax
mov qword [rsp + 0x130], rax
test rax, rax
jne 0x14009b3ab
mov dword [rsp + 0x114], 0x8007000e
lea rdx, [0x140156368]
lea rcx, [rsp + 0x114]
call sub.msvcrt.dll__CxxThrowException
lea r9, [rsp + 0x54]
mov r8d, dword [rsp + 0x54]
mov rdx, rax
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
jne 0x14009b467
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5da
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rax + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14009b428
movzx ebx, ax
or ebx, 0x80070000
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14009b43a
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x28], ebx
lea rcx, [rsp + 0x3d0]
mov qword [rsp + 0x20], rcx
lea r9, str.GetVolumePathNamesForVolumeName__s__fails_with_0x_08lx
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.1400ce7c0
or rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp word [rbx + rcx*2], di
jne 0x14009b46e
test rcx, rcx
je 0x14009b523
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_DeleteVolumeMountPointW]
test eax, eax
jne 0x14009b505
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5e6
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rax + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, str.Fail_to_delete_mount_point__s_for_volume__s__winerror__d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140010920
or rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp word [rbx + rcx*2], di
jne 0x14009b50c
lea rbx, [rbx + rcx*2]
add rbx, 2
jne 0x14009b46b
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x108], rbx
inc rax
cmp word [rbx + rax*2], di
jne 0x14009b530
test rax, rax
je 0x14009b6e5
lea rdx, [rsp + 0x3d0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_1.dll_SetVolumeMountPointW]
test eax, eax
jne 0x14009b6bf
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5f6
mov dword [rsp + 0x7c], 6
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rax + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov r8, rbx
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x60]
call fcn.140022250
lea r8, [rsp + 0x3d0]
lea rdx, [rsp + 0x1d0]
mov rcx, rax
call fcn.140022250
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r8d, eax
lea rdx, [rsp + 0x320]
mov rcx, rbx
call fcn.14002234c
mov r9d, 1
mov r8, rax
mov edx, 0x3041
lea rcx, [rsp + 0x140]
call fcn.140010bcc
lea rcx, [rsp + 0x1d0]
call fcn.140019ca4
lea rcx, [rsp + 0x278]
call fcn.140019ca4
lea rcx, [rsp + 0x60]
call fcn.140019ca4
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5f8
mov dword [rsp + 0x7c], 6
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14009b67f
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x108]
mov r9, rbx
lea r8, str.SetVolumeMountPoint__s___s__fails_with_0x_08lx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140010920
mov dword [rsp + 0x110], 1
or rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp word [rbx + rcx*2], di
jne 0x14009b6c6
lea rbx, [rbx + rcx*2]
add rbx, 2
mov qword [rsp + 0x108], rbx
jne 0x14009b530
jmp 0x14009b714
mov ebx, dword [rsp + 0x148]
test ebx, ebx
jns 0x14009b790
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x606
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x3d0]
lea r8, str.Fail_to_restore_all_mount_points_for__s.__0_08lx_._Continuing.
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140010920
mov dword [rsp + 0x148], edi
mov ecx, edi
mov dword [rsp + 0x108], ecx
mov rax, qword [rsp + 0x118]
mov eax, dword [rax + 8]
test eax, eax
jle 0x14009bb01
mov rbx, rdi
test rbx, rbx
js 0x14009bafb
cmp ecx, eax
jge 0x14009bafb
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov word [rsp + 0x5e0], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x5e2]
call sub.msvcrt.dll_memset
movsxd rax, dword [rsp + 0x110]
or rdx, 0xffffffffffffffff
test rax, rax
mov rax, qword [rsp + 0x48]
lea rcx, [rbx + rax]
je 0x14009b81b
inc rdx
cmp word [rcx + rdx*2 + 8], di
jne 0x14009b807
lea r9, [rsp + 0x3d0]
jmp 0x14009b82a
inc rdx
cmp word [rcx + rdx*2 + 8], di
jne 0x14009b81b
mov r9, qword [rsp + 0x58]
mov rax, qword [rbx + rax]
mov rcx, qword [rax + 0x28]
lea rax, [rcx + rdx*2]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rsp + 0x5e0]
call fcn.140008be0
mov dword [rsp + 0x148], eax
mov ecx, eax
test eax, eax
js 0x14009ba94
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rbx + rdx]
xor r8d, r8d
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.srvcli.dll_NetShareDel]
mov dword [rsp + 0x50], eax
test eax, eax
je 0x14009b8f6
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x622
mov dword [rsp + 0x7c], 6
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x48]
mov r9, qword [rbx + rax]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9, qword [r9]
lea r8, str.NetShareDel__s__failed_with__d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140010920
mov rcx, qword [rsp + 0x48]
mov rax, qword [rbx + rcx]
mov rdx, qword [rax + 0x28]
mov qword [rsp + 0x40], rdx
lea r8, [rsp + 0x5e0]
mov qword [rax + 0x28], r8
xor r9d, r9d
mov r8, qword [rbx + rcx]
mov edx, 0x1f6
xor ecx, ecx
call qword [sym.imp.srvcli.dll_NetShareAdd]
mov dword [rsp + 0x50], eax
test eax, eax
je 0x14009ba56
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x62a
mov dword [rsp + 0x7c], 6
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x5e0]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x60]
call fcn.140022250
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x278]
mov rcx, rax
call fcn.14002234c
mov r9d, 1
mov r8, rax
mov edx, 0x3042
lea rcx, [rsp + 0x140]
call fcn.140010bcc
lea rcx, [rsp + 0x1d0]
call fcn.140019ca4
lea rcx, [rsp + 0x60]
call fcn.140019ca4
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x62b
mov dword [rsp + 0x7c], 6
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x48]
mov r9, qword [rbx + rax]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [r9]
lea r8, str.NetShareAdd__s___s__failed_with__d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140010920
mov rax, qword [rsp + 0x48]
mov rax, qword [rbx + rax]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x28], rcx
mov ecx, dword [rsp + 0x108]
inc ecx
mov dword [rsp + 0x108], ecx
add rbx, 0x210
mov rax, qword [rsp + 0x118]
mov eax, dword [rax + 8]
cmp ecx, eax
jl 0x14009b7af
jmp 0x14009bb01
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x61e
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r9, str.StringCchPrintfW__
mov r8d, dword [rsp + 0x148]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.1400cf12c
int3
call fcn.14006ada4
nop
lea rcx, [rsp + 0x128]
call fcn.14000384c
nop
lea rcx, [rsp + 0x140]
call fcn.140010ab0
mov rcx, qword [rsp + 0x7f0]
xor rcx, rsp
call fcn.1400305f0
mov rbx, qword [rsp + 0x830]
add rsp, 0x800
pop r15
pop r14
pop r13
pop r12
pop rdi
ret