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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x490588
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x490864
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00443590
mov eax, dword [0x4a2d68]
cmp dword [eax], 0
je 0x4905c2
mov eax, ebx
mov edx, dword [0x4a2d68]
mov edx, dword [edx]
call fcn.004435e4
cmp dword [ebx], 0
je 0x4905e8
mov eax, dword [ebx]
call fcn.004437b0
cmp eax, 0xf5
jg 0x4905e8
mov edx, dword [ebx]
mov eax, 0x49087c
call fcn.00443a9c
dec eax
je 0x49073e
push 0x490884
call fcn.00446a2c
mov esi, eax
test esi, esi
je 0x490605
push 0x490890
push esi
call fcn.004469cc
mov edi, eax
test edi, edi
je 0x490726
mov dword [ebp - 4], 0x400
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00443ae4
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00443974
push eax
push 0
call edi
test eax, eax
jne 0x490726
mov edx, dword [ebp - 4]
dec edx
lea eax, [ebp - 8]
call fcn.00443ae4
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004435e4
mov eax, dword [ebx]
call fcn.004437b0
cmp eax, 0xf5
jle 0x490726
mov edx, dword [ebx]
mov eax, 0x4908b0
call fcn.00443a9c
test eax, eax
je 0x490681
mov eax, ebx
mov edx, 0x4908c0
call fcn.004435e4
jmp 0x490726
mov edx, dword [ebx]
mov eax, 0x490910
call fcn.00443a9c
test eax, eax
je 0x4906a2
mov eax, ebx
mov edx, 0x490924
call fcn.004435e4
jmp 0x490726
mov edx, dword [ebx]
mov eax, 0x490974
call fcn.00443a9c
test eax, eax
je 0x4906c0
mov eax, ebx
mov edx, 0x490988
call fcn.004435e4
jmp 0x490726
mov edx, dword [ebx]
mov eax, 0x4909d8
call fcn.00443a9c
test eax, eax
je 0x4906de
mov eax, ebx
mov edx, 0x4909ec
call fcn.004435e4
jmp 0x490726
mov edx, dword [ebx]
mov eax, 0x490a84
call fcn.00443a9c
test eax, eax
je 0x4906fc
mov eax, ebx
mov edx, 0x490a98
call fcn.004435e4
jmp 0x490726
mov edx, dword [ebx]
mov eax, 0x490b18
call fcn.00443a9c
test eax, eax
je 0x49071a
mov eax, ebx
mov edx, 0x490b2c
call fcn.004435e4
jmp 0x490726
mov eax, ebx
mov edx, 0x4908c0
call fcn.004435e4
mov eax, dword [ebx]
call fcn.004437b0
cmp eax, 0xa
jge 0x49073e
mov eax, ebx
mov edx, 0x4908c0
call fcn.004435e4
lea eax, [ebp - 0xc]
mov edx, dword [ebx]
call fcn.00443ce0
mov eax, dword [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x14]
mov eax, 0x490b80
call fcn.00488448
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00443ce0
mov eax, dword [ebp - 0x10]
push eax
push 0x490b8c
mov eax, dword [0x4a2d44]
push dword [eax]
push 0x490ba0
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00443870
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.00443ce0
mov edx, dword [ebp - 0x18]
mov eax, 0x80000002
pop ecx
call fcn.0048717c
lea eax, [ebp - 0x20]
mov edx, dword [ebx]
call fcn.00443ce0
mov eax, dword [ebp - 0x20]
push eax
push 0
lea edx, [ebp - 0x28]
mov eax, 0x490b80
call fcn.00488448
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
call fcn.00443ce0
mov eax, dword [ebp - 0x24]
push eax
push 0x490b8c
mov eax, dword [0x4a2d44]
push dword [eax]
push 0x490ba0
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00443870
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.00443ce0
mov edx, dword [ebp - 0x2c]
mov eax, 0x80000001
pop ecx
call fcn.0048717c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49086b
lea eax, [ebp - 0x30]
call fcn.00443590
lea eax, [ebp - 0x2c]
call fcn.00443b60
lea eax, [ebp - 0x28]
call fcn.00443590
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00443b78
lea eax, [ebp - 0x1c]
call fcn.00443590
lea eax, [ebp - 0x18]
call fcn.00443b60
lea eax, [ebp - 0x14]
call fcn.00443590
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00443b78
lea eax, [ebp - 8]
call fcn.00443590
ret