PEFormatError: 'Invalid NT Headers signature' issue on Windows 7 64-bit
<p>I'm experiencing a PEFormatError: 'Invalid NT Headers signature' everytime I am opening a PE file (installer type). My machine is a Windows 7 Professional 64-bit. My python is 32-bit, 2.7 version. I installed the 32-bit version because I have some python modules that are only running on the 32-bit version of python. I also installed the latest version of pefile (1.2.114). Below is the complete stack trace:</p>

<pre><code>Traceback (most recent call last):
  File "&lt;pyshell#3&gt;", line 1, in &lt;module&gt;
    pe = pefile.PE('e:/processing/procdir/PROCEXP.EXE')
  File "build\bdist.win32\egg\pefile.py", line 1718, in __init__
    self.__parse__(name, data, fast_load)
  File "build\bdist.win32\egg\pefile.py", line 1806, in __parse__
    raise PEFormatError('Invalid NT Headers signature.')
PEFormatError: 'Invalid NT Headers signature.'
</code></pre>

<p>The weird thing here is that when I tried it on another Windows 7 Pro machine, with the same python version, pefile and file tested, it works and is not raising PEFormatError.</p>

<p>Any ideas? Thanks in advance!</p>
