Function at 0x4b5275
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov eax, dword [esi]
mov edi, dword [esi + 8]
mov edx, eax
mov dword [ebp - 0x34], edi
sar edx, 1
sar eax, 2
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
lea edx, [ecx + edx*4 - 0x1c]
lea ecx, [ebx + eax*4]
mov ebx, dword [ebp - 0x14]
lea eax, [edi + ebx*4]
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, dword [ebp + 0xc]
fsubp st(1)
fstp dword [ecx + 0xc]
jae 0x4b52af
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
lea edx, [eax + edi*4 - 0x20]
mov eax, edi
add eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x14]
lea ecx, [ebx + eax*4]
mov ebx, dword [ebp - 0x34]
lea eax, [ebx + edi*4]
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, dword [ebp + 0xc]
jae 0x4b5330
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
push edi
lea edx, [eax + edi*4]
mov eax, esi
call fcn.004b4727
mov edx, dword [esi]
mov eax, edx
mov ebx, dword [ebp + 0x10]
sar eax, 1
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 8]
pop ecx
lea eax, [ebx + eax*4]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
mov ecx, eax
lea esi, [esi + edx*4]
mov edx, dword [edi]
mov eax, dword [ebp - 0x18]
fld dword [esi]
lea edx, [eax + edx*4]
mov eax, dword [edi + 4]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x18]
fld dword [esi + 4]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x38]
sub ecx, 0x10
fld dword [edx + 4]
fld dword [eax]
fxch st(1)
fstp dword [ebp - 0x20]
fld dword [eax + 4]
fld dword [ebp - 0x20]
fxch st(1)
fst dword [ebp - 0x24]
fsubp st(1)
mov eax, dword [edi + 8]
fld dword [edx]
fld st(0)
fadd st(3)
fxch st(1)
mov edx, dword [ebp - 0x18]
fstp dword [ebp - 0x28]
fld st(1)
fmul st(4)
lea eax, [edx + eax*4]
fld st(1)
fxch st(3)
fmul st(6)
fxch st(5)
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
fmulp st(2)
fld dword [ebp - 0x28]
fxch st(3)
fmulp st(6)
fxch st(1)
lea eax, [edx + eax*4]
fsubrp st(4)
mov edx, dword [ebp - 0x38]
fld dword [ebp - 0x20]
fadd dword [ebp - 0x24]
fxch st(5)
faddp st(1)
fxch st(1)
fsubrp st(2)
fxch st(3)
fmul dword [0x60363c]
fxch st(1)
fmul dword [0x60363c]
fld st(1)
fadd st(4)
fxch st(2)
fsubrp st(4)
fxch st(1)
fstp dword [ebx]
fld st(0)
fadd st(2)
fxch st(2)
fsubrp st(1)
fxch st(2)
fstp dword [ecx + 8]
fstp dword [ebx + 4]
fstp dword [ecx + 0xc]
fld dword [edx + 4]
fstp dword [ebp - 0x2c]
fld dword [eax + 4]
fst dword [ebp - 0x30]
fld dword [edx]
fld dword [ebp - 0x2c]
fld dword [eax]
fxch st(1)
fsubrp st(3)
fld st(1)
fadd st(1)
fld dword [esi + 8]
fld dword [esi + 0xc]
fld st(5)
fmul st(1)
add esi, 0x10
fld st(3)
fxch st(2)
fmulp st(4)
fxch st(6)
fmul st(2)
fxch st(5)
fsubrp st(4)
fmulp st(1)
fxch st(1)
fsubrp st(3)
fld dword [ebp - 0x2c]
fadd dword [ebp - 0x30]
fxch st(1)
faddp st(4)
fxch st(1)
fmul dword [0x60363c]
fxch st(1)
fmul dword [0x60363c]
fld st(0)
fadd st(4)
fxch st(1)
fsubrp st(4)
fstp dword [ebx + 8]
fld st(0)
fadd st(2)
fxch st(2)
fsubrp st(1)
fxch st(2)
fstp dword [ecx]
fstp dword [ebx + 0xc]
add ebx, 0x10
fstp dword [ecx + 4]
cmp ebx, ecx
jb 0x4b53b6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
add eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
lea edx, [ecx + eax*4]
mov ebx, edx
lea eax, [edi + esi*4]
fld dword [eax + 4]
fld dword [eax]
fmul dword [ecx + 4]
fxch st(1)
sub edx, 0x10
fmul dword [ecx]
fsubrp st(1)
fstp dword [edx + 0xc]
fld dword [eax]
fld dword [eax + 4]
fmul dword [ecx + 4]
fxch st(1)
fmul dword [ecx]
faddp st(1)
fchs
fstp dword [ebx]
fld dword [eax + 0xc]
fld dword [eax + 8]
fmul dword [ecx + 0xc]
fxch st(1)
fmul dword [ecx + 8]
fsubrp st(1)
fstp dword [edx + 8]
fld dword [eax + 8]
fld dword [eax + 0xc]
fmul dword [ecx + 0xc]
fxch st(1)
fmul dword [ecx + 8]
faddp st(1)
fchs
fstp dword [ebx + 4]
fld dword [eax + 0x14]
fld dword [eax + 0x10]
fmul dword [ecx + 0x14]
fxch st(1)
fmul dword [ecx + 0x10]
fsubrp st(1)
fstp dword [edx + 4]
fld dword [eax + 0x10]
fld dword [eax + 0x14]
fmul dword [ecx + 0x14]
fxch st(1)
fmul dword [ecx + 0x10]
faddp st(1)
fchs
fstp dword [ebx + 8]
fld dword [eax + 0x1c]
fld dword [eax + 0x18]
fmul dword [ecx + 0x1c]
fxch st(1)
fmul dword [ecx + 0x18]
fsubrp st(1)
fstp dword [edx]
fld dword [eax + 0x18]
fld dword [eax + 0x1c]
fxch st(1)
fmul dword [ecx + 0x18]
fxch st(1)
add eax, 0x20
fmul dword [ecx + 0x1c]
add ecx, 0x20
faddp st(1)
fchs
fstp dword [ebx + 0xc]
add ebx, 0x10
cmp ecx, edx
jb 0x4b54fa
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
add eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x14]
lea ecx, [edx + eax*4]
lea edx, [edx + ebx*4]
mov ebx, edx
sub ecx, 0x10
sub edx, 0x10
mov eax, dword [ecx + 0xc]
mov dword [edx + 0xc], eax
xor eax, 0x80000000
mov dword [ebx], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
xor eax, 0x80000000
mov dword [ebx + 4], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
xor eax, 0x80000000
mov dword [ebx + 8], eax
mov eax, dword [ecx]
mov dword [edx], eax
xor eax, 0x80000000
mov dword [ebx + 0xc], eax
add ebx, 0x10
cmp ebx, ecx
jb 0x4b55be
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 0x10]
add eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
lea ebx, [esi + edi*4]
lea ecx, [esi + eax*4]
mov edx, ecx
sub edx, 0x10
mov eax, dword [ecx + 0xc]
mov dword [edx], eax
mov eax, dword [ecx + 8]
mov dword [edx + 4], eax
mov eax, dword [ecx + 4]
mov dword [edx + 8], eax
mov eax, dword [ecx]
add ecx, 0x10
mov dword [edx + 0xc], eax
cmp edx, ebx
ja 0x4b5614
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret