c. 1200, "wickedly; with hostility," from ill (adj.). Meaning "not well, poorly" also is from c. 1200. It generally has not shifted to the realm of physical sickness, as the adjective has done. Ill-fated recorded from 1710; ill-informed from 1824; ill-tempered from c. 1600; ill-starred from c. 1600. Generally contrasted with well, hence the useful, but now obsolete or obscure illcome (1570s), illfare (c. 1300), and illth.
gotten
a past participle form of get, showing vestiges of the Old English form of the verb. With adverbs, "obtained or acquired" (in some specified manner) from mid-14c.