alloc(newmem,2048,"DiabloImmortal.exe"+D5ECE2) 
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
// 1D8 X
// 1E8 Y
// 4E 1=run 0=stop



//movups xmm0,[rcx+000001D8]
movups xmm0,[12980930000]


push rax
mov rax,12980930000
mov [rax],rcx
pop rax

exit:
jmp returnhere

"DiabloImmortal.exe"+D5ECE2:
jmp newmem
nop
nop
returnhere:

