Function at 0x14017ba80
Capabilities:
Get disk information via ioctl

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_280], rax
mov r13, r9
mov r12, r8
mov ebp, edx
mov rbx, rcx
xor r14d, r14d
mov qword [r11 - 0xc8], r14
mov qword [r11 - 0xc0], r14
mov qword [r11 - 0xb8], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
lea rdx, [r11 - 0xd0]
call fcn.140179eb0
test al, al
jne 0x14017bbe9
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14017bb4f
mov rdi, qword [rsp + 0x50]
cmp rbx, rdi
je 0x14017bb47
nop
nop
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14017bb30
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14017bb91
mov rdi, qword [rsp + 0x70]
cmp rbx, rdi
je 0x14017bb89
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14017bb72
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov rbx, qword [rsp + 0x90]
test rbx, rbx
je 0x14017bbe2
mov rdi, qword [rsp + 0x98]
cmp rbx, rdi
je 0x14017bbda
nop
nop
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14017bbc0
mov rbx, qword [rsp + 0x90]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
xor al, al
jmp 0x14017bfb4
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void____ptr64]
nop
mov rdi, r14
mov rsi, r14
movabs r15, 0x6666666666666667
nop
nop
mov r8, qword [rsp + 0x90]
test r8, r8
je 0x14017bed9
mov rcx, qword [rsp + 0x98]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdi, rdx
jae 0x14017bed9
cmp rdi, rdx
jb 0x14017bc5c
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov r8, qword [rsp + 0x90]
lea rdx, [rsi + r8]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
nop
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP80.dll_public:_int___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::compare_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_const___ptr64]
test eax, eax
jne 0x14017bc9c
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
jmp 0x14017bdce
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xf0]
call qword [reloc.MSVCP80.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_AEBV01__Z]
lea rdx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rdx, qword [rsp + 0xd0]
mov rcx, rbx
call fcn.140179b10
test al, al
jne 0x14017bceb
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
jmp 0x14017bdce
mov qword [rsp + 0xb8], r14
lea rdx, [rsp + 0xb8]
mov rcx, rbx
call fcn.140179860
test al, al
jne 0x14017bd26
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r14
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
jmp 0x14017bdce
mov dword [rsp + 0xa8], r14d
xor eax, eax
mov dword [rsp + 0xac], eax
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0x80], r14d
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xc
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d1080
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14017bda1
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r14
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
jmp 0x14017bdce
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r14
cmp r12, qword [rsp + 0xb8]
jne 0x14017bdc0
cmp dword [rsp + 0xac], ebp
je 0x14017bddb
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rdi, 1
add rsi, 0x28
jmp 0x14017bc10
lea rdx, [rsp + 0xc8]
mov rcx, r13
call qword [reloc.MSVCP80.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_AEBV01__Z]
nop
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14017be3f
mov rdi, qword [rsp + 0x50]
cmp rbx, rdi
je 0x14017be37
nop
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14017be20
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14017be81
mov rdi, qword [rsp + 0x70]
cmp rbx, rdi
je 0x14017be79
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14017be62
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov rbx, qword [rsp + 0x90]
test rbx, rbx
je 0x14017bed2
mov rdi, qword [rsp + 0x98]
cmp rbx, rdi
je 0x14017beca
nop
nop
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14017beb0
mov rbx, qword [rsp + 0x90]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov al, 1
jmp 0x14017bfb4
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14017bf1f
mov rdi, qword [rsp + 0x50]
cmp rbx, rdi
je 0x14017bf17
nop
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14017bf00
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14017bf61
mov rdi, qword [rsp + 0x70]
cmp rbx, rdi
je 0x14017bf59
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14017bf42
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov rbx, qword [rsp + 0x90]
test rbx, rbx
je 0x14017bfb2
mov rdi, qword [rsp + 0x98]
cmp rbx, rdi
je 0x14017bfaa
nop
nop
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14017bf90
mov rbx, qword [rsp + 0x90]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
xor al, al
mov rcx, qword [rsp + reloc.MFC80U.DLL_Ordinal_280]
xor rcx, rsp
call fcn.140161080
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret