Shizzurp How do I cheat?
Reputation: 0
Joined: 09 Mar 2012 Posts: 6
|
Posted: Sun Aug 19, 2012 4:14 am Post subject: Finding Function Addr + Args |
|
|
Hi, I'm trying to find an address for a function that sends a message to a chatbox. I have found the pointer for the address that stores the username used and have done a "find what accesses this address" then proceeded to try and find the data structure but am unsure if I am doing it right or wrong..
This is from "what accesses this address" for the username address
Code: | 0084B4F0 - 8B 44 8E F8 - mov eax,[esi+ecx*4-08]
0084B4F4 - 89 44 8F F8 - mov [edi+ecx*4-08],eax
0084B4F8 - 8B 44 8E FC - mov eax,[esi+ecx*4-04] <<
0084B4FC - 89 44 8F FC - mov [edi+ecx*4-04],eax
0084B500 - 8D 04 8D 00000000 - lea eax,[ecx*4+00000000]
EAX=51616D69
EBX=0018F470
ECX=00000001
EDX=00000001
ESI=2AA02140
EDI=0018F470
ESP=0018F400
EBP=0018F408
EIP=0084B4FC |
I am not really sure what the offset would be. I was messing around last night and found something in structure spider with a byte valuue for the username length which if you had "username" and the length was set to 5, only "usern" would be printed.
I've also tried to breakpoint at 0084B4F8 but there are thousands of calls to it a minute so it's impossible to work, I think.
Can anyone help me, please?
How would I find the real functions address & args for the function?
|
|