No association may be voluntarily dissolved or otherwise cease to function without written approval by the department after the department has determined that all claims and other legal obligations of the association have been paid or that adequate provisions for such payment have been made.
SDCL 58-20-36