Effect of surface active sites on adsorption of associating chain molecules in pores: A Monte Carlo study