Function at 0x14003cddc
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2d8]
sub rsp, 0x3b0
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14015d3e0]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rsi, rdx
lea r12, str.base_stor_vssmodulescoord_srccoord.cxx
mov qword [rsp + 0x50], r12
lea r13, str.CVssCoordinator::VerifyVolumeIsSupportedByVSS
mov qword [rsp + 0x58], r13
lea r15, str.CORCOORC
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], 0x859
mov dword [rsp + 0x6c], 1
mov edi, 0xff
mov dword [rsp + 0x70], edi
xor r14d, r14d
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1400bec34
nop
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 3
je 0x14003cefc
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], 0x85e
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x70], edi
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
lea r9, str.Encountered_a_non_fixed_volumes___s_____ud__not_supported_by_VSS
mov r8d, 0x8004230c
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1400c2090
int3
mov edi, 0x208
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x90]
call sub.msvcrt.dll_memset
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp + 0x90]
call fcn.14002d18c
lea rcx, [rbp + 0x90]
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14003cf34
cmp word [rbp + rax*2 + 0x8e], 0x5c
jne 0x14003cf63
lea rax, [rax*2 - 2]
cmp rax, rdi
jae 0x14003d004
mov word [rbp + rax + 0x90], r14w
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov r8d, 3
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov edx, 0x80000000
lea rcx, [rbp + 0x90]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
nop dword [rax + rax]
mov rdi, rax
lea rax, [0x1400f6268]
mov qword [rbp - 8], rax
mov qword [rbp], rdi
cmp rdi, rbx
jne 0x14003d00a
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], 0x87f
mov dword [rsp + 0x6c], 2
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
mov r9, rsi
lea r8, str.Error_calling_CreateFile_on_volume__s
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1400c3b7c
nop
call fcn.1400167c8
nop
lea rdx, [0x1400fb65a]
mov r15d, 0x218
mov ecx, r15d
call fcn.1400169cc
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14003d08d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
lea rax, str.CORCOORC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x887
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r9, str.Out_of_memory_to_check_volume_filesystem.
mov r8d, 0x8007000e
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1400c2090
int3
mov r8, r15
xor edx, edx
mov rcx, rbx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], 5
mov r9d, r15d
mov r8, rbx
lea rdx, [rbp + 0x80]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x14003d1d7
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x15
je 0x14003d16d
cmp eax, 0x48f
je 0x14003d16d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
lea rax, str.CORCOORC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x89b
mov dword [rsp + 0x6c], 2
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
test ebx, ebx
jg 0x14003d13a
mov r8d, ebx
jmp 0x14003d145
movzx r8d, bx
or r8d, 0x80070000
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
lea r9, str.NtQueryVolumeInformationFile_failed_for_volume__s__NTSTATUS_0x_08lx__NTSUCCESS__d__winerror_0x_08lx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1400c2a9c
int3
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
lea rax, str.CORCOORC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x896
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
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
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
lea r9, str.Volume__s_not_found_or_not_ready_:_NTSTATUS_0x_08lx
mov r8d, 0x80042308
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1400c2090
int3
test dword [rbx], 0x80000
je 0x14003d245
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
lea rax, str.CORCOORC
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x8a2
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
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
mov qword [rsp + 0x20], rsi
lea r9, str.Encountered_a_read_only_volume___s___not_supported_by_VSS
mov r8d, 0x8004230c
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1400c2090
nop
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
nop
lea rcx, [rbp - 8]
call fcn.14002e56c
nop
lea rcx, [rbp + 0x10]
call fcn.140009990
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1400164a0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret