The first place to look is in the contract itself. If nothing in the contract prevents its assignment or acquisition, then the normal rule is that when you acquire a company you also acquire its obligations.