Hamiltonian fourfold 1:1 resonance with two rotational symmetries