Function at 0x14017cdd0
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 - 0xb8], r14
mov qword [r11 - 0xb0], r14
mov qword [r11 - 0xa8], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x40]
lea rdx, [r11 - 0xc0]
call fcn.140179eb0
test al, al
jne 0x14017cf39
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14017ce9f
mov rdi, qword [rsp + 0x70]
cmp rbx, rdi
je 0x14017ce97
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 0x14017ce80
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 + 0x48]
test rbx, rbx
je 0x14017cee1
mov rdi, qword [rsp + 0x50]
cmp rbx, rdi
je 0x14017ced9
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 0x14017cec2
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 + 0xa0]
test rbx, rbx
je 0x14017cf32
mov rdi, qword [rsp + 0xa8]
cmp rbx, rdi
je 0x14017cf2a
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 0x14017cf10
mov rbx, qword [rsp + 0xa0]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
xor al, al
jmp 0x14017d304
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 + 0x48]
test r8, r8
je 0x14017d229
mov rcx, qword [rsp + 0x50]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdi, rdx
jae 0x14017d229
cmp rdi, rdx
jb 0x14017cfa3
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov r8, qword [rsp + 0x48]
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 0x14017cfe3
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 0x14017d115
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.14017cad0
test al, al
jne 0x14017d032
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 0x14017d115
mov qword [rsp + 0xb8], r14
lea rdx, [rsp + 0xb8]
mov rcx, rbx
call fcn.140179860
test al, al
jne 0x14017d06d
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 0x14017d115
mov dword [rsp + 0x88], r14d
xor eax, eax
mov dword [rsp + 0x8c], eax
mov dword [rsp + 0x90], 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 + 0x88]
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 0x14017d0e8
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 0x14017d115
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r14
cmp r12, qword [rsp + 0xb8]
jne 0x14017d107
cmp dword [rsp + 0x8c], ebp
je 0x14017d122
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 0x14017cf60
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 + 0x68]
test rbx, rbx
je 0x14017d185
mov rdi, qword [rsp + 0x70]
cmp rbx, rdi
je 0x14017d17d
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 0x14017d166
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 + 0x48]
test rbx, rbx
je 0x14017d1cf
mov rdi, qword [rsp + 0x50]
cmp rbx, rdi
je 0x14017d1c7
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 0x14017d1b0
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 + 0xa0]
test rbx, rbx
je 0x14017d222
mov rdi, qword [rsp + 0xa8]
cmp rbx, rdi
je 0x14017d21a
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 0x14017d200
mov rbx, qword [rsp + 0xa0]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov al, 1
jmp 0x14017d304
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 + 0x68]
test rbx, rbx
je 0x14017d26f
mov rdi, qword [rsp + 0x70]
cmp rbx, rdi
je 0x14017d267
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 0x14017d250
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 + 0x48]
test rbx, rbx
je 0x14017d2b1
mov rdi, qword [rsp + 0x50]
cmp rbx, rdi
je 0x14017d2a9
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 0x14017d292
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 + 0xa0]
test rbx, rbx
je 0x14017d302
mov rdi, qword [rsp + 0xa8]
cmp rbx, rdi
je 0x14017d2fa
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 0x14017d2e0
mov rbx, qword [rsp + 0xa0]
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