Hi
I have script(cheat engine) of Cyphers hack
This
Code:
[enable]
alloc(Damage, 64)
registersymbol(Damage)
alloc(Damage2, 2)
registersymbol(Damage2)
Damage:
movss xmm0,[Damage2] //movss xmm0,[ebp+1c]
jmp 008CE332
[disable]
dealloc(Damage)
unregistersymbol(Damage)
dealloc(Damage2)
unregistersymbol(Damage2)
Damage2 Value type is float.
Using a hot key change Value 13000 or 10000.
So I try change script to DLL code.
I have Injector and code This
Code:
#include "stdafx.h"
#include <windows.h>
DWORD WINAPI Double_Make_DLL(void)
{
DWORD cshell;
DWORD A,B;
while(1)
{
Sleep(10);
if (GetAsyncKeyState(VK_NUMPAD0) & 0x60)
{
cshell = (DWORD)GetModuleHandle("cyphers.exe") + 0x8CE328;
__asm
{
jmp $+0x100000
}
}
if (GetAsyncKeyState(VK_NUMPAD0) & 0x60)
{
cshell = (DWORD)GetModuleHandle("cyphers.exe")+0x100000;
*(double*)(cshell) = 4503754331131891; //movss xmm0,[00100024]
}
if (GetAsyncKeyState(VK_NUMPAD0) & 0x60)
{
cshell = (DWORD)GetModuleHandle("cyphers.exe") + 0x100008;
*(double*)(cshell) = 8039083666625996265; // jmp 008ce332
}
if (GetAsyncKeyState(VK_NUMPAD0) & 0x60)
{
cshell = (DWORD)GetModuleHandle("cyphers.exe") + 0x100024;
*(float*)(cshell) = 130000;
}
if (GetAsyncKeyState(VK_NUMPAD1) & 0x61)
{
cshell = (DWORD)GetModuleHandle("cyphers.exe") + 0x100024;
*(float*)(cshell) = 100000;
}
}
return 0;
}
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
MessageBox(NULL," 인젝션 "," 완료 ",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)&Double_Make_DLL, 0, 0, 0);
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
I enter the code assembly coding error occurs.
(error C2400: inline assembler syntax error in 'opcode'; found 'xmm0')
So, the corresponding value was entered.
It does not work.
Please help this problem.