Function at 0x14013bdac
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r14
sub rsp, 0x40
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov r12, r8
mov rdi, rdx
test r8, r8
jne 0x14013bdef
lea r8, str.pwszVolumeName
mov edx, 0x931
lea rcx, str.base_stor_blbwsbutilwsbvdshelperlibrary.cpp
call fcn.140087b08
and qword [r12], 0
mov ecx, 0x38
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], rax
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x140005bb3.0]
test eax, eax
jns 0x14013be80
lea rsi, [0x14017b048]
mov rcx, qword [0x14017b048]
cmp rcx, rsi
je 0x14013bf73
test byte [rcx + 0x1c], 1
je 0x14013bf73
cmp byte [rcx + 0x19], 2
jb 0x14013bf73
mov edx, 0x74
mov r9d, eax
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140004c3c
jmp 0x14013bf73
cmp dword [rbx + 0x14], 1
je 0x14013be8c
cmp dword [rbx + 0x14], 4
jne 0x14013bea9
mov eax, dword [rbx + 0x18]
cmp eax, 1
je 0x14013be9c
add eax, 0xfffffffc
cmp eax, 1
ja 0x14013bea9
mov r9, qword [rbx + 0x30]
test r9, r9
jne 0x14013bf7d
lea rsi, [0x14017b048]
mov rcx, qword [0x14017b048]
cmp rcx, rsi
je 0x14013bf19
test byte [rcx + 0x1c], 1
je 0x14013bee8
cmp byte [rcx + 0x19], 4
jb 0x14013bee8
mov edx, 0x75
mov r9d, dword [rbx + 0x14]
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140004c3c
mov rcx, qword [0x14017b048]
cmp rcx, rsi
je 0x14013bf19
test byte [rcx + 0x1c], 1
je 0x14013bf19
cmp byte [rcx + 0x19], 4
jb 0x14013bf19
mov edx, 0x76
mov r9d, dword [rbx + 0x18]
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140004c3c
mov rcx, qword [0x14017b048]
cmp qword [rbx + 0x30], 0
jne 0x14013bf4d
cmp rcx, rsi
je 0x14013bf73
test byte [rcx + 0x1c], 1
je 0x14013bf4d
cmp byte [rcx + 0x19], 4
jb 0x14013bf4d
mov edx, 0x77
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140004c10
mov rcx, qword [0x14017b048]
cmp rcx, rsi
je 0x14013bf73
test byte [rcx + 0x1c], 1
je 0x14013bf73
cmp byte [rcx + 0x19], 3
jb 0x14013bf73
mov edx, 0x78
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140004c10
mov edi, 0x80780063
jmp 0x14013c0b5
mov rcx, r9
lea rsi, [0x14017b048]
mov rax, qword [0x14017b048]
cmp rax, rsi
je 0x14013bfb8
test byte [rax + 0x1c], 1
je 0x14013bfb8
cmp byte [rax + 0x19], 4
jb 0x14013bfb8
mov edx, 0x79
lea r8, [0x140165f68]
mov rcx, qword [rax + 0x10]
call fcn.140005cd0
mov rcx, qword [rbx + 0x30]
and qword [rsp + 0x60], 0
lea r8, [rsp + 0x60]
lea rdx, [0x140153978]
call fcn.140088abc
mov edi, eax
test eax, eax
js 0x14013c0b5
mov ecx, 0x64
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x14013c00d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov edi, 0x8007000e
jmp 0x14013c0b5
xor edx, edx
lea r8d, [rdx + 0x64]
mov rcx, r14
call sub.msvcrt.dll_memset
mov r8d, 0x32
mov rdx, r14
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
jne 0x14013c09f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [0x14017b048]
cmp rcx, rsi
je 0x14013c089
test byte [rcx + 0x1c], 1
je 0x14013c089
cmp byte [rcx + 0x19], 2
jb 0x14013c089
mov edx, 0x7a
mov dword [rsp + 0x20], edi
mov r9, qword [rsp + 0x60]
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140005d40
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, r14
jmp 0x14013c0a8
mov qword [r12], r14
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
test rbx, rbx
je 0x14013c0e3
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14013c0d4
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbx + 0x30], 0
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, edi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop r12
pop rdi
ret