I'm having some trouble identifying what's going on harmonically in this chromatic sections here.
i. Bar 2: What function does the chord spelled [C#EGBb] have? All I can say about it is that it's a fully diminished chord built on either the 1st, b3rd, #4th, or 6th scale degree. But I can't slot any of these into what I know about music theory.
ii Bar 10 (i.e. the last bar of line 2): The chord spelled [G#FB]. Enharmonically this would be an Fdim. But it's spelled with G# instead of Ab so I don't want to jump to that conclusion. Aside from that, I wouldn't know what harmonic purposes an Fdim could serve here.
Thanks
As background, I'm a hobbyist piano player who's trying to get a better understanding of what I'm playing.

