Function at 0x64047333
Capabilities:
Reference http user-agent string

Disassembly:
push 0x54
mov eax, 0x640788d1
call fcn.640581b6
mov eax, ecx
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x24], 0
mov esi, dword [eax + 4]
mov eax, dword [str.CONNECT]
mov dword [ebp - 0x18], eax
mov eax, dword [0x6407d7f0]
lea edi, [esi + 0x7c]
mov dword [ebp - 0x14], eax
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::isEmpty_void_const]
xor ebx, ebx
inc ebx
test al, al
je 0x64047393
lea eax, [ebp - 0x44]
push eax
lea ecx, [esi + 0x6c]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QHostAddress::toString_void_
and dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
mov dword [ebp - 0x24], ebx
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_]
mov dword [ebp - 4], ebx
push 3
jmp 0x640473a9
lea eax, [ebp - 0x4c]
push edi
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QByteArray___cdecl_QUrl::toAce_class_QString_const__]
pop ecx
pop ecx
mov dword [ebp - 4], 2
push 4
pop ebx
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_class_QByteArray_const__]
mov dword [ebp - 4], 3
test bl, 4
je 0x640473cf
lea ecx, [ebp - 0x4c]
and ebx, 0xfffffffb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
test bl, 2
je 0x640473e0
lea ecx, [ebp - 0x50]
and ebx, 0xfffffffd
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov byte [ebp - 4], 6
test bl, 1
je 0x640473f2
lea ecx, [ebp - 0x44]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
movzx eax, word [esi + 0x70]
push 0xa
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 0x1d], 0x3a
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QByteArray___cdecl_QByteArray::number_int__int_]
add esp, 0xc
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x1d]
mov byte [ebp - 4], 7
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x48]
push eax
call fcn.6403819d
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_class_QByteArray_const__]
lea ecx, [ebp - 0x24]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov ebx, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_char_const__]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call ebx
push 0x6407d314
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call dword [0x6407b30c]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call dword [0x6407b310]
push str._HTTP_1.1_r_n
lea ecx, [ebp - 0x1c]
call dword [0x6407b30c]
push str.Proxy_Connection:_keep_alive_r_nUser_Agent:
lea ecx, [ebp - 0x1c]
call dword [0x6407b30c]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x60]
push str._q_user_agent
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QVariant___thiscall_QObject::property_char_const__]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xd
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QVariant::isValid_void_const]
test al, al
je 0x640474ed
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x60]
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QVariant::toByteArray_void_]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
call dword [0x6407b310]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
jmp 0x640474fb
push str.Mozilla_5.0
lea ecx, [ebp - 0x1c]
call dword [0x6407b30c]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x40], str._r_nHost:
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2c], 0x6407c8b8
push eax
call fcn.640464de
mov edi, dword [esi + 0x8c]
pop ecx
pop ecx
test edi, edi
je 0x6404759c
cmp dword [edi + 0x10], 0
je 0x6404759c
lea eax, [ebp - 0x18]
mov byte [esi + 0x98], 1
push eax
lea ecx, [ebp - 0x28]
call ebx
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.64038b8f
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
push eax
mov dword [ebp - 0x30], str.Proxy_Authorization:
call fcn.6404647e
pop ecx
pop ecx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
push 0x6407c8b8
lea ecx, [ebp - 0x1c]
call dword [0x6407b30c]
push 0x6407c8b8
lea ecx, [ebp - 0x1c]
call dword [0x6407b30c]
mov ecx, dword [esi + 0x80]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.QtCore4.dll_public:_long_long___int64____thiscall_QIODevice::write_class_QByteArray_const__]
lea ecx, [ebp - 0x60]
mov dword [esi + 0x88], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x34]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x38]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
call fcn.64058160
ret