Function at 0x140010494
Capabilities:
Enumerate disk volumes
Get disk information
Get disk size

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xaa0
mov qword [r11 - 0x830], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x14007c478]
xor rax, rsp
mov qword [rsp + 0xa98], rax
mov r15, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0xa0], r8
lea rax, str.base_stor_vss_tools_vssagent_vsdoc.cpp
mov qword [r11 - 0x798], rax
lea rax, str.CVssXmlDiagDocument::GetMpMVolumes
mov qword [r11 - 0x790], rax
lea rax, str.TST__
mov qword [r11 - 0x788], rax
mov dword [rsp + 0x348], 0x67b
mov dword [rsp + 0x34c], 9
mov dword [rsp + 0x350], 0xdc
xor edi, edi
mov dword [rsp + 0x3d0], 0x1000000
xor edx, edx
lea r8d, [rdi + 0x78]
lea rcx, [r11 - 0x770]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x1f0]
call fcn.14004058c
nop
lea rax, str.Volumes_and_Shadow_Copies
test rbx, rbx
cmove rbx, rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, str.MpMVolumeNames
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.14001f25c
nop
or r14, 0xffffffffffffffff
mov rbx, r14
mov qword [rsp + 0x88], rbx
lea rdx, str.__Getting_the_list_of_volumes_and_shadow_copies...
lea rcx, [rsp + 0x1f0]
call fcn.140041860
nop
mov r12b, 1
test r12b, r12b
je 0x1400105e9
mov r12b, dil
mov edx, 0x105
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x88], rax
cmp rax, r14
je 0x140011189
jmp 0x140010624
mov r8d, 0x105
lea rdx, [rsp + 0x480]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
nop dword [rax + rax]
test eax, eax
jne 0x140010624
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
jne 0x1400111da
jmp 0x140011036
mov qword [rsp + 0x2d8], 7
mov qword [rsp + 0x2d0], rdi
mov word [rsp + 0x2c0], di
lea rax, [rsp + 0x480]
mov r8, r14
inc r8
cmp word [rax + r8*2], di
jne 0x14001064b
lea rdx, [rsp + 0x480]
lea rcx, [rsp + 0x2b8]
call fcn.140021944
nop
lea rcx, [rsp + 0x2c0]
cmp qword [rsp + 0x2d8], 8
cmovae rcx, qword [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
nop dword [rax + rax]
cmp eax, 3
je 0x1400106b7
cmp qword [rsp + 0x2d8], 8
jb 0x1400105b2
mov rcx, qword [rsp + 0x2c0]
call fcn.1400434b8
jmp 0x1400105b2
lea rcx, [rsp + 0x480]
mov rax, r14
inc rax
cmp word [rcx + rax*2], di
jne 0x1400106c2
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x1400112fb
mov word [rsp + rax + 0x480], di
mov r8d, reloc.OLEAUT32.dll_SetErrorInfo
lea rdx, [rsp + 0x690]
lea rcx, [rsp + 0x488]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
nop dword [rax + rax]
test eax, eax
je 0x140010696
lea rax, str.base_stor_vss_tools_vssagent_vsdoc.cpp
mov qword [rsp + 0xb0], rax
lea rax, str.CVssXmlDiagDocument::GetMpMVolumes
mov qword [rsp + 0xb8], rax
lea rax, str.TST__
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xc8], 0x6b6
mov dword [rsp + 0xcc], 9
mov dword [rsp + 0xd0], 0xdc
mov dword [rsp + 0x150], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xd8]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x690]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x480]
lea r8, str.Device_mapping:__s____s_n
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x1f0]
call fcn.140041324
mov r8d, 0x64
lea rdx, [rsp + 0x820]
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
nop dword [rax + rax]
test eax, eax
jne 0x1400107e7
lea r8, str._none_
lea edx, [rax + 0x64]
lea rcx, [rsp + 0x820]
call fcn.140002de8
lea rcx, [rsp + 0x2c0]
cmp qword [rsp + 0x2d8], 8
cmovae rcx, qword [rsp + 0x2c0]
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0x168]
lea rdx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
test eax, eax
je 0x14001122c
movabs rax, 0x5700410052
mov qword [rsp + 0x3e0], rax
xor edx, edx
mov r8d, 0x98
lea rcx, [rsp + 0x3e8]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x58], edi
lea rcx, [rsp + 0x2c0]
cmp qword [rsp + 0x2d8], 8
cmovae rcx, qword [rsp + 0x2c0]
mov edx, 0x50
mov dword [rsp + 0x38], edx
lea rax, [rsp + 0x3e0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
mov r8d, edx
lea rdx, [rsp + 0x330]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
nop dword [rax + rax]
test eax, eax
jne 0x140010974
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea rax, str.base_stor_vss_tools_vssagent_vsdoc.cpp
mov qword [rsp + 0xb0], rax
lea rax, str.CVssXmlDiagDocument::GetMpMVolumes
mov qword [rsp + 0xb8], rax
lea rax, str.TST__
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xc8], 0x6d8
mov dword [rsp + 0xcc], 9
mov dword [rsp + 0xd0], 0xdc
mov dword [rsp + 0x150], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xd8]
call sub.msvcrt.dll_memset
lea r9, [rsp + 0x2c0]
cmp qword [rsp + 0x2d8], 8
cmovae r9, qword [rsp + 0x2c0]
lea r8, str.GetVolumeInformation__s_
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x1f0]
call fcn.140041324
lea r9, [rsp + 0x690]
lea r8, str._GLOBALROOT_s
mov edx, reloc.OLEAUT32.dll_SetErrorInfo
lea rcx, [rsp + 0x8f0]
call fcn.140002d64
mov dword [rsp + 0x1f8], eax
test eax, eax
js 0x14001128d
mov qword [rsp + 0x290], 7
mov qword [rsp + 0x288], rdi
mov word [rsp + 0x278], di
lea rax, [rsp + 0x690]
mov r8, r14
inc r8
cmp word [rax + r8*2], di
jne 0x1400109cb
lea rdx, [rsp + 0x690]
lea rcx, [rsp + 0x270]
call fcn.140021944
lea r8, [rsp + 0x270]
lea rdx, [rsp + 0x308]
mov rcx, rsi
call fcn.14001c440
nop
lea rdx, [rax + 8]
cmp qword [rax + 0x20], 8
jb 0x140010a11
mov rdx, qword [rdx]
mov qword [rsp + 0x300], 7
mov qword [rsp + 0x2f8], rdi
mov word [rsp + 0x2e8], di
mov r8, r14
inc r8
cmp word [rdx + r8*2], di
jne 0x140010a30
lea rcx, [rsp + 0x2e0]
call fcn.140021944
nop
cmp qword [rsp + 0x328], 8
jb 0x140010a60
mov rcx, qword [rsp + 0x310]
call fcn.1400434b8
mov qword [rsp + 0x328], 7
mov qword [rsp + 0x320], rdi
mov word [rsp + 0x310], di
lea rax, [rsp + 0x2e8]
cmp qword [rsp + 0x300], 8
cmovae rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x480]
mov qword [rsp + 0x28], rax
lea rax, str._s___s_
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, str.Volume
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14001f25c
nop
lea r8, [rsp + 0x690]
lea rdx, str.Volume.Device
lea rcx, [rsp + 0x48]
call fcn.140004f4c
lea r8, [rsp + 0x2e8]
cmp qword [rsp + 0x300], 8
cmovae r8, qword [rsp + 0x2e8]
lea rdx, str.Volume.DriveLetter
lea rcx, [rsp + 0x48]
call fcn.140004f4c
lea r8, [rsp + 0x480]
lea rdx, str.Volume.Name
lea rcx, [rsp + 0x48]
call fcn.140004f4c
lea r8, [rsp + 0x820]
lea rdx, str.Volume.UniqueName
lea rcx, [rsp + 0x48]
call fcn.140004f4c
lea rax, [rsp + 0x170]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x170], rcx
test rcx, rcx
je 0x140010b72
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x178], rcx
test rcx, rcx
je 0x140010b92
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rax, qword [rsp + 0x160]
cqo
and edx, 0xfffff
add rax, rdx
sar rax, 0x14
mov qword [rsp + 0x20], rax
lea r9, str._I64d_Mb
lea r8, str.Volume.FreeBytesAvailable
lea rdx, [rsp + 0x170]
mov rcx, rsi
call fcn.14001f4fc
lea rax, [rsp + 0x180]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x180], rcx
test rcx, rcx
je 0x140010bf9
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x188], rcx
test rcx, rcx
je 0x140010c19
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rax, qword [rsp + 0x168]
cqo
and edx, 0xfffff
add rax, rdx
sar rax, 0x14
mov qword [rsp + 0x20], rax
lea r9, str._I64d_Mb
lea r8, str.Volume.TotalNumberOfBytes
lea rdx, [rsp + 0x180]
mov rcx, rsi
call fcn.14001f4fc
lea rax, [rsp + 0x190]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x190], rcx
test rcx, rcx
je 0x140010c80
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x198], rcx
test rcx, rcx
je 0x140010ca0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rax, qword [rsp + 0xa8]
cqo
and edx, 0xfffff
add rax, rdx
sar rax, 0x14
mov qword [rsp + 0x20], rax
lea r9, str._I64d_Mb
lea r8, str.Volume.TotalNumberOfFreeBytes
lea rdx, [rsp + 0x190]
mov rcx, rsi
call fcn.14001f4fc
lea r8, [rsp + 0x330]
lea rdx, str.Volume.Label
lea rcx, [rsp + 0x48]
call fcn.140004f4c
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x1a0], rcx
test rcx, rcx
je 0x140010d20
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x1a8], rcx
test rcx, rcx
je 0x140010d40
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
lea r9, str.0x_08lx
lea r8, str.Volume.SerialNumber
lea rdx, [rsp + 0x1a0]
mov rcx, rsi
call fcn.14001f4fc
lea r8, [rsp + 0x3e0]
lea rdx, str.FileSystem.Type
lea rcx, [rsp + 0x48]
call fcn.140004f4c
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x1b0], rcx
test rcx, rcx
je 0x140010daf
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x1b8], rcx
test rcx, rcx
je 0x140010dcf
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov ecx, dword [rsp + 0x58]
bt ecx, 0x13
lea rdx, str.TRUE
lea rax, str.FALSE
cmovb rax, rdx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
lea r9, str.0x_08lx__ReadOnly:__s_
lea r8, str.FileSystem.Flags
lea rdx, [rsp + 0x1b0]
mov rcx, rsi
call fcn.14001f4fc
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x1c0], rcx
test rcx, rcx
je 0x140010e3d
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x1c8], rcx
test rcx, rcx
je 0x140010e5d
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
lea r8, [rsp + 0x1c0]
lea rdx, [rsp + 0x8f0]
mov rcx, rsi
call fcn.140013400
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x1d0], rcx
test rcx, rcx
je 0x140010ea2
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x1d8], rcx
test rcx, rcx
je 0x140010ec2
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
lea r8, [rsp + 0x2c0]
cmp qword [rsp + 0x2d8], 8
cmovae r8, qword [rsp + 0x2c0]
lea rdx, [rsp + 0x1d0]
mov rcx, rsi
call fcn.140011308
mov dword [rsp + 0x1f8], eax
test eax, eax
jns 0x140010f61
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x60], rcx
test rcx, rcx
je 0x140010f1e
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x140010f3b
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov eax, dword [rsp + 0x1f8]
mov dword [rsp + 0x20], eax
lea r9, str.0x_08lx
lea r8, str.FAILURE_GetVolsnapSnapshots
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14001f4fc
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x70]
call fcn.140005fe8
nop
mov rcx, qword [rsp + 0x268]
test rcx, rcx
je 0x140010f94
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x260]
test rcx, rcx
je 0x140010faf
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140010fc7
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140010fdf
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
cmp qword [rsp + 0x300], 8
jb 0x140010ff7
mov rcx, qword [rsp + 0x2e8]
call fcn.1400434b8
mov qword [rsp + 0x300], 7
mov qword [rsp + 0x2f8], rdi
mov word [rsp + 0x2e8], di
jmp 0x140010696
cmp rbx, r14
je 0x14001104a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
nop dword [rax + rax]
cmp dword [rsp + 0x1f8], edi
jge 0x1400110bd
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x60], rcx
test rcx, rcx
je 0x14001107a
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x140011097
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov eax, dword [rsp + 0x1f8]
mov dword [rsp + 0x20], eax
lea r9, str.Error:_0x_08lx
lea r8, str.FAILURE_GetMpMVolumes
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14001f4fc
test r15, r15
jne 0x140011115
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x60], rcx
test rcx, rcx
je 0x1400110e9
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x140011106
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14001f468
jmp 0x140011123
lea r8, [rsp + 0x70]
mov rdx, r15
call fcn.14002bf68
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14001113b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140011153
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
lea rcx, [rsp + 0x1f0]
call fcn.1400406a0
mov rcx, qword [rsp + 0xa98]
xor rcx, rsp
call fcn.1400438c0
mov rbx, qword [rsp + 0xad8]
add rsp, 0xaa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0x696
lea r9, str.CVssXmlDiagDocument::GetMpMVolumes
lea r8, str.TST__
lea rdx, str.base_stor_vss_tools_vssagent_vsdoc.cpp
lea rcx, [rsp + 0xb0]
call fcn.1400400dc
lea r8, str.FindFirstVolumeW__
mov rdx, rax
lea rcx, [rsp + 0x1f0]
call fcn.140041e40
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0x6a0
lea r9, str.CVssXmlDiagDocument::GetMpMVolumes
lea r8, str.TST__
lea rdx, str.base_stor_vss_tools_vssagent_vsdoc.cpp
lea rcx, [rsp + 0xb0]
call fcn.1400400dc
lea r8, str.FindNextVolumeW__
mov rdx, rax
lea rcx, [rsp + 0x1f0]
call fcn.140041e40
nop
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0x6c7
lea r9, str.CVssXmlDiagDocument::GetMpMVolumes
lea r8, str.TST__
lea rdx, str.base_stor_vss_tools_vssagent_vsdoc.cpp
lea rcx, [rsp + 0xb0]
call fcn.1400400dc
mov rdx, rax
lea rcx, [rsp + 0x2b8]
call fcn.140020b00
mov r9, rax
lea r8, str.GetFreeSpaceEx__s_
lea rcx, [rsp + 0x1f0]
call fcn.140041e40
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0x6df
lea r9, str.CVssXmlDiagDocument::GetMpMVolumes
lea r8, str.TST__
lea rdx, str.base_stor_vss_tools_vssagent_vsdoc.cpp
lea rcx, [rsp + 0xb0]
call fcn.1400400dc
mov rdx, rax
lea rcx, [rsp + 0x1f0]
call fcn.1400046e0
mov r8d, eax
lea rax, [rsp + 0x690]
mov qword [rsp + 0x20], rax
lea r9, str.StringCchPrintfW__s_
lea rcx, [rsp + 0x1f0]
call fcn.140042060
call fcn.140043ce8
int3