Function at 0x640675a0
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6408de8d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1064
call fcn.6407f1a0
mov eax, dword [0x640ca240]
xor eax, esp
mov dword [esp + 0x1060], eax
push ebx
push esi
push edi
mov eax, dword [0x640ca240]
xor eax, esp
push eax
lea eax, [esp + 0x1078]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x2c], edi
mov ebx, dword [edi + 4]
cmp dword [ebx + 0x88], 2
je 0x6406760c
mov ecx, dword [ebx + 0x80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
call eax
or eax, edx
je 0x64067abd
mov eax, dword [ebx + 0x88]
cmp eax, 2
jne 0x64067630
cmp byte [ebx + 0x90], 0
je 0x64067abd
mov ecx, edi
call fcn.640664a0
jmp 0x64067abd
cmp eax, 4
je 0x64067a3c
lea esi, [ebx + 0x84]
nop
mov ecx, dword [ebx + 0x80]
lea eax, [esp + 0x54]
push 0
push 0
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QIODevice::readLine_long_long___int64__]
push eax
mov ecx, esi
mov dword [esp + 0x1084], 0
call dword [0x64091344]
lea ecx, [esp + 0x54]
mov dword [esp + 0x1080], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
push str._r_n_r_n
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QByteArray::endsWith_char_const__const]
test al, al
jne 0x640676a5
mov ecx, dword [ebx + 0x80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x54]
call eax
test al, al
jne 0x64067640
jmp 0x64067abd
push str.HTTP_1.
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QByteArray::startsWith_char_const__const]
mov ecx, esi
test al, al
je 0x64067da1
push 0xffffffffffffffff
call dword [sym.imp.QtCore4.dll_public:_char_const____thiscall_QByteArray::operator_char_const__void_const]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const___int_]
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x1084], 2
call sym.QtNetwork4.dll_public:_void___thiscall_QHttpResponseHeader::constructor_class_QString_const__
lea ecx, [esp + 0x44]
mov byte [esp + 0x1080], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::clear_void_]
lea ecx, [esp + 0x24]
call sym.QtNetwork4.dll_public:_int___thiscall_QHttpResponseHeader::statusCode_void_const
mov esi, eax
cmp esi, 0xc8
je 0x64067d2b
cmp esi, 0x197
jne 0x64067c33
cmp byte [ebx + 0x98], 0
je 0x6406776d
lea ecx, [esp + 0x48]
call sym.QtNetwork4.dll_public:_void___thiscall_QAuthenticator::constructor_void_
lea edi, [ebx + 0x8c]
mov byte [esp + 0x1080], 6
push eax
mov ecx, edi
call sym.QtNetwork4.dll_public:_class_QAuthenticator____thiscall_QAuthenticator::operator_class_QAuthenticator_const__
lea ecx, [esp + 0x48]
mov byte [esp + 0x1080], 4
call sym.QtNetwork4.dll_public:_void___thiscall_QAuthenticator::destructor_void_
mov ecx, edi
call sym.QtNetwork4.dll_public:_void___thiscall_QAuthenticator::detach_void_
mov eax, dword [edi]
mov byte [eax + 0x1c], 1
jmp 0x64067785
lea edi, [ebx + 0x8c]
mov ecx, edi
call sym.QtNetwork4.dll_public:_bool___thiscall_QAuthenticator::isNull_void_const
test al, al
je 0x64067785
mov ecx, edi
call sym.QtNetwork4.dll_public:_void___thiscall_QAuthenticator::detach_void_
mov esi, dword [edi]
lea eax, [esp + 0x24]
push 1
push eax
mov ecx, esi
mov dword [esp + 0x38], esi
call fcn.64052ac0
cmp dword [esi + 0x20], 3
je 0x64067bc3
push str.Proxy_Connection
lea ecx, [esp + 0x64]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_const__]
lea eax, [esp + 0x34]
mov byte [esp + 0x1080], 8
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QHttpHeader::value_class_QString_const__
lea ecx, [esp + 0x34]
mov byte [esp + 0x1080], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
je 0x64067864
push 0x64093394
lea ecx, [esp + 0x60]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x40]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_const__]
lea eax, [esp + 0x3c]
mov byte [esp + 0x1080], 0xb
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2c]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QHttpHeader::value_class_QString_const__
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1084], 0xc
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x40]
mov byte [esp + 0x1080], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1080], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::toLower_void_]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1084], 0xd
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x50]
mov byte [esp + 0x1080], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push str.close
lea ecx, [esp + 0x68]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
mov esi, dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const__const]
lea ecx, [esp + 0x1c]
push eax
call esi
test al, al
je 0x640678bf
mov byte [esp + 0x1b], 1
jmp 0x64067909
push str.keep_alive
lea ecx, [esp + 0x6c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x20]
call esi
test al, al
je 0x640678e0
mov byte [esp + 0x1b], 0
jmp 0x6406792f
lea ecx, [esp + 0x24]
call sym.QtNetwork4.dll_public_virtual:_int___thiscall_QHttpRequestHeader::majorVersion_void_const
mov esi, eax
lea ecx, [esp + 0x24]
shl esi, 8
call sym.QtNetwork4.dll_public_virtual:_int___thiscall_QHttpRequestHeader::minorVersion_void_const
add eax, esi
cmp eax, 0x100
setle al
mov byte [esp + 0x1b], al
test al, al
je 0x6406792f
mov ecx, dword [ebx + 0x80]
call sym.QtNetwork4.dll_public:_void___thiscall_QAbstractSocket::disconnectFromHost_void_
mov ecx, dword [ebx + 0x80]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QIODevice::readAll_void_]
lea ecx, [esp + 0x4c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov esi, dword [esp + 0x30]
cmp dword [esi + 0x20], 2
jne 0x6406794b
push edi
mov edi, dword [esp + 0x30]
lea eax, [ebx + 0x78]
push eax
mov ecx, edi
call fcn.64065a60
jmp 0x6406794f
mov edi, dword [esp + 0x2c]
cmp dword [esi + 0x20], 2
je 0x64067b6a
cmp byte [esp + 0x1b], 0
mov dword [ebx + 0x88], 3
jne 0x64067b09
push str.Content_Length
lea ecx, [esp + 0x5c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_const__]
lea eax, [esp + 0x38]
mov byte [esp + 0x1080], 0x10
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QHttpHeader::value_class_QString_const__
push 0xa
lea ecx, [esp + 0x27]
mov byte [esp + 0x1084], 0x11
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::toInt_bool___int_const]
lea ecx, [esp + 0x14]
mov byte [esp + 0x1080], 0x10
mov esi, eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x1080], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x23], 0
je 0x64067ae1
test esi, esi
jle 0x64067ae1
lea ecx, [esp + 0x1c]
mov dword [ebx + 0x88], 4
mov dword [ebx + 0x9c], esi
mov byte [esp + 0x1080], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1080], 0xffffffff
call sym.QtNetwork4.dll_public_virtual:_void___thiscall_QHttpHeader::destructor_void_
cmp dword [ebx + 0x88], 4
lea esi, [ebx + 0x84]
jne 0x64067640
cmp dword [ebx + 0x9c], 0
lea esi, [ebx + 0x9c]
je 0x64067aac
mov dword [esp + 0x14], 0x1000
jmp 0x64067a60
cmp dword [esi], 0x1000
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x80]
cmovbe eax, esi
push 0
push dword [eax]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.QtCore4.dll_public:_long_long___int64____thiscall_QIODevice::read_char___long_long___int64__]
test eax, eax
js 0x64067a98
cmp eax, 0x1000
jae 0x64067e05
mov byte [esp + eax + 0x6c], 0
test eax, eax
je 0x64067abd
cmp eax, 0xffffffff
je 0x64067e0a
sub dword [esi], eax
jne 0x64067a60
cmp dword [esi], 0
ja 0x64067abd
mov ecx, edi
mov dword [ebx + 0x88], 3
call fcn.64067020
mov ecx, dword [esp + 0x1078]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1060]
xor ecx, esp
call fcn.6407f184
mov esp, ebp
pop ebp
ret
mov ecx, edi
mov dword [ebx + 0x88], 3
call fcn.64067020
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1080], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x64067c1a
lea eax, [esp + 0x14]
push eax
lea ecx, [ebx + 0x78]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QNetworkProxy::hostName_void_
mov esi, eax
push ecx
mov edx, esp
mov byte [esp + 0x1084], 0xf
lea ecx, [ebx + 0x78]
mov dword [edx], 3
call sym.QtNetwork4.dll_public:_unsigned_short_int___thiscall_QNetworkProxy::port_void_const
movzx ecx, ax
push ecx
mov ecx, dword [ebx + 0x80]
push esi
call sym.QtNetwork4.dll_public:_void___thiscall_QAbstractSocket::connectToHost_class_QString_const___unsigned_short_int__class_QFlags_enum_QIODevice::OpenModeFlag__
lea ecx, [esp + 0x14]
mov byte [esp + 0x1080], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1080], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x64067c1a
push 0
lea eax, [esp + 0x18]
push str.Authentication_required
push eax
call fcn.64067e50
add esp, 0xc
push eax
push 0xc
mov ecx, edi
mov byte [esp + 0x1088], 0xe
call fcn.64065a90
lea ecx, [esp + 0x14]
mov byte [esp + 0x1080], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [ebx + 0x80]
call sym.QtNetwork4.dll_public:_void___thiscall_QAbstractSocket::disconnectFromHost_void_
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1080], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, edi
jmp 0x64067c15
mov ecx, dword [ebx + 0x80]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov esi, dword [esp + 0x2c]
mov ecx, esi
push 0
call fcn.64065b20
push 0
lea eax, [esp + 0x18]
push str.Error_parsing_authentication_request_from_proxy
push eax
call fcn.64067e50
add esp, 0xc
push eax
push 0x12
mov ecx, esi
mov byte [esp + 0x1088], 7
call fcn.64065a90
lea ecx, [esp + 0x14]
mov byte [esp + 0x1080], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, esi
call fcn.64066320
lea ecx, [esp + 0x24]
mov dword [esp + 0x1080], 0xffffffff
call sym.QtNetwork4.dll_public_virtual:_void___thiscall_QHttpHeader::destructor_void_
jmp 0x64067abd
mov ecx, dword [ebx + 0x80]
mov eax, dword [ecx]
call dword [eax + 0x34]
push 0
mov ecx, edi
call fcn.64065b20
cmp esi, 0x193
je 0x64067d0a
cmp esi, 0x195
je 0x64067d0a
push 0
cmp esi, 0x194
jne 0x64067c88
lea eax, [esp + 0x18]
push str.Host_not_found
push eax
call sym.QtNetwork4.dll_public:_static_class_QString___cdecl_QAbstractSocket::tr_char_const___char_const__
add esp, 0xc
push eax
mov byte [esp + 0x1084], 0x13
push 2
jmp 0x64067cad
cmp esi, 0x1f7
jne 0x64067ccd
lea eax, [esp + 0x18]
push str.Connection_refused
push eax
call sym.QtNetwork4.dll_public:_static_class_QString___cdecl_QAbstractSocket::tr_char_const___char_const__
add esp, 0xc
push eax
mov byte [esp + 0x1084], 0x14
push 0
mov ecx, edi
call fcn.64065a90
lea ecx, [esp + 0x14]
mov byte [esp + 0x1080], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, edi
jmp 0x64067c15
lea eax, [esp + 0x34]
push str.Error_communicating_with_HTTP_proxy
push eax
call fcn.64067e50
add esp, 0xc
push eax
push 0x12
mov ecx, edi
mov byte [esp + 0x1088], 0x15
call fcn.64065a90
lea ecx, [esp + 0x30]
mov byte [esp + 0x1080], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, edi
jmp 0x64067c15
push 0
lea eax, [esp + 0x18]
push str.Proxy_denied_connection
push eax
call fcn.64067e50
add esp, 0xc
push eax
mov byte [esp + 0x1084], 0x12
push 3
jmp 0x64067cad
mov ecx, dword [ebx + 0x80]
lea eax, [esp + 0x14]
push eax
mov dword [ebx + 0x88], 2
call sym.QtNetwork4.dll_public:_class_QHostAddress___thiscall_QAbstractSocket::localAddress_void_
push eax
mov ecx, edi
mov byte [esp + 0x1084], 5
call fcn.64065ab0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1080], 4
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov ecx, dword [ebx + 0x80]
call sym.QtNetwork4.dll_public:_unsigned_short_int___thiscall_QAbstractSocket::localPort_void_const
movzx eax, ax
mov ecx, edi
push eax
call fcn.64065ac0
push 3
mov ecx, edi
call fcn.64065b20
lea ecx, [ebx + 0x8c]
call sym.QtNetwork4.dll_public:_void___thiscall_QAuthenticator::detach_void_
mov eax, dword [ebx + 0x8c]
mov ecx, edi
mov byte [eax + 0x1c], 0
jmp 0x64067c15
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::clear_void_]
mov ecx, dword [ebx + 0x80]
mov eax, dword [ecx]
call dword [eax + 0x34]
push 0
mov ecx, edi
call fcn.64065b20
push 0
lea eax, [esp + 0x18]
push str.Did_not_receive_HTTP_response_from_proxy
push eax
call fcn.64067e50
add esp, 0xc
push eax
push 0x12
mov ecx, edi
mov dword [esp + 0x1088], 1
call fcn.64065a90
lea ecx, [esp + 0x14]
mov dword [esp + 0x1080], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, edi
call fcn.64066320
jmp 0x64067abd
call fcn.6407f5a2
mov ecx, dword [ebx + 0x80]
call sym.QtNetwork4.dll_public:_void___thiscall_QAbstractSocket::disconnectFromHost_void_
mov ecx, edi
call fcn.640665f0
jmp 0x64067abd