Analytic theory of curvettes and dicriticals