I was trying to solve the integration of $\int \sin(x) e^{\sin(x)-x} (\sin(x)-x) dx$ with integration by parts, but with no success.
I also tried to expend the expression to:
$\int \sin^2(x) e^{\sin(x)-x} dx - \int x\sin(x) e^{\sin(x)-x} dx$
Also this didn't really help. Maybe someone has better ideas?