Function at 0x6407a960
Capabilities:
Reference http user-agent string
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x34
mov eax, dword [0x640f0ebc]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [ecx + 4]
mov dword [esp + 0x2c], 0x4e4e4f43
lea ecx, [ebx + 0x68]
mov dword [esp + 0x30], 0x544345
mov eax, dword [ecx]
push ebp
push esi
push edi
cmp dword [eax + 4], 0
mov dword [esp + 0x2c], ebx
jne 0x6407a9cf
lea eax, [esp + 0x20]
push eax
lea ecx, [ebx + 0x50]
call sym.Qt5Network.dll_public:_class_QString___thiscall_QHostAddress::toString_void_
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll__toLatin1_QString__QHAE_AVQByteArray__XZ]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_class_QByteArray__]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x6407a9f3
push ecx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QByteArray___cdecl_QUrl::toAce_class_QString_const__]
add esp, 8
lea ecx, [esp + 0x18]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_class_QByteArray__]
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
movzx eax, word [ebx + 0x54]
push 0xa
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QByteArray___cdecl_QByteArray::number_int__int_]
mov ebx, eax
mov byte [esp + 0x2b], 0x3a
add esp, 0xc
mov ecx, dword [ebx]
push 0
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [ecx + 4]
lea ecx, [esp + 0x2c]
inc ebp
add ebp, edx
push ebp
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_int__enum_Qt::Initialization_]
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
mov esi, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], esi
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
lea ecx, [esp + 0x18]
mov edi, eax
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::end_void_const]
cmp edi, eax
je 0x6407aa5f
mov cl, byte [edi]
inc edi
mov byte [esi], cl
inc esi
cmp edi, eax
jne 0x6407aa55
mov al, byte [esp + 0x1f]
mov ecx, ebx
mov byte [esi], al
inc esi
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
mov ecx, ebx
mov edi, eax
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::end_void_const]
cmp edi, eax
je 0x6407aa8a
nop dword [eax]
mov cl, byte [edi]
inc edi
mov byte [esi], cl
inc esi
cmp edi, eax
jne 0x6407aa80
sub esi, dword [esp + 0x24]
cmp ebp, esi
mov ebp, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::resize_int_]
je 0x6407aa9f
push esi
lea ecx, [esp + 0x2c]
call ebp
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
push 0x20
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_char_]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_class_QByteArray_const__]
mov ebx, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_char_const__]
lea ecx, [esp + 0x10]
push str._HTTP_1.1_r_n
call ebx
push str.Proxy_Connection:_keep_alive_r_n
lea ecx, [esp + 0x14]
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x18]
add ecx, 8
mov ebx, dword [eax + 4]
add ebx, ecx
lea ecx, [esp + 0x10]
push ebx
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::reserve_int_]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov esi, dword [eax + 4]
call dword [sym.imp.Qt5Core.dll_public:_char____thiscall_QByteArray::data_void_]
add esi, eax
mov ecx, str.Host:
mov al, 0x48
sub ecx, esi
nop dword [eax + eax]
mov byte [esi], al
inc esi
mov al, byte [ecx + esi]
test al, al
jne 0x6407ab30
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
lea ecx, [esp + 0x18]
mov edi, eax
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::end_void_const]
cmp edi, eax
je 0x6407ab5e
mov cl, byte [edi]
inc edi
mov byte [esi], cl
inc esi
cmp edi, eax
jne 0x6407ab54
mov eax, 0x640b45d0
mov cl, 0xd
lea eax, [eax + 1]
mov byte [esi], cl
mov cl, byte [eax]
lea esi, [esi + 1]
test cl, cl
jne 0x6407ab65
push ebx
lea ecx, [esp + 0x14]
call ebp
push 0xffffffffffffffff
push str.User_Agent
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
mov ebp, dword [esp + 0x2c]
lea eax, [esp + 0x20]
add ebp, 0x64
push eax
mov ecx, ebp
mov dword [esp + 0x18], ebp
call sym.Qt5Network.dll_public:_bool___thiscall_QNetworkProxy::hasRawHeader_class_QByteArray_const__const
lea ecx, [esp + 0x20]
mov bl, al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
test bl, bl
jne 0x6407abc1
push str.User_Agent:_Mozilla_5.0_r_n
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_char_const__]
lea eax, [esp + 0x34]
mov ecx, ebp
push eax
call sym.Qt5Network.dll_public:_class_QList_class_QByteArray____thiscall_QNetworkProxy::rawHeaderList_void_
mov eax, dword [esp + 0x34]
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 8]
add edi, 4
add esi, 4
lea edi, [eax + edi*4]
lea esi, [eax + esi*4]
cmp esi, edi
je 0x6407acd7
nop dword [eax + eax]
push esi
lea eax, [esp + 0x34]
mov ecx, ebp
push eax
call sym.Qt5Network.dll_public:_class_QByteArray___thiscall_QNetworkProxy::rawHeader_class_QByteArray_const__
mov ecx, dword [esi]
mov dword [esp + 0x20], eax
mov edx, dword [eax]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
add eax, dword [edx + 4]
mov ecx, dword [ecx + 4]
add ecx, 4
add eax, ecx
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::reserve_int_]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov ebx, dword [eax + 4]
call dword [sym.imp.Qt5Core.dll_public:_char____thiscall_QByteArray::data_void_]
mov ecx, esi
add ebx, eax
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
mov ecx, esi
mov ebp, eax
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::end_void_const]
cmp ebp, eax
je 0x6407ac5b
nop
mov cl, byte [ebp]
inc ebp
mov byte [ebx], cl
inc ebx
cmp ebp, eax
jne 0x6407ac50
mov ecx, 0x640b68b8
mov al, 0x3a
sub ecx, ebx
mov byte [ebx], al
inc ebx
mov al, byte [ecx + ebx]
test al, al
jne 0x6407ac64
mov ecx, dword [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
mov ecx, dword [esp + 0x20]
mov ebp, eax
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::end_void_const]
cmp ebp, eax
je 0x6407ac93
mov cl, byte [ebp]
inc ebp
mov byte [ebx], cl
inc ebx
cmp ebp, eax
jne 0x6407ac88
mov eax, 0x640b45d0
mov cl, 0xd
nop word [eax + eax]
lea eax, [eax + 1]
mov byte [ebx], cl
mov cl, byte [eax]
lea ebx, [ebx + 1]
test cl, cl
jne 0x6407aca0
push dword [esp + 0x24]
mov ebp, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::resize_int_]
lea ecx, [esp + 0x14]
call ebp
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov ebp, dword [esp + 0x14]
add esi, 4
cmp esi, edi
jne 0x6407abf0
mov ebx, dword [esp + 0x2c]
mov edi, dword [ebx + 0x78]
test edi, edi
je 0x6407add0
cmp dword [edi + 0x10], 0
je 0x6407add0
lea eax, [esp + 0x24]
mov byte [ebx + 0x82], 1
push eax
mov ecx, ebp
call sym.Qt5Network.dll_public:_class_QString___thiscall_QNetworkProxy::hostName_void_
mov esi, eax
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
push esi
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.64056580
mov ebx, eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
mov ebp, dword [ecx + 4]
lea ecx, [esp + 0x10]
add ebp, 0x15
add ebp, edx
push ebp
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::reserve_int_]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov esi, dword [eax + 4]
call dword [sym.imp.Qt5Core.dll_public:_char____thiscall_QByteArray::data_void_]
add esi, eax
mov ecx, str.Proxy_Authorization:
mov al, 0x50
sub ecx, esi
mov byte [esi], al
inc esi
mov al, byte [ecx + esi]
test al, al
jne 0x6407ad67
mov ecx, ebx
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
mov ecx, ebx
mov edi, eax
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::end_void_const]
cmp edi, eax
je 0x6407ad94
mov cl, byte [edi]
lea esi, [esi + 1]
inc edi
mov byte [esi - 1], cl
cmp edi, eax
jne 0x6407ad87
push ebp
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::resize_int_]
lea ecx, [esp + 0x30]
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_QString::destructor_void_]
push 0x640b45d0
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_char_const__]
mov ebx, dword [esp + 0x2c]
push 0x640b45d0
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_char_const__]
mov ecx, dword [ebx + 0x6c]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.Qt5Core.dll_public:_long_long___int64____thiscall_QIODevice::write_class_QByteArray_const__]
lea ecx, [esp + 0x34]
mov dword [ebx + 0x74], 1
call fcn.64003140
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.640ae828
add esp, 0x34
ret