Function at 0x140132b58
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 0x140132b8d
lea r8, str.pwszVolumeName
mov edx, 0x931
lea rcx, str.base_stor_blbwsbutilwsbvdshelperlibrary.cpp
call fcn.140088f60
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 0x140132c27
lea rdi, [0x14016a048]
mov rcx, qword [0x14016a048]
cmp rcx, rdi
je 0x140132d18
test byte [rcx + 0x1c], 1
je 0x140132d18
cmp byte [rcx + 0x19], 2
jb 0x140132d18
mov edx, 0x74
mov r9d, eax
lea r8, [0x14015a1d8]
mov rcx, qword [rcx + 0x10]
call fcn.14000c114
jmp 0x140132d18
mov r9d, dword [rbx + 0x14]
cmp r9d, 1
je 0x140132c37
cmp r9d, 4
jne 0x140132c52
mov eax, dword [rbx + 0x18]
cmp eax, 1
je 0x140132c47
add eax, 0xfffffffc
cmp eax, 1
ja 0x140132c52
cmp qword [rbx + 0x30], 0
jne 0x140132d22
lea rdi, [0x14016a048]
mov rcx, qword [0x14016a048]
cmp rcx, rdi
je 0x140132cbe
test byte [rcx + 0x1c], 1
je 0x140132c8d
cmp byte [rcx + 0x19], 4
jb 0x140132c8d
mov edx, 0x75
lea r8, [0x14015a1d8]
mov rcx, qword [rcx + 0x10]
call fcn.14000c23c
mov rcx, qword [0x14016a048]
cmp rcx, rdi
je 0x140132cbe
test byte [rcx + 0x1c], 1
je 0x140132cbe
cmp byte [rcx + 0x19], 4
jb 0x140132cbe
mov edx, 0x76
mov r9d, dword [rbx + 0x18]
lea r8, [0x14015a1d8]
mov rcx, qword [rcx + 0x10]
call fcn.14000c23c
mov rcx, qword [0x14016a048]
cmp qword [rbx + 0x30], 0
jne 0x140132cf2
cmp rcx, rdi
je 0x140132d18
test byte [rcx + 0x1c], 1
je 0x140132cf2
cmp byte [rcx + 0x19], 4
jb 0x140132cf2
mov edx, 0x77
lea r8, [0x14015a1d8]
mov rcx, qword [rcx + 0x10]
call fcn.14000c0e8
mov rcx, qword [0x14016a048]
cmp rcx, rdi
je 0x140132d18
test byte [rcx + 0x1c], 1
je 0x140132d18
cmp byte [rcx + 0x19], 3
jb 0x140132d18
mov edx, 0x78
lea r8, [0x14015a1d8]
mov rcx, qword [rcx + 0x10]
call fcn.14000c0e8
mov ebx, 0x80780063
jmp 0x140132e5b
lea rdi, [0x14016a048]
mov rcx, qword [0x14016a048]
cmp rcx, rdi
je 0x140132d5a
test byte [rcx + 0x1c], 1
je 0x140132d5a
cmp byte [rcx + 0x19], 4
jb 0x140132d5a
mov edx, 0x79
mov r9, qword [rbx + 0x30]
lea r8, [0x14015a1d8]
mov rcx, qword [rcx + 0x10]
call fcn.140014f10
and qword [rsp + 0x50], 0
lea r8, [rsp + 0x50]
lea rdx, [0x140147d20]
mov rcx, qword [rbx + 0x30]
call fcn.14008a090
mov ebx, eax
test eax, eax
js 0x140132e5b
mov ecx, 0x64
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
jne 0x140132db3
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov ebx, 0x8007000e
jmp 0x140132e5b
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 0x140132e46
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140132dfa
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14016a048]
cmp rcx, rdi
je 0x140132e30
test byte [rcx + 0x1c], 1
je 0x140132e30
cmp byte [rcx + 0x19], 2
jb 0x140132e30
mov edx, 0x7a
mov dword [rsp + 0x20], ebx
mov r9, qword [rsp + 0x50]
lea r8, [0x14015a1d8]
mov rcx, qword [rcx + 0x10]
call fcn.140014f78
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, rbp
jmp 0x140132e4e
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.140130530
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop rdi
pop rbp
ret