Function at 0x140084a6c
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 qword [r11 + 0x10], rsi
mov rax, qword [0x1401543b0]
xor rax, rsp
mov qword [rsp + 0x7f0], rax
mov rax, r9
mov qword [rsp + 0x58], rax
mov rbx, rdx
mov qword [rsp + 0x120], r8
mov qword [rsp + 0x40], 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], 0x59c
mov esi, 1
mov dword [rsp + 0x7c], esi
mov r13d, 0xff
mov dword [r11 - 0x7a8], r13d
xor edi, edi
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x77]
lea rcx, [r11 - 0x7a0]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.140003840
nop
mov dword [rsp + 0x50], edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x3d0]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x1b0], rdi
lea rax, [0x1400e53d8]
mov qword [rsp + 0x1a8], rax
mov r8, rbx
lea edx, [r13 + 5]
lea rcx, [rsp + 0x3d0]
call fcn.14001ec98
mov dword [rsp + 0x138], eax
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5a9
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], r13d
mov dword [rsp + 0x100], 0x1000000
lea ebx, [rsi + 0x77]
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 + 0x130]
call fcn.140013fdc
lea rcx, [rsp + 0x3d0]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x140084be6
movzx eax, ax
sub eax, esi
cdqe
cmp word [rsp + rax*2 + 0x3d0], 0x5c
je 0x140084c7a
lea r8, [0x1400e84e8]
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call fcn.14004b4c0
mov dword [rsp + 0x138], eax
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5b2
mov dword [rsp + 0x7c], esi
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 + 0x130]
call fcn.140013fdc
mov eax, edi
mov rcx, qword [rsp + 0x58]
test rcx, rcx
sete al
mov dword [rsp + 0x108], eax
test rcx, rcx
je 0x1400850c2
lea r9, [rsp + 0x50]
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 0x140084d54
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5c7
mov dword [rsp + 0x7c], esi
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 0x140084d15
movzx ebx, ax
or ebx, 0x80070000
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x140084d27
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 + 0x130]
call fcn.1400b8238
mov edx, dword [rsp + 0x50]
lea rdx, [rdx*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 + 0x1b0], rax
test rax, rax
jne 0x140084d97
mov dword [rsp + 0x118], 0x8007000e
lea rdx, [0x140150690]
lea rcx, [rsp + 0x118]
call sub.msvcrt.dll__CxxThrowException
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x50]
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 0x140084e4f
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5cf
mov dword [rsp + 0x7c], esi
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 0x140084e10
movzx ebx, ax
or ebx, 0x80070000
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x140084e22
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 + 0x130]
call fcn.1400b8238
or rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp word [rbx + rcx*2], di
jne 0x140084e56
test rcx, rcx
je 0x140084f07
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_DeleteVolumeMountPointW]
test eax, eax
jne 0x140084ee9
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5db
mov dword [rsp + 0x7c], esi
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 + 0x130]
call fcn.1400037d0
or rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp word [rbx + rcx*2], di
jne 0x140084ef0
lea rbx, [rbx + rcx*2]
add rbx, 2
jne 0x140084e53
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x110], rbx
inc rax
cmp word [rbx + rax*2], di
jne 0x140084f14
test rax, rax
je 0x1400850c2
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 0x14008509c
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5eb
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.14000cdf0
lea r8, [rsp + 0x3d0]
lea rdx, [rsp + 0x1d0]
mov rcx, rax
call fcn.14000cdf0
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.14000cf60
mov r9d, esi
mov r8, rax
mov edx, 0x3041
lea rcx, [rsp + 0x130]
call fcn.140003a80
lea rcx, [rsp + 0x1d0]
call fcn.14000d0f4
lea rcx, [rsp + 0x278]
call fcn.14000d0f4
lea rcx, [rsp + 0x60]
call fcn.14000d0f4
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5ed
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 0x140085060
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x110]
mov r9, rbx
lea r8, str.SetVolumeMountPoint__s___s__fails_with_0x_08lx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.1400037d0
mov dword [rsp + 0x108], esi
or rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp word [rbx + rcx*2], di
jne 0x1400850a3
lea rbx, [rbx + rcx*2]
add rbx, 2
mov qword [rsp + 0x110], rbx
jne 0x140084f14
jmp 0x1400850f4
mov ebx, dword [rsp + 0x138]
test ebx, ebx
jns 0x14008516c
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x5fb
mov dword [rsp + 0x7c], esi
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 + 0x130]
call fcn.1400037d0
mov dword [rsp + 0x138], edi
mov ecx, edi
mov dword [rsp + 0x110], ecx
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 8]
test eax, eax
jle 0x1400854ce
mov rbx, rdi
test rbx, rbx
js 0x1400854c8
cmp ecx, eax
jge 0x1400854c8
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x5e0]
call sub.msvcrt.dll_memset
movsxd rax, dword [rsp + 0x108]
or rdx, 0xffffffffffffffff
test rax, rax
mov rax, qword [rsp + 0x40]
lea rcx, [rbx + rax]
je 0x1400851ef
inc rdx
cmp word [rcx + rdx*2 + 8], di
jne 0x1400851db
lea r9, [rsp + 0x3d0]
jmp 0x1400851fe
inc rdx
cmp word [rcx + rdx*2 + 8], di
jne 0x1400851ef
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.140006550
mov dword [rsp + 0x138], eax
mov ecx, eax
test eax, eax
js 0x140085465
mov rdx, qword [rsp + 0x40]
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 + 0x54], eax
test eax, eax
je 0x1400852ca
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x617
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 + 0x40]
mov r9, qword [rbx + rax]
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
mov r9, qword [r9]
lea r8, str.NetShareDel__s__failed_with__d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.1400037d0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rbx + rcx]
mov rdx, qword [rax + 0x28]
mov qword [rsp + 0x48], 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 + 0x54], eax
test eax, eax
je 0x140085427
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x61f
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.14000cdf0
mov r8d, dword [rsp + 0x54]
lea rdx, [rsp + 0x278]
mov rcx, rax
call fcn.14000cf60
mov r9d, esi
mov r8, rax
mov edx, 0x3042
lea rcx, [rsp + 0x130]
call fcn.140003a80
lea rcx, [rsp + 0x1d0]
call fcn.14000d0f4
lea rcx, [rsp + 0x60]
call fcn.14000d0f4
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x620
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 + 0x40]
mov r9, qword [rbx + rax]
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
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 + 0x130]
call fcn.1400037d0
mov rax, qword [rsp + 0x40]
mov rax, qword [rbx + rax]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x28], rcx
mov ecx, dword [rsp + 0x110]
add ecx, esi
mov dword [rsp + 0x110], ecx
add rbx, 0x210
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 8]
cmp ecx, eax
jl 0x14008518b
jmp 0x1400854ce
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], 0x613
mov dword [rsp + 0x7c], esi
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 + 0x138]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.1400b8b90
int3
call fcn.1400514b8
nop
lea rcx, [rsp + 0x1a8]
call fcn.14003e9d8
nop
lea rcx, [rsp + 0x130]
call fcn.140003960
mov rcx, qword [rsp + 0x7f0]
xor rcx, rsp
call fcn.14001ff30
lea r11, [rsp + 0x800]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret