{Tutorial} How to unpack and pack Papago exe   

{Tutorial} How to unpack and pack Papago exe

Postby Brandon » Thu Jul 22, 2010 12:42 pm

Can someone teach how to unpack & pack Papago.exe ? Will be good if you can tell how to edit the com and baud rate too?

This will be guide to all newbies here. Thanks in advance.
Brandon offline


User avatar Junior Member



 
Joined: Fri Jun 25, 2010 8:30 am
Posts: 44
Has thanked: 0 time
Been thanked: 0 time

Postby fox67 » Thu Jul 22, 2010 1:08 pm

This method for x5,
"For those who are interested in X5 after unpacked.

Unlocking PaPaGO! X5

1. Prepared to modified orig.exe file using ultra edit 3.04. (Install the attached trial version)
Using editor, change (original PapagoX5.exe):
0x1f0h 64 61 74 61 --> 55 50 58 30 --------------------- UPX0
0x219h 64 61 74 61 --> 55 50 58 31 --------------------- UPX1
0x240h 64 61 74 61 --> 55 50 58 32 --------------------- UPX2
0x3e0h F8 7A 11 8B --> 55 50 58 21 --------------------- UPX!

Then save the file as : X5.exe (or whatever you want and don't overwrite the original PapagoX5.exe)

2. Unpacked anyfilename.exe using UPX 3.04
In command prompt: type : upx -d X5.exe
(Note: The UPX file is ready to be used (no need to install). Just save the X5.exe into the folder to Pack/Unpack)

3. Unlock 0xcdf4h 00 --> 01
Com port 0x61e74h 04 20 A0 E1 --> 01 20 A0 E3 for com 1, 02 20 A0 E3 for com 2 and so on...
Baud rate 0x61e90h 08 20 A0 E1 --> 4B 2D A0 E3 for 4800. The rest see below

4B 2D A0 E3 --> 4800
96 2D A0 E3 --> 9600
E1 2D A0 E3 --> 14400
4B 2C A0 E3 --> 19200
96 2C A0 E3 --> 38400
E1 2C A0 E3 --> 57600

Save the file.

Go to the command prompt: type: upx x5.exe to pack back the exe file.
Copy this file back to the PapagoX5 main directory and use this file to start your PapagoX5.

4. Please refer to the attached Happy Unlocker video (a great job by Ian) for step by step guide to use Ultra Edit
and UPX.

NOTE: Try all these at your own risk. I will not be responsible for your misadventure. And make sure you make a
copy as backup before starting.

Hope every one here is happy.

Thanks to Skysbo, Ian and other wonderful unsung heroes."
fox67 offline


Junior Member



 
Joined: Wed Jun 23, 2010 10:15 am
Posts: 28
Has thanked: 0 time
Been thanked: 0 time

Postby torsten.schmitz » Thu Jul 22, 2010 2:41 pm

>>>> UNPACK<<<<<
Using step 1 and 2 from fox67 post is applied only for old release papago.exe. For new release (after April 2010) M3 have diff. packed method and also diff. method to unpacked it.

>>>>FIND COM and BAUD<<<<
Using IDA Pro (find with google) you can open unpack papago.exe. Set to ARM Processor and wait until debug is complete.
After that go to "text Search" icon, and type :"=acomD" then enter. Bring your cursor to : MOV R2, #0---->from below windows see hex addres, exm. : 000623B
Then open ultra edit, CTRL+G for go to hex address 000623B, change COM as you want here.
For Baud, you can go to below COM position with string like : MOV R3, Sud_321131. Look's hex address on below windows.
Same with COM, open ultra edit and modify that hex address.
torsten.schmitz offline


User avatar Member



 
Joined: Mon Jun 21, 2010 9:28 pm
Posts: 190
Has thanked: 0 time
Been thanked: 0 time

Postby Brandon » Thu Jul 22, 2010 2:45 pm

torsten.schmitz wrote:>>>> UNPACK<<<<<
Using step 1 and 2 from fox67 post is applied only for old release papago.exe. For new release (after April 2010) M3 have diff. packed method and also diff. method to unpacked it.

>>>>FIND COM and BAUD<<<<
Using IDA Pro (find with google) you can open unpack papago.exe. Set to ARM Processor and wait until debug is complete.
After that go to "text Search" icon, and type :"=acomD" then enter. Bring your cursor to : MOV R2, #0---->from below windows see hex addres, exm. : 000623B
Then open ultra edit, CTRL+G for go to hex address 000623B, change COM as you want here.
For Baud, you can go to below COM position with string like : MOV R3, Sud_321131. Look's hex address on below windows.
Same with COM, open ultra edit and modify that hex address.


How do you pack and unpack the newer release? Any idea? Thanks!
Brandon offline


User avatar Junior Member



 
Joined: Fri Jun 25, 2010 8:30 am
Posts: 44
Has thanked: 0 time
Been thanked: 0 time

Postby fox67 » Fri Jul 23, 2010 1:29 am

torsten.schmitz wrote:>>>> UNPACK<<<<<
Using step 1 and 2 from fox67 post is applied only for old release papago.exe. For new release (after April 2010) M3 have diff. packed method and also diff. method to unpacked it.

>>>>FIND COM and BAUD<<<<
Using IDA Pro (find with google) you can open unpack papago.exe. Set to ARM Processor and wait until debug is complete.
After that go to "text Search" icon, and type :"=acomD" then enter. Bring your cursor to : MOV R2, #0---->from below windows see hex addres, exm. : 000623B
Then open ultra edit, CTRL+G for go to hex address 000623B, change COM as you want here.
For Baud, you can go to below COM position with string like : MOV R3, Sud_321131. Look's hex address on below windows.
Same with COM, open ultra edit and modify that hex address.


Thankyou, torsten.schmitz .
This method for UNPACK and can you tell me how to PACK.
fox67 offline


Junior Member



 
Joined: Wed Jun 23, 2010 10:15 am
Posts: 28
Has thanked: 0 time
Been thanked: 0 time

Postby csw123 » Fri Jul 23, 2010 9:07 am

torsten.schmitz wrote:>>>> UNPACK<<<<<
Using step 1 and 2 from fox67 post is applied only for old release papago.exe. For new release (after April 2010) M3 have diff. packed method and also diff. method to unpacked it.

>>>>FIND COM and BAUD<<<<
Using IDA Pro (find with google) you can open unpack papago.exe. Set to ARM Processor and wait until debug is complete.
After that go to "text Search" icon, and type :"=acomD" then enter. Bring your cursor to : MOV R2, #0---->from below windows see hex addres, exm. : 000623B
Then open ultra edit, CTRL+G for go to hex address 000623B, change COM as you want here.
For Baud, you can go to below COM position with string like : MOV R3, Sud_321131. Look's hex address on below windows.
Same with COM, open ultra edit and modify that hex address.


Hallo Herr Torsten Schmitz, guten Tag zu you.Wonder would you mind Aufteilung der entpacken Technik für M3 neuesten Programm? Vielen Dank im Voraus.
csw123 offline


Junior Member



 
Joined: Mon May 24, 2010 12:03 am
Posts: 20
Has thanked: 0 time
Been thanked: 0 time

Postby raynos » Mon Jul 26, 2010 10:49 am

It is better not to reveal the decoding process to the public. Just let some Sifus here do the unpacking process.

Just a thought.
raynos offline


User avatar Junior Member



 
Joined: Mon May 24, 2010 9:17 am
Posts: 42
Has thanked: 0 time
Been thanked: 0 time

Postby minhtrimobile » Mon Jul 26, 2010 12:00 pm

should we use what solf to pack and unpack in window xp , bro?
minhtrimobile offline


Member



 
Joined: Sat Jul 24, 2010 2:35 am
Posts: 104
Has thanked: 0 time
Been thanked: 0 time
Age: 43

Postby raynos » Mon Jul 26, 2010 3:47 pm

Papago use UPX305 software to pack. But in the latest release they purposely corrupt the header using some sort of software. So, it is impossible to unpack it without repairing the header.
raynos offline


User avatar Junior Member



 
Joined: Mon May 24, 2010 9:17 am
Posts: 42
Has thanked: 0 time
Been thanked: 0 time

Postby minhtrimobile » Mon Jul 26, 2010 4:27 pm

i download UPX305 : [Please Register or Login to download file]

but when i open upx.exe . it open cmd window and turn off ! so how can i use it? my pc use window pack 2

about the header : how to repair it , sir?

i need unpack to tranlate papago to vietnamese
minhtrimobile offline


Member



 
Joined: Sat Jul 24, 2010 2:35 am
Posts: 104
Has thanked: 0 time
Been thanked: 0 time
Age: 43

Postby locosta » Mon Aug 16, 2010 1:17 am

thanks a lot!
locosta offline


Junior Member



 
Joined: Sat Aug 07, 2010 10:30 am
Posts: 11
Has thanked: 0 time
Been thanked: 0 time

Postby minhtrimobile » Wed Aug 25, 2010 6:36 pm

torsten.schmitz wrote:>>>> UNPACK<<<<<
Using step 1 and 2 from fox67 post is applied only for old release papago.exe. For new release (after April 2010) M3 have diff. packed method and also diff. method to unpacked it.

>>>>FIND COM and BAUD<<<<
Using IDA Pro (find with google) you can open unpack papago.exe. Set to ARM Processor and wait until debug is complete.
After that go to "text Search" icon, and type :"=acomD" then enter. Bring your cursor to : MOV R2, #0---->from below windows see hex addres, exm. : 000623B
Then open ultra edit, CTRL+G for go to hex address 000623B, change COM as you want here.
For Baud, you can go to below COM position with string like : MOV R3, Sud_321131. Look's hex address on below windows.
Same with COM, open ultra edit and modify that hex address.


follow your method but fail to search "=acomD" of this papago.exe , pls check!pls download link below

[Please Register or Login to download file]
minhtrimobile offline


Member



 
Joined: Sat Jul 24, 2010 2:35 am
Posts: 104
Has thanked: 0 time
Been thanked: 0 time
Age: 43

Postby torsten.schmitz » Wed Aug 25, 2010 7:42 pm

minhtrimobile wrote:follow your method but fail to search "=acomD" of this papago.exe , pls check!pls download link below

[Please Register or Login to download file]



UNLOCK : 0xBB6C
COM : 0x57F2C
BAUD : 0x57F48
torsten.schmitz offline


User avatar Member



 
Joined: Mon Jun 21, 2010 9:28 pm
Posts: 190
Has thanked: 0 time
Been thanked: 0 time

Postby tiuniama » Fri Aug 27, 2010 10:18 am

I want to unpack a file, after reading all above post, still don't know which location need to be replace with upx0, upx1, upx!, can anybody help ?

this file is latest Papago China version 100806.
get download at
[Please Register or Login to download file]
tiuniama offline


Junior Member



 
Joined: Sun Jun 20, 2010 1:08 am
Posts: 72
Has thanked: 0 time
Been thanked: 0 time

Postby minhtrimobile » Fri Aug 27, 2010 10:21 am

tiuniama wrote:I want to unpack a file, after reading all above post, still don't know which location need to be replace with upx0, upx1, upx!, can anybody help ?

this file is latest Papago China version 100806.
get download at
[Please Register or Login to download file]



what version of it?
minhtrimobile offline


Member



 
Joined: Sat Jul 24, 2010 2:35 am
Posts: 104
Has thanked: 0 time
Been thanked: 0 time
Age: 43

Next

Return to PaPaGO! Tutorials

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests