Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


LOADBINARY replace

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Dark_Walk
Master Cheater
Reputation: 0

Joined: 26 Sep 2006
Posts: 315
Location: Canada

PostPosted: Fri Feb 15, 2008 4:48 am    Post subject: LOADBINARY replace Reply with quote

Code:
LOADBINARY(DUMP,Arc34.CEM)

I am looking for a asm function that can replace that one. I don't care if the files information is hard coded in.

_________________
Hai
Back to top
View user's profile Send private message
DoomsDay
Grandmaster Cheater
Reputation: 0

Joined: 06 Jan 2007
Posts: 768
Location: %HomePath%

PostPosted: Fri Feb 15, 2008 6:17 am    Post subject: Reply with quote

CreateFile(...) > GetFileSize(...) > VirtualAlloc(...) > ReadFile(...) > CloseHandle(...)

Last edited by DoomsDay on Sat Feb 16, 2008 2:32 am; edited 2 times in total
Back to top
View user's profile Send private message
FerrisBuellerYourMyHero
Master Cheater
Reputation: 0

Joined: 14 Feb 2007
Posts: 401
Location: Inside your <kernel>

PostPosted: Fri Feb 15, 2008 4:07 pm    Post subject: Reply with quote

why load a saved dump?? then you have to make one every patch...


make the copy of memory on the fly

VirtualAlloc->

then copy to the address

Code:

pushad
mov ecx, 00380000h
mov esi, 00400000h // or wherever you want to start the copy
mov edi, addr VirtualAllocatedAddress
rep movsb
popad

_________________
You know, life moves pretty fast. If you don't stop and look around once in a while, You could miss it!

Back to top
View user's profile Send private message MSN Messenger
Dark_Walk
Master Cheater
Reputation: 0

Joined: 26 Sep 2006
Posts: 315
Location: Canada

PostPosted: Fri Feb 15, 2008 8:16 pm    Post subject: Reply with quote

I don't fully understand what to do yet. I am trying, but I am very new to ASM. I am using a program other than CE and it does not understand what LOADBINARY is, so I am trying to find another way around it. I tried a huge DB command but well that failed due to some limitations. As you can imagine injecting a huge hex file would. All I am trying to do is make a copy of the memory from 00400000 to 00500000. I'm sorry if I seem so retarded, I'm new and I would really like to know how to do this in auto-assembler.
_________________
Hai
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites