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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0xf5bb4
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0xf5e90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.000b364c
call fcn.000f2afc
cmp eax, 1
jne 0xf5bee
mov eax, ebx
mov edx, dword [0x106554]
mov edx, dword [edx]
call fcn.000b36a0
cmp dword [ebx], 0
je 0xf5c14
mov eax, dword [ebx]
call fcn.000b38a8
cmp eax, 0xf5
jg 0xf5c14
mov edx, dword [ebx]
mov eax, 0xf5ea8
call fcn.000b3b94
dec eax
je 0xf5d6a
push 0xf5eb0
call fcn.000b6ab0
mov esi, eax
test esi, esi
je 0xf5c31
push 0xf5ebc
push esi
call fcn.000b6a48
mov edi, eax
test edi, edi
je 0xf5d52
mov dword [ebp - 4], 0x400
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.000b3bdc
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.000b3a6c
push eax
push 0
call edi
test eax, eax
jne 0xf5d52
mov edx, dword [ebp - 4]
dec edx
lea eax, [ebp - 8]
call fcn.000b3bdc
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.000b36a0
mov eax, dword [ebx]
call fcn.000b38a8
cmp eax, 0xf5
jle 0xf5d52
mov edx, dword [ebx]
mov eax, 0xf5edc
call fcn.000b3b94
test eax, eax
je 0xf5cad
mov eax, ebx
mov edx, 0xf5eec
call fcn.000b36a0
jmp 0xf5d52
mov edx, dword [ebx]
mov eax, 0xf5f3c
call fcn.000b3b94
test eax, eax
je 0xf5cce
mov eax, ebx
mov edx, 0xf5f50
call fcn.000b36a0
jmp 0xf5d52
mov edx, dword [ebx]
mov eax, 0xf5fa0
call fcn.000b3b94
test eax, eax
je 0xf5cec
mov eax, ebx
mov edx, 0xf5fb4
call fcn.000b36a0
jmp 0xf5d52
mov edx, dword [ebx]
mov eax, 0xf6004
call fcn.000b3b94
test eax, eax
je 0xf5d0a
mov eax, ebx
mov edx, 0xf6018
call fcn.000b36a0
jmp 0xf5d52
mov edx, dword [ebx]
mov eax, 0xf60b0
call fcn.000b3b94
test eax, eax
je 0xf5d28
mov eax, ebx
mov edx, 0xf60c4
call fcn.000b36a0
jmp 0xf5d52
mov edx, dword [ebx]
mov eax, 0xf6144
call fcn.000b3b94
test eax, eax
je 0xf5d46
mov eax, ebx
mov edx, 0xf6158
call fcn.000b36a0
jmp 0xf5d52
mov eax, ebx
mov edx, 0xf5eec
call fcn.000b36a0
mov eax, dword [ebx]
call fcn.000b38a8
cmp eax, 0xa
jge 0xf5d6a
mov eax, ebx
mov edx, 0xf5eec
call fcn.000b36a0
lea eax, [ebp - 0xc]
mov edx, dword [ebx]
call fcn.000b3dd8
mov eax, dword [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x14]
mov eax, 0xf61ac
call fcn.000ed31c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.000b3dd8
mov eax, dword [ebp - 0x10]
push eax
push 0xf61b8
mov eax, dword [0x1063bc]
push dword [eax]
push 0xf61cc
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.000b3968
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.000b3dd8
mov edx, dword [ebp - 0x18]
mov eax, 0x80000002
pop ecx
call fcn.000e8128
lea eax, [ebp - 0x20]
mov edx, dword [ebx]
call fcn.000b3dd8
mov eax, dword [ebp - 0x20]
push eax
push 0
lea edx, [ebp - 0x28]
mov eax, 0xf61ac
call fcn.000ed31c
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
call fcn.000b3dd8
mov eax, dword [ebp - 0x24]
push eax
push 0xf61b8
mov eax, dword [0x1063bc]
push dword [eax]
push 0xf61cc
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.000b3968
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.000b3dd8
mov edx, dword [ebp - 0x2c]
mov eax, 0x80000001
pop ecx
call fcn.000e8128
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf5e97
lea eax, [ebp - 0x30]
call fcn.000b364c
lea eax, [ebp - 0x2c]
call fcn.000b3c58
lea eax, [ebp - 0x28]
call fcn.000b364c
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.000b3c70
lea eax, [ebp - 0x1c]
call fcn.000b364c
lea eax, [ebp - 0x18]
call fcn.000b3c58
lea eax, [ebp - 0x14]
call fcn.000b364c
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.000b3c70
lea eax, [ebp - 8]
call fcn.000b364c
ret