Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   convert 16bit app to 32bit (https://forum.exetools.com/showthread.php?t=7129)

Kyrios 03-15-2005 20:00

convert 16bit app to 32bit
 
Hi all,

My friend asked me to protect an exe. But all were failed. I realized this exe is 16 bit app. And look likes to me Delphi1. Any1 know a tool to convert/wrap so this 16bit can be protected with 32bit protector? Like Arma, ASPR, and similar tool.

BR,
kyrios

visu 03-15-2005 22:06

Might be a silly question, but can't you recompile it?

Main problem you might face here is that all protector code is 32 bit and it need to load 16 bit original code. Hence it will be mixed binary. Going to CPU level, there are some instruction which are interpreted differently by CPU based on whether they are is in 16 bit segment or in 32 bit segment. So, mixing is always tricky and usually handled by handcoding which is not the case for protector. This could be the reason for failure.

Visu

Android 03-16-2005 01:28

Hi,
You can use a 16 bit packer/protecotr.
It's UPX for Dois version but 32 bit.
Code:

http://upx.sourceforge.net/download/upx125d.zip
But this one works for you for sure as it has compatibility with 16 bit files.

It's Shrinker 3.4

Code:

http://www.blinkinc.com/shrinker.htm
I also have a question:
Is there any way to covert a PE file to a NE file?

Let me know please.

Best Regards,
Android.

kittmaster 03-16-2005 07:44

What about a delivery system that uses installshield 7 or below? Even thought scripts can be "cracked" at least it will discurage most from trying to reverse it since installshield can be a pita.

LaDidi 03-16-2005 15:06

It's not so eaasy !
 
Convert 16 to 32 isn't easier.
You may try to recompile your code with a 32b compiler but you MUST verify your source code :
- alignement problem due to pack structure
- API win16->win32 (handle, ...)
- ANSI / Unicode
- Control : 16b ComCtl have visual aspect like win3.1 !
....
Regards.

Kyrios 03-17-2005 02:07

I only had the exe. Not the source code. I'll give shrinker 3.4 a try.

thomasantony 03-17-2005 16:53

Quote:

Originally Posted by LaDidi
Convert 16 to 32 isn't easier.
- ANSI / Unicode

Only if you use WinNT or similiar. BTW the API are really different. For example in 16bit you use DOS interrupts(int 21h) for different functions while you have to use Win32API in win32 executables (GetStdHandle, WriteFile, or CRTDLL functions like printf etc.

Thomas Antony


All times are GMT +8. The time now is 04:44.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX