The comptroller may, at any time before the sale of the mortgaged premises, bring an action to restrain the commission of waste by any person upon the mortgaged premises, or to correct any mistake or omission in the description thereof, or to recover the amount due on a mortgage. At any time before payment and discharge of mortgage or before sale, if any person cuts or removes or injures the timber, fences, buildings or other fixtures belonging to such mortgaged premises, or threatens so to do, the comptroller may maintain a like action for damages or an injunction.
N.Y. State Fin. Law § 158