How Corporate Law Affects Corporate Investments in New York