max had been a clerk in the betrug abteilung , the department set up to investigate financial frauds , irregularities in stock sales and banking transactions , and the ebb and flow of currency in and out of switzerland .