Download stock rom for country/carrier (not Android 4.0.4) from Samfirmware, boot into download mode & flash following instructions in stickied thread near top of Q&A titled 'Flash stock firmware'.
Problems with flashing ? Find Hopper8's 'Odin troubleshooting' thread stickied in General. Simply flashing stock should fix it, but it it still bootloops after flash, boot into recovery & do a factory reset.
Still bootlooping ? Download the 3 part firmware linked in Hopper's thread & flash that with Odin (this will wipe your phone).
If you try all that & still bootloops, post here again.