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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x6618b8
sub esp, 0x8c
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 0x94]
mov dword [eax + 8], ebx
mov ebx, dword [0x995310]
test ebx, ebx
jne 0x661448
mov ebx, dword [esp + 0x98]
jmp 0x66145c
call fcn.00468e70
mov ebx, dword [esp + 0x98]
mov dword [edi], ebx
mov ebp, dword [eax + 0xc]
mov dword [edi + 4], ebp
mov dword [eax + 0xc], ebx
movzx ebp, byte [eax + 0x59]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x66189b
mov dword [esp + 0x50], edx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0x10]
mov dword [esp], ebx
call eax
lea edi, [esp + 0x2c]
lea esi, [esp + 4]
call fcn.004695f2
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x661757
cmp byte [esp + 0x2d], 9
jne 0x6615e3
cmp dword [esp + 0x34], ecx
je 0x66175e
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00409c30
mov eax, dword [esp + 4]
lea ecx, [0x6f47e0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x90]
mov edx, dword [eax + 0x1c]
mov dword [esp], edx
call fcn.00409c30
mov eax, dword [esp + 4]
lea ecx, [0x6f47e0]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x74e251]
mov dword [esp], eax
mov dword [esp + 4], 0x32
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c4b20
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
lea edx, [0x701240]
mov dword [esp], edx
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x661581
mov ecx, dword [esp + 0x48]
jmp 0x66158c
call fcn.00468e60
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov edx, dword [esp + 0x90]
mov dword [edx + 0x10], ecx
mov ecx, dword [0x995310]
test ecx, ecx
je 0x6615b5
call fcn.00468e70
mov dword [edi], eax
mov ecx, dword [edx + 0x14]
mov dword [edi + 4], ecx
mov dword [edx + 0x14], eax
mov dword [esp], 1
call fcn.00409c30
mov eax, dword [esp + 4]
lea ecx, [0x7b118c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x8c
ret
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
call eax
lea edi, [esp + 0x38]
lea esi, [esp + 4]
call fcn.004695f2
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.004690f8
movzx eax, byte [esp + 0x2d]
lea ecx, [0x6fa240]
mov dword [esp + 0x6c], ecx
lea edx, [0x945c20]
lea eax, [edx + eax*8]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00409c30
mov eax, dword [esp + 4]
lea ecx, [0x6f47e0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
movzx eax, byte [esp + 0x39]
lea edx, [0x6fa240]
mov dword [esp + 0x7c], edx
lea edx, [0x945c20]
lea eax, [edx + eax*8]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x90]
mov edx, dword [eax + 0x1c]
mov dword [esp], edx
call fcn.00409c30
mov eax, dword [esp + 4]
lea ecx, [0x6f47e0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x751670]
mov dword [esp], eax
mov dword [esp + 4], 0x46
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004c4b20
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
lea edx, [0x701240]
mov dword [esp], edx
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x6616f5
mov ecx, dword [esp + 0x4c]
jmp 0x661700
call fcn.00468e60
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov edx, dword [esp + 0x90]
mov dword [edx + 0x10], ecx
mov ecx, dword [0x995310]
test ecx, ecx
je 0x661729
call fcn.00468e70
mov dword [edi], eax
mov ecx, dword [edx + 0x14]
mov dword [edi + 4], ecx
mov dword [edx + 0x14], eax
mov dword [esp], 1
call fcn.00409c30
mov eax, dword [esp + 4]
lea ecx, [0x7b118c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x8c
ret
cmp byte [esp + 0x2d], 9
je 0x6617a4
movzx ecx, byte [esp + 0x2d]
cmp cl, 1
je 0x66176d
cmp cl, 9
jne 0x661787
movzx ecx, byte [esp + 0x2e]
test cl, 4
je 0x661780
mov dword [eax + 0x1c], 0
jmp 0x661787
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x1c], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x8c
ret
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00409c30
mov eax, dword [esp + 4]
lea ecx, [0x6f47e0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
lea eax, [0x749275]
mov dword [esp], eax
mov dword [esp + 4], 0x25
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c4b20
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
lea edx, [0x701240]
mov dword [esp], edx
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x661839
mov ecx, dword [esp + 0x44]
jmp 0x661844
call fcn.00468e60
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov edx, dword [esp + 0x90]
mov dword [edx + 0x10], ecx
mov ecx, dword [0x995310]
test ecx, ecx
je 0x66186d
call fcn.00468e70
mov dword [edi], eax
mov ecx, dword [edx + 0x14]
mov dword [edi + 4], ecx
mov dword [edx + 0x14], eax
mov dword [esp], 1
call fcn.00409c30
mov eax, dword [esp + 4]
lea ecx, [0x7b118c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x8c
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x8c
ret
call fcn.00467a60
jmp fcn.00661400