Jump to content


SUPPORT TOPIC File Information

  • Submitted: May 20 2012 08:29 PM
  • Last Updated: May 20 2012 08:29 PM
  • File Size: 1.94MB
  • Views: 36314
  • Downloads: 23100
  • Approved by: amalux
  • Approved on: 20 May 2012 - 08:55 PM

Download BOOTMGR Recompiler v2

- - - - -

BOOTMGR Recompiler
This tool takes bootmgr.exe and creates bootmgr ready for booting. You can choose between compression method LZNT1 and XpressHuffman. You can also choose which library to use for the compression, either MSCompression.dll an excellent library by Jeffrey Bush, or the Windows shipped ntdll.dll. Note that ntdll.dll supports LZNT1 on any Windows version, whereas XpressHuffman support is only present on ntdll.dll on Windows 8. You can however copy ntdll.dll from Windows 8 and to XP/Vista etc (to same directory as this tool), to overcome this. The MSCompression.dll library supports both methods, and is included in this download. But currently I had some issues with the 32-bit compiled version of this library, so the option on x86 arch OS is to use ntdll.dll. The tool also performs some basic PE testing, and for instance optionally corrects the PE checksum if found incorrect. It does not matter which version of bootmgr.exe you choose or compression method. All generated bootmgr combinations should work fine. The XpressHuffman compressed ones, are much smaller in size than the LZNT1 ones, because of better compression ratio.

Structure of BOOTMGR
1. 16-bit stub with code to unpack, evaluate and execute the compressed part. About 2x KB.
2. A 16 byte section with some information that the 16-bit stub evaluates.
3. A tiny 8192 byte PE image, with unknown function. It's content is not evaluated.
4. The compressed 32-bit executable bootmgr.exe

The 16 byte section contains these values:
byte 1-4: a signature.
byte 5-8: the compressed size of bootmgr.exe.
byte 9-12: the uncompressed size of bootmgr.exe.
byte 13-16: the relative offset to the compressed data calculated from the start of this section (ie the signature).

More detailed information connected to this topic that you may find useful:

The included program is a frontend for the library, and strictly not used with the above application. I just included it, since the library is included, in case someone needed it. It's a commandline compressor/decompressor supporting. The library supports these compression methods;

The MSCompression library has a slightly better compression ratio than ntdll.dll when using XpressHuffman.

Other files you may be interested in ..

  • 426 Total Files
  • 13 Total Categories
  • 93 Total Authors
  • 6301221 Total Downloads
  • Rufus Latest File
  • Akeo Latest Submitter

68 user(s) are online (in the past 3000 minutes)

0 members, 68 guests, 0 anonymous users