Zaslat SMS: Large deviations and the malliavin calculus