Function at 0x14013f278
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14016a508]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor r12d, r12d
mov r14, r8
mov rdi, rdx
mov r15, rcx
test rdx, rdx
jne 0x14013f2d3
lea r8, str.pszVolumePath___0
mov edx, 0x2ab
lea rcx, [0x14015ae68]
call fcn.140088f60
test r14, r14
jne 0x14013f2f0
lea r8, str.phVolume___0
mov edx, 0x2ac
lea rcx, [0x14015ae68]
call fcn.140088f60
lea rax, [rbp - 0x70]
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], rax
mov ebx, r12d
mov eax, dword [rbp - 0x74]
and eax, 0xfffffffa
mov dword [rsp + 0x78], 0x18
or eax, 2
mov dword [rbp - 0x78], r12d
mov dword [rbp - 0x74], eax
or rax, 0xffffffffffffffff
mov rsi, rax
mov word [rbp - 0x70], r12w
mov rdx, rax
mov qword [rsp + 0x40], r12
inc rdx
cmp word [rdi + rdx*2], r12w
jne 0x14013f32c
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.1400eb2f4
xor edx, edx
lea rcx, [rbp - 0x40]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp - 0x40]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
jne 0x14013f3db
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14013f38e
movzx ebx, ax
or ebx, 0x80070000
lea rax, [0x14016c440]
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x48], rax
lea r9, str.::GetVolumeNameForVolumeMountPointW_pstrNewLongPath__wszVolumeGuidName__260_
lea rax, str.base_stor_blbengineusn_baselibusnjournalhelper.cpp
mov dword [rsp + 0x60], 0x2bd
lea r8, str.Failed:
mov qword [rsp + 0x58], rax
lea rdx, str._ws:_lVal_:__S
mov qword [rsp + 0x68], r15
lea rcx, [rsp + 0x48]
call sym.wbengine.exe_public:_void___cdecl_CTraceFailureHelper::TraceMessage_unsigned_short_int_const____ptr64____ptr64
jmp 0x14013f555
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x14013f3f4
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400e2ad4
mov edx, dword [rbp - 0x78]
lea rcx, [rsp + 0x70]
dec edx
call fcn.1400e0434
mov edi, 0x5c
cmp word [rax], di
je 0x14013f43d
lea r8, str.ssVolumePath_ssVolumePath.Length_____1___L
mov edx, 0x2c3
lea rcx, [0x14015ae68]
call fcn.140088f60
mov edx, edi
lea rcx, [rsp + 0x70]
xor r8d, r8d
call fcn.1400e3038
mov rcx, qword [0x14016a048]
lea rdi, [0x14016a048]
cmp rcx, rdi
je 0x14013f484
test byte [rcx + 0x1c], 8
je 0x14013f484
cmp byte [rcx + 0x19], 4
jb 0x14013f484
mov r9, qword [rbp - 0x80]
lea r8, [0x14015b758]
mov rcx, qword [rcx + 0x10]
mov edx, 0x32
call fcn.140014f10
mov rcx, qword [rbp - 0x80]
mov r8d, 3
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], 0x2000000
mov edx, 0x80000000
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14013f51c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14013f4d8
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x14013f51c
mov r8, qword [rbp - 0x80]
lea rax, [0x14016c440]
mov qword [rsp + 0x48], rax
lea rdx, str.Failed_to_open_volume:_ls
lea rax, str.base_stor_blbengineusn_baselibusnjournalhelper.cpp
mov dword [rsp + 0x50], ebx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0x2d5
mov qword [rsp + 0x68], r15
call sym.wbengine.exe_public:_void___cdecl_CTraceFailureHelper::TraceMessage_unsigned_short_int_const____ptr64____ptr64
jmp 0x14013f577
mov qword [r14], rsi
mov rcx, qword [0x14016a048]
cmp rcx, rdi
je 0x14013f577
test byte [rcx + 0x1c], 8
je 0x14013f577
cmp byte [rcx + 0x19], 4
jb 0x14013f555
mov r9, qword [rbp - 0x80]
lea r8, [0x14015b758]
mov rcx, qword [rcx + 0x10]
mov edx, 0x33
mov qword [rsp + 0x20], rsi
call fcn.14005aaa8
test ebx, ebx
jns 0x14013f577
cmp rsi, 0xffffffffffffffff
je 0x14013f577
lea r8, str.__HANDLE__LONG_PTR__1___hVolume
mov edx, 0x2de
lea rcx, [0x14015ae68]
call fcn.140088f60
lea rcx, [rsp + 0x70]
call fcn.140006c40
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400071e0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret