Who gives a care if it’s legal. Do it anyway. Copyright law is idiotic, and at least you bought it legally the first time.
Microsoft has argued that you buy a LICENSE to use their software, not the physical software itself and that you have no right of resale.
MS even used to shut down ebay sales of SEALED software if it came bundled with a computer and you are not an authorized vendor for the software title.
Bill Gates apparently doesn’t have enough money even though he insists that death panels are a good idea for the peons and that “you” aren’t paying enough taxes.