Function at 0x806600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x310
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
movaps xmmword [esp + 0x180], xmm0
movaps xmmword [esp + 0x170], xmm0
movaps xmmword [esp + 0x160], xmm0
movaps xmmword [esp + 0x150], xmm0
movaps xmmword [esp + 0x140], xmm0
movaps xmmword [esp + 0x130], xmm0
movaps xmmword [esp + 0x120], xmm0
movaps xmmword [esp + 0x110], xmm0
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x2f0], xmm0
movaps xmmword [esp + 0x2e0], xmm0
movaps xmmword [esp + 0x2d0], xmm0
movaps xmmword [esp + 0x2c0], xmm0
movaps xmmword [esp + 0x2b0], xmm0
movaps xmmword [esp + 0x2a0], xmm0
movaps xmmword [esp + 0x290], xmm0
movaps xmmword [esp + 0x280], xmm0
movaps xmmword [esp + 0x270], xmm0
movaps xmmword [esp + 0x260], xmm0
movaps xmmword [esp + 0x250], xmm0
mov dword [esp + 0x304], 0
mov dword [esp + 0x300], 0
movaps xmmword [esp + 0x230], xmm0
movaps xmmword [esp + 0x220], xmm0
movaps xmmword [esp + 0x210], xmm0
movaps xmmword [esp + 0x200], xmm0
movaps xmmword [esp + 0x1f0], xmm0
movaps xmmword [esp + 0x1e0], xmm0
movaps xmmword [esp + 0x1d0], xmm0
movaps xmmword [esp + 0x1c0], xmm0
movaps xmmword [esp + 0x1b0], xmm0
movaps xmmword [esp + 0x1a0], xmm0
movaps xmmword [esp + 0x190], xmm0
mov dword [esp + 0x244], 0
mov dword [esp + 0x240], 0
lea edx, [esp + 0xe0]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x30]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x250]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x190]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ecx
add ecx, 0x58
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
add eax, 0x58
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
lea edi, [esp + 0x18]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x20]
push 0x16
push eax
push edi
call fcn.00806ac0
add esp, 0xc
movd xmm0, dword [esp + 0x84]
pshufd xmm1, xmm0, 0
movd xmm0, dword [esp + 0x134]
pshufd xmm0, xmm0, 0
xor eax, eax
nop word cs:[eax + eax]
movdqa xmm5, xmm0
movdqa xmm4, xmm1
movdqu xmm2, xmmword [esp + eax*4 + 0xe0]
movups xmm0, xmmword [esp + eax*4 + 0x138]
shufps xmm5, xmm0, 3
shufps xmm5, xmm0, 0x98
psrld xmm5, 0x1d
movaps xmm3, xmm0
pslld xmm3, 3
por xmm3, xmm5
movdqu xmm5, xmmword [esp + eax*4 + 0x30]
movups xmm1, xmmword [esp + eax*4 + 0x88]
shufps xmm4, xmm1, 3
shufps xmm4, xmm1, 0x98
psrld xmm4, 0x1d
movaps xmm6, xmm1
pslld xmm6, 3
por xmm6, xmm4
pxor xmm2, xmm6
pxor xmm6, xmm5
pxor xmm5, xmm3
pand xmm5, xmm2
movdqu xmmword [esi + eax*4], xmm5
pxor xmm2, xmm3
por xmm2, xmm6
movdqu xmmword [esi + eax*4 + 0x58], xmm2
add eax, 4
cmp eax, 0x14
jne 0x806820
pshufd xmm0, xmm0, 0xff
movd edx, xmm0
pshufd xmm0, xmm1, 0xff
movd edi, xmm0
mov eax, dword [esp + 0x188]
mov dword [esp + 0xc], eax
shrd edx, eax, 0x1d
mov ecx, dword [esp + 0xd8]
shrd edi, ecx, 0x1d
mov ebx, dword [esp + 0x130]
xor ebx, edi
mov eax, dword [esp + 0x80]
xor edi, eax
xor eax, edx
and eax, ebx
mov dword [esi + 0x50], eax
xor ebx, edx
or ebx, edi
mov dword [esi + 0xa8], ebx
mov edi, dword [esp + 0x18c]
mov eax, dword [esp + 0xc]
shld edi, eax, 3
mov eax, dword [esp + 0xdc]
shld eax, ecx, 3
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x134]
xor edx, eax
xor eax, ecx
mov ebx, ecx
xor ebx, edi
and ebx, edx
mov dword [esi + 0x54], ebx
xor edx, edi
or edx, eax
mov dword [esi + 0xac], edx
lea eax, [ebx*8]
sar eax, 0x1f
lea ecx, [edx*8]
sar ecx, 0x1f
movd xmm0, ebx
pshufd xmm0, xmm0, 0
pslld xmm0, 3
psrad xmm0, 0x1f
movd xmm1, edx
pshufd xmm1, xmm1, 0
pslld xmm1, 3
psrad xmm1, 0x1f
movdqu xmm2, xmmword [esi]
movdqu xmm3, xmmword [esi + 0x58]
pxor xmm3, xmm1
movdqa xmm4, xmm2
pxor xmm4, xmm1
pxor xmm2, xmm0
por xmm2, xmm3
pxor xmm3, xmm0
pand xmm3, xmm4
movdqu xmmword [esi], xmm3
movdqu xmmword [esi + 0x58], xmm2
movdqu xmm2, xmmword [esi + 0x10]
movdqu xmm3, xmmword [esi + 0x68]
pxor xmm3, xmm1
movdqa xmm4, xmm2
pxor xmm4, xmm1
pxor xmm2, xmm0
por xmm2, xmm3
pxor xmm3, xmm0
pand xmm3, xmm4
movdqu xmmword [esi + 0x10], xmm3
movdqu xmmword [esi + 0x68], xmm2
movdqu xmm2, xmmword [esi + 0x20]
movdqu xmm3, xmmword [esi + 0x78]
pxor xmm3, xmm1
movdqa xmm4, xmm2
pxor xmm4, xmm1
pxor xmm2, xmm0
por xmm2, xmm3
pxor xmm3, xmm0
pand xmm3, xmm4
movdqu xmmword [esi + 0x20], xmm3
movdqu xmmword [esi + 0x78], xmm2
movdqu xmm2, xmmword [esi + 0x30]
movdqu xmm3, xmmword [esi + 0x88]
pxor xmm3, xmm1
movdqa xmm4, xmm2
pxor xmm4, xmm1
pxor xmm2, xmm0
por xmm2, xmm3
pxor xmm3, xmm0
pand xmm3, xmm4
movdqu xmmword [esi + 0x30], xmm3
movdqu xmmword [esi + 0x88], xmm2
movdqu xmm2, xmmword [esi + 0x40]
movdqu xmm3, xmmword [esi + 0x98]
pxor xmm3, xmm1
pxor xmm1, xmm2
movdqa xmm4, xmm3
pxor xmm4, xmm0
pand xmm4, xmm1
movdqu xmmword [esi + 0x40], xmm4
pxor xmm0, xmm2
por xmm0, xmm3
movdqu xmmword [esi + 0x98], xmm0
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 0xa8]
xor edi, ecx
mov ebx, edx
xor ebx, ecx
xor edx, eax
or edx, edi
xor edi, eax
and edi, ebx
mov dword [esi + 0x50], edi
mov dword [esi + 0xa8], edx
mov edi, dword [esi + 0x54]
mov edx, dword [esi + 0xac]
xor edx, ecx
xor ecx, edi
mov ebx, edx
xor ebx, eax
and ebx, ecx
xor eax, edi
or eax, edx
mov dword [esi + 0x54], ebx
and ebx, 0x1fffffff
mov dword [esi + 0x54], ebx
and eax, 0x1fffffff
mov dword [esi + 0xac], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret