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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x640a33fd
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1064
call fcn.64094470
mov eax, dword [0x640ee650]
xor eax, esp
mov dword [esp + 0x1060], eax
push ebx
push esi
push edi
mov eax, dword [0x640ee650]
xor eax, esp
push eax
lea eax, [esp + 0x1078]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 4]
cmp dword [esi + 0x88], 2
mov dword [esp + 0x18], edi
je 0x64069cdc
mov ecx, dword [esi + 0x80]
mov eax, dword [ecx]
mov edx, dword [eax + 0x4c]
call edx
or eax, edx
je 0x6406a4d9
mov eax, dword [esi + 0x88]
cmp eax, 2
jne 0x64069d00
cmp byte [esi + 0x90], 0
je 0x6406a4d9
mov ecx, edi
call fcn.64069020
jmp 0x6406a4d9
cmp eax, 4
je 0x6406a120
lea esp, [esp]
mov ecx, dword [esi + 0x80]
push 0
push 0
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QIODevice::readLine_long_long___int64__]
push eax
lea ecx, [esi + 0x84]
mov dword [esp + 0x1084], 0
call dword [0x640a9364]
or edi, 0xffffffff
lea ecx, [esp + 0x54]
mov dword [esp + 0x1080], edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
push str._r_n_r_n
lea ecx, [esi + 0x84]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QByteArray::endsWith_char_const__const]
test al, al
jne 0x64069d7c
mov ecx, dword [esi + 0x80]
mov edx, dword [ecx]
mov eax, dword [edx + 0x54]
call eax
test al, al
jne 0x64069d10
jmp 0x6406a4d9
push str.HTTP_1.
lea ecx, [esi + 0x84]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QByteArray::startsWith_char_const__const]
lea ecx, [esi + 0x84]
test al, al
je 0x6406a1c2
push edi
call dword [sym.imp.QtCore4.dll_public:_char_const____thiscall_QByteArray::operator_char_const__void_const]
push eax
lea ecx, [esp + 0x4c]
push ecx
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_]
lea ecx, [esi + 0x84]
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 edi, eax
cmp edi, 0xc8
je 0x6406a22a
cmp edi, 0x197
jne 0x6406a3da
cmp byte [esi + 0x98], 0
je 0x64069e4f
lea ecx, [esp + 0x48]
call sym.QtNetwork4.dll_public:_void___thiscall_QAuthenticator::constructor_void_
lea edi, [esi + 0x8c]
push eax
mov ecx, edi
mov byte [esp + 0x1084], 6
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 edx, dword [edi]
mov byte [edx + 0x20], 1
jmp 0x64069e67
lea edi, [esi + 0x8c]
mov ecx, edi
call sym.QtNetwork4.dll_public:_bool___thiscall_QAuthenticator::isNull_void_const
test al, al
je 0x64069e67
mov ecx, edi
call sym.QtNetwork4.dll_public:_void___thiscall_QAuthenticator::detach_void_
mov ecx, dword [edi]
push 1
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x34], ecx
call fcn.64056200
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x24], 3
je 0x6406a2a2
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 edx, [esp + 0x34]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1088], 8
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 0x64069f48
push 0x640ab5cc
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 ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1088], 0xb
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__]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const__const]
test al, al
je 0x64069fa1
mov byte [esp + 0x17], 1
jmp 0x64069ff3
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 dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const__const]
test al, al
je 0x64069fc6
mov byte [esp + 0x17], 0
jmp 0x6406a019
lea ecx, [esp + 0x24]
call sym.QtNetwork4.dll_public_virtual:_int___thiscall_QHttpRequestHeader::majorVersion_void_const
shl eax, 8
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], eax
call sym.QtNetwork4.dll_public_virtual:_int___thiscall_QHttpRequestHeader::minorVersion_void_const
add eax, dword [esp + 0x4c]
cmp eax, 0x100
setle al
mov byte [esp + 0x17], al
test al, al
je 0x6406a019
mov ecx, dword [esi + 0x80]
call sym.QtNetwork4.dll_public:_void___thiscall_QAbstractSocket::disconnectFromHost_void_
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esi + 0x80]
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QIODevice::readAll_void_]
lea ecx, [esp + 0x30]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x24], 2
jne 0x6406a031
mov ecx, dword [esp + 0x18]
push edi
lea eax, [esi + 0x78]
push eax
call fcn.64067b30
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x24], 2
je 0x6406a2fd
cmp byte [esp + 0x17], 0
mov dword [esi + 0x88], 3
jne 0x6406a34b
push 0x640ab7ac
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 edx, [esp + 0x38]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1088], 0x10
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QHttpHeader::value_class_QString_const__
push 0xa
lea ecx, [esp + 0x27]
push ecx
mov ecx, eax
mov byte [esp + 0x1088], 0x11
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::toInt_bool___int_const]
lea ecx, [esp + 0x10]
mov edi, eax
mov byte [esp + 0x1080], 0x10
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 0x6406a3b0
test edi, edi
jle 0x6406a3b0
lea ecx, [esp + 0x1c]
mov dword [esi + 0x88], 4
mov dword [esi + 0x9c], edi
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 [esi + 0x88], 4
jne 0x64069d10
mov edi, dword [esp + 0x18]
cmp dword [esi + 0x9c], 0
je 0x6406a193
mov edi, dword [sym.imp.QtCore4.dll_public:_long_long___int64____thiscall_QIODevice::read_char___long_long___int64__]
mov dword [esp + 0x10], 0x1000
cmp dword [esi + 0x9c], 0x1000
lea eax, [esp + 0x10]
ja 0x6406a14d
lea eax, [esi + 0x9c]
mov edx, dword [eax]
mov ecx, dword [esi + 0x80]
push 0
push edx
lea eax, [esp + 0x74]
push eax
call edi
test eax, eax
js 0x6406a168
mov byte [esp + eax + 0x6c], 0
je 0x6406a4d9
cmp eax, 0xffffffff
je 0x6406a1a9
sub dword [esi + 0x9c], eax
cmp dword [esi + 0x9c], 0
jne 0x6406a137
cmp dword [esi + 0x9c], 0
mov edi, dword [esp + 0x18]
ja 0x6406a4d9
mov ecx, edi
mov dword [esi + 0x88], 3
call fcn.64069880
jmp 0x6406a4d9
mov ecx, dword [esi + 0x80]
call sym.QtNetwork4.dll_public:_void___thiscall_QAbstractSocket::disconnectFromHost_void_
mov ecx, dword [esp + 0x18]
call fcn.64069180
jmp 0x6406a4d9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::clear_void_]
mov esi, dword [esi + 0x80]
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
mov esi, dword [esp + 0x18]
push 0
mov ecx, esi
call fcn.64067b60
push 0
lea ecx, [esp + 0x14]
push str.Did_not_receive_HTTP_response_from_proxy
push ecx
call fcn.640682d0
add esp, 0xc
push eax
push 0x12
mov ecx, esi
mov dword [esp + 0x1088], 1
call fcn.64067a80
lea ecx, [esp + 0x10]
mov dword [esp + 0x1080], edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, esi
call fcn.640692e0
jmp 0x6406a4d9
mov ecx, dword [esi + 0x80]
lea edx, [esp + 0x10]
push edx
mov dword [esi + 0x88], 2
call sym.QtNetwork4.dll_public:_class_QHostAddress___thiscall_QAbstractSocket::localAddress_void_
mov edi, dword [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x1084], 5
call fcn.64067bc0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1080], 4
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov ecx, dword [esi + 0x80]
call sym.QtNetwork4.dll_public:_unsigned_short_int___thiscall_QAbstractSocket::localPort_void_const
movzx eax, ax
push eax
mov ecx, edi
call fcn.64067be0
push 3
mov ecx, edi
call fcn.64067b60
lea ecx, [esi + 0x8c]
call sym.QtNetwork4.dll_public:_void___thiscall_QAuthenticator::detach_void_
mov esi, dword [esi + 0x8c]
mov byte [esi + 0x20], 0
jmp 0x6406a4bc
mov esi, dword [esi + 0x80]
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
mov esi, dword [esp + 0x18]
push 0
mov ecx, esi
call fcn.64067b60
push 0
lea ecx, [esp + 0x14]
push str.Error_parsing_authentication_request_from_proxy
push ecx
call fcn.640682d0
add esp, 0xc
push eax
push 0x12
mov ecx, esi
mov byte [esp + 0x1088], 7
call fcn.64067a80
lea ecx, [esp + 0x10]
mov byte [esp + 0x1080], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, esi
jmp 0x6406a4c0
push 0
lea edx, [esp + 0x14]
push str.Authentication_required
push edx
call fcn.640682d0
add esp, 0xc
mov ecx, dword [esp + 0x18]
push eax
push 0xc
mov byte [esp + 0x1088], 0xe
call fcn.64067a80
lea ecx, [esp + 0x10]
mov byte [esp + 0x1080], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esi + 0x80]
call sym.QtNetwork4.dll_public:_void___thiscall_QAbstractSocket::disconnectFromHost_void_
lea ecx, [esp + 0x1c]
jmp 0x6406a4ae
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x78]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QNetworkProxy::hostName_void_
mov ebx, eax
push ecx
mov eax, esp
lea ecx, [esi + 0x78]
mov byte [esp + 0x1084], 0xf
mov dword [esp + 0x5c], esp
mov dword [eax], 3
call sym.QtNetwork4.dll_public:_unsigned_short_int___thiscall_QNetworkProxy::port_void_const
movzx ecx, ax
push ecx
mov ecx, dword [esi + 0x80]
push ebx
call sym.QtNetwork4.dll_public:_void___thiscall_QAbstractSocket::connectToHost_class_QString_const___unsigned_short_int__class_QFlags_enum_QIODevice::OpenModeFlag__
lea ecx, [esp + 0x10]
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 0x6406a4c5
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x88], 3
call fcn.64069880
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1080], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x6406a4c5
mov esi, dword [esi + 0x80]
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
mov esi, dword [esp + 0x18]
push 0
mov ecx, esi
call fcn.64067b60
cmp edi, 0x193
je 0x6406a484
cmp edi, 0x195
je 0x6406a484
push 0
cmp edi, 0x194
jne 0x6406a433
lea ecx, [esp + 0x14]
push str.Host_not_found
push ecx
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 0x6406a4a3
cmp edi, 0x1f7
jne 0x6406a45a
lea edx, [esp + 0x14]
push str.Connection_refused
push edx
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
jmp 0x6406a4a3
lea eax, [esp + 0x34]
push str.Error_communicating_with_HTTP_proxy
push eax
call fcn.640682d0
add esp, 0xc
push eax
push 0x12
mov ecx, esi
mov byte [esp + 0x1088], 0x15
call fcn.64067a80
lea ecx, [esp + 0x30]
jmp 0x6406a4ae
push 0
lea ecx, [esp + 0x14]
push str.Proxy_denied_connection
push ecx
call fcn.640682d0
add esp, 0xc
push eax
mov byte [esp + 0x1084], 0x12
push 3
mov ecx, esi
call fcn.64067a80
lea ecx, [esp + 0x10]
mov byte [esp + 0x1080], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x18]
call fcn.640692e0
lea ecx, [esp + 0x24]
mov dword [esp + 0x1080], 0xffffffff
call sym.QtNetwork4.dll_public_virtual:_void___thiscall_QHttpHeader::destructor_void_
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.640943f8
mov esp, ebp
pop ebp
ret