Function at 0x180013200
Capabilities:
Get disk information via ioctl

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x180103990]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, r8
mov rsi, rdx
mov qword [rbp - 1], rdx
xor edi, edi
mov dword [rbp - 0x29], edi
xor eax, eax
mov qword [rbp + 0xf], rax
mov dword [rbp + 0x17], eax
lea edx, [rdi + 4]
lea rcx, str.__._
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbp - 0x21], rax
mov rdx, rbx
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QString_const____ptr64____ptr64]
lea edx, [rdi + 0x3a]
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QChar____ptr64]
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov rcx, rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rdi + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1800132cb
xor edx, edx
lea rcx, [0x1800a8228]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsi], rax
mov dword [rbp - 0x29], 1
jmp 0x1800133c0
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xc
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d1080
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x18001336d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x1f]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x11]
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug___cdecl_QMessageLogger::debug_void____ptr64]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.IOCTL_STORAGE_GET_DEVICE_NUMBER_Error_IS_:
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___unsigned_long_int____ptr64]
nop
lea rcx, [rbp - 0x11]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDebug::destructor_void____ptr64]
xor edx, edx
lea rcx, [0x1800a8228]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsi], rax
mov dword [rbp - 0x29], 1
jmp 0x1800133c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [rbp + 0x13]
lea rcx, [rbp + 0x1f]
call fcn.180017bc0
nop
mov rdx, rax
lea rcx, [rbp - 0x19]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromStdString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_]
nop
cmp qword [rbp + 0x37], 0x10
jb 0x1800133a1
mov rcx, qword [rbp + 0x1f]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
lea rdx, [rbp - 0x19]
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
mov dword [rbp - 0x29], 1
lea rcx, [rbp - 0x19]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, rsi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.18008b810
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret