Function at 0x4147c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5522f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], eax
push esi
push edi
mov eax, dword [eax]
mov ecx, eax
sar ecx, 2
mov edi, eax
mov dword [ebp - 0x24], ecx
mov ecx, eax
sar ecx, 3
shl eax, 2
sar edi, 1
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], eax
call fcn.0044c110
mov ecx, dword [ebp - 0x14]
lea eax, [edi*4]
mov esi, esp
mov dword [ebp - 0x2c], eax
lea edi, [eax + esi]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edi
lea edx, [ecx + eax*4]
xor ecx, ecx
lea eax, [edx + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x10], ecx
jle 0x414898
mov esi, dword [ebp - 8]
nop word [eax + eax]
movss xmm2, dword [esi + 8]
sub edx, 0x10
movss xmm1, dword [eax - 4]
sub eax, 8
movss xmm3, dword [edx + 8]
addss xmm3, dword [esi]
addss xmm2, dword [edx]
movss xmm0, dword [eax]
add esi, 0x10
mulss xmm0, xmm3
mulss xmm1, xmm2
addss xmm1, xmm0
movss dword [edi + ecx*4], xmm1
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
mulss xmm1, xmm2
mulss xmm0, xmm3
subss xmm1, xmm0
movss dword [edi + ecx*4 + 4], xmm1
add ecx, 2
cmp ecx, dword [ebp - 0x10]
jl 0x414840
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 8], esi
add edi, 4
mov esi, dword [ebp - 0x10]
sub dword [ebp - 8], esi
cmp ecx, dword [ebp - 8]
jge 0x41490a
mov esi, dword [ebp - 0x1c]
movss xmm3, dword [edx - 8]
sub edx, 0x10
subss xmm3, dword [edi]
movss xmm1, dword [eax - 4]
sub eax, 8
movss xmm2, dword [edx]
subss xmm2, dword [edi + 8]
movss xmm0, dword [eax]
add edi, 0x10
mulss xmm0, xmm3
mulss xmm1, xmm2
addss xmm1, xmm0
movss dword [esi + ecx*4], xmm1
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
mulss xmm1, xmm2
mulss xmm0, xmm3
subss xmm1, xmm0
movss dword [esi + ecx*4 + 4], xmm1
add ecx, 2
cmp ecx, dword [ebp - 8]
jl 0x4148b2
mov edx, dword [ebp - 0x14]
mov esi, esp
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0xc]
jge 0x414990
movss xmm4, dword [0x53c940]
mov esi, dword [ebp - 0x28]
nop dword [eax + eax]
movss xmm3, dword [esi - 8]
sub esi, 0x10
movss xmm1, dword [eax - 4]
sub eax, 8
xorps xmm3, xmm4
subss xmm3, dword [edi]
movss xmm2, dword [esi]
movss xmm0, dword [eax]
xorps xmm2, xmm4
subss xmm2, dword [edi + 8]
add edi, 0x10
mulss xmm0, xmm3
mulss xmm1, xmm2
addss xmm1, xmm0
movss dword [edx + ecx*4], xmm1
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
mulss xmm1, xmm2
mulss xmm0, xmm3
subss xmm1, xmm0
movss dword [edx + ecx*4 + 4], xmm1
add ecx, 2
cmp ecx, dword [ebp - 0xc]
jl 0x414930
mov esi, esp
push dword [ebp - 0xc]
mov edi, dword [ebp - 0x20]
mov ecx, edi
call fcn.00413d30
add esp, 4
mov edx, esi
mov ecx, edi
call fcn.004142b0
mov eax, dword [edi + 8]
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
add eax, edx
add edx, dword [ebp + 8]
cmp dword [ebp - 0x24], ecx
jle 0x414a14
nop dword [eax + eax]
movss xmm1, dword [eax]
sub edx, 4
mulss xmm1, dword [esi]
movss xmm0, dword [eax + 4]
mulss xmm0, dword [esi + 4]
addss xmm1, xmm0
mulss xmm1, dword [edi + 0x10]
mov edi, dword [ebp + 8]
movss dword [edi + ecx*4], xmm1
inc ecx
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
add eax, 8
mulss xmm1, dword [esi]
mov edi, dword [ebp - 0x20]
mulss xmm0, dword [esi + 4]
add esi, 8
subss xmm1, xmm0
mulss xmm1, dword [edi + 0x10]
movss dword [edx], xmm1
cmp ecx, dword [ebp - 0x24]
jl 0x4149c0
lea esp, [ebp - 0x34]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427655
mov esp, ebp
pop ebp
ret