Function at 0x140135988
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r13
push r14
sub rsp, 0x40
and dword [rax + 0x18], 0
mov rdi, rdx
and qword [rax + 0x20], 0
mov rsi, rcx
and dword [rax + 0x10], 0
test rdx, rdx
jne 0x1401359c6
lea r8, str.pbIsReadonly
mov edx, 0x2e2
lea rcx, str.base_stor_blbwsbutilwsbvolumeutils.cpp
call fcn.1400906e0
lea rdx, [rsp + 0x88]
mov byte [rdi], 0
mov rcx, rsi
call fcn.140091f50
lea r13, [0x140173048]
mov ebx, eax
test eax, eax
js 0x140135bc0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
nop dword [rax + rax]
and dword [rsp + 0x38], 0
xor r9d, r9d
and qword [rsp + 0x30], 0
mov r14d, eax
mov rcx, qword [rsp + 0x88]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
xor r8d, r8d
and qword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
nop dword [rax + rax]
test eax, eax
jne 0x140135b56
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea r8, [rsp + 0x78]
mov dl, 1
mov rcx, rsi
mov ebx, eax
call fcn.140134c60
test eax, eax
jns 0x140135ab2
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140135a9c
test byte [rcx + 0x1c], 1
je 0x140135a9c
cmp byte [rcx + 0x19], 3
jb 0x140135a9c
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401626e8]
mov edx, 0x20
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.1400151b8
mov rcx, qword [0x140173048]
test ebx, ebx
jle 0x140135bc7
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140135bc7
test dword [rsp + 0x78], 0x800
je 0x140135b03
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140135aec
test byte [rcx + 0x1c], 1
je 0x140135aec
cmp byte [rcx + 0x19], 4
jb 0x140135aec
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401626e8]
mov edx, 0x21
mov r9, rsi
call fcn.140015150
mov rdx, rdi
mov rcx, rsi
call fcn.1401356b4
mov ebx, eax
test eax, eax
js 0x140135bc0
jmp 0x140135b64
cmp ebx, 0x3ed
je 0x140135b15
cmp ebx, 1
je 0x140135b15
cmp ebx, 0x57
jne 0x140135a95
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140135b4f
test dword [rcx + 0x1c], 0x200
je 0x140135b4f
cmp byte [rcx + 0x19], 4
jb 0x140135b4f
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401626e8]
mov edx, 0x22
mov r9, rsi
call fcn.140015150
mov rcx, qword [0x140173048]
mov ebx, 0x80780076
jmp 0x140135bc7
mov eax, dword [rsp + 0x80]
shr eax, 0x13
and al, 1
mov byte [rdi], al
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140135bb1
test dword [rcx + 0x1c], 0x200
je 0x140135bb1
cmp byte [rcx + 0x19], 4
jb 0x140135bb1
cmp byte [rdi], 0
lea rdx, str._not
mov rcx, qword [rcx + 0x10]
lea rax, [0x1401529d8]
cmove rax, rdx
lea r8, [0x1401626e8]
mov edx, 0x23
mov qword [rsp + 0x20], rax
mov r9, rsi
call fcn.140015238
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
cmp qword [rsp + 0x88], 0
je 0x140135bed
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
test ebx, ebx
jns 0x140135c1d
cmp rcx, r13
je 0x140135c1d
test dword [rcx + 0x1c], 0x200
je 0x140135c1d
cmp byte [rcx + 0x19], 3
jb 0x140135c1d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401626e8]
mov edx, 0x24
mov r9d, ebx
call fcn.14000c354
mov eax, ebx
add rsp, 0x40
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret