//================================================
// Hack Mission card ChivaazPheonx
// (c) copyright 2011 ChivaazPheonx
// Source coding edited By ChivaazPheonx from source Mas abu jafar dan N3rion , Monkiemonk
// ChivaazPheonx a.K.a PheonxN2
//===============================================
#include <windows.h>
LPTSTR i3exec = "PointBlank.i3exec";
char *pProcessWindowMonkie = "Point Blank";
char *pProcessWindowClass = "I3VIEWER";
bool isInitMmhMemory = true;
DWORD dwProcessID;
UINT_PTR uipPebeBaseAddressx;
HANDLE hProcess;
// Value card
UINT_PTR uipCardHackChivaazValue = 16776960;
UINT_PTR uipCardHackPheonxValue = 0;
// complete card
UINT_PTR uipHackChivaaz1, uipHackChivaaz2;
UINT_PTR uipHackChivaaz3, uipHackChivaaz4;
UINT_PTR uipHackChivaaz5, uipHackChivaaz6;
UINT_PTR uipHackChivaaz7, uipHackChivaaz8;
UINT_PTR uipHackChivaaz9, uipHackChivaaz0;
// reset card
UINT_PTR uipHackPheonx1, uipHackPheonx2;
UINT_PTR uipHackPheonx3, uipHackPheonx4;
UINT_PTR uipHackPheonx5, uipHackPheonx6;
UINT_PTR uipHackPheonx7, uipHackPheonx8;
UINT_PTR uipHackPheonx9, uipHackPheonx0;
UINT_PTR DeRef( UINT_PTR _uiptrPointer ) {
UINT_PTR uiptrRet;
if (!::ReadProcessMemory(hProcess, reinterpret_cast<LPVOID>(_uiptrPointer), &uiptrRet, sizeof(uiptrRet), 0)) { return 0UL; }
return uiptrRet;
}
void InitApplicationProcess()
{
bool isFindWindow = true;
HWND hWnd = 0;
while(isFindWindow)
{
if((hWnd = FindWindowA(pProcessWindowClass, pProcessWindowMonkie)) != 0)
{
isFindWindow = false;
}
Sleep(500);
}
GetWindowThreadProcessId(hWnd, &dwProcessID);
hProcess = OpenProcess(PROCESS_VM_OPERATION|PROCESS_VM_READ|PROCESS_VM_WRITE|PROCESS_QUERY_INFORMATION, FALSE, dwProcessID);
}
DWORD WINAPI Chivaaz(LPVOID param)
{
while (1) {
if(GetAsyncKeyState(VK_F12)&1) {
DWORD dwI3EXECModule = (DWORD)GetModuleHandleA(i3exec);
if (dwI3EXECModule > 0) {
//Hack Monkie
uipHackChivaaz1 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x15905;// offset card p
uipHackChivaaz2 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x15914;// offset card o
uipHackChivaaz3 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x15923;//offset card i dan selanjutnya
uipHackChivaaz4 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x15932;
uipHackChivaaz5 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x15941;
uipHackChivaaz6 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x15950;
uipHackChivaaz7 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x1595F;
uipHackChivaaz8 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x1596E;
uipHackChivaaz9 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x1597D;
uipHackChivaaz0 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x1598C;
//Hack Monkie
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackChivaaz1), &uipCardHackChivaazValue, sizeof(uipCardHackChivaazValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackChivaaz2), &uipCardHackChivaazValue, sizeof(uipCardHackChivaazValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackChivaaz3), &uipCardHackChivaazValue, sizeof(uipCardHackChivaazValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackChivaaz4), &uipCardHackChivaazValue, sizeof(uipCardHackChivaazValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackChivaaz5), &uipCardHackChivaazValue, sizeof(uipCardHackChivaazValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackChivaaz6), &uipCardHackChivaazValue, sizeof(uipCardHackChivaazValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackChivaaz7), &uipCardHackChivaazValue, sizeof(uipCardHackChivaazValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackChivaaz8), &uipCardHackChivaazValue, sizeof(uipCardHackChivaazValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackChivaaz9), &uipCardHackChivaazValue, sizeof(uipCardHackChivaazValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackChivaaz0), &uipCardHackChivaazValue, sizeof(uipCardHackChivaazValue), 0);
MessageBeep(0);
}
}
if(GetAsyncKeyState(VK_F11)&1) {
DWORD dwI3EXECModule = (DWORD)GetModuleHandleA(i3exec);
if (dwI3EXECModule > 0) {
//Hack card reset deklarasikan disini
uipHackPheonx1 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x15905;//offset card p
uipHackPheonx2 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x15914;//offset card o
uipHackPheonx3 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x15923;// selanjutnya ....
uipHackPheonx4 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x15932;
uipHackPheonx5 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x15941;
uipHackPheonx6 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x15950;
uipHackPheonx7 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x1595F;
uipHackPheonx8 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x1596E;
uipHackPheonx9 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x1597D;
uipHackPheonx0 = DeRef(dwI3EXECModule + 0x4C8FC0) + 0x1598C;
//Proces memory
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackPheonx1), &uipCardHackPheonxValue, sizeof(uipCardHackPheonxValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackPheonx2), &uipCardHackPheonxValue, sizeof(uipCardHackPheonxValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackPheonx3), &uipCardHackPheonxValue, sizeof(uipCardHackPheonxValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackPheonx4), &uipCardHackPheonxValue, sizeof(uipCardHackPheonxValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackPheonx5), &uipCardHackPheonxValue, sizeof(uipCardHackPheonxValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackPheonx6), &uipCardHackPheonxValue, sizeof(uipCardHackPheonxValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackPheonx7), &uipCardHackPheonxValue, sizeof(uipCardHackPheonxValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackPheonx8), &uipCardHackPheonxValue, sizeof(uipCardHackPheonxValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackPheonx9), &uipCardHackPheonxValue, sizeof(uipCardHackPheonxValue), 0);
::WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(uipHackPheonx0), &uipCardHackPheonxValue, sizeof(uipCardHackPheonxValue), 0);
MessageBeep(0);
}
}
Sleep(1);
}
return (0);
}
void ChivaazPheonx() {
// Notice taro disini
MessageBoxA(NULL, "Jangan Lupa Thx To nya Ke ChivaazPheonx dan MonkieEmonk", "ChivaazPheonx",MB_TOPMOST);//Tulis massage mu disini gan !
ShellExecuteA(0, "open", "http://scarletzer.us/forum", 0, 0, SW_SHOWNORMAL);
ShellExecuteA(0, "open", "http://chivaaz.blogspot.com", 0, 0, SW_SHOWNORMAL);
Beep(329,300);
InitApplicationProcess();
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if (dwReason == DLL_PROCESS_ATTACH) {
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Chivaaz, 0, 0, 0);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)ChivaazPheonx, 0, 0, 0);
}
return TRUE;
}