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

Disassembly:
push 0xffffffffffffffff
push 0x4eb1ef
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x64]
xor ebx, ebx
mov dword [esp + 0x24], ebx
cmp byte [ebp + 0x6c], bl
jne 0x4aa3e7
cmp dword [ebp + 0x60], ebx
jg 0x4aa3e7
push str.update
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator__char_const__const]
test al, al
jne 0x4aa3e7
push ebp
call fcn.004aa400
mov ecx, dword [ebp + 0x44]
cmp ecx, ebx
je 0x4a9fcf
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 1
call edx
mov dword [ebp + 0x44], ebx
push 0xa0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x5c], ebx
cmp esi, ebx
je 0x4a9ff8
call fcn.004ad280
push eax
push esi
call fcn.00454d30
jmp 0x4a9ffa
xor eax, eax
mov dword [esp + 0x5c], 0xffffffff
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
mov byte [esp + 0x64], 0
test ecx, ecx
jle 0x4aa1e8
xor edi, edi
lea ecx, [ecx]
mov eax, dword [ebp + 0x48]
mov edx, dword [eax + 8]
add edx, edi
mov eax, dword [eax + edx*4 + 0x14]
cmp dword [eax + 0x1c], 6
je 0x4aa1ca
mov byte [esp + 0x28], 0x20
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x1e]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov byte [esp + 0x2c], 0x20
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax + 8]
add ecx, edi
mov edx, dword [eax + ecx*4 + 0x14]
mov eax, dword [edx + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x48]
fild dword [esp + 0x30]
mov ecx, dword [eax + 8]
sub esp, 0xc
add ecx, edi
fstp qword [esp + 4]
mov eax, dword [eax + ecx*4 + 0x14]
mov esi, esp
mov dword [esp + 0x58], esp
call fcn.004bb9d0
mov dword [esp + 0x68], 1
mov eax, dword [ebp + 0x48]
mov edx, dword [eax + 8]
push ecx
add edx, edi
mov eax, dword [eax + edx*4 + 0x14]
mov esi, esp
mov dword [esp + 0x60], esp
call fcn.0049ed10
mov byte [esp + 0x6c], 2
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax + 8]
add ecx, edi
mov eax, dword [eax + ecx*4 + 0x14]
lea esi, [esp + 0x58]
call fcn.0049eeb0
mov ebx, eax
mov byte [esp + 0x6c], 3
mov eax, dword [ebp + 0x48]
mov edx, dword [eax + 8]
add edx, edi
mov eax, dword [eax + edx*4 + 0x14]
lea esi, [esp + 0x54]
call fcn.00409c60
mov dword [esp + 0x40], eax
mov byte [esp + 0x6c], 4
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax + 8]
add ecx, edi
mov eax, dword [eax + ecx*4 + 0x14]
lea esi, [esp + 0x50]
call fcn.00409c40
mov edi, eax
mov eax, str.Argument_1_is_an_application_name__argument_2_is_a_details_package__version__size__description_etc_._The__v.__is_a_translated_abbreviation_for__version_.
mov ecx, str.__1_v.__2_
lea esi, [esp + 0x4c]
mov byte [esp + 0x6c], 5
call fcn.004a4be0
lea edx, [esp + 0x28]
push edx
push 0
push edi
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 6
mov esi, dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
push ecx
mov ecx, eax
call esi
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x2a]
push edx
push 0
push ecx
lea edx, [esp + 0x50]
push edx
mov ecx, eax
mov byte [esp + 0x7c], 7
call esi
mov byte [esp + 0x6c], 8
push ebx
mov byte [esp + 0x70], 0xe
mov ecx, dword [ebp + 0x44]
push eax
call fcn.004555f0
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 0xd
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 0xc
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
xor ebx, ebx
mov cl, byte [esp + 0x64]
mov eax, dword [ebp + 0x48]
inc cl
movzx edi, cl
mov byte [esp + 0x64], cl
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp edi, ecx
jl 0x4aa020
mov edx, dword [ebp + 0x44]
mov esi, dword [sym.imp.QtCore4.dll_public:_static_bool___cdecl_QObject::connect_class_QObject_const___char_const___class_QObject_const___char_const___enum_Qt::ConnectionType_]
push ebx
push str.1downloadItems__
push ebp
push str.2updateClicked__
push edx
call esi
mov eax, dword [ebp + 0x44]
add esp, 0x14
push ebx
push str.1cancelDownload__
push ebp
push str.2cancelClicked__
push eax
call esi
mov edi, dword [ebp + 0x44]
add esp, 0x14
mov byte [ebp + 0x6c], 1
call fcn.00454fd0
mov ecx, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov esi, dword [sym.imp.QtCore4.dll_public:_class_QObject____thiscall_QMetaObject::cast_class_QObject__const]
mov dword [ebp + 0x44], ebx
mov byte [ebp + 0x6f], 0
mov eax, dword [ecx]
push eax
mov ecx, 0x56e524
call esi
mov eax, dword [eax + 8]
push eax
mov ecx, 0x56e674
call esi
mov edi, eax
cmp edi, ebx
je 0x4aa25e
call fcn.00403ba0
mov ecx, edi
call fcn.004050e0
mov edx, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov eax, dword [edx]
push eax
mov ecx, 0x56e524
call esi
mov esi, dword [eax + 0x18]
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str.FakeAddonsList
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push ecx
mov dword [esp + 0x64], 0xf
mov ecx, esp
mov dword [esp + 0x54], esp
push str.Fake_addons
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x68], 0xffffffff
call fcn.004a13b0
mov dword [esp + 0x5c], 0x10
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::trimmed_void_]
cmp ecx, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
je 0x4aa2e7
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x20]
call esi
mov eax, dword [eax]
mov dword [esp + 0x24], 1
cmp dword [eax + 8], ebx
je 0x4aa2e7
xor bl, bl
jmp 0x4aa2e9
mov bl, 1
test byte [esp + 0x24], 1
je 0x4aa2fa
lea ecx, [esp + 0x64]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x4aa307
mov byte [ebp + 0x6c], 0
jmp 0x4aa3d5
push 0x4fab30
lea ecx, [esp + 0x68]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0x11
call esi
push 1
push 0
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
mov byte [esp + 0x6c], 0x12
call dword [sym.imp.QtCore4.dll_public:_class_QStringList___thiscall_QString::split_class_QString_const___enum_QString::SplitBehavior__enum_Qt::CaseSensitivity_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 0x14
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 0x15
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
test edx, edx
setg al
movzx ecx, al
push ecx
call fcn.004a5b00
mov edx, dword [ebp + 0x44]
mov esi, dword [sym.imp.QtCore4.dll_public:_static_bool___cdecl_QObject::disconnect_class_QObject_const___char_const___class_QObject_const___char_const__]
push str.1downloadItems__
push ebp
push str.2updateClicked__
push edx
call esi
mov eax, dword [ebp + 0x44]
push str.1cancelDownload__
push ebp
push str.2cancelClicked__
push eax
call esi
mov ecx, dword [ebp + 0x44]
add esp, 0x20
test ecx, ecx
je 0x4aa3b2
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 1
call eax
mov byte [esp + 0x5c], 0x10
mov eax, dword [esp + 0x20]
mov byte [ebp + 0x6c], 0
test eax, eax
je 0x4aa3d5
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4aa3d5
mov ebx, dword [esp + 0x20]
call fcn.00409b30
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4