Asymptotic results for exit probabilities of stochastic processes governed by an integral type rate function