Function at 0x719afe
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xfc
push ebx
push esi
push edi
mov esi, dword [esp + 0x10c]
mov edi, dword [esp + 0x110]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x114]
mov dword [esp + 0xc], 2
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
movq mm0, qword [esi + 0x20]
movq mm1, qword [edi + 0x20]
movq mm2, qword [esi + 0x60]
pmullw mm0, mm1
movq mm3, qword [edi + 0x60]
movq mm6, qword [0x771088]
pmullw mm2, mm3
movq mm7, qword [0x7710a8]
movq mm4, mm0
pmaddwd mm4, mm6
movq mm5, mm0
movq mm3, mm2
psrlq mm5, 0x10
movq mm1, qword [0x771080]
pmaddwd mm5, mm6
psrlq mm3, 0x10
paddw mm0, mm2
pmaddwd mm2, mm7
movq mm6, mm0
psrlq mm6, 0x10
pmaddwd mm3, mm7
movq mm7, qword [0x7710d0]
pmaddwd mm0, mm1
pmaddwd mm6, mm1
pxor mm2, mm7
movq mm1, qword [0x7710d8]
pxor mm3, mm7
paddd mm2, mm1
paddd mm3, mm1
paddd mm2, mm0
paddd mm4, mm0
movq mm0, qword [esi]
paddd mm3, mm6
movq mm1, qword [edi]
paddd mm5, mm6
movq mm6, qword [esi + 0x40]
pmullw mm0, mm1
movq mm7, qword [edi + 0x40]
nop
movq qword [esp + 0x100], mm2
pmullw mm6, mm7
movq mm7, qword [0x7710e0]
movq mm1, mm0
paddw mm0, mm6
nop
psubw mm1, mm6
movq mm6, mm0
pmaddwd mm0, mm7
psrlq mm6, 0x10
pmaddwd mm6, mm7
movq mm2, mm1
pmaddwd mm1, mm7
psrlq mm2, 0x10
pmaddwd mm2, mm7
pslld mm0, 0xd
movq mm7, mm4
pslld mm6, 0xd
paddd mm4, mm0
psubd mm0, mm7
movq mm7, mm5
pslld mm2, 0xd
movq qword [esp + 0xf0], mm0
paddd mm5, mm6
movq mm0, qword [esp + 0x100]
psubd mm6, mm7
movq qword [esp + 0xe0], mm5
movq mm7, mm3
movq qword [esp + 0xd0], mm6
paddd mm3, mm2
movq qword [esp + 0xc0], mm4
pslld mm1, 0xd
movq qword [esp + 0xb0], mm3
psubd mm2, mm7
movq mm6, qword [esi + 0x10]
movq mm3, mm0
movq qword [esp + 0xa0], mm2
paddd mm0, mm1
movq mm7, qword [edi + 0x10]
movq qword [esp + 0x90], mm0
psubd mm1, mm3
movq mm0, qword [esi + 0x70]
pmullw mm6, mm7
movq qword [esp + 0x80], mm1
movq mm1, qword [edi + 0x70]
movq mm2, qword [esi + 0x50]
pmullw mm0, mm1
movq mm3, qword [edi + 0x50]
movq mm4, qword [esi + 0x30]
pmullw mm2, mm3
movq mm5, qword [edi + 0x30]
movq mm1, mm0
movq qword [esp + 0x70], mm6
pmullw mm4, mm5
movq qword [esp + 0x60], mm0
paddw mm0, mm6
movq qword [esp + 0x50], mm2
movq mm3, mm2
movq qword [esp + 0x40], mm4
paddw mm2, mm4
paddw mm1, mm4
movq mm4, qword [0x771098]
paddw mm3, mm6
movq mm5, mm1
movq mm7, mm0
psrlq mm7, 0x10
paddw mm5, mm3
movq mm6, mm5
pmaddwd mm5, mm4
pmaddwd mm0, qword [0x771090]
psrlq mm6, 0x10
pmaddwd mm6, mm4
movq mm4, mm2
movq qword [esp + 0x30], mm5
psrlq mm4, 0x10
pxor mm0, qword [0x7710d0]
movq mm5, mm1
movq qword [esp + 0x28], mm6
psrlq mm5, 0x10
movq mm6, qword [0x7710c0]
nop
paddd mm0, qword [0x7710d8]
pmaddwd mm2, mm6
movq qword [esp + 0xc8], mm0
pmaddwd mm4, mm6
pmaddwd mm7, qword [0x771090]
movq mm0, mm3
movq mm6, qword [0x7710b0]
psrlq mm0, 0x10
pxor mm2, qword [0x7710d0]
pmaddwd mm1, mm6
paddd mm2, qword [0x7710d8]
pmaddwd mm5, mm6
movq mm6, qword [0x771078]
nop
pxor mm4, qword [0x7710d0]
pmaddwd mm3, mm6
paddd mm4, qword [0x7710d8]
pmaddwd mm0, mm6
movq mm6, qword [0x7710d0]
nop
pxor mm1, mm6
pxor mm7, mm6
paddd mm1, qword [0x7710d8]
pxor mm5, mm6
paddd mm7, qword [0x7710d8]
pxor mm3, mm6
paddd mm5, qword [0x7710d8]
nop
movq qword [esp + 0x88], mm7
pxor mm0, mm6
paddd mm1, qword [esp + 0x30]
nop
movq mm6, qword [esp + 0xc8]
nop
paddd mm5, qword [esp + 0x28]
paddd mm6, mm1
paddd mm3, qword [0x7710d8]
paddd mm1, mm2
paddd mm0, qword [0x7710d8]
paddd mm7, mm5
paddd mm3, qword [esp + 0x30]
paddd mm5, mm4
paddd mm0, qword [esp + 0x28]
paddd mm2, mm3
paddd mm3, qword [esp + 0xc8]
paddd mm4, mm0
paddd mm0, qword [esp + 0x88]
movq qword [esp + 0x20], mm1
nop
movq qword [esp + 0x78], mm0
nop
movq mm0, qword [esp + 0x60]
nop
movq qword [esp + 0xb8], mm2
movq mm1, mm0
movq mm2, qword [0x771070]
psrlq mm1, 0x10
movq qword [esp + 0x68], mm3
pmaddwd mm0, mm2
movq mm3, qword [esp + 0x50]
pmaddwd mm1, mm2
movq qword [esp + 0xd8], mm4
movq mm2, mm3
movq mm4, qword [0x7710b8]
psrlq mm2, 0x10
movq qword [esp + 0x58], mm5
pmaddwd mm3, mm4
movq mm5, qword [esp + 0x40]
pmaddwd mm2, mm4
movq qword [esp + 0xa8], mm6
movq mm4, mm5
movq mm6, qword [0x7710c8]
psrlq mm4, 0x10
movq qword [esp + 0x48], mm7
pmaddwd mm5, mm6
movq mm7, qword [esp + 0x70]
pmaddwd mm4, mm6
paddd mm0, qword [esp + 0xa8]
movq mm6, mm7
paddd mm1, qword [esp + 0x48]
psrlq mm6, 0x10
movq qword [esp + 0xe8], mm0
nop
movq mm0, qword [0x7710a0]
nop
movq qword [esp + 0x38], mm1
pmaddwd mm7, mm0
paddd mm3, qword [esp + 0xb8]
pmaddwd mm6, mm0
movq mm0, qword [esp + 0xc0]
nop
paddd mm7, qword [esp + 0x68]
nop
paddd mm6, qword [esp + 0x78]
psubd mm0, mm7
movq mm1, qword [esp + 0xe0]
nop
movq qword [esp + 0x98], mm3
psubd mm1, mm6
movq mm3, qword [0x7710e8]
nop
paddd mm2, qword [esp + 0xd8]
paddd mm0, mm3
paddd mm7, qword [esp + 0xc0]
psrad mm0, 0xb
movq qword [esp + 0xf8], mm2
paddd mm1, mm3
paddd mm6, qword [esp + 0xe0]
psrad mm1, 0xb
paddd mm5, qword [esp + 0x20]
movq mm2, mm0
paddd mm4, qword [esp + 0x58]
punpcklwd mm0, mm1
paddd mm6, mm3
punpckhwd mm2, mm1
paddd mm7, mm3
punpckldq mm0, mm2
mov edi, dword [esp + 0x18]
movq qword [edi + 0x70], mm0
psrad mm6, 0xb
movq mm2, qword [esp + 0x90]
psrad mm7, 0xb
psubd mm2, mm5
movq mm0, mm7
movq mm1, qword [esp + 0xb0]
punpcklwd mm7, mm6
psubd mm1, mm4
punpckhwd mm0, mm6
paddd mm5, qword [esp + 0x90]
punpckldq mm7, mm0
paddd mm4, qword [esp + 0xb0]
paddd mm2, mm3
paddd mm1, mm3
paddd mm5, mm3
paddd mm4, mm3
psrad mm2, 0xb
movq qword [edi], mm7
psrad mm1, 0xb
movq mm0, mm2
psrad mm5, 0xb
movq mm6, qword [esp + 0x80]
punpcklwd mm2, mm1
punpckhwd mm0, mm1
movq mm1, mm5
movq mm7, qword [esp + 0xa0]
punpckldq mm2, mm0
movq qword [edi + 0x60], mm2
psrad mm4, 0xb
movq mm2, mm6
punpcklwd mm5, mm4
paddd mm6, qword [esp + 0x98]
punpckhwd mm1, mm4
psubd mm2, qword [esp + 0x98]
punpckldq mm5, mm1
movq qword [edi + 0x10], mm5
movq mm0, mm7
paddd mm7, qword [esp + 0xf8]
paddd mm6, mm3
psubd mm0, qword [esp + 0xf8]
paddd mm7, mm3
paddd mm2, mm3
psrad mm7, 0xb
paddd mm0, mm3
psrad mm6, 0xb
movq mm1, mm6
psrad mm2, 0xb
movq mm4, qword [esp + 0xf0]
punpcklwd mm6, mm7
movq mm5, mm4
punpckhwd mm1, mm7
paddd mm4, qword [esp + 0xe8]
punpckldq mm6, mm1
psubd mm5, qword [esp + 0xe8]
psrad mm0, 0xb
movq qword [edi + 0x20], mm6
movq mm6, mm2
paddd mm4, mm3
punpcklwd mm2, mm0
paddd mm5, mm3
punpckhwd mm6, mm0
movq mm0, qword [esp + 0xd0]
punpckldq mm2, mm6
movq mm1, mm0
psrad mm4, 0xb
paddd mm0, qword [esp + 0x38]
psrad mm5, 0xb
paddd mm0, mm3
movq mm6, mm4
psubd mm1, qword [esp + 0x38]
psrad mm0, 0xb
paddd mm1, mm3
punpcklwd mm4, mm0
movq mm3, mm5
punpckhwd mm6, mm0
movq qword [edi + 0x50], mm2
punpckldq mm4, mm6
psrad mm1, 0xb
movq qword [edi + 0x30], mm4
punpcklwd mm5, mm1
punpckhwd mm3, mm1
punpckldq mm5, mm3
add dword [esp + 0x1c], 8
add dword [esp + 0x14], 8
movq qword [edi + 0x40], mm5
add dword [esp + 0x18], 8
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0xc], eax
jne 0x719b30
mov esi, dword [esp + 0x114]
mov dword [esp + 0xc], 8
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x118]
movq mm0, qword [esi]
movq mm1, qword [esi + 8]
movq mm2, mm0
movq mm3, mm0
paddw mm2, mm1
movq mm4, mm2
punpckhdq mm3, mm1
pmaddwd mm3, qword [0x771100]
movq mm6, mm0
pmaddwd mm2, qword [0x771108]
psubw mm6, mm1
punpckldq mm4, mm6
movq mm6, mm0
movq mm5, mm3
pslld mm4, 0x10
pxor mm3, qword [0x7710d0]
punpckhdq mm2, mm2
paddd mm3, qword [0x7710d8]
psrad mm4, 3
psrlq mm3, 0x20
movq mm7, mm4
punpckldq mm5, mm3
movq mm3, mm0
paddd mm5, mm2
paddw mm3, mm1
paddd mm4, mm5
psubd mm7, mm5
movq mm5, mm3
movq mm2, mm0
pmaddwd mm0, qword [0x771110]
punpckldq mm5, mm5
paddw mm5, mm3
punpckldq mm2, mm2
pmaddwd mm5, qword [0x771130]
punpckhdq mm6, mm2
pmaddwd mm3, qword [0x771128]
paddw mm6, mm1
pmaddwd mm6, qword [0x771120]
nop
pmaddwd mm1, qword [0x771118]
punpckhdq mm5, mm5
movq mm2, qword [0x7710d8]
nop
pxor mm3, qword [0x7710d0]
nop
pxor mm6, qword [0x7710d0]
paddd mm3, mm2
paddd mm6, mm2
paddd mm3, mm5
movq mm5, mm6
paddd mm6, mm3
movq mm2, mm5
punpckldq mm5, mm5
punpckhdq mm2, mm5
paddd mm1, mm6
paddd mm2, mm3
movq mm5, mm1
movq mm3, mm4
paddd mm0, mm2
movq mm2, mm7
punpckldq mm5, mm5
punpckhdq mm1, mm5
psubd mm3, mm0
movq mm5, qword [0x7710f0]
paddd mm0, mm4
movq mm6, qword [0x7710f8]
psubd mm2, mm1
paddd mm0, mm5
paddd mm1, mm7
paddd mm1, mm5
psrad mm0, 0x12
paddd mm3, mm5
psrad mm1, 0x12
paddd mm2, mm5
psrad mm3, 0x12
pand mm1, mm6
psrad mm2, 0x12
movd ebx, mm1
psrlq mm1, 0x20
mov ecx, dword [esp + 0x120]
add edi, dword [esp + 0x10]
movd edx, mm1
pand mm0, mm6
mov ah, byte [ecx + ebx]
mov edi, dword [edi]
movd ebx, mm0
psrlq mm0, 0x20
mov al, byte [ecx + edx]
add dword [esp + 0x10], 4
movd edx, mm0
pand mm3, mm6
add edi, dword [esp + 0x11c]
shl eax, 0x10
mov al, byte [ecx + ebx]
mov ah, byte [ecx + edx]
movd mm4, eax
pand mm2, mm6
movd ebx, mm3
psrlq mm3, 0x20
movd edx, mm3
mov ah, byte [ecx + ebx]
mov al, byte [ecx + edx]
movd ebx, mm2
psrlq mm2, 0x20
shl eax, 0x10
movd edx, mm2
mov al, byte [ecx + ebx]
mov ah, byte [ecx + edx]
movd mm5, eax
punpckldq mm4, mm5
add dword [esp + 0x18], 0x10
mov eax, dword [esp + 0xc]
movq qword [edi], mm4
dec eax
mov dword [esp + 0xc], eax
jne 0x71a0c9
emms
pop edi
pop esi
pop ebx
add esp, 0xfc
ret