Hey leute,
ich hätte ein problem.
Ich habe in olly die asm function fürs laufen gefunden.
Nun hab ich 1 problem:
(code
Code:
#include <windows.h>
#include <iostream>
#include <string>
#include <sstream>
void walk(int x,int y);
bool WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason , LPVOID lpvReserved)
{
switch (fdwReason)
{
case DLL_PROCESS_ATTACH:
walk(100,100);
break;
case DLL_PROCESS_DETACH:
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
}
return true;
}
void walk(int x,int y)
{
std::cout << std::hex << x;//wird in hex umgewandelt
std::cout << std::hex << y;
DWORD walkAddr = 0x0525A00;
__asm
{
PUSH 1
XOR ECX,ECX
MOV EDX, 00+x+00+y;
MOV EDX,DWORD PTR DS:[0x07F5AC4]
CALL walkAddr
}
}
wenn ich dies injekte läuft er nicht.
Aber die asm function ist richtig.
Mfg Efficiency