I am looking at it, and not going to be easy at first glance...
Rendering squares is a big routine, with chunks of code doing each part (terrain, improvements, rivers, coasts, special resources, ...), and switching parts or switching the order in which parts are processed in assembly, with...