On the surface, Barclays (LSE: BARC) looks like an ugly business with declining profits, low returns on equity, and headwinds from regulation. However, at its heart is a powerful collection of high-return franchises that are shrouded by the poor performance of its loss-making non-core assets.