Function at 0x10014a0dc
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x2e0
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
xor r13d, r13d
mov rbp, r8
mov rsi, rdx
mov r12, rcx
cmp rdx, r13
jne 0x10014a12a
lea r8, [0x1000110d0]
lea rcx, [0x100015bd0]
mov edx, 0x2a8
call fcn.100099ad8
cmp rbp, r13
jne 0x10014a147
lea r8, [0x1000110e8]
lea rcx, [0x100015bd0]
mov edx, 0x2a9
call fcn.100099ad8
mov eax, dword [rsp + 0x8c]
lea rcx, [rsp + 0x90]
mov rdi, rsi
mov qword [rsp + 0x80], rcx
and eax, 0xfffffffe
or rcx, 0xffffffffffffffff
and eax, 0xfffffffb
lea r8, [rsp + 0x40]
mov ebx, r13d
or eax, 2
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x18
mov dword [rsp + 0x8c], eax
xor eax, eax
mov dword [rsp + 0x88], r13d
repne scasw ax, word [rdi]
mov word [rsp + 0x90], r13w
mov qword [rsp + 0x40], r13
not rcx
lea rdx, [rcx - 1]
mov rcx, rsi
call fcn.1000facc8
lea rcx, [rsp + 0xc0]
xor edx, edx
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0xc0]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, r13d
jne 0x10014a24e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [0x100016460]
lea r8, [0x10000f2d0]
movzx ebx, ax
lea rdx, [0x10000fa60]
lea rcx, [rsp + 0x48]
or ebx, 0x80070000
cmp eax, r13d
mov dword [rsp + 0x60], 0x2ba
cmovle ebx, eax
lea rax, [0x100167d30]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x48], rax
lea rax, [0x100015c80]
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x58], rax
call sym.wbengine.exe_public:_void___cdecl_CTraceFailureHelper::TraceMessage_unsigned_short_int_const____ptr64____ptr64
mov rdi, qword [rsp + 0x40]
jmp 0x10014a3f3
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_free]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x70]
mov r8d, eax
call fcn.1000f2a80
mov edx, dword [rsp + 0x88]
lea edi, [rdx - 1]
cmp edi, edx
jb 0x10014a2a2
lea r8, [0x10000f918]
lea rcx, [0x10000fa80]
mov edx, 0x55d
call fcn.100099ad8
mov rax, qword [rsp + 0x80]
mov ecx, edi
mov edi, 0x5c
cmp word [rax + rcx*2], di
je 0x10014a2cf
lea r8, [0x1000110f8]
lea rcx, [0x100015bd0]
mov edx, 0x2c0
call fcn.100099ad8
lea rcx, [rsp + 0x70]
mov edx, edi
mov r9d, 1
xor r8d, r8d
call fcn.1000f2658
mov rcx, qword [0x1001653b8]
lea rsi, [0x1001653b8]
cmp rcx, rsi
je 0x10014a320
test byte [rcx + 0x1c], 8
je 0x10014a320
cmp byte [rcx + 0x19], 4
jb 0x10014a320
mov r9, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002c00]
mov edx, 0x32
call fcn.10001da24
mov rcx, qword [rsp + 0x80]
mov r8d, 3
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x10014a3b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r13d
cmovle ebx, eax
cmp ebx, r13d
jge 0x10014a3b5
mov r8, qword [rsp + 0x80]
lea rax, [0x100167d30]
lea rdx, [0x100011130]
mov qword [rsp + 0x48], rax
lea rax, [0x100015c80]
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x60], 0x2d2
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x58], rax
call sym.wbengine.exe_public:_void___cdecl_CTraceFailureHelper::TraceMessage_unsigned_short_int_const____ptr64____ptr64
jmp 0x10014a3f3
mov qword [rbp], rdi
mov rcx, qword [0x1001653b8]
cmp rcx, rsi
je 0x10014a3f3
test byte [rcx + 0x1c], 8
je 0x10014a3f3
cmp byte [rcx + 0x19], 4
jb 0x10014a3f3
mov r9, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002c00]
mov edx, 0x33
mov qword [rsp + 0x20], rdi
call fcn.100059300
cmp ebx, r13d
jge 0x10014a416
cmp rdi, 0xffffffffffffffff
je 0x10014a416
lea r8, [0x100011168]
lea rcx, [0x100015bd0]
mov edx, 0x2db
call fcn.100099ad8
lea rcx, [rsp + 0x70]
call fcn.1000f2568
mov eax, ebx
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.10014e480
mov rbx, qword [rsp + 0x310]
add rsp, 0x2e0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret