Function at 0x42e898
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
imul esi, edx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], esi
test edx, edx
jle 0x42e91c
mov eax, ecx
mov dword [ebp - 0xc], edx
shl eax, 3
lea edx, [edi + esi*4]
mov dword [ebp - 0x14], eax
mov eax, ecx
mov ecx, dword [ebp - 0x14]
shl eax, 2
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
add eax, 0xfffffffc
add ecx, eax
mov eax, edi
mov dword [ebp - 4], ecx
movss xmm0, dword [edx]
addss xmm0, dword [eax]
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
movss dword [edi], xmm0
movss xmm0, dword [eax]
subss xmm0, dword [edx]
add eax, dword [ebp - 0x28]
add edx, dword [ebp - 0x28]
movss dword [ecx], xmm0
mov ecx, dword [ebp - 0x14]
add edi, ecx
add dword [ebp - 4], ecx
sub dword [ebp - 0xc], 1
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 0x10]
jne 0x42e8de
mov edx, dword [ebp + 0xc]
cmp ecx, 2
jl 0x42eaa8
je 0x42ea5c
and dword [ebp - 0x18], 0
test edx, edx
jle 0x42ea49
mov eax, ecx
mov dword [ebp - 0x28], edx
shl eax, 2
mov dword [ebp - 0x24], eax
lea eax, [edi + esi*4]
mov dword [ebp - 0x14], eax
mov esi, edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov edx, eax
mov dword [ebp - 0x20], esi
lea eax, [eax + ecx*8]
mov dword [ebp - 0xc], eax
mov eax, ecx
shl eax, 3
add dword [ebp - 0x18], ecx
mov edi, dword [ebp - 0x14]
cmp ecx, 2
jle 0x42ea22
mov eax, dword [ebp + 0x18]
add eax, 4
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
lea eax, [ecx - 3]
mov dword [ebp - 0x1c], edi
mov edi, esi
shr eax, 1
mov dword [ebp - 0x30], esi
inc eax
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
sub edx, 8
add ecx, 8
mov dword [ebp - 4], edx
mov edx, dword [ebp - 8]
add edi, 8
add dword [ebp - 8], 8
add esi, 8
mov dword [ebp - 0x1c], ecx
movss xmm2, dword [ecx]
movss xmm1, dword [edx]
movaps xmm0, xmm2
mulss xmm2, dword [edx - 4]
movss xmm3, dword [ecx - 4]
mulss xmm3, dword [edx - 4]
mov edx, dword [ebp - 4]
mulss xmm0, xmm1
mulss xmm1, dword [ecx - 4]
mov ecx, dword [ebp + 8]
addss xmm3, xmm0
movss xmm0, dword [edi]
subss xmm2, xmm1
addss xmm0, xmm2
movss dword [esi], xmm0
movaps xmm0, xmm3
subss xmm2, dword [edi]
movss dword [edx], xmm2
addss xmm0, dword [edi - 4]
movss dword [esi - 4], xmm0
movss xmm0, dword [edi - 4]
subss xmm0, xmm3
movss dword [edx - 4], xmm0
sub eax, 1
jne 0x42e98f
mov edi, dword [ebp - 0x14]
mov eax, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
shl eax, 3
add esi, dword [ebp - 0x24]
add edx, eax
add edi, dword [ebp - 0x24]
add dword [ebp - 0xc], eax
sub dword [ebp - 0x28], 1
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
jne 0x42e960
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp + 0x10]
mov eax, ecx
and eax, 0x80000001
jns 0x42ea57
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x42eaa8
lea eax, [ecx - 1]
mov dword [ebp + 8], eax
add eax, esi
test edx, edx
jle 0x42eaa8
mov esi, ecx
shl esi, 3
mov dword [ebp + 0xc], esi
mov esi, ecx
mov ecx, dword [ebp + 0x14]
shl esi, 2
mov dword [ebp - 0x34], esi
add ecx, esi
mov esi, dword [ebp + 8]
lea esi, [edi + esi*4]
lea edi, [edi + eax*4]
movss xmm0, dword [edi]
xorps xmm0, xmmword [0x56e210]
add edi, dword [ebp - 0x34]
movss dword [ecx], xmm0
mov eax, dword [esi]
add esi, dword [ebp - 0x34]
mov dword [ecx - 4], eax
add ecx, dword [ebp + 0xc]
sub edx, 1
jne 0x42ea86
pop edi
pop esi
leave
ret