On the de Rham theory of certain classifying spaces