Function at 0x4efee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, eax
mov edi, dword [edi + 8]
sar ecx, 1
mov dword [ebp - 0x30], edi
sar eax, 2
mov dword [ebp - 0x10], ecx
lea edx, [ebx + ecx*4 - 0x1c]
add ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], ecx
lea eax, [edi + eax*4]
lea ecx, [esi + ecx*4]
lea esi, [esi]
fld dword [edx + 8]
fld dword [eax + 8]
fxch st(1)
fchs
fxch st(1)
fmul dword [edx]
fxch st(1)
sub ecx, 0x10
fmul dword [eax + 0xc]
fsubrp st(1)
fstp dword [ecx]
fld dword [eax + 0xc]
fld dword [eax + 8]
fmul dword [edx + 8]
fxch st(1)
fmul dword [edx]
fsubrp st(1)
fstp dword [ecx + 4]
fld dword [edx + 0x18]
fld dword [eax]
fxch st(1)
fchs
fxch st(1)
fmul dword [edx + 0x10]
fxch st(1)
fmul dword [eax + 4]
fsubrp st(1)
fstp dword [ecx + 8]
fld dword [eax + 4]
fld dword [eax]
fxch st(1)
fmul dword [edx + 0x10]
fxch st(1)
add eax, 0x10
fmul dword [edx + 0x18]
sub edx, 0x20
cmp edx, ebx
fsubp st(1)
fstp dword [ecx + 0xc]
jae 0x4eff20
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
lea ecx, [edi + esi*4]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x30]
lea edx, [ebx + eax*4 - 0x20]
lea eax, [edi + esi*4]
nop
lea esi, [esi]
sub eax, 0x10
fld dword [eax + 0xc]
fld dword [eax + 8]
fmul dword [edx + 0x18]
fxch st(1)
fmul dword [edx + 0x10]
faddp st(1)
fstp dword [ecx]
fld dword [eax + 8]
fld dword [eax + 0xc]
fmul dword [edx + 0x18]
fxch st(1)
fmul dword [edx + 0x10]
fsubrp st(1)
fstp dword [ecx + 4]
fld dword [eax + 4]
fld dword [eax]
fmul dword [edx + 8]
fxch st(1)
fmul dword [edx]
faddp st(1)
fstp dword [ecx + 8]
fld dword [eax]
fld dword [eax + 4]
fxch st(1)
fmul dword [edx]
fxch st(1)
fmul dword [edx + 8]
sub edx, 0x20
fsubp st(1)
fstp dword [ecx + 0xc]
add ecx, 0x10
cmp edx, ebx
jae 0x4effa0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
push eax
lea edx, [ecx + eax*4]
mov eax, dword [ebp + 8]
call fcn.004ef410
mov ebx, dword [ebp + 8]
mov edx, dword [ebx]
pop eax
mov esi, dword [ebp + 8]
mov eax, edx
sar eax, 1
mov edi, dword [ebx + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, dword [esi + 8]
mov dword [ebp - 0x30], esi
lea eax, [ebx + eax*4]
lea esi, [esi + edx*4]
mov dword [ebp - 0x18], eax
mov ecx, eax
lea esi, [esi]
mov edx, dword [edi]
mov eax, dword [ebp - 0x18]
fld dword [esi + 4]
lea edx, [eax + edx*4]
mov eax, dword [edi + 4]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x18]
fld dword [esi]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x38]
fld st(0)
fld dword [edx + 4]
fld dword [eax]
fxch st(1)
fstp dword [ebp - 0x1c]
fld dword [eax + 4]
fld dword [ebp - 0x1c]
fsub st(1)
fxch st(1)
mov eax, dword [edi + 8]
fstp dword [ebp - 0x20]
fld dword [edx]
fld st(0)
fadd st(3)
fxch st(1)
mov edx, dword [ebp - 0x18]
fstp dword [ebp - 0x24]
fld st(5)
fmul st(2)
fxch st(5)
lea eax, [edx + eax*4]
sub ecx, 0x10
mov dword [ebp - 0x38], eax
fmulp st(2)
mov eax, dword [edi + 0xc]
fld dword [ebp - 0x1c]
fadd dword [ebp - 0x20]
fxch st(4)
lea eax, [edx + eax*4]
fmul st(1)
fxch st(4)
mov edx, dword [ebp - 0x38]
add edi, 0x10
fmul dword [0x768e30]
fxch st(4)
faddp st(5)
fmulp st(5)
fld dword [ebp - 0x24]
fsubrp st(2)
fld st(2)
fadd st(4)
fxch st(2)
fmul dword [0x768e30]
fxch st(5)
fsubrp st(1)
fxch st(2)
fsubrp st(3)
fstp dword [ebx]
fld st(2)
fadd st(1)
fxch st(1)
fsubrp st(3)
fxch st(1)
fstp dword [ecx + 8]
fstp dword [ebx + 4]
fstp dword [ecx + 0xc]
fld dword [edx + 4]
fstp dword [ebp - 0x28]
fld dword [eax + 4]
fst dword [ebp - 0x2c]
fld dword [ebp - 0x28]
fld dword [edx]
fxch st(1)
fsubrp st(2)
fld dword [esi + 0xc]
fld dword [eax]
fld st(2)
fld dword [esi + 8]
fxch st(1)
fadd st(2)
add esi, 0x10
fld st(3)
fmul st(6)
fld st(2)
fmulp st(7)
fld dword [ebp - 0x28]
fadd dword [ebp - 0x2c]
fxch st(3)
fmul st(2)
fxch st(3)
fmul dword [0x768e30]
fxch st(3)
faddp st(1)
fxch st(4)
fmulp st(1)
fxch st(4)
fsubrp st(2)
fld st(0)
fadd st(3)
fxch st(2)
fmul dword [0x768e30]
fxch st(4)
fsubrp st(5)
fsubrp st(2)
fstp dword [ebx + 8]
fld st(1)
fadd st(3)
fxch st(3)
fsubrp st(2)
fstp dword [ecx]
fxch st(1)
fstp dword [ebx + 0xc]
add ebx, 0x10
fstp dword [ecx + 4]
cmp ebx, ecx
jb 0x4f0030
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x30]
lea ecx, [edx + eax*4]
mov ebx, ecx
lea eax, [edi + esi*4]
nop
lea esi, [esi]
fld dword [eax + 4]
fld dword [eax]
fmul dword [edx + 4]
fxch st(1)
sub ecx, 0x10
fmul dword [edx]
fsubrp st(1)
fstp dword [ecx + 0xc]
fld dword [eax]
fld dword [eax + 4]
fmul dword [edx + 4]
fxch st(1)
fmul dword [edx]
faddp st(1)
fchs
fstp dword [ebx]
fld dword [eax + 0xc]
fld dword [eax + 8]
fmul dword [edx + 0xc]
fxch st(1)
fmul dword [edx + 8]
fsubrp st(1)
fstp dword [ecx + 8]
fld dword [eax + 8]
fld dword [eax + 0xc]
fmul dword [edx + 0xc]
fxch st(1)
fmul dword [edx + 8]
faddp st(1)
fchs
fstp dword [ebx + 4]
fld dword [eax + 0x14]
fld dword [eax + 0x10]
fmul dword [edx + 0x14]
fxch st(1)
fmul dword [edx + 0x10]
fsubrp st(1)
fstp dword [ecx + 4]
fld dword [eax + 0x10]
fld dword [eax + 0x14]
fmul dword [edx + 0x14]
fxch st(1)
fmul dword [edx + 0x10]
faddp st(1)
fchs
fstp dword [ebx + 8]
fld dword [eax + 0x1c]
fld dword [eax + 0x18]
fmul dword [edx + 0x1c]
fxch st(1)
fmul dword [edx + 0x18]
fsubrp st(1)
fstp dword [ecx]
fld dword [eax + 0x18]
fld dword [eax + 0x1c]
fxch st(1)
fmul dword [edx + 0x18]
fxch st(1)
add eax, 0x20
fmul dword [edx + 0x1c]
add edx, 0x20
faddp st(1)
fchs
fstp dword [ebx + 0xc]
add ebx, 0x10
cmp edx, ecx
jb 0x4f0170
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
lea edx, [ecx + eax*4]
lea ecx, [ecx + ebx*4]
mov ebx, ecx
sub edx, 0x10
sub ecx, 0x10
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
xor eax, 0x80000000
mov dword [ebx], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
xor eax, 0x80000000
mov dword [ebx + 4], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
xor eax, 0x80000000
mov dword [ebx + 8], eax
mov eax, dword [edx]
mov dword [ecx], eax
xor eax, 0x80000000
mov dword [ebx + 0xc], eax
add ebx, 0x10
cmp ebx, edx
jb 0x4f0231
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
lea edx, [edi + esi*4]
mov ecx, edx
lea ebx, [edi + eax*4]
sub ecx, 0x10
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
mov eax, dword [edx + 8]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
mov dword [ecx + 8], eax
mov eax, dword [edx]
add edx, 0x10
mov dword [ecx + 0xc], eax
cmp ecx, ebx
ja 0x4f0284
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret