(f) compromise any calls and liabilities to calls, debts and liabilities capable or resulting in debts, and all claims, present or future, certain or contingent, ascertained or sounding only in damages, subsisting or supposed to subsist between the company and a contributory, or alleged contributory, or other debtor or person apprehending liability to the company, and all questions in any way relating to or affecting the assets or the winding-up of the company, on such terms as are agreed, and take any security for the discharge of any such call, debt, liability or claim, and give a complete discharge in respect thereof.