Function at 0x42eaac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov edx, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
push esi
mov esi, edx
mov dword [ebp - 0x40], eax
imul esi, ecx
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x3c], esi
test ecx, ecx
jle 0x42eb97
mov eax, edx
lea ecx, [edi + esi*8]
shl eax, 2
mov dword [ebp - 0x10], eax
lea eax, [edi + esi*4]
mov dword [ebp - 0xc], eax
imul eax, esi, 0xc
mov esi, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 4]
add eax, edi
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0xc]
movss xmm1, dword [edi + ecx*4]
shl ecx, 2
movss xmm2, dword [edx]
addss xmm2, dword [eax]
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 8]
addss xmm1, dword [eax]
mov eax, edx
shl eax, 2
add eax, ecx
movaps xmm0, xmm1
subss xmm1, xmm2
addss xmm0, xmm2
movss dword [esi + ecx*4], xmm0
lea ecx, [ecx + edx*2]
movss dword [esi + eax*4 - 4], xmm1
mov eax, dword [ebp - 4]
movss xmm0, dword [edi + eax*4]
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
subss xmm0, dword [eax]
mov eax, dword [ebp - 0x30]
movss dword [esi + ecx*4 - 4], xmm0
movss xmm0, dword [eax]
subss xmm0, dword [edi]
add edi, dword [ebp - 0x10]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp + 0x10]
movss dword [esi + ecx*4], xmm0
mov ecx, dword [ebp - 4]
add ecx, edx
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x10]
sub dword [ebp - 0x2c], 1
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jne 0x42eafd
mov esi, dword [ebp - 0x3c]
xor eax, eax
mov ecx, dword [ebp + 0xc]
cmp edx, 2
jl 0x42ef0e
je 0x42ee29
test ecx, ecx
jle 0x42ee20
lea edi, [edx + edx]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x48], edi
imul edi, edx, 3
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x58], edi
imul edi, edx, 0xfffffffd
mov dword [ebp - 0x5c], edi
imul edi, esi, 3
mov dword [ebp - 0x30], edi
mov edi, eax
shl edi, 2
mov dword [ebp - 8], edi
lea edi, [edx + edx]
lea edi, [edi + eax*4]
mov dword [ebp - 0x38], edi
mov edi, dword [ebp + 0x10]
cmp edx, 2
jle 0x42edff
mov eax, dword [ebp - 0x38]
lea eax, [ecx + eax*4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
lea edx, [ecx + eax*4]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x48]
lea eax, [eax + edx*2]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
lea ecx, [edi + eax*4]
add eax, esi
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0xc], ecx
lea eax, [edi + eax*4]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
add ecx, 4
lea eax, [esi + esi]
mov dword [ebp - 0x2c], ecx
sub eax, dword [ebp - 0x10]
add eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x1c]
sub ecx, dword [ebp + 0x18]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp + 0x20]
lea esi, [edi + eax*4]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x30]
sub ecx, dword [ebp + 0x18]
mov dword [ebp - 0x4c], ecx
lea eax, [edi + eax*4]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x34]
lea eax, [eax - 3]
shr eax, 1
inc eax
jmp 0x42ec7a
mov esi, dword [ebp - 0x34]
push 8
pop ecx
add dword [ebp - 0x14], ecx
add esi, ecx
add dword [ebp - 0x18], ecx
add dword [ebp - 0x1c], ecx
add dword [ebp - 0x20], ecx
add dword [ebp - 0x24], ecx
sub dword [ebp - 4], ecx
sub dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x14]
movss xmm2, dword [ecx - 4]
movaps xmm0, xmm2
mulss xmm2, dword [esi]
movss xmm1, dword [esi - 4]
movss xmm3, dword [esi]
mulss xmm3, dword [ecx]
mov esi, dword [ebp - 0x34]
mulss xmm0, xmm1
mulss xmm1, dword [ecx]
movss xmm7, dword [esi]
addss xmm3, xmm0
movss xmm0, dword [esi - 4]
subss xmm2, xmm1
movss xmm1, dword [edi + ecx]
mov edi, dword [ebp - 0xc]
mulss xmm0, dword [edx + edi]
movss dword [ebp - 8], xmm2
movaps xmm2, xmm1
mulss xmm1, dword [esi - 4]
mov esi, dword [ebp - 0x4c]
mulss xmm2, xmm7
mulss xmm7, dword [edx + edi]
mov edi, dword [ebp - 0x18]
addss xmm2, xmm0
subss xmm7, xmm1
movss xmm1, dword [esi + ecx]
mov ecx, dword [ebp - 0xc]
movaps xmm4, xmm1
mulss xmm1, dword [edi - 4]
movss xmm0, dword [edi - 4]
mulss xmm0, dword [ecx]
movss dword [ebp - 0x50], xmm2
movss xmm2, dword [edi]
mulss xmm4, xmm2
mulss xmm2, dword [ecx]
mov ecx, dword [ebp - 0x1c]
addss xmm4, xmm0
movss xmm0, dword [ebp - 8]
subss xmm2, xmm1
movss xmm1, dword [ecx - 4]
movaps xmm6, xmm4
subss xmm4, xmm3
addss xmm6, xmm3
movss xmm3, dword [ecx]
mov ecx, dword [ebp - 0x20]
movaps xmm5, xmm2
addss xmm5, xmm0
subss xmm0, xmm2
movaps xmm2, xmm1
addss xmm2, dword [ebp - 0x50]
subss xmm1, dword [ebp - 0x50]
movss dword [ebp - 0x54], xmm4
movaps xmm4, xmm3
addss xmm4, xmm7
movss dword [ebp - 8], xmm0
subss xmm3, xmm7
movaps xmm0, xmm2
addss xmm0, xmm6
movss dword [ecx - 4], xmm0
movaps xmm0, xmm4
addss xmm0, xmm5
movss dword [ecx], xmm0
movaps xmm0, xmm1
subss xmm0, dword [ebp - 8]
mov ecx, dword [ebp - 4]
movss dword [ecx - 4], xmm0
movss xmm0, dword [ebp - 0x54]
subss xmm0, xmm3
addss xmm1, dword [ebp - 8]
addss xmm3, dword [ebp - 0x54]
add dword [ebp - 0x2c], 8
subss xmm2, xmm6
add dword [ebp - 0xc], 8
subss xmm5, xmm4
mov edi, dword [ebp - 0x38]
movss dword [ecx], xmm0
mov ecx, dword [ebp - 0x24]
movss dword [ecx - 4], xmm1
movss dword [ecx], xmm3
mov ecx, dword [ebp - 0x28]
movss dword [ecx - 4], xmm2
movss dword [ecx], xmm5
sub eax, 1
jne 0x42ec77
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x58]
add eax, edx
add dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x5c]
add dword [ebp - 0x30], ecx
sub dword [ebp - 0x44], 1
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
jne 0x42ebcf
mov ecx, dword [ebp + 0xc]
test dl, 1
jne 0x42ef0e
lea eax, [edx - 1]
add eax, esi
mov dword [ebp - 0x44], eax
lea eax, [eax + esi*2]
mov dword [ebp - 0x5c], eax
test ecx, ecx
jle 0x42ef0e
mov eax, edx
movss xmm3, dword [0x731d28]
shl eax, 4
mov dword [ebp - 0x4c], eax
mov eax, edx
shl eax, 2
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
lea eax, [edi + eax*4]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x5c]
lea eax, [edi + eax*4]
mov dword [ebp - 0x30], eax
lea eax, [edx + edx*2]
mov edx, dword [ebp + 0x14]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
lea eax, [edx + esi]
sub edx, esi
mov esi, dword [ebp - 0x5c]
lea eax, [edi + eax*4]
mov dword [ebp - 0x50], eax
lea eax, [edi + edx*4]
mov edx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp + 8]
add dword [ebp + 8], eax
movss xmm1, dword [ecx]
mov ecx, dword [ebp - 0x30]
movaps xmm2, xmm1
add dword [ebp - 0x30], eax
subss xmm1, dword [ecx]
addss xmm2, dword [ecx]
mov ecx, dword [ebp - 0x44]
mulss xmm1, xmm3
mulss xmm2, xmm3
movaps xmm0, xmm1
addss xmm0, dword [ecx]
xorps xmm2, xmmword [0x56e210]
movss dword [edx - 4], xmm0
movss xmm0, dword [ecx]
add ecx, eax
subss xmm0, xmm1
mov dword [ebp - 0x44], ecx
movss dword [esi - 4], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi]
movss dword [edx], xmm0
movss xmm0, dword [edi]
add edi, eax
add edx, dword [ebp - 0x4c]
addss xmm0, xmm2
movss dword [esi], xmm0
add esi, dword [ebp - 0x4c]
sub dword [ebp + 0xc], 1
jne 0x42ee9e
pop edi
pop esi
leave
ret