More than a few companies that did well in the past are out of favor with investors. And that could spell opportunity.