Function at 0x478180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x4fb00c]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0
mov ecx, esi
mov dword [esp + 0x28], ebx
push dword [ebx + 4]
mov dword [esp + 0x28], esi
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QString::compare_class_QString_const___enum_Qt::CaseSensitivity_const]
test eax, eax
jne 0x4781de
mov eax, dword [ebx + 4]
mov eax, dword [eax]
cmp dword [eax + 4], 0
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00498d66
mov esp, ebp
pop ebp
ret 4
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push 1
push 0
push 0x4d3c2c
push 2
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QString::indexOf_class_QLatin1String__int__enum_Qt::CaseSensitivity_const]
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
cmp eax, 0xffffffff
je 0x47821b
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
sub ecx, 0x27
cmp eax, ecx
je 0x478538
push 1
push 0x4d3c30
push 2
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::endsWith_class_QLatin1String__enum_Qt::CaseSensitivity_const]
test al, al
jne 0x478538
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x78]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QUuid::constructor_class_QString_const__]
lea ecx, [esp + 0x74]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QUuid::isNull_void_const]
test al, al
je 0x478527
lea eax, [esp + 0x84]
mov ecx, esi
push eax
call dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
jne 0x4782ab
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x5c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QUuid::constructor_struct__GUID_const__]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QUuid::toString_void_]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x478527
push str.HKEY_LOCAL_MACHINESoftwareClasses_
push 0x24
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_]
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QSettings::constructor_class_QString_const___enum_QSettings::Format__class_QObject__]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x48]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_void_]
mov dword [esp + 0x30], 0xe
mov ebx, eax
mov dword [esp + 0x34], str._CLSID_Default
mov ecx, dword [esi]
push 0
mov ecx, dword [ecx + 4]
add ecx, 0xe
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_int__enum_Qt::Initialization_]
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_class_QChar_const____thiscall_QString::constData_void_const]
mov ecx, dword [esi]
mov edi, eax
mov ecx, dword [ecx + 4]
lea esi, [ecx + ecx]
mov ecx, dword [esp + 0x20]
push esi
call dword [sym.imp.Qt5Core.dll_public:_class_QChar_const____thiscall_QString::constData_void_const]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + edi]
push eax
push dword [esp + 0x34]
push dword [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_protected:_static_void___cdecl_QAbstractConcatenable::appendLatin1To_char_const___int__class_QChar__]
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push ebx
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QVariant::toString_void_]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x38]
call esi
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x48]
call esi
mov eax, dword [esp + 0xc]
cmp dword [eax + 4], 0
jne 0x47850f
push str._CLSID
push 6
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QSettings::beginGroup_class_QString_const__]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_class_QStringList___thiscall_QSettings::childGroups_void_]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void_____thiscall_QListData::begin_void_const]
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void_____thiscall_QListData::end_void_const]
mov edi, eax
cmp esi, edi
je 0x4784fc
lea ecx, [esp + 0x58]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_void_]
mov dword [esp + 0x38], 8
mov dword [esp + 0x3c], str._Default
mov ecx, dword [esi]
push 0
mov dword [esp + 0x34], eax
mov ecx, dword [ecx + 4]
add ecx, 8
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_int__enum_Qt::Initialization_]
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_class_QChar_const____thiscall_QString::constData_void_const]
mov ecx, dword [esi]
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx + 4]
lea ebx, [ecx + ecx]
mov ecx, esi
push ebx
call dword [sym.imp.Qt5Core.dll_public:_class_QChar_const____thiscall_QString::constData_void_const]
push eax
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x28]
add esp, 0xc
add eax, ebx
push eax
push dword [esp + 0x3c]
push dword [esp + 0x44]
call dword [sym.imp.Qt5Core.dll_protected:_static_void___cdecl_QAbstractConcatenable::appendLatin1To_char_const___int__class_QChar__]
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push dword [esp + 0x30]
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QVariant::toString_void_]
mov ebx, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x48]
call ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x58]
call ebx
push dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.Qt5Core.dll_bool___cdecl_operator_class_QString_const___class_QString_const__]
add esp, 8
test al, al
jne 0x4784e7
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
add esi, 4
cmp esi, edi
jne 0x478402
jmp 0x4784fc
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QSettings::endGroup_void_]
lea ecx, [esp + 0x18]
call fcn.00403e60
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov eax, dword [esp + 0xc]
cmp dword [eax + 4], 0
jne 0x478538
push esi
lea ecx, [esp + 0x10]
call edi
push 0
push dword [ebx + 4]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QString::compare_class_QString_const___enum_Qt::CaseSensitivity_const]
test eax, eax
jne 0x47855c
mov eax, dword [ebx + 4]
mov eax, dword [eax]
cmp dword [eax + 4], 0
setne bl
jmp 0x4785e8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov ecx, dword [ebx + 4]
lea eax, [esp + 0xc]
push eax
call edi
mov eax, dword [ebx + 4]
mov ecx, ebx
or dword [eax + 8], 0x20
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
mov eax, dword [ebx + 4]
add eax, 0x10
push eax
call edx
test al, al
jne 0x47858f
mov eax, dword [ebx + 4]
or dword [eax + 8], 0x10
mov eax, dword [ebx + 4]
cmp dword [eax + 0x10], 0
jne 0x4785e6
push 0
push 0
push 0
lea ecx, [esp + 0x64]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, dword [esp + 0x20]
mov esi, eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.Qt5Core.dll__toLatin1_QString__QGBE_AVQByteArray__XZ]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_char____thiscall_QByteArray::data_void_]
push eax
push str.QAxBase::setControl:_requested_control__s_could_not_be_instantiated
push esi
call dword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const__const]
add esp, 0xc
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
xor bl, bl
jmp 0x4785e8
mov bl, 1
lea ecx, [esp + 0xc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x94]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00498d66
mov esp, ebp
pop ebp
ret 4