The result was a company whose managers engaged in one questionable maneuver after another, including two transactions with investment banking firm Goldman Sachs Group Inc. that improperly pushed $107 million of Fannie Mae earnings into future years.