Function at 0x64002020
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x64093e1d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x640ed630]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x3c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::clear_void_]
mov ecx, dword [esi + 8]
xor edi, edi
cmp ecx, edi
je 0x64002065
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 1
call edx
mov dword [esi + 8], edi
push 8
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], edi
cmp eax, edi
je 0x64002085
push esi
mov ecx, eax
call sym.QtNetwork4.dll_public:_void___thiscall_QTcpSocket::constructor_class_QObject__
jmp 0x64002087
xor eax, eax
mov dword [esi + 8], eax
push 0x640a93ec
lea eax, [esp + 0x1c]
or edi, 0xffffffff
push eax
mov ecx, esi
mov dword [esp + 0x38], edi
call dword [sym.imp.QtCore4.dll_public:_class_QVariant___thiscall_QObject::property_char_const__]
mov ecx, dword [esi + 8]
push eax
push 0x640a93ec
mov dword [esp + 0x38], 1
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QObject::setProperty_char_const___class_QVariant_const__]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
push 0x640a9588
lea ecx, [esp + 0x14]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_const__]
mov ecx, dword [esi + 8]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x34], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QObject::setObjectName_class_QString_const__]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esi + 8]
push 3
push str.1socketConnected__
push str.2connected__
push eax
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QObject::connect_class_QObject_const___char_const___char_const___enum_Qt::ConnectionType_const]
mov eax, dword [esi + 8]
push 3
push str.1socketReadyRead__
push str.2readyRead__
push eax
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QObject::connect_class_QObject_const___char_const___char_const___enum_Qt::ConnectionType_const]
mov eax, dword [esi + 8]
push 3
push str.1socketError_QAbstractSocket::SocketError_
push str.2error_QAbstractSocket::SocketError_
push eax
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QObject::connect_class_QObject_const___char_const___char_const___enum_Qt::ConnectionType_const]
mov eax, dword [esi + 8]
push 3
push str.1socketConnectionClosed__
push str.2disconnected__
push eax
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QObject::connect_class_QObject_const___char_const___char_const___enum_Qt::ConnectionType_const]
mov eax, dword [esi + 8]
push 3
push str.1socketBytesWritten_qint64_
push str.2bytesWritten_qint64_
push eax
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QObject::connect_class_QObject_const___char_const___char_const___enum_Qt::ConnectionType_const]
mov edx, dword [esp + 0x38]
push ecx
mov eax, esp
mov dword [eax], 3
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 8]
mov dword [esp + 0x18], esp
push eax
push edx
call sym.QtNetwork4.dll_public:_void___thiscall_QAbstractSocket::connectToHost_class_QString_const___unsigned_short_int__class_QFlags_enum_QIODevice::OpenModeFlag__
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 8