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

Disassembly:
push 0xffffffffffffffff
push 0x640a5124
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ee650]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
mov esi, dword [edi + 4]
call edx
test al, al
jne 0x6407963a
push str.QNativeSocketEngine::waitForWrite___was_called_on_an_uninitialized_socket_device
call dword [sym.imp.QtCore4.dll_void___cdecl_qWarning_char_const__]
add esp, 4
jmp 0x64079807
cmp dword [esi + 0x58], 0
jne 0x64079653
push str.QNativeSocketEngine::waitForWrite___was_called_in_QAbstractSocket::UnconnectedState
call dword [sym.imp.QtCore4.dll_void___cdecl_qWarning_char_const__]
add esp, 4
jmp 0x64079807
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x6407965e
mov byte [ebx], 0
mov eax, dword [esp + 0x2c]
push 0
push eax
mov ecx, esi
call fcn.6407b3c0
mov ebp, eax
test ebp, ebp
jle 0x6407968a
push 3
mov ecx, edi
call fcn.64067b60
mov ecx, dword [edi + 4]
call fcn.6407a860
mov al, 1
jmp 0x64079809
mov eax, dword [esi + 0x78]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x34]
push edx
push 0x1007
push 0xffff
push eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 4
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x6407978f
mov eax, dword [esp + 0x30]
cmp eax, 0x274d
jne 0x64079720
cmp byte [esi + 0x50], 0
jne 0x64079714
push 0
lea ecx, [esp + 0x18]
push str.Connection_refused
push ecx
mov byte [esi + 0x50], 1
mov dword [esi + 0x4c], 0
call fcn.64078300
add esp, 0xc
mov dword [esp + 0x24], 0xd
push eax
lea ecx, [esi + 0x54]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esi + 0x58], 0
jmp 0x64079807
cmp eax, 0x274c
jne 0x64079756
cmp byte [esi + 0x50], 0
jne 0x64079714
push 0
lea edx, [esp + 0x18]
push str.Connection_timed_out
push edx
mov byte [esi + 0x50], 1
mov dword [esi + 0x4c], 7
call fcn.64078300
add esp, 0xc
mov dword [esp + 0x24], 0x26
jmp 0x640796f8
cmp eax, 0x2751
jne 0x6407978f
cmp byte [esi + 0x50], 0
jne 0x64079714
push 0
lea eax, [esp + 0x18]
push str.Host_unreachable
push eax
mov byte [esi + 0x50], 1
mov dword [esi + 0x4c], 7
call fcn.64078300
add esp, 0xc
mov dword [esp + 0x24], 0x3d
jmp 0x640796f8
test ebp, ebp
jne 0x640797e9
test ebx, ebx
je 0x6407979a
mov byte [ebx], 1
cmp byte [esi + 0x50], 0
jne 0x640797e3
push 0
lea ecx, [esp + 0x1c]
push str.Network_operation_timed_out
push ecx
mov byte [esi + 0x50], 1
mov dword [esi + 0x4c], 5
call fcn.64078300
add esp, 0xc
push eax
lea ecx, [esi + 0x54]
mov dword [esp + 0x28], 0x52
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [esi + 0x50], 0
jmp 0x64079807
mov ecx, edi
call fcn.64067b50
cmp eax, 2
jne 0x64079807
movzx eax, word [esi + 0x70]
mov edx, dword [edi]
mov edx, dword [edx + 0x3c]
push eax
add esi, 0x6c
push esi
mov ecx, edi
call edx
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8