THE SRILANKANS 1ST CRACKING TUTORIAL BY HIVOLTAG3

HIVOLTAG3

Banned
Feb 29, 2008
1,273
9
0
THE SRILANKANS 1ST CRACKING TUTORIAL BY HIVOLTAG3

OK HERES THE SRILANKANs 1ST CRACKING TUTORIAL BY HIVOLTAG3

1ST OF ALL I MUST REMIND U THAT IM CRACKING ONLY FOR FUN.
AND ALSO I LIKE NOTE THAT CRACKING/DISASSEMBLING/REVERS ENGINEERING ARE ILLEGLE BY THE LAW[in

SL naa not yet].
SO IF U DONT WISH TO CONTINUE,THN JUST F*CKOFF!!



ONNA EHENAM MAMA SADDE NAWATTALA WADETA BASSA....

issellama api karanna yana de gana podi info tikak dennam.
mama oyalata kiya denna hadanne,game ekak cheat karanna 1ka kramayak,[this is 1 method only]
programs crack karannet me wagema kramayakata thamai.[theory is same but methode is differ]
me tutoril 1kedi mama "BLOODRAYNE" kiyana game 1ke cheat karana hati kiyala dennam.


BEFORE I BEGIN,WE NEED SOME TOOLS+APPLICATIONS.
[IF U DONT HV THM,THEN FOLLOW THE LINK THAT I HV GIVEN BELOW.]

1.W32Dasm ver8.93
Code:
http://rapidshare.com/files/88501805/W32dsm89.rar
mirror:
Code:
http://rapidshare.com/files/88501667/W32dsm89.rar.html

2.Hex editor[HWORK32]
Code:
http://rapidshare.com/files/88501728/HWORK32.rar
mirror:
Code:
http://rapidshare.com/files/88501666/HWORK32.rar.html

3.application[here im using the game called "BLOODRAYNE"]
boxshot.jpg

Code:
http://rsx.angernet.webd.pl/rapid-com/41129656/dev-br.part01.rar 
http://rsx.angernet.webd.pl/rapid-com/41129662/dev-br.part02.rar 
http://rsx.angernet.webd.pl/rapid-com/41129645/dev-br.part03.rar 
http://rsx.angernet.webd.pl/rapid-com/41129635/dev-br.part04.rar 
http://rsx.angernet.webd.pl/rapid-com/41129634/dev-br.part05.rar 
http://rsx.angernet.webd.pl/rapid-com/41129665/dev-br.part06.rar 
http://rsx.angernet.webd.pl/rapid-com/41129644/dev-br.part07.rar 
http://rsx.angernet.webd.pl/rapid-com/41129664/dev-br.part08.rar 
http://rsx.angernet.webd.pl/rapid-com/41129680/dev-br.part09.rar 
http://rsx.angernet.webd.pl/rapid-com/41129654/dev-br.part10.rar 
http://rsx.angernet.webd.pl/rapid-com/41129687/dev-br.part11.rar 
http://rsx.angernet.webd.pl/rapid-com/41129594/dev-br.part12.rar


4.little bit of brain power[i think u hv mor thn me]

ehenam harine..


1.issellama BLOODRAYNE game 1ka install karaganna[if install karala natnam].

2.dan dannawane api karanna hadanne game file 1ke codings ganna [disassembling] 1kai,
"W32Dasm" program 1ka oni wenne mekata thamai.
i.W32Dasm.zip/W32Dasm.rar file 1ka download karagen EXTRACT karaganna.[ex:c:\w32dasm]
ii.dan w32dasm.exe eka open karanna.
w1jx4.jpg


3.dan "Disassembler>> open file to disassemble" click karala game file[rayne.exe] 1ka

[path:c:\program files\Terminal Reality\BloodRayne\rayne.exe] open karanna.

4.now wait until it disassembled,mekata tika welawak yanawa.[depends on ur processor]
w2nw2.jpg


5.program 1ka disassembled unata passe menna mehemai penne.
statuseg5.jpg


6.ahhh codins dakala baya wennepa,,oke thiyena okkoma therum ganna oninaha.

7.dan aye Disassembler >> Save Disassembly text file.... kiyana 1ka select karala game folder

1katama save karanna.

8.dan okkoma windows tika minimize karanna.now goto game folder and "c:\program

files\Terminal Reality\BloodRayne\" and
rename the "video" folder to "-video".[this is for bypass stupid videos @ start]

9.dan "rayne.exe" file 1ka open karala game 1ka athulta yanna,dan OPTION >> ENTER CHEAT

gihilla nikan enter karann.ethakota

"CHEAT INVALID" kiyana message 1ka display wenawa.me message 1ka mathaka thiya ganna.dan game

1ken exit wenna.[api methanadi
karanne wrong cheat code 1kak enter kalahama labena output 1ka osse trace karana 1kai]

10.now goto w32dasm and click ref>>string data references,dan meka

scroll karala "Cheat invalid" kiyana string 1ka select
karanna.OR u can use find command to locate.
[oya string table 1ke thiyenne monada kiyala thawat hoyala balanna thn u ll find "Cheat

unlocked" "Game Unlocked" wage
strings.me wat passe oni wenawa]



11.now u can d-click that string to point that in the main window.as u can see there r only 2

locations.so lets copy that two

locations for further use.open notepad and paste that two locations.


:004EA393 681B965F00 push 005F961B ----(A)

:004FA98B 681B965F00 push 005F961B ----(B)


12.dan me line 1kin 1ka study karanna,1st line(A) eka trace karamu,whn we tracing it upward

we can see that,


* Referenced by a (U)nconditional or (C)onditional Jump at Addresses:
|:004EA37A(C), :004EA4D8(C), :004EA60B(C), :004EA734(C), :004EA844(C)
|:004EA949(C)


these r the locations which tigger the "cheat invalid" area.like wise when hv traced 2nd

line(B),we would endup with

followings


* Referenced by a (U)nconditional or (C)onditional Jump at Addresses:
|:004FA972(C), :004FAAED(C), :004FAC2A(C), :004FAD39(C), :004FAE5C(C)
|:004FAF5D(C)


now we hv to find exact location which involves wit "Cheat Invalid"[mathakane me cheat

invalid msg 1ka awe api game 1ke cheat
enter karana thana nikanma ENTER button 1ka press karala].

methana location 6x2=12 k thiyenawa.in order to trace exact location, we hav to put

BREAKPOINTs on each locations.

to set a breakpoint in w32dasm,goto "Debug>> Load Processe >> Load",thn d-click

on any code line in main window and hit F2

key.to remove breakpoint simply press F2 key again.

ok now set 12 breakpoint, lets do it 1by1.

in main window click "GOTO>>GOTO code location" or press

SHIFT+F12
.then type 004FA972 and enter.
then it focuse to the 004FA972 location and now by hittin

F2 we can set brkpoint on there
.

breakpoint 1kak set kalama eka api hoyana 1kamada kiyala test karanne mehemai.
i. press "Run" button on the left lower window.
ii. once game loaded.. goto option>> enter cheat >> press enter
dan methendi screen 1ka freez unoth ekiyanne api hoyapu location 1ka hambawela,
freez une nathnam exit the game.. remove the breakpoint which we set early,thn set another

breakpoint on next location.[ex:if
004EA37A fails thn moveto 004EA4D8],and reapet above i and ii two steps.


dan oya kiyapu wade tikak risky, bcos we r dealing wit a fullscreen 3d

application.so whn the game try to execute our break
point line,the screen will freez,and loos control of w32dasm too.so there is nothin we can do

except restarting the pc.
(ahhh,ehema unot ayet mula idanma patan ganna oni na,mathakane api muladi project file 1ka

save kala,anna eka open
karaganna.)
mehema pc 1ka stuck unoth alt+ctrl+del key press karala task manager 1ka open karaganna try

1kak danna,open unoth ethanin
endtask karala wade godin bera ganna puluwan.so wish u gud luck for that part.


13.as u see the the correct location is 004FA972.If we can direct this location to NOT "cheat

invalid" But "cheat
unlocked"/"game unlocked" ha ha haa nikan ma cheats unlock wenawa.

14. eka karanne mehemai,dan api ayet ara 004FA972 location 1kata yamu.

:004FA972 7715 ja 004FA989

ahh eka menna mehemai thiyenne.meke kotas 3k thiyenawane mama
podi wistharayak karannam
:004FA972 me kotasa thamai offset in hex,e kiuwe location 1kamai

7715 me kathamai hexadecimal representation of code in that location.

ja 004FA89 kiyanne 7715 kiana ekamai but in assembly language.ja kiyanne jump if above,

004FA989 kiyanne location 1ka.e
kiyanne meeta uda lines wala flag 1ka set karala thiyena widiyata eke value 1ka above nam

pointer 1ka 004FA989 kiyana
location 1kata yanna kiyana 1kai.

thawa meka gana danaganna oni nam net 1ke search karanna.


danata api cheat 1ka valid da nadda kiyana point 1ka hoya gattane,ilagata hoyanna thiyenne

hari cheat ke cordings thiyenne koheda kiyalai.

now im going to unlock the game..ok.. e kiuwe "Game Unlock" kiyana string 1ka osse trace

karannai hadanne.

15. issella wagema Refs>>Strings Data References gihilla OR find 1ken

"Game Unlocked" string 1ke location hoyaganna.
eket location 2kak thiyenawa.

:004FA2D6 68FA945F00 push 005F94FA -----(E)
:004E9D8D 68FA945F00 push 005F94FA -----(F)


me deken hari 1ka mokakda kiyala hoyanna try karamu.

16. habai dan me location 2ken hari 1ka hoyanna,apita me location deka 004FA972 location

1kata directly connect karanna
wenawa.e kiuwe "ja" ta passe thiyena 004FA989 kiyana location 1ka 004FA2D6 OR 004E9D8D kiyana

than deken 1kakata set karanna
oni.


17.dan eka karanne mehemai.api issellama "004FA2D6" (E) location 1ka test karamu

ayet Debug>>Load gihinn game 1ka lode karaganna,but dont run it ok.

dan left lower window 1ke thiyena "Goto Address" button 1ka click karala,004FA972 type karala

enter karanna.

ewagema main window 1keth goto>>Goto Code Location gihin 004FA972 type

karala enter karanna.

dan main window 1ke status bar 1ka diha balanna[fig.]
statuseg5.jpg


Line:397864 Pg 7958 of 17496 Code Data @:004FA972 @Offset 000F9D72h in

File:...........

dan me line 1ke thiyena "@Offset 000F9D72h" meka note pad 1ke writedown karaganna.me location

1ka thamai api edit karanne.


thn left lower window 1ke thiyena "Patch code" click karanna.
[dan api karanna hadanne 004FA972 location 1ka 004FA2D6 location 1kata jump karana 1kai]

dan oya window[W32Dasm Code Patcher] 1ke "Enter New Instruction Below"

kiyana line 1ke me code 1ka type karanna,
ja 004FA2D6
thn hit enter
beforepatchvq9.jpg

afterpatchmo4.jpg



dan e code 1ka pahala[Code Patch Listing] 1ke pennanawa
:004FA972 0F875EF9FFFF ja 004FA2D6


dan me line 1kat note pad 1ke type karaganna.

thn e window 1kema thiyena "Apply Patch" button 1ka click karala,ena dialogbox 1ken "yes"

click karann.

["apply patch" button 1ka click kalahama ena dialog box 1ka apear wenne natnam

"W32Dasm Code Patcher" window 1ka poddak ehata move karanna,mokada dialogbox 1ka apear wenne

e window 1kata yatin.]

afterpatch2ez6.jpg


thn close the W32dasm Code Patcher window.

dan api patch karapu code 1ka test karala balamu

thn press run button on the lower left window.

wait until game loaded.then goto Option>>Enter cheat>>press enter.
nothing happened isnt it?,but look Now it says "Game Unlocked!!".wow u hv just patch da

code.ok now we hv to check
whether this is the correct location???

to check dat,goto da main window of the game and start a new game,while u playing press "ESC"

and select "CHEAT" wow now
u hv bunch of cheats there.

ok as we get wht we want this is the correct location(004FA2D6).so we donot want to test

other location(004E9D8D).[et oyala ekath test karala balanna]

[ok api me kale (E),(F) kiyana location 2ken "game unlocked!" karana

location thorapu 1kai.]


onna ehenam locations hoyana wadenam iwarai..e kiuwe amaruma kotasa iwarai.
dan thiyenne original game file 1ka edit karana 1kai.


EDITTIN GAME FILE
----------------------
1.dan okkoma windows close karann,remember to save the notepad ok.

2.game file 1ka edit karanna apita "HEX Edittor" 1kak oni wenawa.[mama HWORK32 kiyana 1ka use

karanawa]

3.dan HWORK32.exe file 1ka open karanna,file>>open>>rayne.exe[make sure to make

a backup of this file(rayne.exe)]


4.oyalata mathaka ati api issella edit karanna oni location 1ka notepad 1kata dagatta

{ Line:397864 Pg 7958 of 17496 Code Data @:004FA972 @Offset 000F9D72h in File:...........

dan me line 1ke thiyena "@Offset 000F9D72h" meka note pad 1ke writedown karaganna.me location

1ka thamai api edit

karanne.}

5.dan HWORK32 1ke edit>>Goto... click karala,api hoyagatta[editkaranna

oni] location 1ka (000F9D72) type karanna.(agata
thibba "h" letter 1ka oni naha)
"Hex" kiyana 1ka select karana+from position 1ke "Begining of file" kiyala select karala "Go"
click karanna.

hex1xh6.jpg


6.dan hex editor 1ke position 1ka 000F9D72 awane.ethana data(7715 FF24 )kiyala thiyenawa.
7.dan api anthimata notepad 1kata dagatta line 1ka":004FA972 0F875EF9FFFF ja

004FA2D6"
mathakane?,dan meke

thiyena DATA(0F875EF9FFFF) tika 000F9D72 kiyana location 1ke overwrite(patch)

karamu.



before patch : 000F9D70 FB05 7715 FF24 9DF0 5A4F 0085 F60F 8C77 ..w..$..ZO.....w
after patch : 000F9D70 FB05 0F87 5EF9 FFFF 5A4F 0085 F60F 8C77 ....^...ZO.....w


8.dan file>>save thn "yes"(to make a back up). thats all.

9.now close all windows. thn open "rayne.exe"
dan cheat mode 1ka on karanna oni nam OPTION>>ENTER CHEAT gihilla
nikanma enter karanna,eccharai!!.

-------------------------------------------------------------------------------------
resources:
abt asm:
Code:
http://packetstormsecurity.org/programming-tutorials/Assembly/online-tutorial/instructi

ons.html 
http://www.laynetworks.com/assembly%20tutorials3.htm



if u like this kind of stuff the try to improve ur knowladge abt

programming languages[asm,c,c+,pascal,.....].
best way is learn it by ur self,and iwasannat puruduwenna oni.
b'cos sometime cracking a program takes months or even more.thts the beauty of cracking,



OK ONE FINAL WORD!!
good think
CRACKING IS ALL ABT COURAGE,NEVER QUIT THE GAME UNTIL U FIND WHT U LOOKING FOR.
bad think
I DONT WANNA TALK ABT.



IF U HV ANY DOUBT PM OR MAIL ME. so at least i can give a try to help u

WISH U ALL DA BEST!!!!!!
 
Last edited:

HIVOLTAG3

Banned
Feb 29, 2008
1,273
9
0
sriflipflop said:
Interesting but how this apply to software because games is not my intrest

actually u cant directlly apply this to other soft,,,becos methode is almost unique

learn the theory then u can apply it for anything......

:cool: :cool:
 

AlienX

Member
Jan 10, 2008
1,097
0
0
38
Moratuwa
sriflipflop said:
Interesting but how this apply to software because games is not my intrest

eventhough this is specified for a game the procedure is similar to all softwares. Its about opening up an exe & doing things...
Just try to understand what is actually happening & you're ok for anything :)

When dealing with games most of the times crackers have to deal with copy protection mechanisms of disks also. but in softwares U dont have that problem (most of the time.. :) ))
-----------

thnx for this tutorial. Its very good. ;)

11.gif