Yeah labeling on the mainboard is inconsistent with the firmware pins.
You have two options simple and hard.
Simple: Get multi meter and tell printer to do an action, eg turn fans on and measure each of the 24v controlled screw terminals (HE0, HE1 and fan). What ever shows 24v that is now you fan header, rinse and repeat. You will have to be quick for the hotend as this will initiate a thermal shutdown when it sees no temperature change in your hotend thermistor. This takes about 5-10 seconds.
Hard: re-jig the pinout configuration in the pins file of the firmware.
I am preparing for a dual extrusion setup and ironically enabling EEFD mode set all the pins up correctly.