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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x494b69
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x48]
mov edx, dword [0x489e98]
call fcn.004051e0
lea eax, [ebp - 0x58]
mov edx, dword [0x489f40]
call fcn.004051e0
xor eax, eax
push ebp
push 0x494f1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 3
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.004091ec
test al, al
je 0x494cc9
mov dl, 1
mov eax, dword [0x41a1c8]
call fcn.004038f0
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x494cc2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
sub ebx, 1
jno 0x494bff
call fcn.00403860
test ebx, ebx
jl 0x494cac
inc ebx
xor esi, esi
lea ecx, [ebp - 0x5c]
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x24]
call fcn.00408b60
mov eax, dword [ebp - 0x24]
call fcn.00404a04
test eax, eax
je 0x494ca4
mov eax, 1
mov edx, dword [ebp - 0x24]
dec eax
test edx, edx
je 0x494c40
cmp eax, dword [edx - 4]
jb 0x494c45
call fcn.00403858
inc eax
cmp byte [edx + eax - 1], 0x23
je 0x494ca4
mov edx, dword [ebp - 0x24]
mov eax, 0x494f38
call fcn.00404d40
dec eax
jne 0x494ca4
mov edx, dword [ebp - 0x24]
mov eax, 0x494f50
call fcn.00404d40
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404a04
mov edx, eax
pop eax
sub edx, eax
jno 0x494c7f
call fcn.00403860
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x24]
call fcn.004357f0
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.00408b60
mov eax, dword [ebp - 0x60]
xor edx, edx
call fcn.00408e24
mov dword [ebp - 0x18], eax
jmp 0x494cac
inc esi
dec ebx
jne 0x494c0a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494cc9
mov eax, dword [ebp - 0x14]
call fcn.00403920
ret
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
push 0x494f5c
push 0x1388
push 0xbb8
push 1
push 2
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.00409660
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 0xc]
call fcn.00404a50
mov eax, dword [ebp - 0x68]
mov ecx, 0x494fdc
mov edx, 0x495008
call fcn.0048a120
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x48]
call fcn.0048a228
cmp byte [ebp - 0x58], 0
jne 0x494ee0
cmp byte [ebp - 0x4c], 0
jne 0x494ee0
mov dl, 1
mov eax, dword [0x41a1c8]
call fcn.004038f0
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x494ed9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
sub ebx, 1
jno 0x494d70
call fcn.00403860
test ebx, ebx
jl 0x494e86
inc ebx
xor esi, esi
lea ecx, [ebp - 0x70]
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x24]
call fcn.00408b60
mov eax, dword [ebp - 0x24]
call fcn.00404a04
test eax, eax
je 0x494e7e
mov eax, 1
mov edx, dword [ebp - 0x24]
dec eax
test edx, edx
je 0x494db5
cmp eax, dword [edx - 4]
jb 0x494dba
call fcn.00403858
inc eax
cmp byte [edx + eax - 1], 0x23
je 0x494e7e
mov edx, dword [ebp - 0x24]
mov eax, 0x494f38
call fcn.00404d40
dec eax
jne 0x494e1d
mov edx, dword [ebp - 0x24]
mov eax, 0x494f50
call fcn.00404d40
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404a04
mov edx, eax
pop eax
sub edx, eax
jno 0x494df8
call fcn.00403860
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 0x24]
call fcn.004357f0
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
call fcn.00408b60
mov eax, dword [ebp - 0x74]
xor edx, edx
call fcn.00408e24
mov dword [ebp - 0x1c], eax
jmp 0x494e72
mov edx, dword [ebp - 0x24]
mov eax, 0x495078
call fcn.00404d40
dec eax
jne 0x494e72
mov edx, dword [ebp - 0x24]
mov eax, 0x494f50
call fcn.00404d40
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404a04
mov edx, eax
pop eax
sub edx, eax
jno 0x494e4f
call fcn.00403860
lea ecx, [ebp - 0x80]
mov eax, dword [ebp - 0x24]
call fcn.004357f0
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.00408b60
mov eax, dword [ebp - 0x7c]
xor edx, edx
call fcn.00408e24
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jle 0x494e7e
cmp dword [ebp - 0x20], 0
jg 0x494e86
inc esi
dec ebx
jne 0x494d7b
cmp dword [ebp - 0x1c], 0
jle 0x494ec3
cmp dword [ebp - 0x20], 0
jle 0x494ec3
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x20]
jl 0x494ebf
cmp dword [ebp - 0x18], 0
jle 0x494ea8
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jle 0x494eb9
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov byte [ebp - 0xd], 1
jmp 0x494ec3
mov byte [ebp - 0xd], 0
jmp 0x494ec3
mov byte [ebp - 0xd], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494ee0
mov eax, dword [ebp - 0x14]
call fcn.00403920
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494f26
lea eax, [ebp - 0x80]
mov edx, 0xa
call fcn.00404770
lea eax, [ebp - 0x58]
mov edx, dword [0x489f40]
call fcn.004052b0
lea eax, [ebp - 0x48]
mov edx, dword [0x489e98]
call fcn.004052b0
lea eax, [ebp - 0x24]
call fcn.0040474c
ret