Exact asymptotic formulas for the coefficients of nonmodular functions