Function at 0x140018c54
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400541a0]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rdx
xor r15d, r15d
mov dword [rbp - 0x78], r15d
lea rax, [rbp - 0x70]
mov qword [rsp + 0x58], rax
lea r12d, [r15 + 7]
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x60], r15
mov word [rbp - 0x70], r15w
lea edi, [r15 + 0x20]
mov r8d, edi
lea rdx, str.GetUniqueVolumeNameForMountPoint
lea rcx, [rbp - 0x70]
call fcn.140002d18
nop
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x40], r15
mov word [rbp - 0x50], r15w
lea r14d, [r15 + 0x22]
mov r8d, r14d
lea rdx, str.base_stor_vss_tools_vshadowutil.h
lea rcx, [rbp - 0x50]
call fcn.140002d18
nop
lea r9, [rbp - 0x70]
mov r8d, 0x131
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x30]
call fcn.140002028
nop
lea rax, [rsp + 0x60]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
lea r8d, [r15 + 0x1c]
lea rdx, str.__Get_volume_name_for__s_...
lea rcx, [rsp + 0x60]
call fcn.140002d18
nop
mov qword [rbp], r12
mov qword [rbp - 8], r15
mov word [rbp - 0x18], r15w
mov r8d, edi
lea rdx, str.GetUniqueVolumeNameForMountPoint
lea rcx, [rbp - 0x18]
call fcn.140002d18
nop
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
mov r8d, r14d
lea rdx, str.base_stor_vss_tools_vshadowutil.h
lea rcx, [rsp + 0x38]
call fcn.140002d18
cmp qword [rsi + 0x18], 8
jb 0x140018d9b
mov rax, qword [rsi]
jmp 0x140018d9e
mov rax, rsi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x18]
mov r8d, 0x135
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x30]
call fcn.140001cb4
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140002c28
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x18]
call fcn.140012880
mov rdi, rax
cmp rsi, rax
je 0x140018e2c
cmp qword [rsi + 0x18], 8
jb 0x140018e15
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rsi + 0x18], r12
mov qword [rsi + 0x10], r15
mov word [rsi], r15w
mov rdx, rdi
mov rcx, rsi
call fcn.140002ac8
cmp qword [rbp], 8
jb 0x140018e43
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x18], r15
mov word [rbp + 8], r15w
xor r8d, r8d
mov r14d, 0x104
mov edx, r14d
lea rcx, [rbp + 8]
call fcn.140003718
lea rdi, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rdi, qword [rbp + 8]
movzx eax, r15w
mov ecx, r14d
rep stosw word [rdi], ax
mov qword [rbp + 0x18], r14
lea rax, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rax, qword [rbp + 8]
mov word [rax + 0x208], r15w
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x38]
call fcn.140003678
cmp qword [rsi + 0x18], 8
jb 0x140018eb1
mov rcx, qword [rsi]
jmp 0x140018eb4
mov rcx, rsi
mov r8d, dword [rbp + 0x18]
mov rdx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
mov edi, eax
lea rcx, [rsp + 0x38]
call fcn.140003414
test edi, edi
jne 0x140018fb5
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x18]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
lea r8d, [rdi + 0x19]
lea rdx, str.Executing_Win32_call__s
lea rcx, [rsp + 0x38]
call fcn.140002d18
nop
mov qword [rbp], r12
mov qword [rbp - 8], r15
mov word [rbp - 0x18], r15w
lea r8d, [rdi + 0x20]
lea rdx, str.GetUniqueVolumeNameForMountPoint
lea rcx, [rbp - 0x18]
call fcn.140002d18
nop
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
lea r8d, [rdi + 0x22]
lea rdx, str.base_stor_vss_tools_vshadowutil.h
lea rcx, [rsp + 0x60]
call fcn.140002d18
nop
lea rax, str._GetVolumeNameForVolumeMountPointW__LPCWSTR_mountPoint.c_str____WString2Buffer_volumeName____DWORD_volumeName.length____
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x18]
mov r8d, 0x13c
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x30]
call fcn.140001cb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
jne 0x1400193c8
mov r14d, 0x104
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x18]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
mov r8d, 0x25
lea rdx, str.__Volume_name_for_mount_point:__s_...
lea rcx, [rsp + 0x38]
call fcn.140002d18
nop
mov qword [rbp], r12
mov qword [rbp - 8], r15
mov word [rbp - 0x18], r15w
mov r8d, 0x20
lea rdx, str.GetUniqueVolumeNameForMountPoint
lea rcx, [rbp - 0x18]
call fcn.140002d18
nop
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
mov r8d, 0x22
lea rdx, str.base_stor_vss_tools_vshadowutil.h
lea rcx, [rsp + 0x60]
call fcn.140002d18
lea rax, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rax, qword [rbp + 8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x18]
mov r8d, 0x13d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x30]
call fcn.140001cb4
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
mov rax, qword [rbx + 0x18]
cmp rax, r14
jae 0x140019096
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.140003718
mov rax, qword [rbx + 0x18]
cmp rax, 8
jb 0x1400190a1
mov rdi, qword [rbx]
jmp 0x1400190a4
mov rdi, rbx
movzx eax, r15w
mov rcx, r14
rep stosw word [rdi], ax
mov qword [rbx + 0x10], r14
cmp qword [rbx + 0x18], 8
jb 0x1400190be
mov rax, qword [rbx]
jmp 0x1400190c1
mov rax, rbx
mov word [rax + 0x208], r15w
mov dword [rbp - 0x78], 1
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140003678
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rcx, qword [rbp + 8]
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
mov edi, eax
lea rcx, [rsp + 0x38]
call fcn.140003414
test edi, edi
jne 0x1400191e6
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x18]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
lea r8d, [rdi + 0x19]
lea rdx, str.Executing_Win32_call__s
lea rcx, [rsp + 0x38]
call fcn.140002d18
nop
mov qword [rbp], r12
mov qword [rbp - 8], r15
mov word [rbp - 0x18], r15w
lea r8d, [rdi + 0x20]
lea rdx, str.GetUniqueVolumeNameForMountPoint
lea rcx, [rbp - 0x18]
call fcn.140002d18
nop
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
lea r8d, [rdi + 0x22]
lea rdx, str.base_stor_vss_tools_vshadowutil.h
lea rcx, [rsp + 0x60]
call fcn.140002d18
nop
lea rax, str._GetVolumeNameForVolumeMountPointW__LPCWSTR_volumeName.c_str____WString2Buffer_volumeUniqueName____DWORD_volumeUniqueName.length____
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x18]
mov r8d, 0x141
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x30]
call fcn.140001cb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
jne 0x14001930c
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x18]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
mov r8d, AtlComPtrAssign
lea rdx, str.__Unique_volume_name:__s_...
lea rcx, [rsp + 0x38]
call fcn.140002d18
nop
mov qword [rbp], r12
mov qword [rbp - 8], r15
mov word [rbp - 0x18], r15w
mov r8d, 0x20
lea rdx, str.GetUniqueVolumeNameForMountPoint
lea rcx, [rbp - 0x18]
call fcn.140002d18
nop
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
mov r8d, 0x22
lea rdx, str.base_stor_vss_tools_vshadowutil.h
lea rcx, [rsp + 0x60]
call fcn.140002d18
cmp qword [rbx + 0x18], 8
jb 0x140019277
mov rax, qword [rbx]
jmp 0x14001927a
mov rax, rbx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x18]
mov r8d, 0x142
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x30]
call fcn.140001cb4
nop
cmp qword [rbp + 0x20], 8
jb 0x1400192b9
mov rcx, qword [rbp + 8]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x18], r15
mov word [rbp + 8], r15w
lea rcx, [rbp + 0x30]
call fcn.1400021d4
nop
xor r8d, r8d
mov dl, 1
mov rcx, rsi
call fcn.140003a0c
mov rax, rbx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140032b80
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rdx, str._nERROR:_Win32_call__s_failed.
lea rcx, [rsp + 0x38]
call fcn.140002e00
lea r8, str._GetVolumeNameForVolumeMountPointW__LPCWSTR_volumeName.c_str____WString2Buffer_volumeUniqueName____DWORD_volumeUniqueName.length____
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140001a50
lea rdx, str.__GetLastError_____ld
lea rcx, [rsp + 0x38]
call fcn.140002e00
mov r8d, edi
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140001a50
mov edx, r14d
lea rcx, [rbp - 0x18]
call fcn.14000231c
mov rbx, rax
lea rdx, str.__Error_text:__s
lea rcx, [rsp + 0x38]
call fcn.140002e00
mov rdi, rax
mov rcx, rbx
call fcn.140003700
mov r8, rax
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.140001a50
nop
lea rcx, [rbp - 0x18]
call fcn.140003a84
lea rdx, str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
lea rcx, [rsp + 0x38]
call fcn.140002e00
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140001a50
mov dword [rsp + 0x58], r14d
lea rdx, [0x140052a88]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll__CxxThrowException
int3
lea rdx, str._nERROR:_Win32_call__s_failed.
lea rcx, [rsp + 0x38]
call fcn.140002e00
lea r8, str._GetVolumeNameForVolumeMountPointW__LPCWSTR_mountPoint.c_str____WString2Buffer_volumeName____DWORD_volumeName.length____
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140001a50
lea rdx, str.__GetLastError_____ld
lea rcx, [rsp + 0x38]
call fcn.140002e00
mov r8d, edi
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140001a50
mov edx, r14d
lea rcx, [rbp - 0x18]
call fcn.14000231c
mov rbx, rax
lea rdx, str.__Error_text:__s
lea rcx, [rsp + 0x38]
call fcn.140002e00
mov rdi, rax
mov rcx, rbx
call fcn.140003700
mov r8, rax
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.140001a50
nop
lea rcx, [rbp - 0x18]
call fcn.140003a84
lea rdx, str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
lea rcx, [rsp + 0x38]
call fcn.140002e00
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140001a50
mov dword [rsp + 0x58], r14d
lea rdx, [0x140052a88]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll__CxxThrowException
int3