Corruptor Advanced Cheater
Reputation: 3
Joined: 10 Aug 2011 Posts: 82
|
Posted: Wed Aug 10, 2011 8:35 am Post subject: Thread suddenly throws an exception? |
|
|
first of all, sorry 4 my english.
BTT:ive been fooling around with a game called "Battlefront" (some shooter). By now, this forum helped me a lot finding a lot of cheats (health, ammo, yet pack, infinite mines etc etc).
I found the adress of the text (w-char) currently entered into the chat message box and thought about a "cheat" or better a hotkey that automatically sends some Text in the chat. Using the "find out what accesses this adress"-function i found a function that is executet 2 times (lol?) everytime i send a message to the chat.
For this "cheat" i probably have to call this function mannually using a thread. Heres the code i used (dont ask me about the nops ) : | Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(mycode,2048)
CREATETHREAD(mycode)
mycode:
call 00402890
ret
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
nop
ret |
well, everytime i execute this script, the game crashes. A breakpoint at this adress tells me this: when it finally reaches these lines
| Code: | mov si,[edi]
test si,si | (to be more precise, the step from mov si,[edi] to test si,si) (which is totaly nothing special at all), the programm suddenly jumps (no testing, it jumps) to the thery end in a section titled as "KiUserExceptionDispatcher", and a few lines later (zwRaiseException or something like that) the game finally crashes.
And now im confused and have these Questions:
How can that happen?
What is the KiUserExceptionDispatcher?
if possible, any ideas to fix that?
|
|