In the last four bars of the first part, Pernambuco uses a beautiful stylistic device, an arpeggio of a diminished seventh chord. At this point, the diminished chord acts as a shortened secondary dominant, leading to the E minor chord, which again initiates the cadence back to the tonic. A successful conclusion!