Christopher Browning's book offers a pretty good set of insights into it. Albeit I think he misses a number of factors such as careerism, anti-Semitism making it easier for them, and also the idea of 'doing a job.'