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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff7b0
test dword [esp], ebx
push ebx
push esi
push edi
mov dword [ebp - 0x38], ecx
mov esi, edx
mov ebx, eax
mov eax, 0x83cfb4
call fcn.0082cbe8
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x48]
push edx
push ecx
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x3c]
mov eax, esi
call fcn.004088cc
cmp byte [ebx + 0x4fc], 0
je 0x414aec
mov esi, 0xf013f
jmp 0x414af1
mov esi, 0xf003f
cmp byte [ebx + 0x4fc], 0
je 0x414b01
mov edi, 0xf023f
jmp 0x414b06
mov edi, 0xf003f
xor eax, eax
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x50], eax
push edx
push esi
push 0
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 4]
push ecx
mov word [ebp - 0x24], 0xc
mov ecx, dword [ebp - 0x3c]
push ecx
push eax
call fcn.0083524c
add esp, 8
inc dword [ebp - 0x18]
lea edx, [ebp - 4]
push edx
push 0x869608
call fcn.00411144
add esp, 8
mov ecx, dword [eax]
push ecx
call fcn.00835a60
test eax, eax
je 0x414ba6
lea eax, [ebp - 0x4c]
push eax
push edi
push 0
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x3c]
push ecx
lea eax, [ebp - 8]
push eax
call fcn.0083524c
add esp, 8
inc dword [ebp - 0x18]
lea edx, [ebp - 8]
push edx
push 0x869608
call fcn.00411144
add esp, 8
mov ecx, dword [eax]
push ecx
call fcn.00835a60
test eax, eax
lea edx, [ebp - 8]
sete al
and eax, 1
push eax
dec dword [ebp - 0x18]
push 2
push edx
call fcn.00835424
add esp, 8
pop ecx
test ecx, ecx
jne 0x414ba6
xor eax, eax
jmp 0x414bab
mov eax, 1
push eax
lea edx, [ebp - 4]
dec dword [ebp - 0x18]
push 2
push edx
call fcn.00835424
add esp, 8
pop ecx
test cl, cl
je 0x414c3d
mov eax, dword [ebp - 0x38]
mov byte [eax], 1
push 0x83bd1e
mov edx, dword [ebp + 0xc]
push edx
call fcn.004149f0
add esp, 8
test eax, eax
je 0x414c1e
lea ecx, [ebp - 0x1850]
lea eax, [ebp - 0x50]
push ecx
push eax
mov eax, ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x4c]
call fcn.00414a20
mov ebx, eax
lea edx, [ebp - 0x1850]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x50]
call fcn.00414948
mov edx, dword [ebp + 0x14]
mov byte [edx], al
mov eax, ebx
mov ecx, dword [ebp - 0x34]
mov dword fs:[0], ecx
jmp 0x414d4a
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00835a24
mov al, 1
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
jmp 0x414d4a
push 0x83bd1f
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004149f0
add esp, 8
test eax, eax
jne 0x414d37
lea ecx, [ebp - 0x4c]
push ecx
push esi
push 0
mov eax, dword [ebp - 0x44]
push eax
mov word [ebp - 0x24], 0x18
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0xc]
push ecx
call fcn.0083524c
add esp, 8
inc dword [ebp - 0x18]
lea eax, [ebp - 0xc]
push eax
push 0x869608
call fcn.00411144
add esp, 8
mov edx, dword [eax]
push edx
call fcn.00835a60
test eax, eax
je 0x414cf1
lea ecx, [ebp - 0x4c]
push ecx
push edi
push 0
mov eax, dword [ebp - 0x44]
push eax
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x10]
push ecx
call fcn.0083524c
add esp, 8
inc dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push 0x869608
call fcn.00411144
add esp, 8
mov edx, dword [eax]
push edx
call fcn.00835a60
test eax, eax
lea eax, [ebp - 0x10]
sete cl
and ecx, 1
push ecx
dec dword [ebp - 0x18]
push 2
push eax
call fcn.00835424
add esp, 8
pop edx
test edx, edx
jne 0x414cf1
xor ecx, ecx
jmp 0x414cf6
mov ecx, 1
push ecx
lea eax, [ebp - 0xc]
dec dword [ebp - 0x18]
push 2
push eax
call fcn.00835424
add esp, 8
pop edx
test edx, edx
je 0x414d37
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x1850]
lea edx, [ebp - 0x50]
mov byte [ecx], 1
push eax
push edx
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov eax, ebx
call fcn.00414a20
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
jmp 0x414d4a
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov byte [eax], cl
mov eax, ecx
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10