Treatment of disturbed liver function