AsmResolver is a library that allows you to read and edit any kind of PE file, including native as well as .NET applications.