PostNop base worked

Posts 1–2 of 2 · Page 1 of 1
Nop base worked
Hi, i need an actually nop base undetected in CAEU, thanks for your help
I don't know wtf a nop base is, but you can use this to nop addresses:

Code:
void ExchangeData(DWORD Buffer, DWORD Address, DWORD SSize, DWORD ReturnBuffer){
DWORD oldprot = NULL;
DWORD oldprot2 = NULL;
std::string OutString = "Error code: ";
char BBuffer[10] = "";

if( VirtualProtect((void*)Address, SSize, 0x40, &oldprot) == NULL){
    sprintf(BBuffer,"%x",GetLastError());
	OutString += Buffer;
	MessageBox(NULL, OutString.c_str(), "SCHiM", MB_OK);
}



	_asm{

		cmp ReturnBuffer, 0
			je Label3

mov eax, Address
mov ebx, ReturnBuffer
xor esi, esi
xor ecx, ecx

Label1:
mov cl, byte ptr[eax+esi]
mov byte ptr[ebx+esi], cl
inc esi
cmp esi, SSize
jne Label1

Label3:

mov eax, Buffer
mov ebx, Address
xor esi, esi
xor ecx, ecx

Label2:
mov cl, byte ptr[eax+esi]
mov byte ptr[ebx+esi], cl
inc esi
cmp esi, SSize
jne Label2

	}

	return;

}
Example usage:

Code:
							 ExchangeData((DWORD)&RRecoil1[0], Recoil1, sizeof(ReturnRecoil1)-1, (DWORD)&ReturnRecoil1[0]);
							 ExchangeData((DWORD)&RRecoil2[0], Recoil2, sizeof(ReturnRecoil2)-1, (DWORD)&ReturnRecoil2[0]);
						     ExchangeData((DWORD)&RRecoil3[0], Recoil3, sizeof(ReturnRecoil3)-1, (DWORD)&ReturnRecoil3[0]);
							 ExchangeData((DWORD)&RRecoil4[0], Recoil4, sizeof(ReturnRecoil4)-1, (DWORD)&ReturnRecoil4[0]);
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Need help?