Function at 0x45daeb
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
mov eax, ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x10], eax
push esi
mov eax, dword [eax]
sar eax, cl
push edi
mov edi, eax
mov dword [ebp - 0x24], eax
mov esi, eax
sar edi, 1
mov eax, edi
sar esi, 2
shl eax, 2
mov dword [ebp - 0x38], edi
mov dword [ebp - 8], esi
mov dword [ebp - 0x1c], eax
call fcn.004ee0f0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], esp
call fcn.004ee0f0
cvtsi2ss xmm0, dword [ebp - 0x24]
lea eax, [edi - 1]
mov ecx, dword [ebx + 0x18]
mov edx, esp
mov edi, dword [ebp - 4]
mov dword [ebp - 0x18], edx
movss xmm4, dword [0x55d520]
divss xmm4, xmm0
imul eax, ecx
movss dword [ebp - 0x34], xmm4
lea eax, [edi + eax*4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x2c], edi
xor edi, edi
mov dword [ebp - 0xc], edi
test esi, esi
jle 0x45dc15
shl ecx, 3
mov edx, esi
mov dword [ebp - 0x30], ecx
mov edi, esp
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebp - 0x2c]
mov eax, edx
shl eax, cl
movss xmm3, dword [esi + eax*4]
mov eax, dword [ebp - 0xc]
movaps xmm2, xmm3
shl eax, cl
movss xmm1, dword [esi + eax*4]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
movss xmm0, dword [esi]
mulss xmm3, dword [esi]
mulss xmm2, dword [eax]
xorps xmm3, xmmword [0x55d730]
mulss xmm0, xmm1
mulss xmm1, dword [eax]
mov eax, dword [ebp - 0x30]
sub esi, eax
add dword [ebp - 4], eax
subss xmm2, xmm0
mov eax, dword [ebp - 0xc]
subss xmm3, xmm1
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 8]
movaps xmm0, xmm2
mulss xmm2, xmm4
movaps xmm1, xmm3
mulss xmm1, xmm4
addss xmm2, xmm3
subss xmm0, xmm1
movss dword [edi], xmm0
movss dword [edi + 4], xmm2
add edi, 8
inc eax
dec edx
mov dword [ebp - 0xc], eax
cmp eax, esi
jl 0x45db8e
mov eax, dword [ebp - 0x10]
xor edi, edi
mov edx, esp
jmp 0x45dc18
mov ecx, dword [ebx + 0x14]
push dword [ebp - 0x14]
mov ecx, dword [eax + ecx*4 + 8]
call fcn.0045c7b3
mov eax, dword [ebp - 0x10]
pop ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, edi
mov dword [ebp - 0x20], eax
test esi, esi
jle 0x45dcb3
movss xmm4, dword [ebp - 0x34]
mov edi, ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x2c]
lea edx, [edi + 4]
shl eax, cl
movss xmm1, dword [esi + eax*4]
mov eax, dword [ebp - 0x10]
movaps xmm2, xmm1
mulss xmm1, dword [edx]
shl eax, cl
mulss xmm2, dword [edi]
movss xmm3, dword [esi + eax*4]
movaps xmm0, xmm3
mov eax, dword [ebp - 0x20]
mulss xmm3, dword [edi]
mov esi, dword [ebp - 8]
mulss xmm0, dword [edx]
addss xmm3, xmm1
subss xmm2, xmm0
movaps xmm1, xmm3
mulss xmm1, xmm4
movaps xmm0, xmm2
mulss xmm2, xmm4
subss xmm0, xmm1
addss xmm2, xmm3
movss dword [edi], xmm0
mov edi, edx
movss dword [edi], xmm2
add edi, 4
inc eax
dec dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
cmp eax, esi
jl 0x45dc47
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add edx, 0xfffffffc
add edx, ecx
test esi, esi
jle 0x45dce6
mov edi, esi
movss xmm0, dword [ecx]
lea ecx, [ecx + 8]
xorps xmm0, xmmword [0x55d730]
movss dword [eax], xmm0
fld dword [edx]
sub edx, 8
fstp dword [eax + 4]
add eax, 8
sub edi, 1
jne 0x45dcc4
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebx + 8]
sub eax, ecx
mov edi, dword [ebp - 0x1c]
sar eax, 1
imul eax, eax, 0xfffffffc
add edx, eax
mov eax, dword [ebp - 0x18]
add edi, edx
mov dword [ebx + 8], edx
mov dword [ebp - 0x30], edi
lea eax, [eax + esi*4]
mov dword [ebp - 0xc], eax
add eax, 0xfffffffc
mov dword [ebp - 4], eax
mov eax, ecx
cdq
sub eax, edx
mov edx, eax
mov eax, esi
mov esi, dword [ebx + 8]
sar edx, 1
sub eax, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x2c], eax
lea edx, [esi + eax*4]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov edx, dword [ebx + 0xc]
sub edx, 4
lea ecx, [edx + ecx*4]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
test eax, eax
jle 0x45dd6c
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [edi - 4]
fld dword [ecx]
sub ecx, 4
fstp dword [eax]
sub eax, 4
sub dword [ebp - 0x20], 1
jne 0x45dd55
mov dword [ebp - 4], ecx
xor ecx, ecx
jmp 0x45dd6f
lea eax, [edi - 4]
cmp dword [ebp - 0x1c], esi
jge 0x45dddc
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebp - 0x14]
sub dword [ebp - 4], eax
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x18]
sub ecx, eax
sub esi, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x38]
movss xmm2, dword [ecx + eax]
movss xmm1, dword [esi + edi]
movss xmm0, dword [edi]
mov edx, dword [ebp - 0x34]
mulss xmm1, xmm2
subss xmm0, xmm1
movss dword [edi], xmm0
add edi, 4
movss xmm0, dword [edx + eax]
mov edx, dword [ebp - 0x10]
mulss xmm0, xmm2
addss xmm0, dword [eax]
movss dword [eax], xmm0
sub eax, 4
sub dword [ebp - 0x20], 1
jne 0x45dd97
mov esi, dword [ebp - 8]
xor ecx, ecx
mov edi, dword [ebp - 0x30]
mov eax, dword [ebx + 8]
sub edx, esi
add edx, dword [ebp - 0x24]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x2c]
add eax, 0xfffffffc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
test edx, edx
jle 0x45de06
fld dword [eax]
add eax, 4
fstp dword [edi]
add edi, 4
inc ecx
cmp ecx, edx
jl 0x45ddf7
cmp ecx, esi
jge 0x45de4a
mov edx, dword [ebx + 0xc]
sub eax, edi
sub edx, edi
sub esi, ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebx + 0xc], edx
movss xmm1, dword [edi + eax]
movss xmm0, dword [edi + edx]
mov edx, dword [ebp - 0x18]
mulss xmm0, xmm1
movss dword [ecx], xmm0
lea ecx, [ecx - 4]
mulss xmm1, dword [edx]
sub edx, 4
mov dword [ebp - 0x18], edx
mov edx, dword [ebx + 0xc]
movss dword [edi], xmm1
lea edi, [edi + 4]
sub esi, 1
jne 0x45de19
lea esp, [ebp - 0x40]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret