Function at 0x14017b3f0
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 - 0xb0], r14
mov qword [r11 - 0xa8], r14
mov qword [r11 - 0xa0], r14
mov qword [rsp + 0x78], r14
mov qword [r11 - 0xd8], r14
mov qword [r11 - 0xd0], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x70]
lea rdx, [r11 - 0xb8]
call fcn.140179eb0
test al, al
jne 0x14017b55c
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14017b4bf
mov rdi, qword [rsp + 0x58]
cmp rbx, rdi
je 0x14017b4b7
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 0x14017b4a0
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14017b504
mov rdi, qword [rsp + 0x80]
cmp rbx, rdi
je 0x14017b4fc
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 0x14017b4e5
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r14
mov rbx, qword [rsp + 0xa8]
test rbx, rbx
je 0x14017b555
mov rdi, qword [rsp + 0xb0]
cmp rbx, rdi
je 0x14017b54d
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 0x14017b533
mov rbx, qword [rsp + 0xa8]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
xor al, al
jmp 0x14017b997
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 + 0x50]
test r8, r8
je 0x14017b8b9
mov rcx, qword [rsp + 0x58]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdi, rdx
jae 0x14017b8b9
cmp rdi, rdx
jb 0x14017b5c3
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov r8, qword [rsp + 0x50]
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 0x14017b603
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 0x14017b7a6
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 rcx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rcx, qword [rsp + 0xd0]
mov qword [rbx], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
jne 0x14017b67c
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 0x14017b7a6
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x38], r14
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov edx, 0x56c008
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [rbx + 8], reloc.MFC80U.DLL_Ordinal_512
mov dword [rsp + 0x68], r14d
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.1401796d0
test al, al
je 0x14017b6d2
mov eax, dword [rsp + 0x68]
mov dword [rbx + 8], eax
mov qword [rsp + 0x68], r14
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.140179860
test al, al
jne 0x14017b707
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 0x14017b7a6
mov dword [rsp + 0x90], r14d
xor eax, eax
mov dword [rsp + 0x94], eax
mov dword [rsp + 0x98], eax
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xc
lea rax, [rsp + 0x90]
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 0x14017b77c
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 0x14017b7a6
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r14
cmp r12, qword [rsp + 0x68]
jne 0x14017b798
cmp dword [rsp + 0x94], ebp
je 0x14017b7b3
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 0x14017b580
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 + 0x50]
test rbx, rbx
je 0x14017b816
mov rdi, qword [rsp + 0x58]
cmp rbx, rdi
je 0x14017b80e
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 0x14017b7f7
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14017b85f
mov rdi, qword [rsp + 0x80]
cmp rbx, rdi
je 0x14017b857
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 0x14017b840
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r14
mov rbx, qword [rsp + 0xa8]
test rbx, rbx
je 0x14017b8b2
mov rdi, qword [rsp + 0xb0]
cmp rbx, rdi
je 0x14017b8aa
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 0x14017b890
mov rbx, qword [rsp + 0xa8]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov al, 1
jmp 0x14017b997
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 + 0x50]
test rbx, rbx
je 0x14017b8ff
mov rdi, qword [rsp + 0x58]
cmp rbx, rdi
je 0x14017b8f7
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 0x14017b8e0
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14017b944
mov rdi, qword [rsp + 0x80]
cmp rbx, rdi
je 0x14017b93c
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 0x14017b925
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r14
mov rbx, qword [rsp + 0xa8]
test rbx, rbx
je 0x14017b995
mov rdi, qword [rsp + 0xb0]
cmp rbx, rdi
je 0x14017b98d
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 0x14017b973
mov rbx, qword [rsp + 0xa8]
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