Function at 0x66e710
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 - 0x8c]
cmp eax, dword [ecx + 8]
jbe 0x66f106
sub esp, 0x10c
mov eax, dword [esp + 0x110]
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe4], 0
mov byte [eax + 0xe8], 0
mov ecx, dword [esp + 0x114]
mov edx, dword [ecx + 8]
test edx, edx
je 0x66e7d3
mov ebx, dword [ecx + 0x48]
mov ebp, dword [ecx + 0x44]
test ebx, ebx
jne 0x66e771
mov ebp, dword [edx + 0x14]
mov ebx, dword [edx + 0x18]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.006519e0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x66e795
nop
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
xor eax, eax
jmp 0x66e816
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
add esp, 0x10c
ret
mov eax, dword [0x9674e0]
mov ecx, dword [0x9674e4]
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
add esp, 0x10c
ret
inc eax
cmp eax, ecx
jge 0x66e889
movzx ebx, byte [edx + eax]
lea ebp, [0x93bfa0]
movzx ebx, byte [ebx + ebp]
test bl, bl
jne 0x66e815
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x743896]
mov dword [eax], ecx
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
lea ecx, [0x7b0bb8]
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], eax
add esp, 0x10c
ret
mov dword [esp + 0x78], edx
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x114]
cmp dword [ebx + 4], 7
jne 0x66e8bb
mov ebp, dword [ebx]
cmp dword [ebp], 0x4e4e4f43
jne 0x66e8bb
cmp word [ebp + 4], 0x4345
jne 0x66e8bb
cmp byte [ebp + 6], 0x54
je 0x66eb70
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.005c4c00
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x70], ecx
test eax, eax
je 0x66e8f1
cmp byte [ecx], 0x2f
je 0x66e9b1
cmp eax, 1
jne 0x66e8f1
cmp byte [ecx], 0x2a
je 0x66e9b1
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
lea ebx, [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea ecx, [0x73a736]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], edx
call fcn.004521c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jle 0x66e946
xor edx, edx
jmp 0x66e971
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004034e0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, eax
mov eax, dword [esp + 0x28]
test dl, dl
je 0x66e992
cmp eax, ecx
ja 0x66f100
mov edx, ecx
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
mov ebp, dword [esp + 0x70]
add ecx, ebp
jmp 0x66e99c
mov edx, ecx
mov ebp, dword [esp + 0x70]
mov ebx, edx
mov ecx, ebp
test ebx, ebx
je 0x66e9bf
cmp byte [ecx], 0x2f
je 0x66e9af
cmp ebx, 1
jne 0x66e9bf
cmp byte [ecx], 0x2a
jne 0x66e9bf
mov eax, ebx
mov ebx, dword [esp + 0x114]
mov ebp, ecx
jmp 0x66eb74
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x66eac7
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x114]
mov eax, dword [eax + 8]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
lea eax, [0x74c7c4]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
lea eax, [esp + 0x90]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
add esp, 0x10c
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x74278d]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x80]
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 + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
add esp, 0x10c
ret
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x70], ebp
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x7c], ecx
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.004690f4
lea ecx, [0x72ce00]
mov dword [esp], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
lea ecx, [esp + 0xdc]
mov dword [esp + 8], ecx
call fcn.0040e110
jmp 0x66ebc3
lea eax, [esp + 0xdc]
mov dword [esp], eax
call fcn.0040e350
mov ebx, dword [esp + 0xdc]
test ebx, ebx
je 0x66ec2f
mov edx, dword [ebx + 4]
mov dword [esp + 0x30], edx
mov ebp, dword [esp + 0xe0]
mov ebx, dword [ebx]
mov esi, dword [ebp]
mov dword [esp + 0x6c], esi
mov ebp, dword [ebp + 4]
test edx, edx
jne 0x66ebf8
mov ecx, esi
lea esi, [0x93aba0]
xor eax, eax
jmp 0x66ec20
mov dword [esp + 0x74], ebx
mov dword [esp + 0x24], ebp
xor eax, eax
jmp 0x66eede
mov ecx, esi
lea esi, [0x93aba0]
xor eax, eax
jmp 0x66ec20
mov ecx, esi
lea esi, [0x93aba0]
mov eax, 1
test al, al
je 0x66ef43
xor eax, eax
jmp 0x66eff7
lea edi, [esp + 0xb0]
xor eax, eax
call fcn.004690f5
lea ecx, [0x66f270]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x114]
mov dword [esp + 0xbc], ecx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc0], ebx
mov ebx, dword [esp + 0x120]
mov dword [esp + 0xcc], ebx
mov ebx, dword [esp + 0x11c]
mov dword [esp + 0xc8], ebx
mov ebx, dword [esp + 0x128]
mov dword [esp + 0xd4], ebx
mov ebx, dword [esp + 0x124]
mov dword [esp + 0xd0], ebx
movzx ebx, byte [esp + 0x118]
mov byte [esp + 0xd8], bl
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ebx, [0x66f230]
mov dword [esp + 0x88], ebx
lea ebx, [esp + 0x3c]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0xb0]
lea ebp, [esp + 0x88]
mov dword [esp], ebp
lea edx, [esp + 0xb0]
call ebx
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x110]
mov ebp, dword [ebx + 0xac]
mov esi, dword [ebx + 0xb0]
cmp dword [esp + 0x3c], ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
cmp esi, ecx
sete cl
xchg esi, ebx
setb bl
xchg esi, ebx
and ecx, ebp
or esi, ecx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x66ee93
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x66ed72
mov eax, dword [eax + 0x7c]
jmp 0x66ed7e
lea ecx, [0x7b23f0]
lea eax, [0x994f00]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], eax
lea eax, [0x6fa900]
mov dword [esp + 4], eax
lea eax, [0x994f00]
mov dword [esp + 8], eax
call ecx
lea eax, [0x706ec0]
cmp dword [esp + 0xc], eax
jne 0x66edac
mov eax, dword [esp + 0x10]
jmp 0x66edae
xor eax, eax
nop
test eax, eax
je 0x66edbd
mov ecx, dword [eax + 0x30]
test ecx, ecx
setne cl
jmp 0x66edbf
xor ecx, ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ebx, [0x66f110]
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0x110]
mov dword [esp + 0xa4], ebx
mov byte [esp + 0xa8], cl
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0xa0]
mov dword [esp], ecx
lea edx, [esp + 0xb0]
call eax
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0xdc]
mov ebx, dword [eax + 0xe4]
cmp ebx, ecx
ja 0x66eed5
mov edx, dword [eax + 0xd8]
mov eax, dword [eax + 0xe0]
sub eax, ebx
sub ecx, ebx
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, ebx
add eax, edx
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], ebp
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
add esp, 0x10c
ret
mov eax, dword [0x9674f8]
mov ecx, dword [0x9674fc]
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
add esp, 0x10c
ret
mov eax, ebx
call fcn.00468f30
mov esi, ecx
cmp eax, edx
jge 0x66ec13
movzx edi, byte [ebx + eax]
cmp edi, 0x80
jge 0x66eef5
inc eax
jmp 0x66ef1d
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004600b0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x6c]
cmp edi, 0x7f
jge 0x66ec07
jae 0x66f0f4
mov ecx, esi
lea esi, [0x93aba0]
movzx edi, byte [esi + edi]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x66eedc
jmp 0x66ec0f
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x7441cb]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x80]
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 + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
add esp, 0x10c
ret
inc eax
mov edx, dword [esp + 0x30]
lea esi, [0x93aba0]
cmp eax, ebp
jge 0x66ebb4
lea edi, [ecx + eax*8]
mov esi, dword [edi]
mov edi, dword [edi + 4]
nop
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
jmp 0x66f027
lea ecx, [edx + 1]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x34]
cmp edx, edi
jge 0x66efec
movzx ecx, byte [esi + edx]
cmp cl, 0x20
jb 0x66f040
cmp cl, 0x7f
jne 0x66f018
cmp cl, 0x20
je 0x66f018
cmp cl, 9
je 0x66f018
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp], ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x74a217]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x80]
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 + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
add esp, 0x10c
ret
mov eax, edi
mov ecx, 0x7f
call fcn.00468ed0
call fcn.00468f30
nop
call fcn.00467a60
jmp fcn.0066e710