Function at 0x1401330e4
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 0x140133127
lea r8, str.pwszVolumeName
mov edx, 0x931
lea rcx, str.base_stor_blbwsbutilwsbvdshelperlibrary.cpp
call fcn.14008410c
and qword [r12], 0
mov esi, 0x38
mov ecx, esi
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rbx, rax
mov qword [rsp + 0x60], rax
mov r8d, esi
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
nop
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x1400059ff.0]
test eax, eax
jns 0x1401331ae
lea rsi, [0x1401720a0]
mov rcx, qword [0x1401720a0]
cmp rcx, rsi
je 0x14013329f
test byte [rcx + 0x1c], 1
je 0x14013329f
cmp byte [rcx + 0x19], 2
jb 0x14013329f
mov edx, 0x74
mov r9d, eax
lea r8, [0x14015ba18]
mov rcx, qword [rcx + 0x10]
call fcn.140004b98
jmp 0x14013329f
mov r9d, dword [rbx + 0x14]
cmp r9d, 1
je 0x1401331be
cmp r9d, 4
jne 0x1401331d9
mov eax, dword [rbx + 0x18]
cmp eax, 1
je 0x1401331ce
add eax, 0xfffffffc
cmp eax, 1
ja 0x1401331d9
cmp qword [rbx + 0x30], 0
jne 0x1401332a9
lea rsi, [0x1401720a0]
mov rcx, qword [0x1401720a0]
cmp rcx, rsi
je 0x140133245
test byte [rcx + 0x1c], 1
je 0x140133214
cmp byte [rcx + 0x19], 4
jb 0x140133214
mov edx, 0x75
lea r8, [0x14015ba18]
mov rcx, qword [rcx + 0x10]
call fcn.140004b98
mov rcx, qword [0x1401720a0]
cmp rcx, rsi
je 0x140133245
test byte [rcx + 0x1c], 1
je 0x140133245
cmp byte [rcx + 0x19], 4
jb 0x140133245
mov edx, 0x76
mov r9d, dword [rbx + 0x18]
lea r8, [0x14015ba18]
mov rcx, qword [rcx + 0x10]
call fcn.140004b98
mov rcx, qword [0x1401720a0]
cmp qword [rbx + 0x30], 0
jne 0x140133279
cmp rcx, rsi
je 0x14013329f
test byte [rcx + 0x1c], 1
je 0x140133279
cmp byte [rcx + 0x19], 4
jb 0x140133279
mov edx, 0x77
lea r8, [0x14015ba18]
mov rcx, qword [rcx + 0x10]
call fcn.140004b74
mov rcx, qword [0x1401720a0]
cmp rcx, rsi
je 0x14013329f
test byte [rcx + 0x1c], 1
je 0x14013329f
cmp byte [rcx + 0x19], 3
jb 0x14013329f
mov edx, 0x78
lea r8, [0x14015ba18]
mov rcx, qword [rcx + 0x10]
call fcn.140004b74
mov edi, 0x80780063
jmp 0x1401333be
lea rsi, [0x1401720a0]
mov rcx, qword [0x1401720a0]
cmp rcx, rsi
je 0x1401332e1
test byte [rcx + 0x1c], 1
je 0x1401332e1
cmp byte [rcx + 0x19], 4
jb 0x1401332e1
mov edx, 0x79
mov r9, qword [rbx + 0x30]
lea r8, [0x14015ba18]
mov rcx, qword [rcx + 0x10]
call fcn.140005afc
and qword [rsp + 0x60], 0
lea r8, [rsp + 0x60]
lea rdx, [0x140149494]
mov rcx, qword [rbx + 0x30]
call fcn.140084fcc
mov edi, eax
test eax, eax
js 0x1401333be
mov ecx, 0x64
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov r14, rax
test rax, rax
jne 0x14013332e
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, 0x8007000e
jmp 0x1401333be
xor edx, edx
lea r8d, [rdx + 0x64]
mov rcx, rax
call sub.msvcrt.dll_memset
mov r8d, 0x32
mov rdx, r14
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1401333ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [0x1401720a0]
cmp rcx, rsi
je 0x14013339e
test byte [rcx + 0x1c], 1
je 0x14013339e
cmp byte [rcx + 0x19], 2
jb 0x14013339e
mov edx, 0x7a
mov dword [rsp + 0x20], edi
mov r9, qword [rsp + 0x60]
lea r8, [0x14015ba18]
mov rcx, qword [rcx + 0x10]
call fcn.140005b60
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, r14
jmp 0x1401333b7
mov qword [r12], r14
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
test rbx, rbx
je 0x1401333e0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1401333d7
call qword [sym.imp.ole32.dll_CoTaskMemFree]
and qword [rbx + 0x30], 0
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop r12
pop rdi
ret