Function at 0x140115168
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x5f0]
sub rsp, 0x6f0
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
lea r12, [0x140167690]
cmp rcx, r15
je 0x1401151d1
test byte [rcx + 0x1c], 1
je 0x1401151d1
cmp byte [rcx + 0x19], 4
jb 0x1401151d1
mov rcx, qword [rcx + 0x10]
mov edx, 0x48
mov r8, r12
call fcn.140006b98
test rdi, rdi
jne 0x1401151ee
lea r8, str.pwszVolumeGlobalRootPath
mov edx, 0x91e
lea rcx, str.base_stor_blbengine_blbengutils_blbvolumeutils.cpp
call fcn.14008ac24
and qword [rdi], 0
lea rcx, [rbp - 0x50]
mov esi, 0x208
xor edx, edx
mov r8d, esi
call sub.msvcrt.dll_memset
mov r8d, esi
lea rcx, [rbp + 0x1c0]
xor edx, edx
call sub.msvcrt.dll_memset
mov r8d, esi
lea rcx, [rbp + 0x3d0]
xor edx, edx
call sub.msvcrt.dll_memset
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.14008b8ac
mov esi, 0x104
lea r8, str.Volume_ws
mov edx, esi
lea rcx, [rbp - 0x50]
mov r9, rax
call fcn.1400102c4
mov ebx, eax
test eax, eax
jns 0x140115297
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x140115405
test byte [rcx + 0x1c], 1
je 0x1401153e3
cmp byte [rcx + 0x19], 2
jb 0x1401153e3
mov edx, 0x49
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r12
call fcn.140006bc4
jmp 0x1401153dc
mov r8d, esi
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
nop dword [rax + rax]
test eax, eax
jne 0x140115312
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1401152d0
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x140115405
test byte [rcx + 0x1c], 1
je 0x1401153e3
cmp byte [rcx + 0x19], 2
jb 0x1401153e3
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x50]
mov edx, 0x4a
mov dword [rsp + 0x20], ebx
mov r8, r12
call fcn.140011330
jmp 0x1401153dc
lea r9, [rbp + 0x1c0]
mov rdx, rsi
lea r8, str._GLOBALROOT_ws
lea rcx, [rbp + 0x3d0]
call fcn.1400102c4
mov ebx, eax
test eax, eax
jns 0x140115363
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x140115405
test byte [rcx + 0x1c], 1
je 0x1401153e3
cmp byte [rcx + 0x19], 2
jb 0x1401153e3
mov edx, 0x4b
jmp 0x140115283
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x3d0]
call fcn.14008c1cc
mov ebx, eax
test eax, eax
jns 0x1401153b7
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1401153b0
test byte [rcx + 0x1c], 1
je 0x1401153b0
cmp byte [rcx + 0x19], 2
jb 0x1401153b0
mov rcx, qword [rcx + 0x10]
mov edx, 0x4c
mov r9d, eax
mov r8, r12
call fcn.140006bc4
mov rax, qword [rsp + 0x30]
jmp 0x1401153c1
mov rax, qword [rsp + 0x30]
jmp 0x1401153c8
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
xor eax, eax
mov rcx, qword [0x14017a048]
test rax, rax
je 0x1401153e3
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x140115405
test byte [rcx + 0x1c], 1
je 0x140115405
cmp byte [rcx + 0x19], 4
jb 0x140115405
mov rcx, qword [rcx + 0x10]
mov edx, 0x4d
mov r8, r12
call fcn.140006b98
mov eax, ebx
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.140001d90
mov rbx, qword [rsp + 0x730]
add rsp, 0x6f0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret