Email zadetek: Influence of denatured and intermediate states of folding on protein aggregation