"cooking the books" means to make fictitious entries in the company's accounting records in order to pilfer the company's money for yourself without being suspected. The records look legitimate, so you can get away with your criminal activity for many years. "Uncooking the books" would mean to put the books back in a correct state.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.