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

Disassembly:
mov eax, dword [ecx + 4]
cmp byte [eax + 0x7d], 0
je 0x6407a2f6
cmp byte [eax + 0x80], 0
jne 0x6407a2f6
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 2
push 0x640bdf04
push ecx
mov byte [eax + 0x80], 1
call dword [sym.imp.Qt5Core.dll_public:_static_bool___cdecl_QMetaObject::invokeMethod_class_QObject___char_const___enum_Qt::ConnectionType__class_QGenericReturnArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument_]
add esp, 0x64
ret
sub esp, 0x38
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov ebp, dword [ebx + 4]
mov dword [esp + 0x1c], ebx
cmp dword [ebp + 0x74], 2
je 0x6407afc8
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
call eax
or eax, edx
je 0x6407b388
mov eax, dword [ebp + 0x74]
cmp eax, 2
jne 0x6407afe8
cmp byte [ebp + 0x7c], 0
je 0x6407b388
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
jmp fcn.6407a240
cmp eax, 1
jne 0x6407b003
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 4]
mov dword [eax + 0x3c], 0
mov dword [ebp + 0x74], 5
jmp 0x6407b00c
cmp eax, 5
jne 0x6407b126
mov esi, dword [ebx + 4]
mov dword [esp + 0x18], esi
cmp dword [esi + 0x74], 5
jne 0x6407b15f
mov edx, dword [esi + 0x70]
mov ecx, dword [edx + 4]
cmp dword [ecx + 0x3c], 0
jne 0x6407b03e
call fcn.6403f2f0
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 4]
mov dword [eax + 0x3c], 1
mov edx, dword [esi + 0x70]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 0x3c]
cmp eax, 1
jne 0x6407b06e
push dword [esi + 0x6c]
call fcn.64040bc0
and eax, edx
cmp eax, 0xffffffff
je 0x6407b15f
mov edx, dword [esi + 0x70]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 0x3c]
cmp eax, 1
je 0x6407b11a
cmp eax, 2
jne 0x6407b096
push dword [esi + 0x6c]
call fcn.64040210
and eax, edx
cmp eax, 0xffffffff
je 0x6407b15f
mov edx, dword [esi + 0x70]
mov eax, dword [edx + 4]
cmp dword [eax + 0x3c], 2
je 0x6407b11a
mov eax, dword [edx + 8]
lea ebx, [edx + 8]
lea ecx, [esp + 0x24]
mov edi, dword [eax + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
push 0xffffffffffffffff
push str.Content_Length
lea ecx, [esp + 0x1c]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
push esi
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
lea eax, [esp + 0x30]
push eax
call edi
push 0xa
lea ecx, [esp + 0x17]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QByteArray::toInt_bool___int_const]
lea ecx, [esp + 0x28]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x18]
je 0x6407b10f
test esi, esi
jle 0x6407b10f
mov dword [eax + 0x84], esi
mov ebx, dword [esp + 0x1c]
mov dword [eax + 0x74], 4
mov eax, dword [ebp + 0x74]
cmp eax, 5
je 0x6407b388
cmp eax, 4
jne 0x6407b1d1
mov ecx, dword [ebp + 0x6c]
push 0
push dword [ebp + 0x84]
call dword [sym.imp.Qt5Core.dll_public:_long_long___int64____thiscall_QIODevice::skip_long_long___int64__]
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
jne 0x6407b1af
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ecx]
call dword [eax + 0x78]
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
jmp 0x6407a2a0
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ecx]
call dword [eax + 0x34]
push 0
mov ecx, ebx
call fcn.6406f590
push 0xffffffffffffffff
push 0
push str.Did_not_receive_HTTP_response_from_proxy
lea eax, [esp + 0x28]
mov ecx, 0x640ca338
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const___int_]
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
push 0x12
call fcn.6406f500
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
jmp fcn.6407a190
sub dword [ebp + 0x84], eax
jne 0x6407b388
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 4]
cmp dword [eax + 0x4c], 0x197
jne 0x6407b1d1
mov dword [ebp + 0x74], 3
mov ecx, dword [ebp + 0x70]
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::SocketError___thiscall_QTcpServer::serverError_void_
mov esi, eax
cmp esi, 0xc8
jne 0x6407b24f
mov ecx, dword [ebp + 0x6c]
lea eax, [esp + 0x28]
push eax
mov dword [ebp + 0x74], 2
call sym.Qt5Network.dll_public:_class_QHostAddress___thiscall_QAbstractSocket::localAddress_void_
push eax
mov ecx, ebx
call fcn.6406f520
lea ecx, [esp + 0x28]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov ecx, dword [ebp + 0x6c]
call sym.Qt5Network.dll_public:_unsigned_short_int___thiscall_QAbstractSocket::localPort_void_const
movzx eax, ax
mov ecx, ebx
push eax
call fcn.6406f530
push 3
mov ecx, ebx
mov dword [ebp + 0x5c], 1
mov dword [ebp + 0x58], 1
call fcn.6406f590
lea ecx, [ebp + 0x78]
call sym.Qt5Network.dll_public:_void___thiscall_QAuthenticator::detach_void_
mov eax, dword [ebp + 0x78]
mov ecx, ebx
mov byte [eax + 0x20], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
jmp fcn.6407a190
cmp esi, 0x197
jne 0x6407b5ef
lea ecx, [ebp + 0x78]
call sym.Qt5Network.dll_public:_bool___thiscall_QAuthenticator::isNull_void_const
test al, al
je 0x6407b26f
lea ecx, [ebp + 0x78]
call sym.Qt5Network.dll_public:_void___thiscall_QAuthenticator::detach_void_
cmp byte [ebp + 0x82], 0
mov edi, dword [ebp + 0x78]
mov dword [esp + 0x28], edi
je 0x6407b2b3
cmp dword [edi + 0x24], 1
je 0x6407b2b3
lea ecx, [esp + 0x28]
call sym.Qt5Network.dll_public:_void___thiscall_QAuthenticator::constructor_void_
push eax
lea ecx, [ebp + 0x78]
call sym.Qt5Network.dll_public:_class_QAuthenticator____thiscall_QAuthenticator::operator_class_QAuthenticator_const__
lea ecx, [esp + 0x28]
call sym.Qt5Network.dll_public:_void___thiscall_QAuthenticator::destructor_void_
lea ecx, [ebp + 0x78]
call sym.Qt5Network.dll_public:_void___thiscall_QAuthenticator::detach_void_
mov edi, dword [ebp + 0x78]
mov dword [esp + 0x28], edi
mov byte [edi + 0x20], 1
lea eax, [ebp + 0x64]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], eax
push ecx
mov ecx, eax
call sym.Qt5Network.dll_public:_class_QString___thiscall_QNetworkProxy::hostName_void_
mov ecx, dword [ebp + 0x70]
mov esi, eax
add ecx, 8
lea eax, [esp + 0x18]
push eax
mov edx, dword [ecx]
call dword [edx + 0x1c]
push esi
push 1
push eax
mov ecx, edi
call fcn.64057fa0
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x6407b304
cmp eax, 0xffffffff
je 0x6407b32f
mov eax, dword [esp + 0x18]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x6407b32f
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov eax, dword [esi + 0xc]
add eax, 4
lea eax, [esi + eax*4]
push eax
mov eax, dword [esi + 8]
add eax, 4
lea eax, [esi + eax*4]
push eax
call fcn.640068e0
push esi
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
lea ecx, [esp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp dword [edi + 0x24], 3
jne 0x6407b390
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ecx]
call dword [eax + 0x34]
push 0
mov ecx, ebx
call fcn.6406f590
push 0xffffffffffffffff
push 0
push str.Error_parsing_authentication_request_from_proxy
lea eax, [esp + 0x28]
mov ecx, 0x640ca338
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const___int_]
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
push 0x12
call fcn.6406f500
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, ebx
call fcn.6407a190
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ebx, dword [ebp + 0x70]
lea ecx, [esp + 0x30]
mov eax, dword [ebx + 8]
mov edi, dword [eax + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
push 0xffffffffffffffff
push str.Proxy_Connection
lea ecx, [esp + 0x28]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebx + 8]
call edi
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [esp + 0x14]
cmp dword [eax + 4], 0
jne 0x6407b443
mov ebx, dword [ebp + 0x70]
lea ecx, [esp + 0x38]
mov eax, dword [ebx + 8]
mov edi, dword [eax + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
push 0xffffffffffffffff
push str.Connection
lea ecx, [esp + 0x2c]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [ebx + 8]
call edi
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [esp + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
push 0
push 0x640b35dc
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QByteArray::compare_char_const___enum_Qt::CaseSensitivity_const]
test eax, eax
jne 0x6407b45f
mov byte [esp + 0x13], 1
jmp 0x6407b4a6
push 0
push str.keep_alive
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QByteArray::compare_char_const___enum_Qt::CaseSensitivity_const]
test eax, eax
jne 0x6407b47d
mov byte [esp + 0x13], al
jmp 0x6407b501
mov ecx, dword [ebp + 0x70]
add ecx, 8
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp + 0x70]
mov esi, eax
add ecx, 8
shl esi, 8
mov edx, dword [ecx]
call dword [edx + 0x10]
add eax, esi
cmp eax, 0x100
setle byte [esp + 0x13]
jg 0x6407b501
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ecx]
call dword [eax + 0x78]
mov ecx, dword [ebp + 0x6c]
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QIODevice::readAll_void_]
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov ecx, dword [ebp + 0x70]
test ecx, ecx
je 0x6407b4d4
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
push 0xc
call fcn.640ae2b5
add esp, 4
lea ecx, [esp + 0x40]
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QUrl::constructor_void_]
push 0
push eax
mov ecx, esi
call fcn.6403eb60
lea ecx, [esp + 0x40]
mov dword [ebp + 0x70], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QUrl::destructor_void_]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 0x24]
cmp eax, 2
jne 0x6407b579
lea eax, [ebp + 0x78]
mov ecx, ebx
push eax
lea eax, [ebp + 0x64]
push eax
call fcn.6406f4d0
mov eax, dword [esi + 0x24]
cmp eax, 2
jne 0x6407b579
push 0xffffffffffffffff
push 0
push str.Authentication_required
lea eax, [esp + 0x34]
mov ecx, 0x640ca338
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const___int_]
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
push 0xc
call fcn.6406f500
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ecx]
call dword [eax + 0x78]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
jmp fcn.6407a190
cmp byte [esp + 0x13], 0
mov dword [ebp + 0x74], 3
je 0x6407b5d6
mov ebx, dword [ebp + 0x6c]
mov ecx, dword [esp + 0x44]
mov eax, dword [ebx]
mov edi, dword [eax + 0x74]
call sym.Qt5Network.dll_public:_unsigned_short_int___thiscall_QNetworkProxy::port_void_const
mov ecx, dword [esp + 0x44]
movzx esi, ax
lea eax, [esp + 0x28]
push eax
call sym.Qt5Network.dll_public:_class_QString___thiscall_QNetworkProxy::hostName_void_
push 2
push ecx
mov edx, esp
mov ecx, ebx
push esi
push eax
mov dword [edx], 3
call edi
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ecx, ebx
call fcn.6407a960
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ecx]
call dword [eax + 0x34]
push 0
mov ecx, ebx
call fcn.6406f590
cmp esi, 0x193
je 0x6407b676
cmp esi, 0x195
je 0x6407b676
lea eax, [esp + 0x28]
push 0xffffffffffffffff
push 0
cmp esi, 0x194
jne 0x6407b63a
push str.Host_not_found
push eax
mov ecx, sym.Qt5Network.dll_struct_QMetaObject_const_QAbstractSocket::staticMetaObject
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const___int_]
lea eax, [esp + 0x28]
push eax
push 2
jmp 0x6407b696
cmp esi, 0x1f7
jne 0x6407b65c
push str.Connection_refused
push eax
mov ecx, sym.Qt5Network.dll_struct_QMetaObject_const_QAbstractSocket::staticMetaObject
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const___int_]
lea eax, [esp + 0x28]
push eax
push 0
jmp 0x6407b696
push str.Error_communicating_with_HTTP_proxy
push eax
mov ecx, 0x640ca338
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const___int_]
lea eax, [esp + 0x28]
push eax
push 0x12
jmp 0x6407b696
push 0xffffffffffffffff
push 0
push str.Proxy_denied_connection
lea eax, [esp + 0x34]
mov ecx, 0x640ca338
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const___int_]
lea eax, [esp + 0x28]
push eax
push 3
mov ecx, ebx
call fcn.6406f500
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
pop edi
pop esi
pop ebp
mov ecx, ebx
pop ebx
add esp, 0x38
jmp fcn.6407a190