Dealmaking optimism is back, but increased regulatory scrutiny and ESG requirements continue to pose challenges