//alloc(newmem,4048,"DiabloImmortal.exe"+6BA9F3)
alloc(newmem,2048,"DiabloImmortal.exe"+6BB0A3)
label(returnhere)
label(originalcode)
label(exit)
label(exit01)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
movaps xmm11,xmm3
movaps xmm10,xmm2

push rax // address
mov rax,newmem+500 // address 0x0 value vtmem
//mov byte ptr [rcx+6C],01 // test

cmp byte ptr [rcx+6C],00
jne exit01
mov [rax],rcx

exit01:
pop rax


exit:
jmp returnhere

"DiabloImmortal.exe"+6BB0A3:
//"DiabloImmortal.exe"+6BA9F3:
jmp newmem
nop
nop
nop
returnhere:

