title: Decompiling Java packed in exe. Find the zip file in a binary stream?
body: <p>I have a <code>exe</code> file that is in fact a very simple java application. I'd like to decompile it and fix some issues, but I'm not sure how can I get the <code>.jar</code> data to start the decompiling. I have inspected the file using resource hacker:</p>
  
  <p><img src="https://i.stack.imgur.com/lV1Qz.png" alt="screenshot from resource hacker"></p>
  
  <p>Next to tree names, I have written key values using <code>Courier new</code> font. My notes use <code>Arial</code>. The last key was an XML file from some IDE, originally looking like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  &lt;assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"&gt;
      &lt;trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"&gt;
          &lt;security&gt;
              &lt;requestedPrivileges&gt;
              &lt;requestedExecutionLevel level="highestAvailable"
                  uiAccess="False" /&gt;
          &lt;/requestedPrivileges&gt;
      &lt;/security&gt;
      &lt;/trustInfo&gt;
  &lt;/assembly&gt;  
  </code></pre>
  
  <p>While none of the data above indicates where the JAR code could be, an experienced programmer could probably know what program was used to pack this, which is why I'm asking you.</p>
  
  <p>Other way to get the data would be some magic to find the <code>.jar</code> (which is actually a ZIP, isn't it?) file in the <code>.exe</code> binary and crop the <code>.exe</code> to get the uncorrupted jar file. But how would I do this? The second part of question title refers to this approach.</p>