Function at 0x14007af68
Capabilities:
Enumerate network shares
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd48]
sub rsp, 0xe10
mov qword [rbp + 0x90], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1401543b0]
xor rax, rsp
mov qword [rbp + 0xd00], rax
mov r12, r9
mov r13, r8
mov rbx, rdx
mov r14, qword [rbp + 0xd70]
lea rdi, str.base_stor_vssmodulescoord_srchwdelete.cxx
mov qword [rsp + 0x50], rdi
lea rax, str.CVssHardwareProviderWrapper::CollectSharesAndMountPointsOnVolume
mov qword [rsp + 0x58], rax
lea rax, str.CORHDELC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x3ea
mov esi, 1
mov dword [rsp + 0x6c], esi
mov dword [rsp + 0x70], 0xff
xor r15d, r15d
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x77]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140003840
nop
mov dword [rsp + 0x48], r15d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2b0]
call sub.msvcrt.dll_memset
mov qword [rbp + 0x10], r15
lea rax, [0x1400e53d8]
mov qword [rbp + 8], rax
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0x2b0]
call fcn.14001ec98
mov dword [rbp + 0x28], eax
mov qword [rsp + 0x50], rdi
lea rax, str.CVssHardwareProviderWrapper::CollectSharesAndMountPointsOnVolume
mov qword [rsp + 0x58], rax
lea rax, str.CORHDELC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x3f5
mov dword [rsp + 0x6c], esi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x77]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r8, str.StringCchCopy_fails_to_copy_volume_name
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140013fdc
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], r15w
jne 0x14007b0bd
cmp word [rbx + rax*2 - 2], 0x5c
je 0x14007b149
lea r8, [0x1400e84e8]
mov edx, 0x104
lea rcx, [rbp + 0x2b0]
call fcn.14004b4c0
mov dword [rbp + 0x28], eax
mov qword [rsp + 0x50], rdi
lea rbx, str.CVssHardwareProviderWrapper::CollectSharesAndMountPointsOnVolume
mov qword [rsp + 0x58], rbx
lea rax, str.CORHDELC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x3fc
mov dword [rsp + 0x6c], esi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r8, str.StringCchCat_fails_to_concat_backslash
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140013fdc
jmp 0x14007b150
lea rbx, str.CVssHardwareProviderWrapper::CollectSharesAndMountPointsOnVolume
lea r9, [rsp + 0x48]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x2b0]
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 0x14007b1f1
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rbx
lea rax, str.CORHDELC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x404
mov edi, 6
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdi + 0x72]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14007b1cc
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x2b0]
lea r8, str.GetVolumePathNamesForVolumeName__s__failed_with_0x_08lx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.1400037d0
jmp 0x14007b722
mov edx, dword [rsp + 0x48]
lea rdx, [rdx*2 + 2]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov rsi, rax
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x14007b22b
mov dword [rsp + 0x40], 0x8007000e
lea rdx, [0x140150690]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll__CxxThrowException
int3
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x48]
mov rdx, rax
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumePathNamesForVolumeNameW]
mov edi, 6
mov ebx, 0x80070000
test eax, eax
jne 0x14007b2e3
lea rsi, str.base_stor_vssmodulescoord_srchwdelete.cxx
mov qword [rsp + 0x50], rsi
lea rax, str.CVssHardwareProviderWrapper::CollectSharesAndMountPointsOnVolume
mov qword [rsp + 0x58], rax
lea rax, str.CORHDELC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x411
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdi + 0x72]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14007b2b5
movzx eax, ax
or eax, ebx
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x2b0]
lea r8, str.GetVolumePathNamesForVolumeName__s__failed_with_0x_08lx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.1400037d0
lea rcx, [rbp + 8]
call fcn.14003ea08
mov qword [r14], r15
jmp 0x14007b2f1
mov qword [rbp + 0x10], r15
mov qword [r14], rsi
lea rsi, str.base_stor_vssmodulescoord_srchwdelete.cxx
mov dword [rsp + 0x4c], r15d
mov dword [rbp + 0x18], r15d
mov r14d, 0x208
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0x4c0]
call sub.msvcrt.dll_memset
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0x6d0]
call sub.msvcrt.dll_memset
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0xaf0]
call sub.msvcrt.dll_memset
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0x8e0]
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x8e0]
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x14007b3de
mov qword [rsp + 0x50], rsi
lea rax, str.CVssHardwareProviderWrapper::CollectSharesAndMountPointsOnVolume
mov qword [rsp + 0x58], rax
lea rax, str.CORHDELC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x427
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14007b3b9
movzx eax, ax
or eax, ebx
lea rcx, [rbp + 0x2b0]
mov qword [rsp + 0x20], rcx
lea r9, str.GetVolumeNameForVolumeMountPoint__s_
mov r8d, eax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.1400b8b90
int3
mov qword [rbp], r15
lea rax, [0x1400e5ef8]
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.14007af10
mov qword [rsp + 0x30], r15
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
lea r8, [rbp]
mov edx, 0x1f6
xor ecx, ecx
call qword [sym.imp.srvcli.dll_NetShareEnum]
mov esi, eax
xor edx, edx
test eax, eax
je 0x14007b495
lea rax, str.base_stor_vssmodulescoord_srchwdelete.cxx
mov qword [rsp + 0x50], rax
lea rax, str.CVssHardwareProviderWrapper::CollectSharesAndMountPointsOnVolume
mov qword [rsp + 0x58], rax
lea rax, str.CORHDELC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x438
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
mov r9d, esi
lea r8, str.NetShareEnum_failed_with__d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.1400037d0
jmp 0x14007b70c
mov r15, qword [rbp]
mov r14d, edx
cmp dword [rsp + 0x4c], edx
jbe 0x14007b709
mov eax, r14d
lea rcx, [rax + rax*8]
lea rsi, [r15 + rcx*8]
cmp dword [rsi + 8], edx
jne 0x14007b6c9
mov r8d, 0x104
lea rdx, [rbp + 0x4c0]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumePathNameW]
test eax, eax
jne 0x14007b559
lea rax, str.base_stor_vssmodulescoord_srchwdelete.cxx
mov qword [rsp + 0x50], rax
lea rax, str.CVssHardwareProviderWrapper::CollectSharesAndMountPointsOnVolume
mov qword [rsp + 0x58], rax
lea rax, str.CORHDELC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x443
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14007b537
movzx eax, ax
or eax, ebx
mov r9, qword [rsi + 0x28]
lea r8, str.GetVolumePathName__s__failed_with_0x_08lx
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.1400037d0
jmp 0x14007b6c7
mov r8d, 0x104
lea rdx, [rbp + 0x6d0]
lea rcx, [rbp + 0x4c0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x14007b5e8
lea rax, str.base_stor_vssmodulescoord_srchwdelete.cxx
mov qword [rsp + 0x50], rax
lea rax, str.CVssHardwareProviderWrapper::CollectSharesAndMountPointsOnVolume
mov qword [rsp + 0x58], rax
lea rax, str.CORHDELC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x44f
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14007b5d5
movzx eax, ax
or eax, ebx
lea r9, [rbp + 0x4c0]
lea r8, str.GetVolumeNameForVolumeMountPoint__s__fails_with_0x_08lx
jmp 0x14007b542
mov r8d, 0x104
lea rdx, [rbp + 0xaf0]
lea rcx, [rbp + 0x6d0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x14007b677
lea rax, str.base_stor_vssmodulescoord_srchwdelete.cxx
mov qword [rsp + 0x50], rax
lea rax, str.CVssHardwareProviderWrapper::CollectSharesAndMountPointsOnVolume
mov qword [rsp + 0x58], rax
lea rax, str.CORHDELC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x453
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14007b664
movzx eax, ax
or eax, ebx
lea r9, [rbp + 0x6d0]
lea r8, str.GetVolumeNameForVolumeMountPoint__s__fail_with_0x_08lx
jmp 0x14007b542
lea rdx, [rbp + 0x8e0]
lea rcx, [rbp + 0xaf0]
call qword [sym.imp.msvcrt.dll__wcsicmp]
xor edx, edx
test eax, eax
jne 0x14007b6c9
mov qword [rbp + 0xa0], rsi
lea r8, [rbp + 0x4c0]
mov edx, 0x104
lea rcx, [rbp + 0xa8]
call fcn.14001ec98
test eax, eax
js 0x14007b6f3
lea rdx, [rbp + 0xa0]
mov rcx, r13
call fcn.14007897c
test eax, eax
je 0x14007b6d9
xor edx, edx
inc r14d
cmp r14d, dword [rsp + 0x4c]
jb 0x14007b4a6
jmp 0x14007b709
mov dword [rsp + 0x40], 0x8007000e
lea rdx, [0x140150690]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll__CxxThrowException
int3
mov dword [rsp + 0x40], eax
lea rdx, [0x140150690]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll__CxxThrowException
int3
xor r15d, r15d
mov rax, qword [rbp]
mov qword [rbp], r15
mov qword [r12], rax
lea rcx, [rbp - 8]
call fcn.140078474
nop
lea rcx, [rbp + 8]
call fcn.14003e9d8
nop
lea rcx, [rbp + 0x20]
call fcn.140003960
mov rcx, qword [rbp + 0xd00]
xor rcx, rsp
call fcn.14001ff30
mov rbx, qword [rsp + 0xe50]
add rsp, 0xe10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret