If any person commits or attempts to commit a crime enumerated in section 6105 (relating to persons not to possess, use, manufacture, control, sell or transfer firearms) when armed with a firearm contrary to the provisions of this subchapter,
that person may, in addition to the punishment provided for the crime, also be punished as provided by this subchapter.