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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x640fe3b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0
push ebx
push esi
mov esi, dword [ecx + 4]
mov dword [ebp - 0xc], 0x4e4e4f43
lea ecx, [esi + 0x78]
mov dword [ebp - 8], 0x544345
mov eax, dword [ecx]
push edi
mov dword [ebp - 0x30], esi
cmp dword [eax + 4], 0
jne 0x6407a3c8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x60]
call sym.Qt5NetworkKso.dll_public:_class_kso_qt::QString___thiscall_kso_qt::QHostAddress::toString_void_
mov ecx, eax
call dword [sym.imp.Qt5CoreKso.dll__toLatin1_QString_kso_qt__QHAE_AVQByteArray_2_XZ]
mov ebx, 3
jmp 0x6407a3db
push ecx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.Qt5CoreKso.dll_public:_static_class_kso_qt::QByteArray___cdecl_kso_qt::QUrl::toAce_class_kso_qt::QString_const__]
add esp, 8
mov ebx, 4
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::constructor_class_kso_qt::QByteArray__]
test bl, 4
je 0x6407a3f3
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::destructor_void_]
test bl, 2
je 0x6407a401
lea ecx, [ebp - 0x18]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::destructor_void_]
test bl, 1
je 0x6407a40f
lea ecx, [ebp - 0x14]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
movzx eax, word [esi + 0x64]
push 0xa
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 0x1d], 0x3a
push eax
call dword [sym.imp.Qt5CoreKso.dll_public:_static_class_kso_qt::QByteArray___cdecl_kso_qt::QByteArray::number_int__int_]
mov ebx, eax
add esp, 0xc
mov ecx, dword [ebx]
push 0
mov edx, dword [ecx + 4]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x28]
inc eax
add eax, edx
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::constructor_int__enum_kso_qt::Qt::Initialization_]
lea ecx, [ebp - 0x28]
call dword [sym.imp.Qt5CoreKso.dll_public:_char_const____thiscall_kso_qt::QByteArray::constData_void_const]
mov esi, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], esi
call dword [sym.imp.Qt5CoreKso.dll_public:_char_const____thiscall_kso_qt::QByteArray::constData_void_const]
lea ecx, [ebp - 0x24]
mov edi, eax
call dword [sym.imp.Qt5CoreKso.dll_public:_char_const____thiscall_kso_qt::QByteArray::end_void_const]
cmp edi, eax
je 0x6407a47a
nop dword [eax]
mov cl, byte [edi]
inc edi
mov byte [esi], cl
inc esi
cmp edi, eax
jne 0x6407a470
mov al, byte [ebp - 0x1d]
mov ecx, ebx
mov byte [esi], al
inc esi
call dword [sym.imp.Qt5CoreKso.dll_public:_char_const____thiscall_kso_qt::QByteArray::constData_void_const]
mov ecx, ebx
mov edi, eax
call dword [sym.imp.Qt5CoreKso.dll_public:_char_const____thiscall_kso_qt::QByteArray::end_void_const]
cmp edi, eax
je 0x6407a4a0
mov cl, byte [edi]
inc edi
mov byte [esi], cl
inc esi
cmp edi, eax
jne 0x6407a496
sub esi, dword [ebp - 0x14]
cmp dword [ebp - 0x1c], esi
je 0x6407a4b2
push esi
lea ecx, [ebp - 0x28]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::resize_int_]
lea ecx, [ebp - 0x18]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::destructor_void_]
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::constructor_char_const___int_]
push 0x20
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_class_kso_qt::QByteArray____thiscall_kso_qt::QByteArray::append_char_]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_class_kso_qt::QByteArray____thiscall_kso_qt::QByteArray::append_class_kso_qt::QByteArray_const__]
mov ebx, dword [sym.imp.Qt5CoreKso.dll_public:_class_kso_qt::QByteArray____thiscall_kso_qt::QByteArray::append_char_const__]
lea ecx, [ebp - 0x10]
push str._HTTP_1.1_r_n
call ebx
push str.Proxy_Connection:_keep_alive_r_n
lea ecx, [ebp - 0x10]
call ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
add ecx, 8
mov ebx, dword [eax + 4]
add ebx, ecx
lea ecx, [ebp - 0x10]
push ebx
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::reserve_int_]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov esi, dword [eax + 4]
call dword [sym.imp.Qt5CoreKso.dll_public:_char____thiscall_kso_qt::QByteArray::data_void_]
add esi, eax
mov ecx, str.Host:
mov al, 0x48
sub ecx, esi
mov byte [esi], al
inc esi
mov al, byte [ecx + esi]
test al, al
jne 0x6407a531
lea ecx, [ebp - 0x24]
call dword [sym.imp.Qt5CoreKso.dll_public:_char_const____thiscall_kso_qt::QByteArray::constData_void_const]
lea ecx, [ebp - 0x24]
mov edi, eax
call dword [sym.imp.Qt5CoreKso.dll_public:_char_const____thiscall_kso_qt::QByteArray::end_void_const]
cmp edi, eax
je 0x6407a55d
mov cl, byte [edi]
inc edi
mov byte [esi], cl
inc esi
cmp edi, eax
jne 0x6407a553
mov eax, 0x640b3a08
mov cl, 0xd
mov byte [esi], cl
lea eax, [eax + 1]
mov cl, byte [eax]
lea esi, [esi + 1]
test cl, cl
jne 0x6407a564
push ebx
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::resize_int_]
push 0xffffffffffffffff
push str.User_Agent
lea ecx, [ebp - 0x18]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::constructor_char_const___int_]
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x18]
add ecx, 0x74
push eax
mov dword [ebp - 0x1c], ecx
call sym.Qt5NetworkKso.dll_public:_bool___thiscall_kso_qt::QNetworkProxy::hasRawHeader_class_kso_qt::QByteArray_const__const
lea ecx, [ebp - 0x18]
mov bl, al
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::destructor_void_]
test bl, bl
jne 0x6407a5bb
push str.User_Agent:_Mozilla_5.0_r_n
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_class_kso_qt::QByteArray____thiscall_kso_qt::QByteArray::append_char_const__]
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x38]
push eax
mov ecx, ebx
call sym.Qt5NetworkKso.dll_public:_class_kso_qt::QList_class_kso_qt::QByteArray____thiscall_kso_qt::QNetworkProxy::rawHeaderList_void_
mov eax, dword [ebp - 0x38]
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 0x6407a6d2
push esi
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call sym.Qt5NetworkKso.dll_public:_class_kso_qt::QByteArray___thiscall_kso_qt::QNetworkProxy::rawHeader_class_kso_qt::QByteArray_const__
mov ecx, dword [esi]
mov dword [ebp - 0x18], eax
mov edx, dword [ecx + 4]
mov ecx, dword [ebp - 0x10]
add edx, dword [ecx + 4]
mov ecx, dword [eax]
add edx, 4
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x10]
add eax, edx
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::reserve_int_]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
call dword [sym.imp.Qt5CoreKso.dll_public:_char____thiscall_kso_qt::QByteArray::data_void_]
mov ebx, eax
mov ecx, esi
add ebx, dword [ebp - 0x14]
call dword [sym.imp.Qt5CoreKso.dll_public:_char_const____thiscall_kso_qt::QByteArray::constData_void_const]
mov ecx, esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.Qt5CoreKso.dll_public:_char_const____thiscall_kso_qt::QByteArray::end_void_const]
mov edx, eax
mov eax, dword [ebp - 0x14]
cmp eax, edx
je 0x6407a65a
nop word [eax + eax]
mov cl, byte [eax]
inc eax
mov byte [ebx], cl
inc ebx
cmp eax, edx
jne 0x6407a650
mov ecx, 0x640b5e38
mov al, 0x3a
sub ecx, ebx
mov byte [ebx], al
inc ebx
mov al, byte [ecx + ebx]
test al, al
jne 0x6407a663
mov ecx, dword [ebp - 0x18]
call dword [sym.imp.Qt5CoreKso.dll_public:_char_const____thiscall_kso_qt::QByteArray::constData_void_const]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
call dword [sym.imp.Qt5CoreKso.dll_public:_char_const____thiscall_kso_qt::QByteArray::end_void_const]
mov edx, eax
mov eax, dword [ebp - 0x14]
cmp eax, edx
je 0x6407a69a
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
mov byte [ebx], cl
inc ebx
cmp eax, edx
jne 0x6407a690
mov eax, 0x640b3a08
mov cl, 0xd
mov byte [ebx], cl
lea eax, [eax + 1]
mov cl, byte [eax]
lea ebx, [ebx + 1]
test cl, cl
jne 0x6407a6a1
push dword [ebp - 0x34]
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::resize_int_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::destructor_void_]
mov ebx, dword [ebp - 0x1c]
add esi, 4
cmp esi, edi
jne 0x6407a5e6
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x6407a7c5
cmp dword [esi + 0x10], 0
je 0x6407a7c5
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
mov byte [ebx + 0x92], 1
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::constructor_char_const___int_]
lea ecx, [ebp - 0x14]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::constructor_void_]
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call sym.Qt5NetworkKso.dll_public:_class_kso_qt::QByteArray___thiscall_kso_qt::QAuthenticatorPrivate::calculateResponse_class_kso_qt::QByteArray_const___class_kso_qt::QByteArray_const___class_kso_qt::QString_const__
mov ebx, eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x10]
add eax, 0x15
add eax, edx
push eax
mov dword [ebp - 0x2c], eax
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::reserve_int_]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov esi, dword [eax + 4]
call dword [sym.imp.Qt5CoreKso.dll_public:_char____thiscall_kso_qt::QByteArray::data_void_]
add esi, eax
mov ecx, str.Proxy_Authorization:
mov al, 0x50
sub ecx, esi
nop dword [eax]
mov byte [esi], al
inc esi
mov al, byte [ecx + esi]
test al, al
jne 0x6407a760
mov ecx, ebx
call dword [sym.imp.Qt5CoreKso.dll_public:_char_const____thiscall_kso_qt::QByteArray::constData_void_const]
mov ecx, ebx
mov edi, eax
call dword [sym.imp.Qt5CoreKso.dll_public:_char_const____thiscall_kso_qt::QByteArray::end_void_const]
cmp edi, eax
je 0x6407a78d
mov cl, byte [edi]
lea esi, [esi + 1]
inc edi
mov byte [esi - 1], cl
cmp edi, eax
jne 0x6407a780
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::resize_int_]
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::destructor_void_]
lea ecx, [ebp - 0x14]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::destructor_void_]
push 0x640b3a08
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_class_kso_qt::QByteArray____thiscall_kso_qt::QByteArray::append_char_const__]
mov ebx, dword [ebp - 0x30]
push 0x640b3a08
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_class_kso_qt::QByteArray____thiscall_kso_qt::QByteArray::append_char_const__]
mov ecx, dword [ebx + 0x7c]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.Qt5CoreKso.dll_public:_long_long___int64____thiscall_kso_qt::QIODevice::write_class_kso_qt::QByteArray_const__]
lea ecx, [ebp - 0x38]
mov dword [ebx + 0x84], 1
call fcn.640039d0
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::destructor_void_]
lea ecx, [ebp - 0x28]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::destructor_void_]
lea ecx, [ebp - 0x24]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::destructor_void_]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.640ad545
mov esp, ebp
pop ebp
ret