It renames the original file with a BIN extension. It copies the viral code to the original filename with the EXE extension.
To repair the file just simply rename the BIN files back to EXE files.