I usually edit MIDI songs with Cakewalk by BandLab. I play Yamaha arrangers and Cakewalk turned out to be a better solution than Cubase. If more detailed MIDI processing is needed, then I use XGWorks, which is the only one that can handle XG Sysex data.
Yes, I used good old Cakewalk Pro 9 and nowadays I sometimes run it because it has just about everything needed to process midi files.
There are several videos on my channel that describe how I process MIDI. I put one here that you might find interesting.
Genos Style recording in Cakewalk - create MIDI file (Song) from Yamaha Arranger