2

I have a piece of software. When I disassemble the PE file

ildasm foo.exe /output=foo.il

I get a bunch of files, like foo.MainForm and foo.bar.dll. When I then try to re-assemble the file

ilasm foo.il

I get a working foo.exe back again, but some of the small graphics are missing in the new file (it's also ~200kb smaller). Some other graphics are working, so it looks like I'm missing something in the disassemble or re-assemble. How can I fix this?

Frank Meulenaar
  • 1,207
  • 3
  • 13
  • 23

1 Answers1

1

When you decompile you will see a bunch of .res files extracted.

You need to include them again when recompiling with ilasm.

leppie
  • 115,091
  • 17
  • 196
  • 297