Function at 0x664470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xf4
call fcn.006d13f0
mov eax, dword [0x7c0ab4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xec], eax
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, ebx
shl eax, 7
mov dword [ebp - 0xe8], ebx
movups xmm0, xmmword [eax + edx - 0x40]
movups xmmword [ebp - 0x84], xmm0
movups xmm0, xmmword [eax + edx - 0x30]
movups xmmword [ebp - 0x74], xmm0
movups xmm0, xmmword [eax + edx - 0x20]
movups xmmword [ebp - 0x64], xmm0
movups xmm0, xmmword [eax + edx - 0x10]
mov eax, ebx
shld ecx, eax, 1
movups xmmword [ebp - 0x54], xmm0
add eax, eax
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xf4], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0xb8], xmm0
test ecx, ecx
jb 0x664965
ja 0x6644fd
test eax, eax
je 0x664965
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xb8]
push esi
mov dword [ebp - 0xd0], eax
push edi
nop word [eax + eax]
xorps xmm0, xmm0
movlpd qword [ebp - 0xb8], xmm0
mov esi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xb8]
nop word [eax + eax]
mov ecx, dword [edx]
add edx, 4
xor dword [ebp + eax*4 - 0x84], ecx
add eax, 1
adc esi, 0
jne 0x664559
cmp eax, 0x10
jb 0x664540
movups xmm4, xmmword [ebp - 0x54]
mov dword [ebp - 0xd8], edx
movups xmm3, xmmword [ebp - 0x64]
mov dword [ebp - 0xcc], 4
movups xmm2, xmmword [ebp - 0x74]
movups xmm1, xmmword [ebp - 0x84]
movups xmmword [ebp - 0x14], xmm4
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x88], eax
movups xmmword [ebp - 0x24], xmm3
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x98], eax
movups xmmword [ebp - 0x34], xmm2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x34]
movups xmmword [ebp - 0x44], xmm1
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xa8], edi
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0x8c], ecx
nop word [eax + eax]
lea eax, [ecx + edx]
rol eax, 7
xor eax, dword [ebp - 0x94]
add ecx, eax
mov dword [ebp - 0x94], eax
rol ecx, 9
xor ecx, dword [ebp - 0x98]
add eax, ecx
mov dword [ebp - 0xdc], ecx
rol eax, 0xd
xor eax, edx
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xe4], eax
add eax, ecx
ror eax, 0xe
xor eax, dword [ebp - 0x8c]
mov dword [ebp - 0x8c], eax
lea eax, [esi + edx]
rol eax, 7
xor eax, dword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
lea ecx, [eax + edx]
rol ecx, 9
xor ecx, dword [ebp - 0x88]
mov dword [ebp - 0xb4], ecx
lea esi, [eax + ecx]
rol esi, 0xd
xor esi, dword [ebp - 0xb0]
lea eax, [esi + ecx]
ror eax, 0xe
xor eax, edx
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], eax
lea eax, [edi + edx]
rol eax, 7
xor eax, dword [ebp - 0xa4]
mov dword [ebp - 0xe0], eax
lea ecx, [eax + edx]
rol ecx, 9
xor ecx, dword [ebp - 0xbc]
lea edi, [ecx + eax]
rol edi, 0xd
xor edi, dword [ebp - 0xac]
mov dword [ebp - 0xa4], edi
lea eax, [ecx + edi]
ror eax, 0xe
xor eax, edx
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0xa0], eax
lea eax, [ebx + edx]
rol eax, 7
xor eax, dword [ebp - 0xc0]
add edx, eax
rol edx, 9
xor edx, dword [ebp - 0xc4]
lea ebx, [edx + eax]
rol ebx, 0xd
xor ebx, dword [ebp - 0x90]
mov dword [ebp - 0x90], ebx
lea edi, [edx + ebx]
mov ebx, edi
mov dword [ebp - 0x88], edi
ror ebx, 0xe
xor ebx, dword [ebp - 0xa8]
mov dword [ebp - 0x88], ebx
mov ebx, dword [ebp - 0x8c]
add ebx, eax
rol ebx, 7
xor ebx, esi
mov esi, dword [ebp - 0x8c]
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0x40], ebx
lea edi, [ebx + esi]
rol edi, 9
xor edi, ecx
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0x3c], edi
lea ecx, [edi + ebx]
rol ecx, 0xd
xor ecx, eax
mov dword [ebp - 0xc0], ecx
lea eax, [edi + ecx]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x94]
ror eax, 0xe
xor eax, esi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x9c]
lea ebx, [ecx + eax]
rol ebx, 7
xor ebx, dword [ebp - 0xa4]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0x2c], ebx
mov edi, dword [ebp - 0xac]
lea esi, [eax + ebx]
rol esi, 9
xor esi, edx
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0x28], esi
lea edx, [esi + ebx]
rol edx, 0xd
xor edx, ecx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x34], edx
lea ecx, [edx + esi]
ror ecx, 0xe
xor ecx, eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x98]
lea edx, [ecx + eax]
rol edx, 7
xor edx, dword [ebp - 0x90]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x18], edx
lea ebx, [eax + edx]
rol ebx, 9
xor ebx, dword [ebp - 0xdc]
add edx, ebx
mov dword [ebp - 0x98], ebx
rol edx, 0xd
xor edx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x20], edx
lea ecx, [edx + ebx]
ror ecx, 0xe
xor ecx, eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0xe0]
lea edx, [eax + ecx]
rol edx, 7
xor edx, dword [ebp - 0xe4]
lea ebx, [edx + eax]
rol ebx, 9
xor ebx, dword [ebp - 0xb4]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x10], ebx
lea esi, [edx + ebx]
rol esi, 0xd
xor esi, ecx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xc], esi
lea ecx, [esi + ebx]
mov ebx, dword [ebp - 0x90]
mov esi, dword [ebp - 0xb0]
ror ecx, 0xe
xor ecx, eax
sub dword [ebp - 0xcc], 1
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x8c]
jne 0x664620
movups xmm0, xmmword [ebp - 0x44]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x44]
push 0x40
paddd xmm1, xmm0
movups xmm0, xmmword [ebp - 0x34]
push eax
movups xmmword [ebp - 0x84], xmm1
paddd xmm0, xmm2
movups xmmword [ebp - 0x74], xmm0
movups xmm0, xmmword [ebp - 0x24]
paddd xmm0, xmm3
movups xmmword [ebp - 0x64], xmm0
movups xmm0, xmmword [ebp - 0x14]
paddd xmm0, xmm4
movups xmmword [ebp - 0x54], xmm0
call fcn.004019e0
mov ebx, dword [ebp - 0xd0]
add esp, 8
mov edi, dword [ebp - 0xd4]
mov edx, ebx
movups xmm0, xmmword [ebp - 0x84]
and edx, 1
mov ecx, ebx
imul edx, dword [ebp - 0xe8]
mov eax, edi
shrd ecx, eax, 1
add edx, ecx
shl edx, 6
add edx, dword [ebp - 0xec]
add ebx, 1
mov dword [ebp - 0xd0], ebx
adc edi, 0
mov dword [ebp - 0xd4], edi
movups xmmword [edx], xmm0
movups xmm0, xmmword [ebp - 0x74]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x54]
movups xmmword [edx + 0x30], xmm0
mov edx, dword [ebp - 0xd8]
cmp edi, dword [ebp - 0xf0]
jb 0x664520
ja 0x664963
cmp ebx, dword [ebp - 0xf4]
jb 0x664520
pop edi
pop esi
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.004019e0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop ebx
call fcn.006d0856
mov esp, ebp
pop ebp
ret