Bernard Madoff demanded his inner circle rush to recreate years’ worth of fake account documents for a feeder fund that in 1992 attracted unwanted attention from regulators, the con man’s ex-finance chief told a jury.

Madoff began swearing and “throwing himself around the office like a lunatic” after hearing Avellino & Bienes, a Florida investment firm that funneled $441 million to his fraud, was being probed for failing to register its promissory notes as securities, Frank DiPascali, 57, told a jury in Manhattan federal court yesterday at the trial of five former colleagues.