Function at 0x55d9f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
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]
mov dword [ebp - 8], eax
push esi
mov edx, dword [eax]
sar edx, cl
mov eax, edx
mov dword [ebp - 0x2c], edx
push edi
sar eax, 1
mov edi, edx
mov dword [ebp - 0x28], eax
shl eax, 2
sar edi, 2
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], eax
call fcn.00584260
mov eax, dword [ebp - 0x1c]
mov esi, esp
mov dword [ebp - 0x24], esi
call fcn.00584260
cvtsi2ss xmm0, dword [ebp - 0x2c]
mov edx, esp
mov eax, dword [ebp - 0x28]
dec eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], 0
movss xmm7, dword [0x5f4610]
imul eax, dword [ebx + 0x18]
movss xmm6, dword [0x5f4820]
divss xmm7, xmm0
lea eax, [ecx + eax*4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebx + 0x14]
movss dword [ebp - 0x30], xmm7
test edi, edi
jle 0x55db25
mov esi, edi
mov edi, dword [ebp - 0x34]
mov eax, esi
shl eax, cl
dec esi
movss xmm2, dword [edi + eax*4]
mov eax, dword [ebp - 0xc]
movss xmm3, dword [eax]
mov eax, dword [ebp - 0x10]
movaps xmm4, xmm3
shl eax, cl
mulss xmm4, xmm2
movss xmm1, dword [edi + eax*4]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebx + 0x18]
movss xmm5, dword [eax]
movaps xmm0, xmm5
lea eax, [edi*8]
add dword [ebp - 0xc], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mulss xmm0, xmm1
inc eax
mov edi, dword [ebp - 4]
mulss xmm5, xmm2
mov dword [ebp - 0x10], eax
mulss xmm1, xmm3
subss xmm4, xmm0
xorps xmm5, xmm6
subss xmm5, xmm1
movaps xmm0, xmm4
mulss xmm4, xmm7
movaps xmm1, xmm5
addss xmm4, xmm5
mulss xmm1, xmm7
subss xmm0, xmm1
movss dword [edx], xmm0
movss dword [edx + 4], xmm4
add edx, 8
cmp eax, edi
jl 0x55da95
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax + ecx*4 + 8]
push esi
call fcn.00565d00
mov eax, dword [ebp - 8]
add esp, 4
mov dword [ebp - 0x34], esi
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x20], eax
test edi, edi
jle 0x55dbbf
movss xmm6, dword [ebp - 0x30]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x10]
shl eax, cl
movss xmm5, dword [edi + eax*4]
mov eax, dword [ebp - 0x14]
movaps xmm3, xmm5
mulss xmm3, dword [esi]
shl eax, cl
mulss xmm5, dword [esi + 4]
dec dword [ebp - 0x14]
movss xmm1, dword [edi + eax*4]
mov eax, dword [ebp - 0x20]
movaps xmm0, xmm1
mulss xmm1, dword [esi]
inc eax
mov edi, dword [ebp - 4]
mulss xmm0, dword [esi + 4]
mov dword [ebp - 0x20], eax
addss xmm5, xmm1
subss xmm3, xmm0
movaps xmm1, xmm5
mulss xmm1, xmm6
movaps xmm0, xmm3
mulss xmm3, xmm6
subss xmm0, xmm1
addss xmm3, xmm5
movss dword [esi], xmm0
movss dword [esi + 4], xmm3
add esi, 8
cmp eax, edi
jl 0x55db55
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 0x18]
add ecx, 0xfffffffc
movss xmm1, dword [0x5f4820]
add ecx, esi
mov dword [ebp - 0x14], edx
cmp edi, 4
jl 0x55dc4a
lea edx, [edi - 4]
shr edx, 2
inc edx
lea edi, [edx*4]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 4]
movss xmm0, dword [esi]
xorps xmm0, xmm1
movss dword [eax], xmm0
fld dword [ecx]
fstp dword [eax + 4]
movss xmm0, dword [esi + 8]
xorps xmm0, xmm1
movss dword [eax + 8], xmm0
fld dword [ecx - 8]
fstp dword [eax + 0xc]
movss xmm0, dword [esi + 0x10]
xorps xmm0, xmm1
movss dword [eax + 0x10], xmm0
fld dword [ecx - 0x10]
fstp dword [eax + 0x14]
movss xmm0, dword [esi + 0x18]
add esi, 0x20
xorps xmm0, xmm1
movss dword [eax + 0x18], xmm0
fld dword [ecx - 0x18]
sub ecx, 0x20
fstp dword [eax + 0x1c]
add eax, 0x20
sub edx, 1
jne 0x55dbf0
mov edx, dword [ebp - 0x14]
cmp edx, edi
jge 0x55dc71
mov edx, edi
sub edx, dword [ebp - 0x14]
movss xmm0, dword [esi]
lea esi, [esi + 8]
xorps xmm0, xmm1
movss dword [eax], xmm0
fld dword [ecx]
sub ecx, 8
fstp dword [eax + 4]
add eax, 8
sub edx, 1
jne 0x55dc53
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 8]
sub edx, ecx
mov esi, dword [ebp - 0x1c]
sar edx, 1
neg edx
mov dword [ebp - 8], 0
lea edx, [eax + edx*4]
mov eax, dword [ebp - 0x18]
add esi, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x18], esi
lea eax, [eax + edi*4]
mov dword [ebp - 0x34], eax
lea edi, [esi - 4]
add eax, 0xfffffffc
mov dword [ebp - 0x10], eax
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 4]
sar eax, 1
mov dword [ebp - 0x24], eax
mov eax, edx
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xc]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0xc]
add eax, 0xfffffffc
mov dword [ebp - 0x20], eax
cmp ecx, 4
jl 0x55dd07
lea eax, [ecx - 4]
shr eax, 2
inc eax
mov dword [ebp - 0x28], eax
shl eax, 2
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
fld dword [eax]
fstp dword [edi]
fld dword [eax - 4]
fstp dword [edi - 4]
fld dword [eax - 8]
fstp dword [edi - 8]
fld dword [eax - 0xc]
sub eax, 0x10
fstp dword [edi - 0xc]
sub edi, 0x10
sub dword [ebp - 0x28], 1
jne 0x55dce3
jmp 0x55dd0a
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 8], ecx
jge 0x55dd30
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
sub dword [ebp - 0x1c], edx
mov edx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x1c]
fld dword [eax]
sub eax, 4
fstp dword [edi]
sub edi, 4
sub ecx, 1
jne 0x55dd21
cmp dword [ebp - 8], edx
jge 0x55dd9c
mov edx, dword [ebp - 0xc]
sub eax, edi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
lea ecx, [eax + edx*4]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
sub edx, edi
mov dword [ebp - 0x1c], edx
sub esi, ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
sub dword [ebp - 0x14], edx
mov edx, esi
movss xmm2, dword [eax + edi]
movss xmm0, dword [ecx]
movaps xmm1, xmm2
mulss xmm1, dword [edx + ecx]
mov esi, dword [ebp - 0x1c]
subss xmm0, xmm1
movss dword [ecx], xmm0
add ecx, 4
mulss xmm2, dword [esi + edi]
mov esi, dword [ebp - 0x18]
addss xmm2, dword [edi]
movss dword [edi], xmm2
sub edi, 4
sub dword [ebp - 0x14], 1
jne 0x55dd61
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
sub eax, edx
add eax, dword [ebp - 0x2c]
sub ecx, 4
lea edi, [ecx + eax*4]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov dword [ebp - 0x30], edi
cmp eax, 4
jl 0x55ddf3
lea edi, [eax - 4]
mov eax, dword [ebp - 0x34]
shr edi, 2
inc edi
lea ecx, [edi*4]
jmp 0x55ddd0
fld dword [eax]
fstp dword [esi]
fld dword [eax + 4]
fstp dword [esi + 4]
fld dword [eax + 8]
fstp dword [esi + 8]
fld dword [eax + 0xc]
add eax, 0x10
fstp dword [esi + 0xc]
add esi, 0x10
sub edi, 1
jne 0x55ddd0
jmp 0x55ddf6
mov eax, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0xc]
jge 0x55de10
jmp 0x55de00
fld dword [eax]
inc ecx
fstp dword [esi]
add esi, 4
add eax, 4
cmp ecx, dword [ebp - 0xc]
jl 0x55de00
cmp ecx, edx
jge 0x55de53
sub dword [ebx + 0xc], esi
sub eax, esi
mov edi, dword [ebp - 0x30]
sub edx, ecx
mov edi, edi
movss xmm1, dword [esi + eax]
lea edi, [edi - 4]
mov ecx, dword [ebx + 0xc]
lea esi, [esi + 4]
movaps xmm0, xmm1
mulss xmm0, dword [esi + ecx - 4]
mov ecx, dword [ebp - 0x20]
movss dword [edi + 4], xmm0
mulss xmm1, dword [ecx]
sub ecx, 4
mov dword [ebp - 0x20], ecx
movss dword [esi - 4], xmm1
sub edx, 1
jne 0x55de20
lea esp, [ebp - 0x40]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret