Function at 0x45d7c5
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 - 0xc], edx
mov ecx, dword [ebx + 0x14]
push esi
mov dword [ebp - 0x1c], eax
mov esi, dword [eax]
sar esi, cl
push edi
mov eax, esi
mov edi, esi
sar eax, 2
mov dword [ebp - 0x14], eax
sar edi, 1
mov eax, edi
shl eax, 2
mov dword [ebp - 8], eax
call fcn.004ee0f0
movss xmm4, dword [0x55d520]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 0xc]
cvtsi2ss xmm0, esi
sar eax, 1
mov dword [ebp - 0x18], esp
lea esi, [ecx + eax*4]
add eax, edi
divss xmm4, xmm0
sub ecx, 4
lea edx, [ecx + eax*4]
mov ecx, esp
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x10]
sar eax, 2
mov dword [ebp - 0x28], eax
movss dword [ebp - 0x34], xmm4
test eax, eax
jle 0x45d8c8
mov eax, edx
sub eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0xc]
mov edi, eax
sub eax, dword [ebp - 8]
sub edi, dword [ebp - 0xc]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 8]
movss xmm0, dword [edx]
movss xmm1, dword [edi + esi]
mov edi, dword [ebp - 0x10]
mulss xmm1, dword [edi + edx]
mov edi, dword [ebp - 0x30]
mulss xmm0, dword [edi + esi]
addss xmm1, xmm0
movss dword [ecx], xmm1
movss xmm1, dword [esi]
mulss xmm1, dword [edi + esi]
add esi, 8
mov edi, dword [ebp - 0x10]
movss xmm0, dword [edi + edx]
sub edx, 8
mulss xmm0, dword [eax]
sub eax, 8
subss xmm1, xmm0
movss dword [ecx + 4], xmm1
add ecx, 8
sub dword [ebp - 0x24], 1
jne 0x45d871
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jge 0x45d900
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
fld dword [edx]
sub edx, 8
fstp dword [ecx]
fld dword [esi]
add esi, 8
fstp dword [ecx + 4]
add ecx, 8
sub dword [ebp - 0x28], 1
jne 0x45d8e8
cmp dword [ebp - 4], edi
jge 0x45d98a
mov eax, dword [ebx + 0x10]
mov edi, esi
sub edi, dword [ebp - 8]
sub esi, dword [ebx + 0xc]
shl eax, 2
mov dword [ebp - 0x10], edi
sub eax, edx
mov edi, dword [ebx + 0xc]
add edi, 0xfffffffc
add eax, edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xc]
movss xmm1, dword [edx]
mov edi, dword [ebp - 0x28]
mulss xmm1, dword [edi + edx]
mov edi, dword [ebp - 0x10]
add dword [ebp - 0x10], 8
movss xmm0, dword [edi]
mulss xmm0, dword [eax]
mov edi, dword [ebp - 0x28]
subss xmm1, xmm0
movss dword [ecx], xmm1
movss xmm1, dword [eax + esi]
mulss xmm1, dword [edi + edx]
mov edi, dword [ebp - 8]
movss xmm0, dword [edi + edx]
sub edx, 8
mulss xmm0, dword [eax]
add eax, 8
addss xmm1, xmm0
movss dword [ecx + 4], xmm1
add ecx, 8
sub dword [ebp - 0x24], 1
jne 0x45d933
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
test edi, edi
jle 0x45da17
mov dword [ebp - 0x14], edi
mov esi, esp
mov ecx, dword [ebx + 0x14]
lea edx, [esi + 4]
shl eax, cl
mov ecx, dword [ebp - 0x28]
movss xmm1, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
movaps xmm2, xmm1
mov ecx, dword [ebx + 0x14]
mulss xmm2, dword [esi]
shl eax, cl
mov ecx, dword [ebp - 0x28]
mulss xmm1, dword [edx]
xorps xmm2, xmmword [0x55d730]
movss xmm3, dword [ecx + eax*4]
movaps xmm0, xmm3
mov eax, dword [ebp - 0x24]
mulss xmm3, dword [esi]
mulss xmm0, dword [edx]
subss xmm3, xmm1
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm4
addss xmm0, xmm2
mulss xmm2, xmm4
subss xmm3, xmm2
movss dword [esi], xmm0
mov esi, edx
movss dword [esi], xmm3
add esi, 4
inc eax
dec dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
cmp eax, edi
jl 0x45d9a1
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x14]
push dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov ecx, dword [esi + eax*4 + 8]
call fcn.0045c66d
mov esi, dword [ebp - 8]
mov eax, dword [ebx + 0x18]
add esi, 0xfffffffc
imul esi, eax
pop ecx
mov ecx, dword [ebp - 0x1c]
add esi, dword [ebx + 8]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x28], ecx
test edi, edi
jle 0x45dadf
movss xmm4, dword [ebp - 0x34]
shl eax, 3
mov dword [ebp - 0x30], eax
mov eax, edi
mov dword [ebp - 0x24], eax
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebp - 0x20]
shl eax, cl
shl edx, cl
mov ecx, dword [ebp - 0x28]
movss xmm1, dword [ecx + edx*4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
movss xmm3, dword [ecx]
movss xmm0, dword [ecx + 4]
movaps xmm2, xmm3
mulss xmm3, dword [edx + eax*4]
mulss xmm0, dword [edx + eax*4]
mov eax, dword [ebx + 8]
mulss xmm2, xmm1
mulss xmm1, dword [ecx + 4]
add ecx, 8
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x20]
addss xmm2, xmm0
subss xmm3, xmm1
movaps xmm0, xmm2
mulss xmm2, xmm4
movaps xmm1, xmm3
mulss xmm1, xmm4
addss xmm2, xmm3
subss xmm0, xmm1
movss dword [eax], xmm0
add eax, dword [ebp - 0x30]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x24]
movss dword [esi], xmm2
sub esi, dword [ebp - 0x30]
inc ecx
dec eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
cmp ecx, edi
jl 0x45da5a
lea esp, [ebp - 0x40]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret