Function at 0x427e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, edx
mov dword [ebp - 0xc], ebx
mov edx, ecx
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 0x14], esi
mov edi, esi
mov dword [ebp - 8], edx
lea eax, [ecx - 1]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
sar eax, 1
cmp esi, eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 0x10]
jge 0x427f1b
mov ebx, eax
add edi, edi
lea ecx, [edi + 2]
lea ecx, [ecx + ecx*2]
shl ecx, 5
add ecx, edx
lea eax, [ecx - 0x60]
push eax
push ecx
mov ecx, esi
call fcn.004234f0
mov edx, dword [ebp - 8]
movzx eax, al
xor eax, 1
inc eax
add edi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 4], edi
lea ecx, [edi + edi*2]
shl ecx, 5
lea eax, [eax + eax*2]
add ecx, edx
shl eax, 5
add eax, edx
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [eax + 0x40], xmm0
movups xmm0, xmmword [ecx + 0x50]
movups xmmword [eax + 0x50], xmm0
cmp edi, ebx
jl 0x427ea8
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov eax, edi
mov dword [ebp - 4], eax
cmp edi, dword [ebp - 0x10]
jne 0x427f76
mov dword [ebp - 4], eax
test cl, 1
jne 0x427f76
lea eax, [ecx + ecx*2]
shl eax, 5
lea ecx, [edi + edi*2]
shl ecx, 5
add ecx, edx
movups xmm0, xmmword [eax + edx - 0x60]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + edx - 0x50]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + edx - 0x40]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [eax + edx - 0x30]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [eax + edx - 0x20]
movups xmmword [ecx + 0x40], xmm0
movups xmm0, xmmword [eax + edx - 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
movups xmmword [ecx + 0x50], xmm0
cmp dword [ebp - 0x14], eax
jge 0x427fe5
nop dword [eax + eax]
push dword [ebp - 0xc]
lea ebx, [eax - 1]
mov ecx, esi
sar ebx, 1
lea edi, [ebx + ebx*2]
shl edi, 5
add edi, edx
push edi
call fcn.004234f0
mov edx, dword [ebp - 8]
test al, al
mov eax, dword [ebp - 4]
je 0x427fe2
movups xmm0, xmmword [edi]
lea eax, [eax + eax*2]
shl eax, 5
add eax, edx
movups xmmword [eax], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [edi + 0x40]
movups xmmword [eax + 0x40], xmm0
movups xmm0, xmmword [edi + 0x50]
movups xmmword [eax + 0x50], xmm0
mov eax, ebx
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], ebx
jl 0x427f80
mov ebx, dword [ebp - 0xc]
movups xmm0, xmmword [ebx]
lea eax, [eax + eax*2]
shl eax, 5
add eax, edx
pop edi
pop esi
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebx + 0x30]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [ebx + 0x40]
movups xmmword [eax + 0x40], xmm0
movups xmm0, xmmword [ebx + 0x50]
pop ebx
movups xmmword [eax + 0x50], xmm0
mov esp, ebp
pop ebp
ret