Function at 0x140058e50
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x288
mov qword [rsp + 0x1c0], 0xfffffffffffffffe
mov rax, qword [0x1403abd28]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x2a0]
call qword [rax + 0x18]
test eax, eax
jne 0x140058ea5
mov eax, 0x10df
jmp 0x140059560
mov rax, qword [rsp + 0x2a0]
cmp dword [rax + 0x14], 0
jne 0x140058f59
xor r8d, r8d
lea rdx, [0x1401627f8]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QObject::tr_char_const____ptr64__char_const____ptr64_]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d0], rax
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.QtCore4.dll_public:_class_QByteArray___cdecl_QString::toLocal8Bit_void____ptr64]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x1e0]
call qword [sym.imp.QtCore4.dll_public:_char____ptr64___cdecl_QByteArray::data_void____ptr64]
mov rdx, rax
mov rcx, qword [rsp + 0x2a8]
call qword [reloc.MSVCP90.dll___4__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_PEBD_Z]
nop
lea rcx, [rsp + 0xf8]
call qword [sym.imp.QtCore4.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xf0]
call qword [sym.imp.QtCore4.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor eax, eax
jmp 0x140059560
mov dword [rsp + 0xdc], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void____ptr64]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0xd8], 0x2800
mov ecx, 0x2800
call fcn.14012bbe0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x70], rax
mov r8d, 0xc
xor edx, edx
lea rcx, [rsp + 0xc8]
call sub.MSVCR90.dll_memset
mov dword [rsp + 0xc8], 0
mov dword [rsp + 0xcc], 0
mov r8d, 0x2800
xor edx, edx
mov rcx, qword [rsp + 0x70]
call sub.MSVCR90.dll_memset
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0xdc]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2800
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rsp + 0xc8]
mov edx, 0x2d1400
mov rcx, qword [rsp + 0x2a0]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400594b8
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0xc], 0
jbe 0x14005909b
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 4]
cmp dword [rcx + 0xc], eax
jae 0x14005909b
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0xc]
mov rdx, qword [rsp + 0x70]
add rdx, rax
lea rcx, [rsp + 0xa0]
call qword [reloc.MSVCP90.dll___4__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_PEBD_Z]
mov rax, qword [rsp + 0xe0]
cmp dword [rax + 0x10], 0
jbe 0x1400590df
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 4]
cmp dword [rcx + 0x10], eax
jae 0x1400590df
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x10]
mov rdx, qword [rsp + 0x70]
add rdx, rax
lea rcx, [rsp + 0x48]
call qword [reloc.MSVCP90.dll___4__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_PEBD_Z]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x2a0]
call fcn.140059650
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x2a0]
call fcn.140059650
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP90.dll_public:_bool___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::empty_void_const___ptr64]
movzx eax, al
test eax, eax
jne 0x140059130
lea rdx, [0x140162804]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const____ptr64____ptr64]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x1e8], eax
cmp dword [rsp + 0x1e8], 1
je 0x140059188
cmp dword [rsp + 0x1e8], 6
je 0x1400592c2
cmp dword [rsp + 0x1e8], 7
je 0x140059225
cmp dword [rsp + 0x1e8], 8
je 0x14005935f
jmp 0x1400593f7
xor r8d, r8d
lea rdx, str.SCSI_Disk_Device
lea rcx, [rsp + 0x108]
call qword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QObject::tr_char_const____ptr64__char_const____ptr64_]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x1f8], rax
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x1f8]
call qword [sym.imp.QtCore4.dll_public:_class_QByteArray___cdecl_QString::toLocal8Bit_void____ptr64]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x208], rax
mov rcx, qword [rsp + 0x208]
call qword [sym.imp.QtCore4.dll_public:_char____ptr64___cdecl_QByteArray::data_void____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x78]
call qword [reloc.MSVCP90.dll___4__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_PEBD_Z]
nop
lea rcx, [rsp + 0x110]
call qword [sym.imp.QtCore4.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x108]
call qword [sym.imp.QtCore4.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x1400593f7
xor r8d, r8d
lea rdx, str.USB_Device
lea rcx, [rsp + 0x118]
call qword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QObject::tr_char_const____ptr64__char_const____ptr64_]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x218], rax
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x218]
call qword [sym.imp.QtCore4.dll_public:_class_QByteArray___cdecl_QString::toLocal8Bit_void____ptr64]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x228], rax
mov rcx, qword [rsp + 0x228]
call qword [sym.imp.QtCore4.dll_public:_char____ptr64___cdecl_QByteArray::data_void____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x78]
call qword [reloc.MSVCP90.dll___4__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_PEBD_Z]
nop
lea rcx, [rsp + 0x120]
call qword [sym.imp.QtCore4.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x118]
call qword [sym.imp.QtCore4.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x1400593f7
xor r8d, r8d
lea rdx, str.Firbre_Device
lea rcx, [rsp + 0x128]
call qword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QObject::tr_char_const____ptr64__char_const____ptr64_]
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x238], rax
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x238]
call qword [sym.imp.QtCore4.dll_public:_class_QByteArray___cdecl_QString::toLocal8Bit_void____ptr64]
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x248], rax
mov rcx, qword [rsp + 0x248]
call qword [sym.imp.QtCore4.dll_public:_char____ptr64___cdecl_QByteArray::data_void____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x78]
call qword [reloc.MSVCP90.dll___4__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_PEBD_Z]
nop
lea rcx, [rsp + 0x130]
call qword [sym.imp.QtCore4.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x128]
call qword [sym.imp.QtCore4.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x1400593f7
xor r8d, r8d
lea rdx, str.RAID_Device
lea rcx, [rsp + 0x138]
call qword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QObject::tr_char_const____ptr64__char_const____ptr64_]
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x258], rax
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.QtCore4.dll_public:_class_QByteArray___cdecl_QString::toLocal8Bit_void____ptr64]
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x268], rax
mov rcx, qword [rsp + 0x268]
call qword [sym.imp.QtCore4.dll_public:_char____ptr64___cdecl_QByteArray::data_void____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x78]
call qword [reloc.MSVCP90.dll___4__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_PEBD_Z]
nop
lea rcx, [rsp + 0x140]
call qword [sym.imp.QtCore4.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x138]
call qword [sym.imp.QtCore4.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP90.dll_public:_bool___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::empty_void_const___ptr64]
movzx eax, al
test eax, eax
jne 0x14005947a
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void____ptr64]
lea rdi, [rsp + 0x1b0]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x148]
lea rsi, [rsp + 0x1b0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x1a0]
lea rsi, [rsp + 0x148]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9b, 0x20
lea r8, [rsp + 0x1a0]
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP90.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::insert_class_std::_String_const_iterator_char__struct_std::char_traits_char___class_std::allocator_char____char____ptr64]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x2a8]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x2a8]
call qword [reloc.MSVCP90.dll___Y__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_AEBV01__Z]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x2a8]
call qword [reloc.MSVCP90.dll___Y__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__QEAAAEAV01_AEBV01__Z]
jmp 0x14005950e
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x178]
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x180], eax
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov eax, dword [rsp + 0x180]
jmp 0x140059560
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x188], rax
mov rcx, qword [rsp + 0x188]
call sub.MSVCR90.dll_void___cdecl_operator_delete___void____ptr64_
mov dword [rsp + 0x190], 0
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov eax, dword [rsp + 0x190]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14012bc90
add rsp, 0x288
pop rdi
pop rsi
ret