| View previous topic :: View next topic |
| Author |
Message |
angerist Grandmaster Cheater Supreme
Reputation: 0
Joined: 18 Jun 2007 Posts: 1011 Location: Australia.
|
Posted: Sun Jun 29, 2008 1:48 am Post subject: URGENT DELPHI HELP :) +REP |
|
|
Ok so I've got this asm code for CRC BYPASS. But I Want to Enable it via a check box in Delphi. I know you don't use that whole snippet. But can someone shed some light on how I can do this?. I also Know I need to attach to the process before I can edit the memory but I don't know how.
This is the tutorial that I've found. But since I'm new to Delphi. I don't really get it.
Writing To memory: http://www.gamersneeds.net/forums/c-c/103331-delphi-writing-memory.html
| Code: | [Enable]
Alloc(NewMemory, 4194304)
Alloc(CRCCave, 128)
Alloc(CopyMemory, 128)
CreateThread(CopyMemory)
Label(End)
0047CC9E:
jmp CRCCave
CRCCave:
cmp ecx,00400000
jl End
cmp ecx,00800000
jg End
add ecx,NewMemory-00400000
End:
mov eax,[ebp+10]
push esi
push edi
jmp 0047CCA3
CopyMemory:
mov esi,00400000
mov edi,NewMemory
mov ecx,
rep movsd
push 00
call ExitThread
[Disable] |
I need urgent help
_________________
Last edited by angerist on Sun Jun 29, 2008 2:34 am; edited 2 times in total |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sun Jun 29, 2008 1:57 am Post subject: |
|
|
God all these people trying to do this. Look, the way that Dark Byte does this is he has a function that converts the Auto Assembly into bytes and writes those bytes into the processes memory. Just download CE 5.4's source and then look at it's function for that.
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
angerist Grandmaster Cheater Supreme
Reputation: 0
Joined: 18 Jun 2007 Posts: 1011 Location: Australia.
|
Posted: Sun Jun 29, 2008 2:04 am Post subject: |
|
|
Im not doing this for the same reason the others are doing this. It just happened to be the first snipped I could find. But you've just given me a nudge in the right direction. I can do this in C# but since I'm learning Delphi I thought I may aswell .
_________________
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Sun Jun 29, 2008 10:59 am Post subject: |
|
|
Simply allocated 0x400000 bytes of memory for the dump then copy MapleStory's entire memory (0x400000) to it.
Then make a function for a cave using inline asm.
finally overwrite the bytes at the CRC Address to the jump to your function for the cave.
In C++ it looks like this:
| Code: | DWORD Return; // Just to return to the address after our jump
void __declspec(naked) CRCHook()
{
__asm
{
pop [Return]
cmp ecx, 0x00400000
jb original
cmp ecx, 0x00800000
ja original
sub ecx, 0x00400000
add ecx, [lpDump]
original:
mov eax,[ebp+0x10]
push esi
push edi
push [Return]
ret
}
} |
lpDump is simply a LPVOID definition with an assigned variable as such:
| Code: | lpDump = VirtualAlloc( NULL, 0x00400000, MEM_COMMIT, PAGE_EXECUTE_READWRITE );
__movsb( (BYTE*)lpDump, (BYTE*)0x00400000, 0x00400000 ); |
Hope that helped. Even though its in C++, I'm sure you can convert it to delphi.
_________________
|
|
| Back to top |
|
 |
angerist Grandmaster Cheater Supreme
Reputation: 0
Joined: 18 Jun 2007 Posts: 1011 Location: Australia.
|
Posted: Mon Jun 30, 2008 5:27 am Post subject: |
|
|
Thanks so much. I've converted it. And it works amazingly. + rep for you
_________________
|
|
| Back to top |
|
 |
h4c0r-BG Master Cheater
Reputation: 0
Joined: 29 Nov 2006 Posts: 449 Location: The yogurt country
|
Posted: Fri Jul 04, 2008 10:54 am Post subject: |
|
|
| angerist wrote: | Thanks so much. I've converted it. And it works amazingly. + rep for you  |
Can you share the delphi converted code? +rep for you.
_________________
|
|
| Back to top |
|
 |
|