Function at 0x66b2d0
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 0x66b640
sub esp, 0x30
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x1c]
mov dword [esp], ecx
lea ecx, [0x73b149]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
call fcn.00641610
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x66b462
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x1c]
lea edx, [0x72ce00]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x73ec52]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x11
call fcn.004109f0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x66b3f4
mov edx, dword [eax]
cmp ecx, 1
jg 0x66b37d
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x66b3f4
cmp ebx, 7
jne 0x66b37d
mov ebx, dword [edx]
cmp dword [ebx], 0x6e756863
jne 0x66b37d
cmp word [ebx + 4], 0x656b
jne 0x66b37d
cmp byte [ebx + 6], 0x64
je 0x66b3f4
mov eax, dword [eax + 8]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00409dc0
mov eax, dword [esp + 0xc]
lea ecx, [0x6ea2c0]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
lea eax, [0x74e676]
mov dword [esp], eax
mov dword [esp + 4], 0x33
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
add esp, 0x30
ret
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x1c]
lea ecx, [0x72ce00]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x73c070]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xa
call fcn.004109f0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x66b50d
mov edx, dword [eax]
cmp ecx, 1
jg 0x66b521
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x66b50d
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov ebp, dword [edx]
cmp ebx, 5
jne 0x66b5e3
xor esi, esi
jmp 0x66b5a5
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x1c]
lea ecx, [0x72ce00]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x73b149]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 7
call fcn.004109f0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00409dc0
mov eax, dword [esp + 0xc]
lea ecx, [0x6ea2c0]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
lea eax, [0x74b1f1]
mov dword [esp], eax
mov dword [esp + 4], 0x29
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
add esp, 0x30
ret
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
add esp, 0x30
ret
mov eax, dword [eax + 8]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00409dc0
mov eax, dword [esp + 0xc]
lea ecx, [0x6ea2c0]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
lea eax, [0x74c1d5]
mov dword [esp], eax
mov dword [esp + 4], 0x2c
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
add esp, 0x30
ret
inc esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
cmp esi, ebx
jge 0x66b50d
movzx edi, byte [esi + ebp]
lea ecx, [edi - 0x41]
cmp cl, 0x19
ja 0x66b5bc
add edi, 0x20
lea ecx, [0x73aa71]
movzx edx, byte [ecx + esi]
lea eax, [edx - 0x41]
cmp al, 0x19
ja 0x66b5d1
add edx, 0x20
xchg edi, eax
cmp al, dl
xchg edi, eax
je 0x66b598
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
cmp ebx, 0xa
jne 0x66b521
xor esi, esi
jmp 0x66b5fd
inc esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
cmp esi, ebx
jge 0x66b50d
movzx edi, byte [esi + ebp]
lea ecx, [edi - 0x41]
cmp cl, 0x19
ja 0x66b614
add edi, 0x20
lea ecx, [0x73c0ac]
movzx edx, byte [ecx + esi]
lea eax, [edx - 0x41]
cmp al, 0x19
ja 0x66b629
add edx, 0x20
xchg edi, eax
cmp al, dl
xchg edi, eax
je 0x66b5f0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x66b521
call fcn.00467a60
jmp fcn.0066b2d0