Function at 0x6cc49270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov eax, 1
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
add esp, 0xffffff80
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x6cc4951d
mov eax, dword [ebp + 8]
mov ebx, 0x13c
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov dword [esp], eax
call fcn.6cc65fd0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x6cc492bd
mov eax, dword [eax]
movzx eax, byte [eax + 0xb]
lea eax, [eax + eax*2]
lea ebx, [eax*4 + 0x13c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp], ebx
call dword [eax + 0x68]
lea ecx, [ebx - 1]
mov dword [eax + ebx - 4], 0
mov edi, eax
shr ecx, 2
xor eax, eax
mov dword [esp + 0x1c], edi
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x6cc492fe
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x1c]
movzx edx, word [ebx + 0xa]
lea ecx, [edi + 4]
call fcn.6cc45780
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x6cc4935f
movss xmm1, dword [eax + 8]
xor ecx, ecx
movss xmm0, dword [eax + 4]
movaps xmm2, xmm1
mov esi, dword [esp + 0x1c]
subss xmm2, xmm0
cvttss2si edx, xmm2
mov word [esi + 0x110], cx
mov byte [esi + 0x112], dl
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x18]
cmp byte [edx], 3
je 0x6cc49342
pxor xmm1, xmm1
movaps xmm0, xmm1
mov ebx, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
movss dword [ebx + 0x118], xmm1
movss dword [ebx + 0x114], xmm0
mov dword [ebx + 0x11c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x6cc49500
mov edx, dword [eax]
mov esi, dword [esp + 0x1c]
movzx ecx, word [edx + 2]
mov word [esi + 0x120], cx
movzx ecx, byte [edx + 0xa]
mov byte [esi + 0x122], cl
movzx ecx, word [edx + 8]
movss xmm0, dword [edx + 4]
movss dword [esi + 0x128], xmm0
mov word [esi + 0x124], cx
movzx edx, byte [edx + 0xb]
mov word [esi + 0x12c], dx
test dx, dx
je 0x6cc49500
lea ebx, [esi + 0x130]
xor esi, esi
jmp 0x6cc493c6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 4]
lea edx, [esi + esi*4]
mov ecx, edx
shl ecx, 4
mov dword [esp + 0x18], ecx
mov edi, dword [eax + ecx + 0x20]
test edi, edi
je 0x6cc494e7
mov eax, dword [edi]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov dword [esp], eax
call fcn.6cc65fd0
mov eax, dword [edi]
test eax, eax
je 0x6cc49405
movzx edx, word [edi + 8]
lea ecx, [esp + 0x28]
call fcn.6cc458b0
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp + 0x7c], 0
mov eax, dword [eax + 0x60]
mov dword [esp], eax
call fcn.6cc65ff0
mov eax, dword [esp + 0x6c]
pxor xmm0, xmm0
pxor xmm1, xmm1
pxor xmm2, xmm2
mov edi, dword [esp + 0x18]
movzx edx, ax
shr eax, 0x10
cvtsi2ss xmm0, eax
mov eax, dword [esp + 0x68]
mulss xmm0, dword [0x6cc6d3e0]
cvtsi2ss xmm1, edx
shr eax, 5
mov edx, eax
addss xmm0, xmm1
movzx eax, ax
pxor xmm1, xmm1
and edx, 0x3ffff
cvtsi2ss xmm2, eax
mov eax, 1
shr edx, 0x10
mov word [ebx + 4], ax
movzx eax, byte [esp + 0x68]
cvtsi2ss xmm1, edx
xor edx, edx
mulss xmm1, dword [0x6cc6d3e0]
mov word [ebx + 8], dx
shr al, 2
and eax, 7
addss xmm1, xmm2
mov byte [ebx + 6], al
mov eax, dword [ebp + 8]
movss xmm2, dword [0x6cc6d3e8]
divss xmm0, xmm1
shufps xmm2, xmm2, 0
pxor xmm1, xmm1
movaps xmm3, xmm2
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 4]
mov eax, dword [eax + edi + 0x48]
divss xmm0, dword [0x6cc6d3e4]
movss xmm1, xmm0
movaps xmm0, xmm2
cmpleps xmm3, xmm1
andps xmm0, xmm3
subps xmm1, xmm0
pslld xmm3, 0x1f
cvttps2dq xmm1, xmm1
pxor xmm1, xmm3
movd dword [ebx], xmm1
movzx eax, byte [eax + 9]
mov byte [ebx + 0xa], al
mov eax, dword [esp + 0x1c]
add esi, 1
add ebx, 0xc
movzx eax, word [eax + 0x12c]
cmp esi, eax
jb 0x6cc493c0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov dword [esp], eax
call fcn.6cc65ff0
mov eax, dword [ebp + 0xc]
mov ebx, dword [esp + 0x1c]
mov dword [eax], ebx
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret