A lot of those applications are the "bullshit jobs" of software, ie they are not actually needed. Many only exist because of insisting on only minor changes to existing processes. Many should be contracted out as services as they do not add value and differentiation. There is some stuff left of course.