Its no secret that Fannie Mae and Freddie Mac are back in the black when it comes to earnings, but in the quarters ahead the two are likely to perform even better as delinquencies and foreclosures continue to wane, and they move to recapture some of their massive loss reserves. But another factor could bolster their earnings as well: large legal settlements with the nations megabanks, which will go straight to their bottom line, according to an analysis done by Inside The GSEs. As part of Fannies buyback settlement with Bank of America (see related story on page 1), Fannie will receive some $3.6 billion in cash from the bank, plus BofA is repurchasing almost $7 billion in legacy loans.