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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a44
call fcn.00476ea0
mov eax, dword [0x548280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1a44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1a40], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test ebx, ebx
je 0x486ed7
test esi, esi
je 0x486ed7
push 0x100
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.0046f380
add esp, 0xc
lea eax, [ebp - 0x108]
mov ecx, edi
push 0x100
push eax
push esi
call fcn.00486620
test al, al
je 0x486ed7
push 0x800
lea eax, [ebp - 0x90b]
mov byte [ebp - 0x90c], 0
push 0
push eax
call fcn.0046f380
add esp, 0xc
lea eax, [ebp - 0x90c]
mov ecx, edi
push 0x800
push eax
push esi
call fcn.00486a10
test al, al
je 0x486ed7
cmp dword [ebp + 0x18], 0
lea eax, [ebp - 0x1a38]
mov dword [ebp - 0x1a3c], eax
lea eax, [ebp - 0x90c]
push eax
mov dword [ebp - 0x1234], 0
lea eax, [ebp - 0x1a3c]
mov byte [ebp - 0x1a38], 0
jbe 0x486c8d
push 0x5065b0
jmp 0x486c92
push 0x5065c4
push eax
call fcn.00487390
add esp, 0xc
mov dword [ebp - 0xe28], 0
lea eax, [ebp - 0x122c]
mov byte [ebp - 0x122c], 0
mov dword [ebp - 0x1230], eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x1230]
push 0x5065d8
push eax
call fcn.00481700
mov ecx, dword [ebp - 0x1a40]
mov eax, 0x5065e8
test ecx, ecx
mov dword [ebp - 0xa1c], 0
mov byte [ebp - 0xe20], 0
cmovne eax, ecx
lea ecx, [ebp - 0xe20]
push eax
lea eax, [ebp - 0xe24]
mov dword [ebp - 0xe24], ecx
push 0x506658
push eax
call fcn.00481700
lea ecx, [ebp - 0x1a38]
mov edx, ebx
mov eax, ecx
add esp, 0x18
sub edx, eax
mov edi, edi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x486d20
lea edx, [ebp - 0x122c]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x486d35
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x486d41
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0xe20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x486d60
sub edx, esi
lea edi, [ebx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x486d70
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx - 1]
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x486d90
mov eax, dword [0x50666c]
lea edi, [ebx - 1]
mov dword [ecx], eax
mov eax, dword [0x506670]
mov dword [ecx + 4], eax
mov eax, dword [0x506674]
mov dword [ecx + 8], eax
mov ax, word [0x506678]
mov word [ecx + 0xc], ax
mov al, byte [0x50667a]
mov byte [ecx + 0xe], al
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x486dc6
mov ecx, 7
mov esi, 0x50667c
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x486de0
mov edx, dword [ebp + 0x18]
mov ecx, 6
mov esi, 0x50669c
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
test edx, edx
je 0x486e76
lea edi, [ebx - 1]
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x486e00
mov ecx, 0x10
mov dword [ebp - 0x910], 0
mov esi, 0x5066b8
mov byte [ebp - 0xa14], 0
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xa14]
push edx
mov dword [ebp - 0xa18], eax
lea eax, [ebp - 0xa18]
push 0x5066fc
push eax
movsb byte es:[edi], byte [esi]
call fcn.004816b0
lea edx, [ebp - 0xa14]
add esp, 0xc
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x486e50
sub edx, esi
lea edi, [ebx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x486e60
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x1a44]
test edx, edx
je 0x486ea6
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x486e82
sub edx, esi
lea edi, [ebx - 1]
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x486e90
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
dec ebx
mov al, byte [ebx + 1]
lea ebx, [ebx + 1]
test al, al
jne 0x486ea7
mov ax, word [0x5064d4]
mov word [ebx], ax
mov al, byte [0x5064d6]
pop edi
mov byte [ebx + 2], al
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004632a9
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004632a9
mov esp, ebp
pop ebp
ret 0x14