RandomWOW/src/asm/program_epilogue_store.inc

23 lines
609 B
PHP
Raw Normal View History

;# unroll VM stack
2019-01-10 21:04:55 +00:00
mov rsp, rdi
;# save VM register values
pop rcx
2019-01-10 21:04:55 +00:00
pop rcx
mov qword ptr [rcx+0], r8
mov qword ptr [rcx+8], r9
mov qword ptr [rcx+16], r10
mov qword ptr [rcx+24], r11
mov qword ptr [rcx+32], r12
mov qword ptr [rcx+40], r13
mov qword ptr [rcx+48], r14
mov qword ptr [rcx+56], r15
2019-01-19 23:44:01 +00:00
movapd xmmword ptr [rcx+64], xmm8
movapd xmmword ptr [rcx+80], xmm9
movapd xmmword ptr [rcx+96], xmm2
movapd xmmword ptr [rcx+112], xmm3
lea rcx, [rcx+64]
2019-01-19 23:44:01 +00:00
movapd xmmword ptr [rcx+64], xmm4
movapd xmmword ptr [rcx+80], xmm5
movapd xmmword ptr [rcx+96], xmm6
movapd xmmword ptr [rcx+112], xmm7