This is the exact issue under law in
Vernor, to wit: whether or not a customer who purchased AutoCAD had the right to resell his copy under the "first sale doctrine" (AutoCAD licenses are nontransferable per the EULA). Most proprietary software comes with a statement "This software is licensed, not sold" or words to that effect. You are not buying a copy of the software; you are buying a license to use the software. Because you must make a copy of the software (in memory) in order to use it, you are in violation of copyright by using the software without a license. So any use of the software is subject to the terms of the EULA and by using the software you agree to those terms. Violating the terms = no license = no right to use the software.
Pretty standard contract law really, and the 9th circuit agreed, finding in favor of Autodesk in Vernor. But hire a lawyer if you need to know for sure.