Function at 0x14013a2d8
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r15
sub rsp, 0x30
mov r15, r8
mov rdi, rdx
test r8, r8
jne 0x14013a30d
lea r8, str.pwszVolumeName
mov edx, 0x931
lea rcx, str.base_stor_blbwsbutilwsbvdshelperlibrary.cpp
call fcn.1400906e0
and qword [r15], 0
mov ecx, 0x38
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x58], 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]
movabs r10, 0x923507bb54551170
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [vtable.H_MA8HI.0]
test eax, eax
jns 0x14013a3a7
lea rdi, [0x140173048]
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x14013a498
test byte [rcx + 0x1c], 1
je 0x14013a498
cmp byte [rcx + 0x19], 2
jb 0x14013a498
mov edx, 0x74
mov r9d, eax
lea r8, [0x140162878]
mov rcx, qword [rcx + 0x10]
call fcn.14000c354
jmp 0x14013a498
mov r9d, dword [rbx + 0x14]
cmp r9d, 1
je 0x14013a3b7
cmp r9d, 4
jne 0x14013a3d2
mov eax, dword [rbx + 0x18]
cmp eax, 1
je 0x14013a3c7
add eax, 0xfffffffc
cmp eax, 1
ja 0x14013a3d2
cmp qword [rbx + 0x30], 0
jne 0x14013a4a2
lea rdi, [0x140173048]
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x14013a43e
test byte [rcx + 0x1c], 1
je 0x14013a40d
cmp byte [rcx + 0x19], 4
jb 0x14013a40d
mov edx, 0x75
lea r8, [0x140162878]
mov rcx, qword [rcx + 0x10]
call fcn.14000c47c
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x14013a43e
test byte [rcx + 0x1c], 1
je 0x14013a43e
cmp byte [rcx + 0x19], 4
jb 0x14013a43e
mov edx, 0x76
mov r9d, dword [rbx + 0x18]
lea r8, [0x140162878]
mov rcx, qword [rcx + 0x10]
call fcn.14000c47c
mov rcx, qword [0x140173048]
cmp qword [rbx + 0x30], 0
jne 0x14013a472
cmp rcx, rdi
je 0x14013a498
test byte [rcx + 0x1c], 1
je 0x14013a472
cmp byte [rcx + 0x19], 4
jb 0x14013a472
mov edx, 0x77
lea r8, [0x140162878]
mov rcx, qword [rcx + 0x10]
call fcn.14000c328
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x14013a498
test byte [rcx + 0x1c], 1
je 0x14013a498
cmp byte [rcx + 0x19], 3
jb 0x14013a498
mov edx, 0x78
lea r8, [0x140162878]
mov rcx, qword [rcx + 0x10]
call fcn.14000c328
mov ebx, 0x80780063
jmp 0x14013a5db
lea rdi, [0x140173048]
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x14013a4da
test byte [rcx + 0x1c], 1
je 0x14013a4da
cmp byte [rcx + 0x19], 4
jb 0x14013a4da
mov edx, 0x79
mov r9, qword [rbx + 0x30]
lea r8, [0x140162878]
mov rcx, qword [rcx + 0x10]
call fcn.140015150
and qword [rsp + 0x50], 0
lea r8, [rsp + 0x50]
lea rdx, [0x14014ff70]
mov rcx, qword [rbx + 0x30]
call fcn.140091810
mov ebx, eax
test eax, eax
js 0x14013a5db
mov ecx, 0x64
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
jne 0x14013a533
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov ebx, 0x8007000e
jmp 0x14013a5db
xor edx, edx
lea r8d, [rdx + 0x64]
mov rcx, rbp
call sub.msvcrt.dll_memset
mov r8d, 0x32
mov rdx, rbp
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
jne 0x14013a5c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14013a57a
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x14013a5b0
test byte [rcx + 0x1c], 1
je 0x14013a5b0
cmp byte [rcx + 0x19], 2
jb 0x14013a5b0
mov edx, 0x7a
mov dword [rsp + 0x20], ebx
mov r9, qword [rsp + 0x50]
lea r8, [0x140162878]
mov rcx, qword [rcx + 0x10]
call fcn.1400151b8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, rbp
jmp 0x14013a5ce
mov qword [r15], rbp
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x58]
call fcn.140137cb0
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop rdi
pop rbp
ret