Generator. Junction box on bottom wire-nuts the #6 to that SOOW cord. The top box is for the lightning arrestor (this is a premium inverter-generator). The 3rd box has low-voltage from the Autmatic Generator Start to the Remote Control box in the generator.