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

Disassembly:
push 0xffffffffffffffff
push 0x6408fbd4
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ca240]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov esi, dword [edi + 4]
mov eax, dword [eax + 0x38]
call eax
test al, al
jne 0x6407733a
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 0x64077503
cmp dword [esi + 0x58], 0
jne 0x64077353
push str.QNativeSocketEngine::waitForWrite___was_called_in_QAbstractSocket::UnconnectedState
call dword [sym.imp.QtCore4.dll_void___cdecl_qWarning_char_const__]
add esp, 4
jmp 0x64077503
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x6407735e
mov byte [ebx], 0
push 0
push dword [esp + 0x30]
mov ecx, esi
call fcn.640788c0
mov ebp, eax
test ebp, ebp
jle 0x64077389
push 3
mov ecx, edi
call fcn.64065b20
mov ecx, dword [edi + 4]
call fcn.64077780
mov al, 1
jmp 0x64077505
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x30], 4
push eax
push 0x1007
push 0xffff
push dword [esi + 0x78]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x6407748d
mov eax, dword [esp + 0x30]
cmp eax, 0x274d
jne 0x6407741e
cmp byte [esi + 0x50], 0
jne 0x64077412
push 0
lea eax, [esp + 0x18]
mov byte [esi + 0x50], 1
push str.Connection_refused
push eax
mov dword [esi + 0x4c], 0
call fcn.64076f00
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 0x64077503
cmp eax, 0x274c
jne 0x64077454
cmp byte [esi + 0x50], 0
jne 0x64077412
push 0
lea eax, [esp + 0x18]
mov byte [esi + 0x50], 1
push str.Connection_timed_out
push eax
mov dword [esi + 0x4c], 7
call fcn.64076f00
add esp, 0xc
mov dword [esp + 0x24], 0x26
jmp 0x640773f6
cmp eax, 0x2751
jne 0x6407748d
cmp byte [esi + 0x50], 0
jne 0x64077412
push 0
lea eax, [esp + 0x18]
mov byte [esi + 0x50], 1
push str.Host_unreachable
push eax
mov dword [esi + 0x4c], 7
call fcn.64076f00
add esp, 0xc
mov dword [esp + 0x24], 0x3d
jmp 0x640773f6
test ebp, ebp
jne 0x640774e7
test ebx, ebx
je 0x64077498
mov byte [ebx], 1
cmp byte [esi + 0x50], 0
jne 0x640774e1
push 0
lea eax, [esp + 0x1c]
mov byte [esi + 0x50], 1
push str.Network_operation_timed_out
push eax
mov dword [esi + 0x4c], 5
call fcn.64076f00
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 0x64077503
mov ecx, edi
call fcn.64065c60
cmp eax, 2
jne 0x64077503
movzx eax, word [esi + 0x70]
mov ecx, edi
mov edx, dword [edi]
push eax
lea eax, [esi + 0x6c]
push eax
call dword [edx + 0x3c]
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