winedump
Dump the contents of Windows binaries (PE, NE, etc.), demangle C++ symbols, and generate Wine .spec files. tldr-pages
On Linux
Linux
Dump the contents of a PE file, DLL, or executable
winedump dump path/to/file.dllIdentifyDump only the file header information
winedump dump -f path/to/file.dllIdentifyDump a specific section, such as the import or export table
winedump dump -j import path/to/file.dllIdentifyDemangle a C++ (MSVC-mangled) symbol
winedump sym mangled_symbolIdentifyGenerate a .spec file and stub implementation code from a DLL
winedump spec path/to/file.dllIdentifyDisplay help
winedump -hIdentify