The analysed chords are developed following a pattern of arpeggios over a rhythmic figure repeated by the bass.
C minor. Tonic pedal point.
Descending bass movement begins modulation process to G minor (dominant).
Diminished seventh leads to G minor.
We arrive at G minor.
D pedal tone (dominant of G).
German augmented sixth.
D pedal point (dominant of G).
Resolution to G major. The G pedal (tonic) is established.
G becomes the dominant of C. The G pedal is now a dominant pedal.
The prelude finishes on the dominant.