Ya parece una rutina, ¡Vamos a avanzar de nivel!

in #masm322 years ago

Días atrás vengo escribiendo sobre "El arte de perder el tiempo". Si es lo que buscas, pues llegaste al sitio correcto, pues a continuación, vamos a subir de nivel. Lo que mostraré es un código de fuente de programación en MASM32 para creación de cheats para Rakion Latino. No hay mejor manera de perder el tiempo que leer cosas que no entiendes:

Engine db "Engine.dll",0
Entities db "EntitiesMP.dll",0
Range db "CNinjaWeapon_DLLClass",0
TurtleHumanKing db "CNpcDiablo_DLLClass",0

MsgTitulo db "Hack de: Yoshinon Live",0
MsgTexto db "Coded by Yoshinon Live",13,10
.data?
ThrdID dd ?
instance dd ?
.code
Punto_de_Inicio proc hInstance:HINSTANCE, reason:DWORD, reserved1:DWORD
.IF (reason == DLL_PROCESS_ATTACH)
mov eax,TRUE
invoke CreateThread,NULL,NULL,ADDR Tarea ,NULL,NULL,NULL
invoke MessageBox,0,addr MsgTexto,addr MsgTitulo,MB_OK
.ELSEIF (reason == DLL_PROCESS_DETACH)
invoke ExitProcess, NULL
.ENDIF
ret
Punto_de_Inicio Endp
Tarea proc
LOCAL x:DWORD
LOCAL Cell1:DWORD
LOCAL nCell1:DWORD
tecla:
invoke Sleep, 10
invoke GetAsyncKeyState,VK_F1
test eax, eax
jz tecla
invoke GetModuleHandle, addr Entities
invoke GetProcAddress, eax, addr Range
mov Cell1,eax
invoke GetModuleHandle, addr Entities
invoke GetProcAddress, eax, addr TurtleHumanKing
mov nCell1,eax
invoke VirtualProtect, Cell1, 96, PAGE_EXECUTE_READWRITE, x
invoke VirtualProtect, nCell1, 96, PAGE_EXECUTE_READWRITE, x
mov esi,nCell1
mov edi,Cell1
mov ecx,96
xor edx,edx
.REPEAT
mov dl, byte ptr [esi]
mov byte ptr [edi],dl
inc esi
inc edi
.UNTILCXZ
jmp tecla
ret
Tarea endp
End Punto_de_Inicio

Lo que ves arriba es un código de creación de scanner, para reemplazar array of bytes en una cadena de memoria, ideal para Cell2Cell y copiado de jumpers.

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.030
BTC 64118.79
ETH 3390.14
USDT 1.00
SBD 2.51