Function at 0x100ccb10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100e8040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1014b990], 0
push ebx
push esi
push edi
je 0x100cce08
mov eax, dword [0x10161520]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100cce08
movss xmm0, dword [0x101503f8]
mulss xmm0, dword [0x100dde8c]
mov dword [ebp - 0x14], 0
movss dword [ebp - 0x10], xmm0
jle 0x100cce08
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, dword [0x10161520]
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x100ccdec
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100ccc6e
push 0
push dword [0x101500a4]
push dword [0x101500a0]
call fcn.100d0150
cmp eax, dword [0x101500a4]
je 0x100ccdec
mov esi, dword [edi]
mov eax, dword [0x10161644]
cmp byte [eax + esi], 0
jne 0x100ccdec
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [0x1016169c]
add edx, 0xffffffd9
xor edx, 0xa7769c46
lea ebx, [eax*4 + 0x1015d0a0]
mov eax, dword [0x1014b990]
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x100ccbff
mov ecx, dword [0x10161588]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x100ccdec
mov eax, dword [0x10150148]
movss xmm1, dword [0x100dde80]
mov dword [edi + 0x2c], eax
mov al, byte [0x101501bc]
mov byte [edi + 0x26], al
movzx eax, byte [0x10150260]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 4], xmm0
mov eax, dword [0x10150260]
shr eax, 8
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 8], xmm0
movzx eax, byte [0x10150262]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 0xc], xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, dword [ebx]
jmp 0x100ccde1
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0xabe104c9
call fcn.10038dc0
lea ecx, [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100ccc95
mov eax, dword [eax + 0x14]
jmp 0x100ccc98
or eax, 0xffffffff
cmp ebx, eax
je 0x100ccd60
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0xe31dc1b8
call fcn.10038dc0
lea ecx, [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100cccc7
mov eax, dword [eax + 0x14]
jmp 0x100cccca
or eax, 0xffffffff
cmp ebx, eax
je 0x100ccd60
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0xc09c6702
call fcn.10038dc0
lea ecx, [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100cccf9
mov eax, dword [eax + 0x14]
jmp 0x100cccfc
or eax, 0xffffffff
cmp ebx, eax
je 0x100ccd60
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0xa239ea8f
call fcn.10038dc0
lea ecx, [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100ccd27
mov eax, dword [eax + 0x14]
jmp 0x100ccd2a
or eax, 0xffffffff
cmp ebx, eax
je 0x100ccd60
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0x69629121
call fcn.10038dc0
lea ecx, [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100ccd55
mov eax, dword [eax + 0x14]
jmp 0x100ccd58
or eax, 0xffffffff
cmp ebx, eax
jne 0x100ccdec
push 1
push dword [0x101500a4]
push dword [0x101500a0]
call fcn.100d0150
cmp eax, dword [0x101500a4]
je 0x100ccdec
mov eax, dword [0x10150148]
movss xmm1, dword [0x100dde80]
mov dword [edi + 0x2c], eax
mov al, byte [0x101501bc]
mov byte [edi + 0x26], al
movzx eax, byte [0x101502f0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 4], xmm0
mov eax, dword [0x101502f0]
shr eax, 8
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 8], xmm0
movzx eax, byte [0x101502f2]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 0xc], xmm0
movss xmm0, dword [ebp - 0x10]
mov word [edi + 0x24], 1
movss dword [edi + 0x10], xmm0
mov ecx, dword [ebp - 0x14]
mov eax, dword [0x10161520]
inc ecx
add dword [ebp - 0xc], 0x38
mov dword [ebp - 0x14], ecx
cmp ecx, dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
jl 0x100ccb67
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d028c
mov esp, ebp
pop ebp
ret