Oh, that's basically assembler
I wonder how much of the original source was assembler and this is trying to turn it into the C code that it never was.
Turbo C actually let you use _BX and _ES as plain variables. Borland's own compiler would take that code without blinking.
I wonder how much of the original source was assembler and this is trying to turn it into the C code that it never was.