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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x66d523
sub esp, 0x34
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax]
mov dword [esp + 0x28], edx
test ecx, ecx
jne 0x66d1c4
mov dword [esp], edx
call fcn.0066b650
mov edx, dword [esp + 0x28]
test byte [edx], al
lea eax, [edx + 0x34]
mov dword [esp + 0x30], eax
mov dword [esp], eax
call fcn.00472830
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x66d23c
mov ecx, dword [eax + 0xc4]
test ecx, ecx
je 0x66d1f1
xor ecx, ecx
jmp 0x66d23e
lea eax, [0x6ee120]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00405010
mov eax, dword [0x995310]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x66d21b
mov eax, dword [esp + 0x38]
jmp 0x66d22f
call fcn.00468e70
mov dword [edi], ecx
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0xc4]
mov dword [edi + 4], edx
mov dword [eax + 0xc4], ecx
mov ecx, 1
jmp 0x66d23e
xor ecx, ecx
mov byte [esp + 0x17], cl
mov edx, dword [eax + 0xc4]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x30]
mov dword [esp], ebx
call fcn.00472bb0
movzx eax, byte [esp + 0x17]
test al, al
je 0x66d285
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0xb4]
mov edx, dword [eax + 0xb8]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004059b0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x66d29d
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00405cc0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x66d2ef
mov ecx, dword [esp + 0x38]
movzx edx, byte [ecx + 0xc8]
test dl, dl
jne 0x66d2ba
mov edx, dword [esp + 0x40]
jmp 0x66d2f7
mov eax, dword [ecx + 0x80]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.00406510
movzx eax, byte [esp + 8]
test al, al
je 0x66d2df
xor eax, eax
xor ecx, ecx
jmp 0x66d2e7
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, ecx
mov ecx, dword [esp + 0x38]
jmp 0x66d2f7
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
test eax, eax
jne 0x66d373
movzx eax, byte [ecx + 0xc9]
test al, al
je 0x66d340
movzx eax, byte [ecx + 0xc8]
test al, al
jne 0x66d340
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00674d90
mov ecx, dword [esp + 0x38]
lea eax, [ecx + 0x18]
mov edx, dword [0x9674c8]
mov ebx, dword [0x9674cc]
lea ebp, [ecx + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0
call fcn.00666af0
jmp 0x66d47d
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00667870
mov eax, dword [esp + 0x38]
movzx ecx, byte [eax + 0xc9]
test cl, cl
je 0x66d453
mov ecx, dword [esp + 0x20]
lea edx, [0x7b11a0]
cmp ecx, edx
jne 0x66d3bb
mov edx, dword [esp + 0x24]
mov ebx, dword [edx + 4]
mov ebp, dword [edx + 8]
mov esi, dword [edx + 0xc]
jmp 0x66d3ce
mov edx, dword [esp + 0x24]
mov ebp, 0
mov ebx, 0
mov esi, 0
jne 0x66d42c
cmp dword [0x967458], ebp
jne 0x66d40b
mov dword [esp + 0x1c], ebx
mov eax, dword [0x96745c]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.00404290
movzx eax, byte [esp + 0xc]
test al, al
jne 0x66d44f
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x28]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00674d90
jmp 0x66d44f
mov ebx, dword [eax + 0x14]
mov ebp, dword [esp + 0x28]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], 8
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00674d90
mov eax, dword [esp + 0x38]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
call fcn.00666af0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x66d498
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0066fe20
mov eax, dword [esp + 0x28]
lea ecx, [eax + 0xc0]
mov dword [esp + 0x30], ecx
mov dword [esp], ecx
call fcn.00472830
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xd0]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x30]
mov dword [esp], edx
call fcn.00472bb0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x66d50d
nop
nop
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3a
lea ecx, [0x74fdf3]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0066adc0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x84]
mov dword [esp], eax
call fcn.004059b0
add esp, 0x34
ret
call fcn.00467a60
jmp fcn.0066d190