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

Disassembly:
push 0xffffffffffffffff
push 0x5189d2
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ac54c]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0xa8], esi
je 0x4904fb
lea ecx, [ebx + 0xdc]
call fcn.0048ff20
mov ecx, dword [ebx + 0xa8]
lea eax, [ebx + 0xd8]
push eax
call dword [sym.imp.QtNetwork4.dll_public:_int___thiscall_QFtp::cd_class_QString_const__]
mov ecx, dword [ebx + 0x78]
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.QtGui4.dll_public:_class_QString___thiscall_QTextEdit::toPlainText_void_]
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
mov dword [esp + 0x88], esi
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toUtf8_void_]
mov edx, dword [esp + 0x2c]
or ebp, 0xffffffff
mov byte [esp + 0x84], 2
mov eax, ebp
lock xadd dword [edx], eax
jne 0x49009c
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov ecx, dword [ebx + 0x94]
call dword [sym.imp.QtGui4.dll_public:_bool___thiscall_QAbstractButton::isChecked_void_const]
test al, al
je 0x490475
push esi
lea edx, [esp + 0x24]
push str.Upload_error_info
push edx
call fcn.0048db70
mov edi, eax
push esi
lea eax, [esp + 0x34]
push str.It_will_take_a_few_minutes_to_upload_the_source__continue_
push eax
mov byte [esp + 0x9c], 3
call fcn.0048db70
add esp, 0x18
push 1
push 0x10000
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push edi
push eax
mov byte [esp + 0x9c], 4
mov dword [ecx], 0x14000
call dword [sym.imp.imfc0.dll_public:_static_enum_QDialogButtonBox::StandardButton___cdecl_ImMessageBox::question_class_QString_const___class_QString_const___class_QFlags_enum_QDialogButtonBox::StandardButton___class_QWidget___enum_QDialogButtonBox::StandardButton__bool_]
mov ecx, dword [esp + 0x3c]
add esp, 0x18
cmp eax, 0x4000
sete byte [esp + 0x14]
mov byte [esp + 0x84], 3
mov edx, ebp
lock xadd dword [ecx], edx
jne 0x490131
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x84], 2
mov edx, ebp
lock xadd dword [ecx], edx
jne 0x490153
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
cmp byte [esp + 0x14], 0
push esi
je 0x49050f
mov ecx, dword [ebx + 0x84]
push 0x5a2938
push 0x5a295c
push esi
call dword [sym.imp.QtGui4.dll_public:_class_QAbstractItemModel____thiscall_QAbstractItemView::model_void_const]
push eax
call sub.MSVCR90.dll___RTDynamicCast
add esp, 0x14
mov edi, eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x4c]
push eax
mov ecx, edi
mov byte [esp + 0x88], 5
call edx
xor ebp, ebp
cmp eax, esi
mov dword [esp + 0x44], eax
mov byte [esp + 0x84], 2
jle 0x490472
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
jmp 0x4901c9
xor esi, esi
or eax, 0xffffffff
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
lea ecx, [esp + 0x4c]
push ecx
push esi
push ebp
lea edx, [esp + 0x68]
push edx
mov ecx, edi
mov byte [esp + 0x94], 6
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x40]
push 0x21
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, edi
mov byte [esp + 0x90], 8
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call edx
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x88], 9
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QVariant::toString_void_]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x84], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
push 8
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
mov byte [esp + 0x84], 0xc
test esi, esi
je 0x49026e
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFile::constructor_class_QString_const__]
mov dword [esi], vtable.QFile.0
jmp 0x490270
xor esi, esi
mov byte [esp + 0x84], 0xb
mov dword [esp + 0x38], esi
test esi, esi
je 0x490430
push ecx
mov eax, esp
mov dword [eax], 1
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
mov ecx, esi
mov dword [esp + 0x4c], esp
call edx
test al, al
je 0x490430
lea eax, [esp + 0x38]
push eax
lea ecx, [ebx + 0xdc]
call fcn.0048fdf0
push 0xffffffffffffffff
push 0x538528
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x1c], eax
push 0xffffffffffffffff
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 0xd
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::lastIndexOf_class_QString_const___int__enum_Qt::CaseSensitivity_const]
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::mid_int__int_]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x84], 0xf
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x490316
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov byte [esp + 0x3c], 0x20
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x1a]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov byte [esp + 0x40], 0x20
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0xffffffffffffffff
push str._1_2
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x20], eax
lea edx, [esp + 0x14]
push edx
push 0xa
push 0
push ebp
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x98], 0x10
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_int__int__int__class_QChar_const__]
lea ecx, [esp + 0x16]
push ecx
push 0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
mov byte [esp + 0x94], 0x11
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
mov ecx, dword [ebx + 0xa8]
push 0
push eax
push esi
mov byte [esp + 0x90], 0x12
call dword [sym.imp.QtNetwork4.dll_public:_int___thiscall_QFtp::put_class_QIODevice___class_QString_const___enum_QFtp::TransferType_]
mov edx, dword [esp + 0x30]
mov esi, dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
mov byte [esp + 0x84], 0x11
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4903d1
mov ecx, dword [esp + 0x30]
push ecx
call esi
add esp, 4
mov edx, dword [esp + 0x34]
mov byte [esp + 0x84], 0x10
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4903f0
mov ecx, dword [esp + 0x34]
push ecx
call esi
add esp, 4
mov edx, dword [esp + 0x20]
mov byte [esp + 0x84], 0xf
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x49040f
mov ecx, dword [esp + 0x20]
push ecx
call esi
add esp, 4
mov edx, dword [esp + 0x24]
mov byte [esp + 0x84], 0xb
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x490436
mov ecx, dword [esp + 0x24]
push ecx
call esi
add esp, 4
jmp 0x490436
mov esi, dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x84], 8
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x490455
mov ecx, dword [esp + 0x18]
push ecx
call esi
add esp, 4
xor eax, eax
inc ebp
cmp ebp, dword [esp + 0x44]
mov byte [esp + 0x84], 2
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
jl 0x4901c7
or ebp, 0xffffffff
push ebp
push str.ErrorLog.txt
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x24], eax
mov ecx, dword [ebx + 0xa8]
push 1
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x90], 0x13
call dword [sym.imp.QtNetwork4.dll_public:_int___thiscall_QFtp::put_class_QByteArray_const___class_QString_const___enum_QFtp::TransferType_]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x84], 2
mov edx, ebp
lock xadd dword [ecx], edx
jne 0x4904ca
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
lea ecx, [ebx + 0xd8]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::clear_void_]
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0xc0], ebp
mov dword [esp + 0x84], ebp
lock xadd dword [ecx], ebp
jne 0x4904fb
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov ecx, dword [ebx + 0x94]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QAbstractButton::setChecked_bool_]
jmp 0x490475