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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51ddba
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00490320
mov ebp, eax
test ebp, ebp
je 0x495f94
mov ecx, esi
call fcn.00490320
mov ecx, eax
call fcn.0048d8b0
test eax, eax
jne 0x495f94
mov edi, dword [esi + 0x48]
mov eax, dword [esi + 0x50]
cmp edi, eax
jge 0x495d93
mov dword [esp + 0x10], edi
jmp 0x495d99
mov dword [esp + 0x10], eax
mov edi, eax
mov eax, dword [esi + 0x4c]
mov ebx, dword [esi + 0x54]
cmp eax, ebx
jge 0x495da5
mov ebx, eax
push edi
mov ecx, esi
call fcn.004904c0
test eax, eax
je 0x495f94
push ebx
mov ecx, esi
call fcn.00490500
test eax, eax
je 0x495f94
lea ecx, [esp + 0x40]
call fcn.0048f3d0
push 1
push ebx
lea eax, [esp + 0x48]
push edi
push eax
mov ecx, ebp
mov dword [esp + 0x94], 0
call fcn.0048d6a0
lea ecx, [esp + 0x40]
call fcn.0048f4b0
test eax, 0x8000000
jne 0x495f80
push 1
push 2
push 0
push ebx
push edi
mov ecx, esi
call fcn.00492610
mov ecx, dword [0x94f978]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x84], 1
test eax, eax
jne 0x495e4c
lea edx, [esp + 0x14]
lea ecx, [esp + 0x40]
push edx
call fcn.0048f660
mov eax, dword [esp + 0x14]
mov dword [esp + 0x8c], eax
jmp 0x495e54
mov dword [esp + 0x18], 1
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x4c]
sub eax, ecx
mov edi, dword [esi + 0x54]
cdq
mov ecx, eax
mov eax, dword [esi + 0x50]
xor ecx, edx
sub ecx, edx
mov edx, dword [esi + 0x48]
sub eax, edx
inc ecx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esi + 0x4c]
inc eax
cmp edx, edi
jge 0x495e7e
mov edi, edx
mov ebp, dword [esi + 0x48]
mov edx, dword [esi + 0x50]
cmp ebp, edx
jl 0x495e8a
mov ebp, edx
push ecx
push eax
push edi
lea ecx, [esp + 0x2c]
push ebp
push ecx
mov ecx, esi
call fcn.00492200
lea edx, [esp + 0x30]
push eax
push edx
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x495f6f
lea ecx, [esp + 0x40]
call fcn.0048d8a0
mov ebp, eax
cmp ebp, 0xff000000
jne 0x495ecf
mov ebp, dword [esi + 0x40]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x9236c4
lea ecx, [esp + 0x20]
push 1
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x90], 2
call fcn.00492f80
push 0x6c
call fcn.0050f5f7
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
mov byte [esp + 0x84], 3
je 0x495f4c
push ebp
lea ecx, [esp + 0x44]
call fcn.0049cbf0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push ebx
push eax
lea ecx, [esp + 0x4c]
push 8
push ecx
push esi
mov ecx, edi
call fcn.004a99d0
test eax, eax
jne 0x495f50
xor eax, eax
jmp 0x495f53
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x68], eax
mov dword [esp + 0x20], 0x9236b8
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 4
call fcn.00516727
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 0
call fcn.0050f8b6
lea ecx, [esp + 0x40]
mov dword [esp + 0x84], 0xffffffff
call fcn.0048f400
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 4