Where did you get the original file ??
I haven't thought this all the way through, but:
You may have to :-
Search your computer for "ACADDOC.LSP"
All the nasty files may be the same size, but will be different dates/times.
There is a good chance that the oldest files with a unique size will be ok. ... Can you post the code for it please.?
Once you are happy that you have a good file, DELETE all that you believe are nasty.
Copy the good file to C:\Program Files\Autodesk\ACAD.... \...