Function at 0x140022cd0
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa30]
sub rsp, 0xb30
mov qword [rbp + 0x160], 0xfffffffffffffffe
mov qword [rsp + 0xb88], rbx
mov rax, qword [0x14016b400]
xor rax, rsp
mov qword [rbp + 0xa20], rax
movzx r12d, r9b
mov rdi, r8
mov qword [rbp - 0x80], r8
mov r15, rdx
mov r13, rcx
lea rax, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rbp - 0x70], rax
lea rax, str.CVssDeletingWriter::ExpandFilesProfile
mov qword [rbp - 0x68], rax
lea rax, str.WRTDELET
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], 0x2bc
mov dword [rbp - 0x54], 4
mov dword [rbp - 0x50], 0xff
xor ebx, ebx
mov dword [rbp + 0x30], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rbp - 0x48]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x170]
call fcn.14001cce0
nop
mov qword [rbp + 0x108], rbx
lea rsi, [0x1400f83c8]
mov qword [rbp + 0x100], rsi
mov qword [rbp + 0xf8], rbx
mov qword [rbp + 0xf0], 0x20019
lea r8, str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0xf0]
call fcn.1400179f0
test al, al
je 0x14002329b
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0xc0], rbx
mov qword [rbp + 0xc8], rbx
mov dword [rbp + 0xd0], ebx
mov qword [rbp + 0xe0], rbx
mov byte [rbp + 0xe8], bl
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0xc0]
call fcn.14002d184
mov r14d, dword [rbp + 0xc8]
mov esi, dword [rbp + 0xcc]
nop dword [rax]
nop word [rax + rax]
cmp esi, r14d
setae al
test al, al
jne 0x140023288
mov qword [rsp + 0x78], rbx
lea rax, [0x1400f83c8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], 0x20019
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0xc0]
call fcn.14002d300
mov rdx, rax
call fcn.140020d50
test al, al
je 0x140022ffb
mov qword [rsp + 0x58], rbx
lea rax, [0x1400f8090]
mov qword [rsp + 0x50], rax
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp - 0x70], rax
lea rax, str.CVssRegistryKey::Close
mov qword [rbp - 0x68], rax
lea rax, str.REGREGSC
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], 0x29c
mov dword [rbp - 0x54], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x50], 0xff
mov dword [rbp + 0x30], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x48]
call sub.msvcrt.dll_memset
mov dword [rbp + 0x58], ebx
mov rax, qword [rbp - 0x68]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp - 0x70]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp - 0x58]
mov dword [rbp + 0x70], eax
mov eax, dword [rbp - 0x54]
mov dword [rbp + 0x74], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rbp + 0x84], eax
mov dword [rbp + 0x54], 0xffffffff
mov eax, dword [rbp - 0x50]
mov dword [rbp + 0x88], eax
mov dword [rbp + 0x50], ebx
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rbx
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xa8], rbx
mov qword [rbp - 0x78], rbx
lea rcx, [rbp - 0x78]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x140054af4
lea rcx, [rbp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x140054af4
mov rax, qword [rbp - 0x78]
mov qword [rbp + 0xb0], rax
test rax, rax
je 0x140054b00
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp + 0x80], eax
mov ebx, RegisterTypeLib
cmp dword [rbp + 0x88], 0xff
cmovne ebx, dword [rbp + 0x88]
mov edi, dword [rbp + 0x74]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x140054b0b
cmp byte [rbp + 0x33], 0
je 0x140022fd6
lea rbx, [rbp - 0x48]
mov edi, 0xf
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140054b76
add rbx, 8
sub rdi, 1
jne 0x140022fc0
lea rcx, [rbp + 0x50]
call fcn.14001ce00
xor ebx, ebx
mov rdi, qword [rbp - 0x80]
cmp esi, r14d
jae 0x140022e23
inc esi
mov dword [rbp + 0xcc], esi
jmp 0x140022e20
lea rcx, [rbp + 0xc0]
call fcn.14002d300
mov qword [rsp + 0x20], rax
lea r9, str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList
lea r8, [0x1400fd5a8]
mov edx, 0x104
lea rcx, [rbp + 0x3f0]
call fcn.140027130
mov dword [rbp + 0x178], eax
test eax, eax
js 0x140054c62
lea r8, [rbp + 0x3f0]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.1400179f0
test al, al
je 0x140054c62
mov qword [rsp + 0x58], rbx
lea r8, [rsp + 0x58]
lea rdx, str.ProfileImagePath
lea rcx, [rsp + 0x60]
call fcn.140018560
test al, al
je 0x140054c62
mov r8d, 0x104
lea rdx, [rbp + 0x1e0]
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumePathNameW]
test eax, eax
je 0x140054c87
mov r8d, 0x104
lea rdx, [rbp + 0x810]
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x140054b88
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x1400fd5a8]
mov edx, 0x104
lea rcx, [rbp + 0x600]
call fcn.140027130
mov dword [rbp + 0x178], eax
test eax, eax
js 0x140054cf8
xor eax, eax
mov qword [rbp + 0x48], rax
lea rax, [0x1400f83f8]
mov qword [rbp + 0x40], rax
lea rdx, [rbp + 0x600]
lea rcx, [rbp + 0x40]
call fcn.140018d90
mov rax, qword [r15 + 0x20]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rax
mov rdi, qword [rbp + 0x48]
mov qword [rsp + 0x28], rdi
mov rax, qword [rbp + 0xa98]
mov qword [rsp + 0x20], rax
movzx edx, byte [r15]
lea rcx, [rbp + 0x110]
call fcn.1400173b0
nop
movzx eax, byte [rbp + 0xa90]
mov byte [rsp + 0x30], al
mov rax, qword [rbp + 0xaa8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xaa0]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0xab0]
movzx r8d, r12b
lea rdx, [rbp + 0x110]
mov rcx, r13
call fcn.140021a60
nop
lea rax, [0x1400f83f8]
mov qword [rbp + 0x140], rax
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x1400231a6
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
xor eax, eax
mov qword [rbp + 0x148], rax
lea rcx, [0x1400f8090]
mov qword [rbp + 0x140], rcx
lea rcx, [0x1400f83f8]
mov qword [rbp + 0x128], rcx
mov rcx, qword [rbp + 0x130]
test rcx, rcx
je 0x1400231df
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
xor eax, eax
mov qword [rbp + 0x130], rax
lea rcx, [0x1400f8090]
mov qword [rbp + 0x128], rcx
lea rcx, [0x1400f83f8]
mov qword [rbp + 0x118], rcx
mov rcx, qword [rbp + 0x120]
test rcx, rcx
je 0x140023216
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
xor eax, eax
mov qword [rbp + 0x120], rax
lea rcx, [0x1400f8090]
mov qword [rbp + 0x118], rcx
test rdi, rdi
je 0x14002323b
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
xor eax, eax
mov qword [rbp + 0x48], rax
lea rax, [0x1400f8090]
mov qword [rbp + 0x40], rax
test rbx, rbx
je 0x140023258
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
xor ebx, ebx
mov qword [rsp + 0x58], rbx
lea rax, [0x1400f8090]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x60]
call fcn.1400181d0
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140022fe1
jmp 0x140054d1e
mov rcx, qword [rbp + 0xe0]
test rcx, rcx
je 0x14002329b
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop
lea rcx, [rbp + 0xf0]
call fcn.1400181d0
mov rcx, qword [rbp + 0x108]
test rcx, rcx
jne 0x1400232e9
lea rcx, [rbp + 0x170]
call fcn.14001ce00
mov rcx, qword [rbp + 0xa20]
xor rcx, rsp
call fcn.1400321c0
mov rbx, qword [rsp + 0xb88]
add rsp, 0xb30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop
jmp 0x1400232b3
mov rax, qword [rbp + 0xb0]
jmp 0x140022f6c
mov dword [rbp + 0x80], ebx
jmp 0x140022f80
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140022fa7
lea rcx, [rbp + 0x50]
call fcn.1400dde58
cmp dword [rbp + 0x50], 0
je 0x140022fa7
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x74]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x80]
mov r8d, dword [rbp + 0x70]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x140022fa7
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], 0
jmp 0x140022fcc
lea rax, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rbp - 0x70], rax
lea rax, str.CVssDeletingWriter::ExpandFilesProfile
mov qword [rbp - 0x68], rax
lea rax, str.WRTDELET
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], 0x2f0
mov dword [rbp - 0x54], 4
mov dword [rbp - 0x50], 0xff
xor ebx, ebx
mov dword [rbp + 0x30], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rbp - 0x48]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x1e0]
lea r8, str.GetVolumeNameForVolumeMountPoint__s__failed_with__d
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x170]
call fcn.14001cc70
lea rax, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rbp - 0x70], rax
lea rax, str.CVssDeletingWriter::ExpandFilesProfile
mov qword [rbp - 0x68], rax
lea rax, str.WRTDELET
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], 0x2f5
mov dword [rbp - 0x54], 4
mov dword [rbp - 0x50], 0xff
mov dword [rbp + 0x30], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rbp - 0x48]
call sub.msvcrt.dll_memset
lea r8, str.This_might_not_be_a_local_volume
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x170]
call fcn.14001cc70
nop
lea rcx, [rsp + 0x50]
call fcn.140014130
nop
lea rcx, [rsp + 0x60]
call fcn.1400181d0
lea rcx, [rsp + 0x70]
call fcn.140014130
nop
jmp 0x140022fe5
lea rax, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rbp - 0x70], rax
lea rax, str.CVssDeletingWriter::ExpandFilesProfile
mov qword [rbp - 0x68], rax
lea rax, str.WRTDELET
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], 0x2e5
mov dword [rbp - 0x54], 4
mov dword [rbp - 0x50], 0xff
mov dword [rbp + 0x30], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x48]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, str.GetVolumePathName__s__failed_with__d
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x170]
call fcn.14001cc70
nop
lea rcx, [rsp + 0x50]
call fcn.140014130
nop
lea rcx, [rsp + 0x60]
call fcn.1400181d0
lea rcx, [rsp + 0x70]
call fcn.140014130
xor ebx, ebx
jmp 0x140022fe5
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop
jmp 0x140022fe1