Function at 0x819480
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x68
movups xmm7, xmmword [ecx]
movups xmm0, xmmword [ecx + 0x10]
movdqu xmm5, xmmword [ecx + 0x28]
mov eax, dword [ecx + 0x24]
mov dword [esp], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x44]
mov esi, dword [ecx + 0x40]
add esi, dword [esp + 0x7c]
adc eax, 0
mov edi, dword [ecx + 0x38]
mov dword [esp + 0x48], edi
mov dword [ecx + 0x40], esi
mov dword [ecx + 0x44], eax
mov edi, dword [esp + 0x80]
mov ebp, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x48]
mov dword [esp + 0x34], ecx
movups xmmword [esp + 0x58], xmm0
movups xmmword [esp + 0x20], xmm7
jae 0x8194ea
add ebx, 1
adc ebp, 0
mov dword [ecx + 0x48], ebx
mov dword [ecx + 0x4c], ebp
xor eax, 0x510e527f
xor esi, 0xade682d1
xor ebp, 0x9b05688c
mov dword [esp + 0x30], ebp
xor ebx, 0x2b3e6c1f
test edi, edi
mov edi, 0xfb41bd6b
mov ecx, 0x4be4294
cmove ecx, edi
mov edi, 0xe07c2654
mov ebp, 0x1f83d9ab
cmove edi, ebp
movd xmm0, dword [esp + 0x38]
movd xmm7, dword [esp]
movd xmm1, dword [esp + 0x48]
movd xmm3, dword [esp + 0x10]
movd xmm4, edi
movd xmm6, ecx
movd xmm2, ebx
punpckldq xmm0, xmm7
punpckldq xmm1, xmm3
punpcklqdq xmm1, xmm0
punpckldq xmm6, xmm4
movd xmm0, dword [esp + 0x30]
punpckldq xmm2, xmm0
punpcklqdq xmm2, xmm6
movdqu xmmword [esp], xmm2
mov ecx, 0x5be0cd19
movd xmm0, ecx
mov ecx, 0x137e2179
movd xmm3, ecx
punpckldq xmm3, xmm0
movd xmm0, esi
movd xmm2, eax
punpckldq xmm0, xmm2
punpcklqdq xmm3, xmm0
movdqu xmmword [esp + 0x38], xmm3
movdqa xmm0, xmmword [0x9412d0]
movdqu xmmword [esp + 0x10], xmm0
movdqa xmm3, xmmword [0x9412e0]
mov ecx, 0xc
xor ebx, ebx
xor eax, eax
movdqu xmm2, xmmword [esp + 0x58]
nop dword [eax + eax]
mov dword [esp + 0x58], ecx
movzx esi, bl
imul esi, esi, 0xcd
shr esi, 6
and esi, 0xffffffe0
lea ecx, [esi + esi*2]
add cl, al
movzx edi, cl
movzx ecx, byte [edi + 0x941334]
movzx esi, byte [edi + 0x941336]
movq xmm0, qword [edx + esi*8]
movq xmm6, qword [edx + ecx*8]
punpcklqdq xmm6, xmm0
movzx ecx, byte [edi + 0x941330]
movzx esi, byte [edi + 0x941332]
movq xmm0, qword [edx + esi*8]
movdqa xmm7, xmm3
movq xmm3, qword [edx + ecx*8]
punpcklqdq xmm3, xmm0
pshufd xmm0, xmm1, 0xee
punpcklqdq xmm0, xmm5
movdqu xmm4, xmmword [esp + 0x20]
paddq xmm0, xmm4
paddq xmm0, xmm3
pshufd xmm4, xmm5, 0xee
punpcklqdq xmm4, xmm1
paddq xmm4, xmm2
paddq xmm4, xmm6
movdqa xmm2, xmm4
shufps xmm2, xmm0, 0x1b
movdqu xmm3, xmmword [esp + 0x38]
pshufd xmm3, xmm3, 0xb1
pxor xmm3, xmm2
movdqu xmmword [esp + 0x38], xmm3
movzx ecx, byte [edi + 0x941331]
movzx esi, byte [edi + 0x941333]
movq xmm2, qword [edx + esi*8]
movq xmm6, qword [edx + ecx*8]
punpcklqdq xmm6, xmm2
paddq xmm6, xmm0
shufps xmm0, xmm4, 0x1b
movdqu xmm2, xmmword [esp]
pshufd xmm2, xmm2, 0xb1
pxor xmm2, xmm0
movdqu xmmword [esp + 0x20], xmm2
movdqa xmm0, xmm7
paddq xmm0, xmm2
movdqu xmmword [esp], xmm0
pxor xmm5, xmm0
movdqa xmm0, xmm5
psllq xmm5, 0x28
psrlq xmm0, 0x18
por xmm5, xmm0
movzx esi, byte [edi + 0x941335]
movzx ecx, byte [edi + 0x941337]
movq xmm0, qword [edx + ecx*8]
movq xmm2, qword [edx + esi*8]
punpcklqdq xmm2, xmm0
movdqu xmm7, xmmword [esp + 0x10]
paddq xmm7, xmm3
pxor xmm1, xmm7
movdqa xmm0, xmm1
psrlq xmm0, 0x18
psllq xmm1, 0x28
por xmm1, xmm0
paddq xmm2, xmm4
movdqa xmm0, xmm1
shufps xmm0, xmm5, 0x4e
paddq xmm0, xmm6
movzx ebp, byte [edi + 0x941338]
movzx esi, byte [edi + 0x94133a]
movq xmm3, qword [edx + esi*8]
movq xmm6, qword [edx + ebp*8]
punpcklqdq xmm6, xmm3
movdqa xmm4, xmm5
shufps xmm4, xmm1, 0x4e
paddq xmm4, xmm2
movdqa xmm2, xmm4
shufps xmm2, xmm0, 0x4e
paddq xmm6, xmm0
movdqu xmmword [esp + 0x48], xmm6
shufps xmm0, xmm4, 0x4e
movups xmm3, xmmword [esp + 0x20]
xorps xmm0, xmm3
movaps xmm3, xmm0
psrlq xmm3, 0x10
psllq xmm0, 0x30
por xmm0, xmm3
movups xmm3, xmmword [esp + 0x38]
xorps xmm2, xmm3
movaps xmm3, xmm2
psrlq xmm3, 0x10
psllq xmm2, 0x30
por xmm2, xmm3
paddq xmm7, xmm2
movdqu xmmword [esp + 0x10], xmm7
pxor xmm1, xmm7
movdqa xmm3, xmm1
paddq xmm1, xmm1
psrlq xmm3, 0x3f
por xmm1, xmm3
movzx ecx, byte [edi + 0x941339]
movzx esi, byte [edi + 0x94133b]
movsd xmm3, qword [edx + esi*8]
movsd xmm6, qword [edx + ecx*8]
movlhps xmm6, xmm3
movups xmmword [esp + 0x20], xmm6
movdqu xmm6, xmmword [esp]
paddq xmm6, xmm0
pxor xmm5, xmm6
movdqu xmmword [esp], xmm6
movdqa xmm3, xmm5
psrlq xmm3, 0x3f
paddq xmm5, xmm5
por xmm5, xmm3
movzx ecx, byte [edi + 0x94133c]
movzx esi, byte [edi + 0x94133e]
movq xmm7, qword [edx + esi*8]
movq xmm3, qword [edx + ecx*8]
punpcklqdq xmm3, xmm7
paddq xmm3, xmm4
movdqa xmm4, xmm6
movups xmm6, xmmword [esp + 0x10]
shufps xmm4, xmm6, 0x4e
movups xmm7, xmmword [esp]
shufps xmm6, xmm7, 0x4e
movups xmmword [esp + 0x10], xmm6
movdqu xmm6, xmmword [esp + 0x48]
paddq xmm6, xmm5
pxor xmm2, xmm6
movdqu xmm7, xmmword [esp + 0x20]
paddq xmm7, xmm6
movdqu xmmword [esp + 0x20], xmm7
paddq xmm3, xmm1
pxor xmm0, xmm3
pshufd xmm6, xmm0, 0xb1
movdqu xmm0, xmmword [esp + 0x10]
paddq xmm0, xmm6
movdqu xmmword [esp + 0x10], xmm0
pxor xmm1, xmm0
movdqa xmm0, xmm1
psllq xmm1, 0x28
psrlq xmm0, 0x18
por xmm1, xmm0
pshufd xmm0, xmm2, 0xb1
paddq xmm4, xmm0
pxor xmm5, xmm4
movdqa xmm2, xmm5
psrlq xmm2, 0x18
psllq xmm5, 0x28
por xmm5, xmm2
movzx ecx, byte [edi + 0x94133d]
movzx esi, byte [edi + 0x94133f]
movsd xmm2, qword [edx + esi*8]
movups xmmword [esp], xmm2
movq xmm2, qword [edx + ecx*8]
mov ecx, dword [esp + 0x58]
movdqu xmm7, xmmword [esp]
punpcklqdq xmm2, xmm7
paddq xmm2, xmm3
movdqu xmm3, xmmword [esp + 0x20]
paddq xmm3, xmm5
movdqu xmmword [esp + 0x20], xmm3
pxor xmm0, xmm3
movdqa xmm3, xmm0
psrlq xmm3, 0x10
psllq xmm0, 0x30
por xmm0, xmm3
paddq xmm2, xmm1
pxor xmm6, xmm2
movdqa xmm3, xmm6
psrlq xmm3, 0x10
psllq xmm6, 0x30
por xmm6, xmm3
movdqu xmm7, xmmword [esp + 0x10]
movdqu xmmword [esp + 0x38], xmm0
paddq xmm4, xmm0
movdqu xmmword [esp], xmm6
paddq xmm7, xmm6
movdqa xmm3, xmm4
shufps xmm3, xmm7, 0x4e
movdqa xmm0, xmm5
shufps xmm0, xmm1, 0x4e
movups xmmword [esp + 0x10], xmm3
xorps xmm0, xmm3
movaps xmm3, xmm0
psrlq xmm3, 0x3f
paddq xmm0, xmm0
por xmm0, xmm3
shufps xmm1, xmm5, 0x4e
movdqa xmm3, xmm7
shufps xmm3, xmm4, 0x4e
xorps xmm1, xmm3
movaps xmm3, xmm1
psrlq xmm3, 0x3f
paddq xmm1, xmm1
movdqa xmm6, xmm1
por xmm6, xmm3
pshufd xmm3, xmm7, 0xee
punpcklqdq xmm3, xmm4
pshufd xmm5, xmm6, 0xee
punpcklqdq xmm5, xmm0
movdqa xmm1, xmm0
shufps xmm1, xmm6, 0x4e
add al, 0x10
inc bl
dec ecx
jne 0x8195c0
mov eax, dword [esp + 0x34]
movdqu xmm1, xmmword [eax]
movdqu xmm3, xmmword [esp + 0x20]
pxor xmm1, xmm3
pxor xmm7, xmm1
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmmword [eax], xmm7
pxor xmm1, xmm2
pxor xmm4, xmm1
movdqu xmmword [eax + 0x10], xmm4
movups xmm1, xmmword [eax + 0x20]
movups xmm4, xmmword [esp + 0x38]
movaps xmm2, xmm4
movups xmm3, xmmword [esp]
shufps xmm2, xmm3, 0x4e
xorps xmm2, xmm1
pxor xmm2, xmm6
movdqu xmmword [eax + 0x20], xmm2
shufps xmm3, xmm4, 0x4e
movups xmm1, xmmword [eax + 0x30]
xorps xmm3, xmm1
xorps xmm3, xmm0
movups xmmword [eax + 0x30], xmm3
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret