Actually, The Roman Catholic Church did much to clean up the ethical and moral corruption that existed prior to the Reformation. Those actions (plus more) are known as the Counter-Reformation.
On matters of Doctrine I think they made several errors a test of orthodoxy. At the Council of Trent they made orthodoxy far more narrow than it had been during much of the Middle Ages. If their anathemas were retroactive then some of the ancient saints are anathematised along with the contemporary Protestants.
Protestants too defines orthodoxy and we too made orthodoxy very narrow.
I believe there are Christians in all true Churches. I believe all that hold to the Apostles and Nicene Creeds fit the definition of "true Church." This is why we accept the baptisms of Roman Catholics, Orthodox, Baptist etc... (no J.W.’s, Mormons or other Christ denying, heretical groups).
Coram Deo,
Kenith