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

Disassembly:
push 0xffffffffffffffff
push 0x64095edd
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ee650]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
movsx eax, byte [esi + 0x5c]
movsx ecx, byte [esi + 0x5d]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*2]
movsx ecx, byte [esi + 0x5e]
lea eax, [eax + eax*4]
lea ebp, [ecx + eax*2]
cmp ebp, 0xe2
je 0x64009480
cmp ebp, 0xfa
jne 0x640094aa
push 1
push str.RETR
lea ecx, [esp + 0x38]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esi + 0x6c]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::startsWith_class_QLatin1String_const___enum_Qt::CaseSensitivity_const]
test al, al
je 0x640094aa
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x640094aa
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::SocketState___thiscall_QAbstractSocket::state_void_
test eax, eax
je 0x640094aa
mov byte [esi + 0x71], 1
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov eax, dword [esi + 0x64]
dec eax
je 0x640094bb
dec eax
jne 0x640094c2
mov dword [esi + 0x64], eax
jmp 0x64009b03
mov dword [esi + 0x64], 2
mov eax, dword [esi + 0x60]
xor ebx, ebx
sub eax, ebx
je 0x64009505
sub eax, 2
jne 0x64009b03
mov al, byte [esi + 0x5c]
test al, al
js 0x640094e7
cmp al, 5
jg 0x640094e7
cmp ebp, 0xca
jne 0x640094f3
mov dword [esi + 0x60], 4
jmp 0x640095b2
movsx edx, al
mov eax, dword [edx*4 + 0x640aac7c]
mov dword [esi + 0x60], eax
jmp 0x640095b2
mov al, byte [esi + 0x5c]
cmp al, 1
je 0x64009b03
cmp al, 2
jne 0x64009b03
mov byte [esp + 0x2c], 0x20
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esi + 0x60], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0x50]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QAbstractSocket::peerName_void_
mov edi, eax
push ebx
lea eax, [esp + 0x28]
push str.Connected_to_host__1
push eax
mov dword [esp + 0x7c], ebx
call sym.QtNetwork4.dll_public:_static_class_QString___cdecl_QFtp::tr_char_const___char_const__
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push ebx
push edi
lea edx, [esp + 0x38]
push edx
mov ecx, eax
mov byte [esp + 0x80], 1
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
push eax
mov ecx, esi
mov byte [esp + 0x74], 2
call fcn.64001af0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov dword [esp + 0x70], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x5c]
push ecx
push 3
mov dword [esp + 0x64], ebx
lea eax, [esp + 0x34]
push 0x640ed014
lea ebx, [esi + 0x58]
push esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebx
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___]
add esp, 0x10
cmp byte [esi + 8], 0
je 0x640095ee
mov byte [esi + 8], 0
jmp 0x640099b1
cmp ebp, 0xe3
jne 0x640097a1
push str._d___d___d___d___d___d_
lea ecx, [esp + 0x34]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_const__]
push 0
push 1
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x7c], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::constructor_class_QString_const___enum_Qt::CaseSensitivity__enum_QRegExp::PatternSyntax_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 5
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
push 0
push ebx
lea ecx, [esp + 0x2c]
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QRegExp::indexIn_class_QString_const___int__enum_QRegExp::CaretMode_const]
cmp eax, 0xffffffff
je 0x6400978a
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_class_QStringList___thiscall_QRegExp::capturedTexts_void_]
mov al, 0x2e
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 6
mov byte [esp + 0x1c], al
mov byte [esp + 0x1b], al
mov byte [esp + 0x1a], al
call fcn.640058a0
lea ecx, [esp + 0x16]
mov dword [esp + 0x58], ecx
push 2
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], eax
call fcn.640058a0
lea ecx, [esp + 0x17]
mov dword [esp + 0x50], eax
lea edx, [esp + 0x54]
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], ecx
push 3
lea ecx, [esp + 0x20]
mov dword [esp + 0x50], edx
mov dword [esp + 0x48], eax
call fcn.640058a0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], eax
lea edx, [esp + 0x44]
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], ecx
push 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], eax
call fcn.640058a0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x28]
lea edx, [esp + 0x34]
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], edx
call fcn.64009390
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0xa
push 0
push 5
lea ecx, [esp + 0x28]
call fcn.640058a0
mov ebp, dword [sym.imp.QtCore4.dll_public:_unsigned_int___thiscall_QString::toUInt_bool___int_const]
mov ecx, eax
call ebp
push 0xa
push 0
mov edi, eax
push 6
lea ecx, [esp + 0x28]
shl edi, 8
call fcn.640058a0
mov ecx, eax
call ebp
add eax, edi
movzx eax, ax
push eax
lea edx, [esp + 0x30]
mov byte [esi + 0x70], 1
lea ecx, [esi + 0x10]
push edx
call fcn.64002040
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 5
call fcn.640035f0
lea ecx, [esp + 0x20]
mov dword [esp + 0x70], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::destructor_void_]
jmp 0x640099b1
cmp ebp, 0xe5
jne 0x640098a8
push 1
push 0
push ecx
mov byte [esp + 0x38], 0x28
mov eax, dword [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov ecx, ebx
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const]
mov edi, eax
cmp edi, 0xffffffff
je 0x640099b1
inc edi
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call dword [sym.imp.QtCore4.dll_public:_class_QChar___thiscall_QString::at_int_const]
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x2c]
push edx
mov ecx, ebx
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::mid_int__int_]
push 1
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, eax
mov dword [esp + 0x80], 0xa
call dword [sym.imp.QtCore4.dll_public:_class_QStringList___thiscall_QString::split_class_QChar_const___enum_QString::SplitBehavior__enum_Qt::CaseSensitivity_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 0xc
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x30]
push eax
lea ecx, [esi + 0x50]
mov byte [esi + 0x70], 1
call sym.QtNetwork4.dll_public:_class_QHostAddress___thiscall_QAbstractSocket::peerAddress_void_
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov byte [esp + 0x74], 0xd
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QHostAddress::toString_void_
mov edi, eax
push 0xa
push 0
push 3
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], 0xe
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::at_int_const]
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::toInt_bool___int_const]
push eax
push edi
lea ecx, [esi + 0x10]
call fcn.64002040
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 0xd
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 0xc
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], 0xffffffff
call fcn.640035f0
jmp 0x640099b1
cmp ebp, 0xe6
jne 0x64009916
push 1
push str.USER
lea ecx, [esp + 0x38]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
mov ebp, dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::startsWith_class_QLatin1String_const___enum_Qt::CaseSensitivity_const]
push eax
lea ecx, [esi + 0x6c]
call ebp
test al, al
je 0x64009908
lea ecx, [esi + 0x68]
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QListData::size_void_const]
test eax, eax
jle 0x64009908
push 1
push str.PASS
lea ecx, [esp + 0x38]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esi + 0x68]
call fcn.64007720
mov ecx, eax
call ebp
test al, al
je 0x64009908
lea ecx, [esi + 0x68]
call fcn.64007750
push 4
mov ecx, esi
call fcn.64001ac0
jmp 0x640099b1
cmp ebp, 0xd5
jne 0x6400997c
push 1
push 0x640aaa10
lea ecx, [esp + 0x38]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esi + 0x6c]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::startsWith_class_QLatin1String_const___enum_Qt::CaseSensitivity_const]
test al, al
je 0x640099b1
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::simplified_void_]
push 0xa
push 0
mov ecx, eax
mov dword [esp + 0x78], 0xf
call dword [sym.imp.QtCore4.dll_public:_long_long___int64____thiscall_QString::toLongLong_bool___int_const]
push edx
push eax
lea ecx, [esi + 0x10]
call fcn.64001fe0
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x640099b1
cmp byte [esi + 0x5c], 1
jne 0x640099b1
push 1
push str.STOR
lea ecx, [esp + 0x38]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esi + 0x6c]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::startsWith_class_QLatin1String_const___enum_Qt::CaseSensitivity_const]
test al, al
je 0x640099b1
lea ecx, [esi + 0x10]
call fcn.640015d0
lea ecx, [esi + 0x10]
call fcn.64002290
mov eax, dword [esi + 0x60]
dec eax
je 0x64009ab5
sub eax, 2
je 0x64009aae
dec eax
jne 0x64009b03
push 1
push str.EPSV
lea ecx, [esp + 0x44]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
mov ebp, dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::startsWith_class_QLatin1String_const___enum_Qt::CaseSensitivity_const]
push eax
lea ecx, [esi + 0x6c]
call ebp
test al, al
je 0x64009a33
push str.PASV_r_n
lea ecx, [esp + 0x48]
mov byte [esi + 9], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_const__]
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x68]
mov dword [esp + 0x74], 0x11
call fcn.640038d0
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x64009a9f
push 1
push str.EPRT
lea ecx, [esp + 0x54]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esi + 0x6c]
call ebp
test al, al
je 0x64009a95
push str.PORT_r_n
lea ecx, [esp + 0x58]
mov byte [esi + 9], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_const__]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0x68]
mov dword [esp + 0x74], 0x12
call fcn.640038d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x70], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x64009a9f
push ebx
push 1
mov ecx, esi
call fcn.64001b20
cmp dword [esi + 0x60], 2
je 0x64009b03
mov dword [esi + 0x60], 1
jmp 0x64009afc
mov dword [esi + 0x60], 1
lea ecx, [esi + 0x28]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::isNull_void_const]
test al, al
jne 0x64009afc
lea edx, [esp + 0x34]
lea ecx, [esi + 0x10]
push edx
call fcn.640016f0
push eax
push 1
mov ecx, esi
mov dword [esp + 0x78], 0x10
call fcn.64001b20
lea ecx, [esp + 0x34]
mov dword [esp + 0x70], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esi + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::clear_void_]
mov ecx, esi
call fcn.64007800
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret