im trying to figure out hideaway by John Mayall's bluesbreakers with Clapton.

The start of it looks like its in Emaj blues, but parts of it, although i can figure them out, dont look like Emaj blues at all. i cant fit them into Emaj blues patterns.

Can anyone tell me what key(s) this is played in please?
was tired and it was late when i was trying to figure this out last night. just had a look at this with fresh eyes and it was so obvious. sorry for the silly question.