An example of DLL asset extraction via WinUI
MIT License
An example of an icon extraction utility which reads the most common Windows DLL assets.
Nuget packages utilized:
You may need to adjust the width and height values based on the DLL you're targeting. Some assets have 16, 24, 32, 64, 128 and 256 representations and some do not.
On a side note, does anyone happen to know the story behind this icon? This isn't a rendering artifact; index #2866 in comres.dll seems like an internal prank to scribble/deface the asset. Was this done on purpose for some reason? Maybe the effect was to simulate being cracked in half? Out of the thousands of icons I inspected while making this project, only this one stood as an outlier.