No offense but you're 'technically' incorrect. (NOTE, I'm posting this before you get slammed by a certain smart-@$$, who will go un-named).
Chicago's Byzantine Gun Laws
1) All handguns are 'effectively' BANNED. However if you owned one and had it registered during the Jane Byrne era, you might, maybe, possibly, if you're lucky, have your yearly registration renewed by the Chicago Police Dept. But the odds are slim and none - and slim left town (unless you're a connected politician or a member of the mob).
2) 'Certain' Rifles and shotguns are 'legal' BUT (there's always a but in Chi) they must be registered with the CPD and the registration must be renewed each year. And the initial registration MUST BE APPROVED by the Superintendent of the PD (like he has time to do this). So if you don't have them registered or it's expired, YOU'RE breaking the law.
Chicago's definition of "assault rifle" is worse than CA's and confusing as heck. To them almost any non bolt action rifle is pretty much an "assault weapon' and ergo, ILLEGAL.
3) And believe it or not, but it's true - even CAP PISTOLS must be registered with the CPD! Yep, your old 'Fanner 50' cap gun is a 'deadly weapon' to Daley!
4) And forget a BB gun or Pellet Rifle, those have been 100% ILLEGAL in Chicago since the late 1950's.
Chicago's stoo-pid weapons laws can be found on the IL State Police website. IIRC it's 39 pages long!
BTW, almost nobody realizes that their shotguns and rifles must be registered in Chi, as such they're not, and can and will be confiscated if a cop comes across them. You'll also be fined $500, charged and convicted of a felony (there is no defense) and will NOT be able to legally own ANY weapon thereafter.