A financially troubled North Carolina insurance company is entitled to more than $50 million from an affiliated limited liability company to which it extended a line of credit, a federal judge said after finding that the LLC failed to meet the terms of the loan agreement.