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

Disassembly:
cmp dword [ecx + 0x134], 0
mov eax, dword [ecx + 4]
jne 0x64085261
mov ecx, dword [ecx + 0x140]
test ecx, ecx
je 0x64085259
mov byte [ecx], 1
mov ecx, eax
jmp dword [sym.imp.QtCore4.dll_protected:_void___thiscall_QIODevice::readyRead_void_]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
jmp edx
push 0xffffffffffffffff
push 0x640a6ba9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x640ee650]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x184]
mov edi, dword [esi + 4]
call sym.QtNetwork4.dll_public:_unsigned_short_int___thiscall_QAbstractSocket::localPort_void_const
movzx eax, ax
push eax
mov ecx, edi
call sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::setLocalPort_unsigned_short_int_
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x184]
call sym.QtNetwork4.dll_public:_class_QHostAddress___thiscall_QAbstractSocket::localAddress_void_
push eax
mov ecx, edi
mov dword [esp + 0x20], 0
call sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::setLocalAddress_class_QHostAddress_const__
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov ecx, dword [esi + 0x184]
call sym.QtNetwork4.dll_public:_unsigned_short_int___thiscall_QAbstractSocket::peerPort_void_const
movzx edx, ax
push edx
mov ecx, edi
call sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::setPeerPort_unsigned_short_int_
mov ecx, dword [esi + 0x184]
lea eax, [esp + 0xc]
push eax
call sym.QtNetwork4.dll_public:_class_QHostAddress___thiscall_QAbstractSocket::peerAddress_void_
push eax
mov ecx, edi
mov dword [esp + 0x20], 1
call sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::setPeerAddress_class_QHostAddress_const__
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x184]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QAbstractSocket::peerName_void_
push eax
mov ecx, edi
mov dword [esp + 0x20], 2
call sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::setPeerName_class_QString_const__
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esi + 0x184]
call sym.QtNetwork4.dll_public:_int___thiscall_QAbstractSocket::socketDescriptor_void_const
mov ecx, edi
mov dword [esi + 0xc0], eax
call sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::connected_void_
cmp byte [esi + 0x138], 0
je 0x64085fe4
mov ecx, edi
call sym.QtNetwork4.dll_public:_void___thiscall_QSslSocket::startClientEncryption_void_
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
cmp byte [esi + 0x9b], 0
je 0x64085ffb
mov ecx, edi
mov byte [esi + 0x9b], 0
call sym.QtNetwork4.dll_public:_void___thiscall_QAbstractSocket::disconnectFromHost_void_
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
cmp dword [ecx + 0xfc], 0
mov eax, dword [ecx + 4]
jne 0x64086025
cmp dword [ecx + 0xf8], 0
je 0x6408604b
push esi
mov esi, dword [eax + 4]
cmp dword [esi + 0x134], 0
je 0x6408603b
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
mov ecx, dword [esi + 0x184]
pop esi
test ecx, ecx
je 0x6408604b
jmp sym.QtNetwork4.dll_public:_bool___thiscall_QAbstractSocket::flush_void_
ret
cmp dword [esp + 8], 0
push esi
jne case.default.0x64088d71
mov eax, dword [esp + 0x10]
cmp eax, 0x12
ja case.default.0x64088d71
jmp dword [eax*4 + 0x64088ee0]
mov ecx, dword [esp + 8]
pop esi
jmp sym.QtNetwork4.dll_protected:_void___thiscall_QSslSocket::encrypted_void_
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [esp + 0xc]
call sym.QtNetwork4.dll_protected:_void___thiscall_QSslSocket::peerVerifyError_class_QSslError_const__
pop esi
ret
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 8]
push eax
call sym.QtNetwork4.dll_protected:_void___thiscall_QSslSocket::sslErrors_class_QList_class_QSslError__const__
pop esi
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 8]
push eax
call sym.QtNetwork4.dll_protected:_void___thiscall_QSslSocket::modeChanged_enum_QSslSocket::SslMode_
pop esi
ret
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 8]
push edx
push eax
call sym.QtNetwork4.dll_protected:_void___thiscall_QSslSocket::encryptedBytesWritten_long_long___int64__
pop esi
ret
mov ecx, dword [esp + 8]
pop esi
jmp sym.QtNetwork4.dll_public:_void___thiscall_QSslSocket::startClientEncryption_void_
mov ecx, dword [esp + 8]
pop esi
jmp sym.QtNetwork4.dll_public:_void___thiscall_QSslSocket::startServerEncryption_void_
mov ecx, dword [esp + 8]
mov edx, dword [ecx + 4]
mov byte [edx + 0x13b], 1
pop esi
ret
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
push ecx
mov ecx, esp
mov dword [ecx], edx
mov ecx, dword [eax + 8]
movzx edx, word [ecx]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc]
push edx
push eax
call sym.QtNetwork4.dll_protected:_void___thiscall_QSslSocket::connectToHostImplementation_class_QString_const___unsigned_short_int__class_QFlags_enum_QIODevice::OpenModeFlag__
pop esi
ret
mov ecx, dword [esp + 8]
pop esi
jmp sym.QtNetwork4.dll_protected:_void___thiscall_QSslSocket::disconnectFromHostImplementation_void_
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 4]
pop esi
jmp 0x64085ec0
mov edx, dword [esp + 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 4]
pop esi
jmp sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::hostFound_void_
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
mov esi, dword [ecx + 4]
call eax
mov ecx, esi
pop esi
jmp sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::disconnected_void_
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push eax
call fcn.64085190
pop esi
ret
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov edx, dword [esp + 8]
push ecx
mov ecx, dword [edx + 4]
call fcn.640851b0
pop esi
ret
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
pop esi
jmp 0x64085240
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push edx
push eax
call fcn.64085430
pop esi
ret
mov edx, dword [esp + 8]
mov ecx, dword [edx + 4]
pop esi
jmp 0x64086010
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x134], 0
je case.default.0x64088d71
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
pop esi
jmp eax