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 [0x640b0394]
push eax
lea ecx, [esp + 0x1c]
call dword [0x640b0348]
lea ecx, [esp + 0x14]
call dword [0x640b0df0]
lea ecx, [esp + 0x20]
call dword [0x640b0d94]
jmp 0x6407a9f3
push ecx
lea eax, [esp + 0x28]
push eax
call dword [0x640b03e4]
add esp, 8
lea ecx, [esp + 0x18]
push eax
call dword [0x640b0348]
lea ecx, [esp + 0x24]
call dword [0x640b0df0]
movzx eax, word [ebx + 0x54]
push 0xa
push eax
lea eax, [esp + 0x1c]
push eax
call dword [0x640b0858]
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 [0x640b0df4]
lea ecx, [esp + 0x28]
call dword [0x640b0de8]
mov esi, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], esi
call dword [0x640b0de8]
lea ecx, [esp + 0x18]
mov edi, eax
call dword [0x640b0de4]
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 [0x640b0de8]
mov ecx, ebx
mov edi, eax
call dword [0x640b0de4]
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 [0x640b0dec]
je 0x6407aa9f
push esi
lea ecx, [esp + 0x2c]
call ebp
lea ecx, [esp + 0x14]
call dword [0x640b0df0]
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call dword [0x640b0d0c]
push 0x20
lea ecx, [esp + 0x14]
call dword [0x640b0cf8]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call dword [0x640b0368]
mov ebx, dword [0x640b0cf4]
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 [0x640b0d04]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov esi, dword [eax + 4]
call dword [0x640b0d00]
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 [0x640b0de8]
lea ecx, [esp + 0x18]
mov edi, eax
call dword [0x640b0de4]
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 [0x640b0d0c]
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 [0x640b0df0]
test bl, bl
jne 0x6407abc1
push str.User_Agent:_Mozilla_5.0_r_n
lea ecx, [esp + 0x14]
call dword [0x640b0cf4]
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 [0x640b0d04]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov ebx, dword [eax + 4]
call dword [0x640b0d00]
mov ecx, esi
add ebx, eax
call dword [0x640b0de8]
mov ecx, esi
mov ebp, eax
call dword [0x640b0de4]
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 [0x640b0de8]
mov ecx, dword [esp + 0x20]
mov ebp, eax
call dword [0x640b0de4]
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 [0x640b0dec]
lea ecx, [esp + 0x14]
call ebp
lea ecx, [esp + 0x30]
call dword [0x640b0df0]
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 [0x640b0d0c]
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 [0x640b0d04]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov esi, dword [eax + 4]
call dword [0x640b0d00]
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 [0x640b0de8]
mov ecx, ebx
mov edi, eax
call dword [0x640b0de4]
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 [0x640b0dec]
lea ecx, [esp + 0x30]
call dword [0x640b0df0]
lea ecx, [esp + 0x14]
call dword [0x640b0df0]
lea ecx, [esp + 0x24]
call dword [0x640b0d94]
push 0x640b45d0
lea ecx, [esp + 0x14]
call dword [0x640b0cf4]
mov ebx, dword [esp + 0x2c]
push 0x640b45d0
lea ecx, [esp + 0x14]
call dword [0x640b0cf4]
mov ecx, dword [ebx + 0x6c]
lea eax, [esp + 0x10]
push eax
call dword [0x640b0698]
lea ecx, [esp + 0x34]
mov dword [ebx + 0x74], 1
call fcn.64003140
lea ecx, [esp + 0x10]
call dword [0x640b0df0]
lea ecx, [esp + 0x28]
call dword [0x640b0df0]
lea ecx, [esp + 0x18]
call dword [0x640b0df0]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.640ae828
add esp, 0x34
ret