SC man illegally got 90 guns, researched mass shootings, agents say