Function at 0x10014a264
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 0x10014a2b2
lea r8, [0x1000110b0]
lea rcx, [0x100015c30]
mov edx, 0x2a8
call fcn.10009a050
cmp rbp, r13
jne 0x10014a2cf
lea r8, [0x1000110c8]
lea rcx, [0x100015c30]
mov edx, 0x2a9
call fcn.10009a050
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.1000fb114
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 0x10014a3d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [0x1000164c0]
lea r8, [0x10000f2b0]
movzx ebx, ax
lea rdx, [0x10000fa40]
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, [0x100015ce0]
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 0x10014a57b
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.1000f2f98
mov edx, dword [rsp + 0x88]
lea edi, [rdx - 1]
cmp edi, edx
jb 0x10014a42a
lea r8, [0x10000f8f8]
lea rcx, [0x10000fa60]
mov edx, 0x55d
call fcn.10009a050
mov rax, qword [rsp + 0x80]
mov ecx, edi
mov edi, 0x5c
cmp word [rax + rcx*2], di
je 0x10014a457
lea r8, [0x1000110d8]
lea rcx, [0x100015c30]
mov edx, 0x2c0
call fcn.10009a050
lea rcx, [rsp + 0x70]
mov edx, edi
mov r9d, 1
xor r8d, r8d
call fcn.1000f2b70
mov rcx, qword [0x1001653b8]
lea rsi, [0x1001653b8]
cmp rcx, rsi
je 0x10014a4a8
test byte [rcx + 0x1c], 8
je 0x10014a4a8
cmp byte [rcx + 0x19], 4
jb 0x10014a4a8
mov r9, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002bc0]
mov edx, 0x32
call fcn.10001db08
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 0x10014a53d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r13d
cmovle ebx, eax
cmp ebx, r13d
jge 0x10014a53d
mov r8, qword [rsp + 0x80]
lea rax, [0x100167d30]
lea rdx, [0x100011110]
mov qword [rsp + 0x48], rax
lea rax, [0x100015ce0]
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 0x10014a57b
mov qword [rbp], rdi
mov rcx, qword [0x1001653b8]
cmp rcx, rsi
je 0x10014a57b
test byte [rcx + 0x1c], 8
je 0x10014a57b
cmp byte [rcx + 0x19], 4
jb 0x10014a57b
mov r9, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002bc0]
mov edx, 0x33
mov qword [rsp + 0x20], rdi
call fcn.10001e82c
cmp ebx, r13d
jge 0x10014a59e
cmp rdi, 0xffffffffffffffff
je 0x10014a59e
lea r8, [0x100011148]
lea rcx, [0x100015c30]
mov edx, 0x2db
call fcn.10009a050
lea rcx, [rsp + 0x70]
call fcn.1000f2a80
mov eax, ebx
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.10014e600
mov rbx, qword [rsp + 0x310]
add rsp, 0x2e0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret