Function at 0x140141134
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r14
sub rsp, 0x30
mov r12, r8
mov rdi, rdx
test r8, r8
jne 0x14014116f
lea r8, str.pwszVolumeName
mov edx, 0x931
lea rcx, str.base_stor_blbwsbutilwsbvdshelperlibrary.cpp
call fcn.14008ac24
and qword [r12], 0
mov ecx, 0x38
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x50], 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 0x140141232
lea rsi, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x1401411fa
test byte [rcx + 0x1c], 1
je 0x1401411fa
cmp byte [rcx + 0x19], 2
jb 0x1401411fa
mov edx, 0x74
mov r9d, eax
lea r8, [0x14016a048]
mov rcx, qword [rcx + 0x10]
call fcn.140006bc4
nop
test rbx, rbx
je 0x140141228
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140141219
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, 0x80780063
jmp 0x1401414cb
cmp dword [rbx + 0x14], 1
je 0x14014123e
cmp dword [rbx + 0x14], 4
jne 0x14014125b
mov eax, dword [rbx + 0x18]
cmp eax, 1
je 0x14014124e
add eax, 0xfffffffc
cmp eax, 1
ja 0x14014125b
mov r9, qword [rbx + 0x30]
test r9, r9
jne 0x14014134a
lea rsi, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x1401412cb
test byte [rcx + 0x1c], 1
je 0x14014129a
cmp byte [rcx + 0x19], 4
jb 0x14014129a
mov edx, 0x75
mov r9d, dword [rbx + 0x14]
lea r8, [0x14016a048]
mov rcx, qword [rcx + 0x10]
call fcn.140006cec
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x1401412cb
test byte [rcx + 0x1c], 1
je 0x1401412cb
cmp byte [rcx + 0x19], 4
jb 0x1401412cb
mov edx, 0x76
mov r9d, dword [rbx + 0x18]
lea r8, [0x14016a048]
mov rcx, qword [rcx + 0x10]
call fcn.140006cec
mov rcx, qword [0x14017a048]
cmp qword [rbx + 0x30], 0
jne 0x1401412ff
cmp rcx, rsi
je 0x140141326
test byte [rcx + 0x1c], 1
je 0x1401412ff
cmp byte [rcx + 0x19], 4
jb 0x1401412ff
mov edx, 0x77
lea r8, [0x14016a048]
mov rcx, qword [rcx + 0x10]
call fcn.140006b98
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x140141326
test byte [rcx + 0x1c], 1
je 0x140141326
cmp byte [rcx + 0x19], 3
jb 0x140141326
mov edx, 0x78
lea r8, [0x14016a048]
mov rcx, qword [rcx + 0x10]
call fcn.140006b98
nop
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140141340
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbx + 0x30], 0
mov edi, 0x80780063
jmp 0x1401414ba
mov rax, r9
lea rsi, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x140141385
test byte [rcx + 0x1c], 1
je 0x140141385
cmp byte [rcx + 0x19], 4
jb 0x140141385
mov edx, 0x79
lea r8, [0x14016a048]
mov rcx, qword [rcx + 0x10]
call fcn.1400112c8
mov rax, qword [rbx + 0x30]
and qword [rsp + 0x50], 0
lea r8, [rsp + 0x50]
lea rdx, [0x140157a78]
mov rcx, rax
call fcn.14008bdcc
mov edi, eax
test eax, eax
js 0x1401414a0
mov ecx, 0x64
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x1401413f7
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1401413ed
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbx + 0x30], r14
mov edi, 0x8007000e
jmp 0x1401414ba
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 + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
jne 0x14014148a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x14014143e
movzx edi, ax
or edi, 0x80070000
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x140141474
test byte [rcx + 0x1c], 1
je 0x140141474
cmp byte [rcx + 0x19], 2
jb 0x140141474
mov edx, 0x7a
mov dword [rsp + 0x20], edi
mov r9, qword [rsp + 0x50]
lea r8, [0x14016a048]
mov rcx, qword [rcx + 0x10]
call fcn.140011330
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, r14
jmp 0x140141493
mov qword [r12], r14
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1401414ba
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 + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop r12
pop rdi
ret