Function at 0x640745e0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0xbc], 0
push edi
mov edi, dword [esi + 4]
je 0x64070f80
mov ecx, dword [esi + 0xbc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
call edx
test al, al
je 0x64070f80
cmp dword [esi + 0x124], 6
jne 0x64070f80
mov ecx, dword [esi + 0xbc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
call edx
mov ecx, edi
pop edi
pop esi
jmp sym.QtNetwork4.dll_public:_void___thiscall_QAbstractSocket::disconnectFromHost_void_
pop edi
pop esi
ret
push 0xffffffffffffffff
push 0x640a4549
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ee650]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0xbc]
mov edi, dword [esi + 4]
xor ebp, ebp
cmp ecx, ebp
je 0x64072d63
mov eax, dword [ecx]
mov edx, dword [eax + 0xa4]
push ebp
call edx
mov ecx, dword [esi + 0x110]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QTimer::stop_void_]
lea ecx, [esi + 0xa8]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QListData::isEmpty_void_const]
test al, al
je 0x64072e2c
push ebp
lea eax, [esp + 0x18]
push str.Connection_timed_out
push eax
mov dword [esi + 0x124], ebp
mov dword [esi + 0x128], 5
call sym.QtNetwork4.dll_public:_static_class_QString___cdecl_QAbstractSocket::tr_char_const___char_const__
add esp, 0xc
push eax
mov ecx, edi
mov dword [esp + 0x38], ebp
call dword [sym.imp.QtCore4.dll_protected:_void___thiscall_QIODevice::setErrorString_class_QString_const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esi + 0x124]
mov ebx, dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___]
lea eax, [esp + 0x1c]
push eax
push 3
lea edx, [esp + 0x1c]
push sym.QtNetwork4.dll_struct_QMetaObject_const_QAbstractSocket::staticMetaObject
push edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], edx
call ebx
mov ecx, dword [esi + 0x128]
lea eax, [esp + 0x34]
push eax
push 4
lea edx, [esp + 0x30]
push sym.QtNetwork4.dll_struct_QMetaObject_const_QAbstractSocket::staticMetaObject
push edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edx
call ebx
add esp, 0x20
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, esi
call fcn.640729d0
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
cmp dword [esp + 8], 0
jne case.default.0x640745f0
mov eax, dword [esp + 0xc]
cmp eax, 0xf
ja case.default.0x640745f0
jmp dword [eax*4 + 0x640746f8]
mov ecx, dword [esp + 4]
jmp sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::hostFound_void_
mov ecx, dword [esp + 4]
jmp sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::connected_void_
mov ecx, dword [esp + 4]
jmp sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::disconnected_void_
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov ecx, dword [esp + 4]
push edx
call sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::stateChanged_enum_QAbstractSocket::SocketState_
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov ecx, dword [esp + 4]
push edx
call sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::error_enum_QAbstractSocket::SocketError_
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 4]
push edx
push eax
call sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::proxyAuthenticationRequired_class_QNetworkProxy_const___class_QAuthenticator__
ret
mov ecx, dword [esp + 4]
jmp sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::connectionClosed_void_
mov ecx, dword [esp + 4]
jmp sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::delayedCloseFinished_void_
mov eax, dword [esp + 0x10]
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 + 8]
push edx
push eax
call sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::connectToHostImplementation_class_QString_const___unsigned_short_int__class_QFlags_enum_QIODevice::OpenModeFlag__
ret
push ecx
mov eax, esp
mov dword [eax], 3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
movzx edx, word [ecx]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 8]
push edx
push eax
call sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::connectToHostImplementation_class_QString_const___unsigned_short_int__class_QFlags_enum_QIODevice::OpenModeFlag__
ret
mov ecx, dword [esp + 4]
jmp sym.QtNetwork4.dll_protected:_void___thiscall_QAbstractSocket::disconnectFromHostImplementation_void_
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
jmp fcn.640729d0
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
push eax
call fcn.640736b0
ret
mov edx, dword [esp + 4]
mov ecx, dword [edx + 4]
jmp 0x64072d20
mov eax, dword [esp + 4]
mov ecx, dword [eax + 4]
jmp fcn.64072c80
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
jmp 0x64070f40