import dnfile

path = "./GuessNumber.exe"

pe = dnfile.dnPE(path)

if pe.net:
    print("Je to .NET PE súbor")

    md = pe.net.mdtables

    # Assembly info
    if md.Assembly:
        for asm in md.Assembly:
            print("Assembly:", asm.Name)

else:
    print("Nie je to .NET PE")
