Kowalewski's asymptotic method, Kac-Moody lie algebras and regularization