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

Disassembly:
push 0xffffffffffffffff
push 0x640a40a1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ee650]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], 0
mov esi, dword [edi + 4]
cmp dword [esi + 0x8c], 0
jne 0x6406f923
call sym.QtNetwork4.dll_public:_class_QNetworkProxyFactory____thiscall_QNetworkAccessManager::proxyFactory_void_const
test eax, eax
jne 0x6406f90a
push 2
jmp 0x6406f91c
mov ecx, edi
call sym.QtNetwork4.dll_public:_class_QNetworkProxyFactory____thiscall_QNetworkAccessManager::proxyFactory_void_const
cmp eax, 1
jne 0x6406fd49
push 3
mov ecx, esi
call fcn.6406ee30
mov eax, dword [esi + 0x7c]
cmp eax, 3
jne 0x6406f9c6
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, dword [esi + 0x94]
push eax
push ecx
mov ecx, dword [edx + 8]
call sym.QtNetwork4.dll_public:_bool___thiscall_QUdpSocket::bind_class_QHostAddress_const___unsigned_short_int_
mov ecx, dword [esi + 0x94]
mov ecx, dword [ecx + 8]
test al, al
lea eax, [esp + 0x64]
push eax
jne 0x6406f987
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QIODevice::errorString_void_]
mov edx, dword [esi + 0x94]
mov ecx, dword [edx + 8]
push eax
mov dword [esp + 0x5c], 1
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::SocketError___thiscall_QAbstractSocket::error_void_
push eax
mov ecx, edi
call fcn.64067a80
lea ecx, [esp + 0x64]
jmp 0x6406fd3b
call sym.QtNetwork4.dll_public:_class_QHostAddress___thiscall_QAbstractSocket::localAddress_void_
lea ebp, [esi + 0x64]
push eax
mov ecx, ebp
mov dword [esp + 0x5c], 2
call sym.QtNetwork4.dll_public:_class_QHostAddress____thiscall_QHostAddress::operator_class_QHostAddress_const__
lea ecx, [esp + 0x64]
mov dword [esp + 0x58], 0xffffffff
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov edx, dword [esi + 0x94]
mov ecx, dword [edx + 8]
lea ebx, [esi + 0x68]
call sym.QtNetwork4.dll_public:_unsigned_short_int___thiscall_QAbstractSocket::localPort_void_const
mov word [ebx], ax
jmp 0x6406f9e9
cmp eax, 2
jne 0x6406fd49
mov eax, dword [esp + 0x60]
lea ebp, [esi + 0x64]
push eax
mov ecx, ebp
call sym.QtNetwork4.dll_public:_class_QHostAddress____thiscall_QHostAddress::operator_class_QHostAddress_const__
mov cx, word [esp + 0x64]
lea ebx, [esi + 0x68]
mov word [ebx], cx
lea ecx, [esp + 0x40]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QElapsedTimer::start_void_]
lea edx, [esp + 0x18]
lea ecx, [esi + 0x80]
push edx
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QNetworkProxy::hostName_void_
mov dword [esp + 0x64], eax
push ecx
mov eax, esp
lea ecx, [esi + 0x80]
mov dword [esp + 0x5c], 3
mov dword [esp + 0x28], esp
mov dword [eax], 3
call sym.QtNetwork4.dll_public:_unsigned_short_int___thiscall_QNetworkProxy::port_void_const
mov ecx, dword [esp + 0x68]
mov edx, dword [esi + 0x8c]
movzx eax, ax
push eax
push ecx
mov ecx, dword [edx]
call sym.QtNetwork4.dll_public:_void___thiscall_QAbstractSocket::connectToHost_class_QString_const___unsigned_short_int__class_QFlags_enum_QIODevice::OpenModeFlag__
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
push 0x1388
mov ecx, esi
call fcn.6406be00
test al, al
je 0x6406fd49
mov eax, dword [esi + 0x8c]
mov ecx, dword [eax]
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::SocketState___thiscall_QAbstractSocket::state_void_
test eax, eax
je 0x6406fd49
mov eax, dword [esi + 0x78]
cmp eax, 9
jne 0x6406fa92
push 4
mov ecx, edi
call fcn.64067b60
mov al, 1
jmp 0x6406fd4b
cmp eax, 8
jne 0x6406fd07
push 4
mov ecx, edi
call fcn.64067b60
mov ecx, dword [esi + 0x94]
push ebp
add ecx, 0xc
call sym.QtNetwork4.dll_public:_class_QHostAddress____thiscall_QHostAddress::operator_class_QHostAddress_const__
lea ecx, [esp + 0x64]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
push eax
mov ecx, ebp
mov dword [esp + 0x5c], 6
call sym.QtNetwork4.dll_public:_class_QHostAddress____thiscall_QHostAddress::operator_class_QHostAddress_const__
lea ecx, [esp + 0x64]
mov dword [esp + 0x58], 0xffffffff
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov ecx, dword [esi + 0x94]
mov dx, word [ebx]
xor eax, eax
mov word [ecx + 0x10], dx
push eax
lea ecx, [esp + 0x2c]
mov word [ebx], ax
call sym.QtNetwork4.dll_public:_void___thiscall_QUdpSocket::constructor_class_QObject__
push 0x640aa3f4
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
mov dword [esp + 0x60], 7
call dword [sym.imp.QtCore4.dll_public:_class_QVariant___thiscall_QObject::property_char_const__]
push eax
push 0x640aa3f4
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 8
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QObject::setProperty_char_const___class_QVariant_const__]
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
push edx
push ecx
push 0
push eax
push 2
lea ecx, [esp + 0x74]
mov byte [esp + 0x6c], 0xb
call sym.QtNetwork4.dll_public:_void___thiscall_QNetworkProxy::constructor_enum_QNetworkProxy::ProxyType__class_QString_const___unsigned_short_int__class_QString_const___class_QString_const__
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 0xc
call sym.QtNetwork4.dll_public:_void___thiscall_QAbstractSocket::setProxy_class_QNetworkProxy_const__
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 0xb
call sym.QtNetwork4.dll_public:_void___thiscall_QNetworkProxy::destructor_void_
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [esp + 0x58], 7
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
lea ecx, [esp + 0x2c]
call sym.QtNetwork4.dll_public:_bool___thiscall_QUdpSocket::bind_unsigned_short_int_
test al, al
je 0x6406fc74
mov ecx, dword [esi + 0x8c]
mov ecx, dword [ecx]
lea eax, [esp + 0x24]
push eax
call sym.QtNetwork4.dll_public:_class_QHostAddress___thiscall_QAbstractSocket::localAddress_void_
mov dword [esp + 0x60], eax
mov edx, dword [edi]
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0xd
mov dword [esp + 0x14], 1
mov dword [esp + 0x64], edx
call sym.QtNetwork4.dll_public:_unsigned_short_int___thiscall_QAbstractSocket::localPort_void_const
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
movzx eax, ax
push eax
mov eax, dword [edx + 0x74]
push ecx
push 0
push 0
push 0
mov ecx, edi
call eax
or eax, edx
jne 0x6406fc74
lea ecx, [esp + 0x40]
call dword [sym.imp.QtCore4.dll_public:_long_long___int64____thiscall_QElapsedTimer::elapsed_void_const]
push eax
mov eax, 0x1388
call fcn.6406aa70
add esp, 4
push eax
lea ecx, [esp + 0x2c]
call sym.QtNetwork4.dll_public_virtual:_bool___thiscall_QAbstractSocket::waitForReadyRead_int_
test al, al
je 0x6406fc74
push ebx
push ebp
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
call sym.QtNetwork4.dll_public:_long_long___int64____thiscall_QUdpSocket::readDatagram_char___long_long___int64___class_QHostAddress___unsigned_short_int__
or eax, edx
jne 0x6406fc74
xor bl, bl
jmp 0x6406fc76
mov bl, 1
test byte [esp + 0x14], 1
mov dword [esp + 0x58], 7
je 0x6406fc8e
lea ecx, [esp + 0x24]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
test bl, bl
je 0x6406fcf2
push 0
mov ecx, edi
call fcn.64067b60
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x2c]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QIODevice::errorString_void_]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 0xf
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::SocketError___thiscall_QAbstractSocket::error_void_
push eax
mov ecx, edi
call fcn.64067a80
lea ecx, [esp + 0x64]
mov byte [esp + 0x58], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov edx, dword [esi + 0x8c]
mov ecx, dword [edx]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
call edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], 0xffffffff
call sym.QtNetwork4.dll_public_virtual:_void___thiscall_QUdpSocket::destructor_void_
jmp 0x6406fd49
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], 0xffffffff
call sym.QtNetwork4.dll_public_virtual:_void___thiscall_QUdpSocket::destructor_void_
mov al, 1
jmp 0x6406fd4b
push str.Network_operation_timed_out
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x64]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_const__]
lea eax, [esp + 0x60]
push eax
push 5
mov ecx, edi
mov dword [esp + 0x60], 0x12
call fcn.64067a80
lea ecx, [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8