Skip to content

Instantly share code, notes, and snippets.

Created November 7, 2014 09:36
Show Gist options
  • Save anonymous/52e4bac6b5cbecd0a7cc to your computer and use it in GitHub Desktop.
Save anonymous/52e4bac6b5cbecd0a7cc to your computer and use it in GitHub Desktop.
in al,dx
or byte ptr [rcx],al
add byte ptr [rax],al
movaps xmmword ptr [rsp+0F0h],xmm6
movaps xmmword ptr [rsp+0E0h],xmm7
mov rax,qword ptr [rcx+8]
mov rcx,qword ptr [rcx+10h]
mov r8,qword ptr [rdx+8]
mov rdx,qword ptr [rdx+18h]
cmp dword ptr [rax+8],0
jbe 00007FF7CC2FAFD3
movss xmm0,dword ptr [rax+10h]
xorps xmm1,xmm1
movaps xmm1,xmm0
shufps xmm1,xmm1,0
mov r8,qword ptr [r8+8]
mov r9,r8
cmp dword ptr [r9+8],0
jbe 00007FF7CC2FAFD3
add r9,10h
movups xmm0,xmmword ptr [r9]
movaps xmmword ptr [rsp+0D0h],xmm0
movaps xmm0,xmmword ptr [rsp+0D0h]
subps xmm1,xmm0
movaps xmm0,xmm1
mov rdx,qword ptr [rdx+8]
mov r10,rdx
cmp dword ptr [r10+8],0
jbe 00007FF7CC2FAFD3
add r10,10h
movups xmm1,xmmword ptr [r10]
movaps xmmword ptr [rsp+0C0h],xmm1
movaps xmm1,xmmword ptr [rsp+0C0h]
mulps xmm0,xmm1
cmp dword ptr [rcx+8],0
jbe 00007FF7CC2FAFD3
movss xmm1,dword ptr [rcx+10h]
xorps xmm2,xmm2
movaps xmm2,xmm1
shufps xmm2,xmm2,0
movups xmm1,xmmword ptr [r9]
movaps xmmword ptr [rsp+0B0h],xmm1
movaps xmm1,xmmword ptr [rsp+0B0h]
subps xmm2,xmm1
movaps xmm1,xmm2
movups xmm2,xmmword ptr [r10]
movaps xmmword ptr [rsp+0A0h],xmm2
movaps xmm2,xmmword ptr [rsp+0A0h]
mulps xmm1,xmm2
cmp dword ptr [rax+8],1
jbe 00007FF7CC2FAFD3
movss xmm2,dword ptr [rax+14h]
xorps xmm3,xmm3
movaps xmm3,xmm2
shufps xmm3,xmm3,0
mov r9,r8
cmp dword ptr [r9+8],1
jbe 00007FF7CC2FAFD3
add r9,20h
movups xmm2,xmmword ptr [r9]
movaps xmmword ptr [rsp+90h],xmm2
movaps xmm2,xmmword ptr [rsp+90h]
subps xmm3,xmm2
movaps xmm2,xmm3
mov r10,rdx
cmp dword ptr [r10+8],1
jbe 00007FF7CC2FAFD3
add r10,20h
movups xmm3,xmmword ptr [r10]
movaps xmmword ptr [rsp+80h],xmm3
movaps xmm3,xmmword ptr [rsp+80h]
mulps xmm2,xmm3
cmp dword ptr [rcx+8],1
jbe 00007FF7CC2FAFD3
movss xmm3,dword ptr [rcx+14h]
xorps xmm4,xmm4
movaps xmm4,xmm3
shufps xmm4,xmm4,0
movups xmm3,xmmword ptr [r9]
movaps xmmword ptr [rsp+70h],xmm3
movaps xmm3,xmmword ptr [rsp+70h]
subps xmm4,xmm3
movaps xmm3,xmm4
movups xmm4,xmmword ptr [r10]
movaps xmmword ptr [rsp+60h],xmm4
movaps xmm4,xmmword ptr [rsp+60h]
mulps xmm3,xmm4
cmp dword ptr [rax+8],2
jbe 00007FF7CC2FAFD3
movss xmm4,dword ptr [rax+18h]
xorps xmm5,xmm5
movaps xmm5,xmm4
shufps xmm5,xmm5,0
cmp dword ptr [r8+8],2
jbe 00007FF7CC2FAFD3
lea rax,[r8+30h]
movups xmm4,xmmword ptr [rax]
movaps xmmword ptr [rsp+50h],xmm4
movaps xmm4,xmmword ptr [rsp+50h]
subps xmm5,xmm4
movaps xmm4,xmm5
cmp dword ptr [rdx+8],2
jbe 00007FF7CC2FAFD3
add rdx,30h
movups xmm5,xmmword ptr [rdx]
movaps xmmword ptr [rsp+40h],xmm5
movaps xmm5,xmmword ptr [rsp+40h]
mulps xmm4,xmm5
cmp dword ptr [rcx+8],2
jbe 00007FF7CC2FAFD3
movss xmm5,dword ptr [rcx+18h]
xorps xmm6,xmm6
movaps xmm6,xmm5
shufps xmm6,xmm6,0
movups xmm5,xmmword ptr [rax]
movaps xmmword ptr [rsp+30h],xmm5
movaps xmm5,xmmword ptr [rsp+30h]
subps xmm6,xmm5
movaps xmm5,xmm6
movups xmm6,xmmword ptr [rdx]
movaps xmmword ptr [rsp+20h],xmm6
movaps xmm6,xmmword ptr [rsp+20h]
mulps xmm5,xmm6
movaps xmm6,xmm0
minps xmm6,xmm1
movaps xmm7,xmm2
minps xmm7,xmm3
maxps xmm6,xmm7
movaps xmm7,xmm4
minps xmm7,xmm5
maxps xmm6,xmm7
maxps xmm0,xmm1
movaps xmm1,xmm2
maxps xmm1,xmm3
minps xmm0,xmm1
movaps xmm1,xmm4
maxps xmm1,xmm5
minps xmm0,xmm1
movaps xmm1,xmm0
mov rax,0C199650288h
mov rax,qword ptr [rax]
movups xmm2,xmmword ptr [rax+8]
pxor xmm3,xmm3
movaps xmm3,xmm2
cmpleps xmm3,xmm1
pxor xmm1,xmm1
movaps xmm2,xmm3
pcmpeqd xmm2,xmm1
pshufd xmm4,xmm2,4Eh
andps xmm2,xmm4
pshufd xmm4,xmm2,1
pand xmm2,xmm4
movd eax,xmm2
cmp eax,0FFFFFFFFh
sete al
movzx eax,al
test eax,eax
jne 00007FF7CC2FAFB9
pxor xmm1,xmm1
movaps xmm1,xmm6
cmpleps xmm1,xmm0
pxor xmm0,xmm0
movaps xmm2,xmm1
pcmpeqd xmm2,xmm0
pshufd xmm3,xmm2,4Eh
andps xmm2,xmm3
pshufd xmm3,xmm2,1
pand xmm2,xmm3
movd eax,xmm2
cmp eax,0FFFFFFFFh
sete al
movzx eax,al
test eax,eax
sete al
movzx eax,al
movaps xmm6,xmmword ptr [rsp+0F0h]
movaps xmm7,xmmword ptr [rsp+0E0h]
add rsp,108h
ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment