Decompressor for Petite packed executables?

For projects that need help or topics that need research. Topics hard or impossible to find information on. Do not post basic help questions here.
UCyborg
Posts: 57
Joined: 19 Nov 2024, 19:14
OS: Windows 10 x64
Has thanked: 20 times
Been thanked: 21 times
Slovenia

Decompressor for Petite packed executables?

Unread post by UCyborg »

Asking just in case I missed something, I looked for one, but didn't find any.

The compressor is available at https://www.un4seen.com/petite/, but nothing that would reverse it and output normal non-compressed EXE/DLL with import table intact.

This subject seems fitting for this subforum.

The-10-Pen
Posts: 78
Joined: 16 Feb 2025, 08:43
OS: Win10 2016 LTSB
Has thanked: 2 times
Been thanked: 28 times
United States of America

Decompressor for Petite packed executables?

Unread post by The-10-Pen »

Is this what you are looking for?
www.youtube.com/watch?v=y7gnmQGOnTU

UCyborg
Posts: 57
Joined: 19 Nov 2024, 19:14
OS: Windows 10 x64
Has thanked: 20 times
Been thanked: 21 times
Slovenia

Decompressor for Petite packed executables?

Unread post by UCyborg »

I followed the similar procedure, but the final result lacks relocation table, that would need some intelligence to reconstruct. I think I saw a program in source code form only on GitHub that may be able to reconstruct it if you give it dump of 2 identical DLLs loaded at different addresses and specifically formatted text file with information about imported functions, but didn't dig into it any further.

The-10-Pen
Posts: 78
Joined: 16 Feb 2025, 08:43
OS: Win10 2016 LTSB
Has thanked: 2 times
Been thanked: 28 times
United States of America

Decompressor for Petite packed executables?

Unread post by The-10-Pen »

Why not just use regular ol' UPX?
What does Petite offer over UPX?

UCyborg
Posts: 57
Joined: 19 Nov 2024, 19:14
OS: Windows 10 x64
Has thanked: 20 times
Been thanked: 21 times
Slovenia

Decompressor for Petite packed executables?

Unread post by UCyborg »

I find compression of executables pointless. Why use it unless you're a scumbag trying to hide something? In case of DLLs, it also prevents effective sharing of code between processes, each gets its own copy instead of it being shared.

BASS library (and its add-ons) seems to come only in binary compressed form. I hoped I could easily modify it to not call timeBeginPeriod(1) needlessly. I noticed with AIMP and VirtualMIDISynth, minimum resolution of periodic timers is forced to 1 ms even when nothing plays.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest