So much of the profits or earnings of such association, as may seem best to the directors, shall be distributed to those entitled thereto by its by-laws, and in the proportions and at the times therein prescribed, which shall be as often as once in twelve months, provided that any member failing to keep on deposit with such association the amount or amounts from time to time required to be kept on deposit by its by-laws shall share in any such distribution only in the proportion to which he has complied with such by-laws.
805 ILCS 310/15