The mainobs.wdl ist the obfiscated code, but the complete project is also unaltered included, with main.wdl as the mainscript.
I did not look into the old code much, but there should be some trace commands as the selection starts. Then the selected area calculates the entities that ly within it.