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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x6688e5
sub esp, 0xa4
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
cmp edx, 5
jne 0x6682c0
cmp dword [ebx], 0x70747468
jne 0x6682c0
cmp byte [ebx + 4], 0x73
je 0x6682de
cmp edx, 4
jne 0x668313
cmp dword [ebx], 0x70747468
jne 0x668313
mov ebp, dword [esp + 0xa8]
movzx esi, byte [ebp + 0x15]
xchg esi, eax
test al, al
xchg esi, eax
je 0x668313
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00667f90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xac]
xor ebx, ebx
jmp 0x66835f
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x742fd0]
mov dword [eax], ecx
mov dword [esp + 0xb4], 0
lea ecx, [0x7b0bb8]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0xa4
ret
lea ebx, [edx + 1]
mov edx, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x693290]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x80], ecx
test byte [ecx], al
lea ebp, [ecx + 0x4c]
mov dword [esp], ebp
lea ebp, [esp + 0x7c]
mov dword [esp + 4], ebp
call fcn.00472ce0
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x58]
mov ecx, dword [ecx + 0x10]
mov edx, dword [eax + 0x5c]
mov dword [esp], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x6687d8
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
test byte [eax], al
lea ecx, [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.0046d6c0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
xor eax, 1
mov byte [esp + 8], al
call fcn.006755f0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call fcn.0066b730
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x668717
mov ebp, dword [esp + 0x20]
cmp ebp, 6
jg 0x668717
mov dword [esp + 0x5c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00668980
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x668711
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x668526
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x6684c5
mov ecx, dword [ecx + 4]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x78], ecx
movzx ecx, byte [0x994f21]
test cl, cl
je 0x66835a
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
lea ecx, [0x748b6f]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea edx, [esp + 0x74]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00674e10
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
jmp 0x66835a
lea ecx, [edx - 1]
mov eax, 1
shl eax, cl
cmp ecx, 0x20
sbb ebx, ebx
and eax, ebx
mov dword [esp], eax
call fcn.00468e10
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x2c], xmm0
call fcn.004eaf40
movsd xmm0, qword [esp]
movsd xmm1, qword [0x7b0730]
mulsd xmm0, xmm1
movsd xmm2, qword [esp + 0x2c]
mulsd xmm0, xmm2
addsd xmm2, xmm0
movsd qword [esp], xmm2
call fcn.004603e0
mov eax, dword [esp + 8]
mov ecx, eax
mov eax, 0x3b9aca00
mul ecx
mov ebx, dword [esp + 0xc]
imul ebx, ebx, 0x3b9aca00
add edx, ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00668210
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0x78]
test edx, edx
je 0x6685ae
mov ecx, dword [eax + 0x7c]
jmp 0x6685ba
lea edx, [0x7b23f0]
lea ecx, [0x994f00]
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ebx, dword [eax]
mov dword [esp + 0x58], ebx
mov edx, dword [edx + 0x14]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x84], eax
lea eax, [esp + 0x84]
mov dword [esp], eax
lea eax, [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.0044b120
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6686ca
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x66866b
mov edx, dword [eax + 4]
jmp 0x66866d
mov edx, eax
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x70], eax
movzx eax, byte [0x994f21]
test al, al
je 0x6686bd
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
lea ecx, [0x748b6f]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea edx, [esp + 0x6c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00674e10
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
jmp 0x66835a
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x18]
nop
test ecx, ecx
je 0x6688cc
add eax, 4
mov dword [esp], eax
call fcn.004672b0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x6686f5
mov eax, dword [eax + 0x7c]
jmp 0x668701
lea ecx, [0x7b23f0]
lea eax, [0x994f00]
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, ecx
mov ecx, dword [esp + 0x40]
test eax, eax
je 0x6687b4
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
je 0x668736
mov ecx, dword [eax + 4]
jmp 0x668738
mov ecx, eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ebx
movzx ecx, byte [0x994f21]
test cl, cl
je 0x668794
mov dword [esp + 0x48], ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
lea eax, [0x740c5b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x15
lea eax, [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00674e10
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ebx
add esp, 0xa4
ret
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0xa4
ret
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x66884b
mov eax, dword [eax + 4]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
movzx ecx, byte [0x994f21]
test cl, cl
je 0x6688a8
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
lea eax, [0x74edce]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x35
lea eax, [esp + 0x94]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.00674e10
mov eax, dword [esp + 0x48]
mov dword [esp + 0xb4], 0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0xa4
ret
lea eax, [0x6f44e0]
mov dword [esp], eax
lea eax, [0x7b020c]
mov dword [esp + 4], eax
call fcn.00438b10
nop
call fcn.00467a60
jmp fcn.00668280