Great question — answering as the UphillTech team:
It looks fairly straight-forward. The blue wires (from the switch module) go to the travelers, the red wire goes to the fan motor, and the black wire goes to the supply. Label those ends before removing the switch module. Replace with a new fan speed controller (or switch if you only want full speed) and a new "3 way" light switch.
Full answer by Jasen: https://diy.stackexchange.com/a/299739 (CC BY-SA 4.0).
Need it done for your business? UphillTech.