You could classify the first 4 chords under some sort of E minor scale as Em, G and B are part of the E harmonic and melodic minor scale. The outstanding chord here is the G#aug which includes two common notes with E minor: C and E. The G# is borrowed from E Major and creates an unusual kind of tension.
The last four chords are simply a ii, IV, vi, I progression in C# Major.
To conclude, when you write a melody over these chords you can use E harmonic/melodic minor for the first half and C# Major for the second half. You can't go wrong by targeting 3rds and 7ths of each chord.
Hope that helps!