I found a slang site that says: "Crook : sick, or badly made". Maybe it started with the latter and spread to include the former?