Function at 0x100c50d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x101ae588], 0
push ebx
push esi
push edi
je 0x100c5442
mov eax, dword [0x101a9ab4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100c5442
movss xmm1, dword [0x10120684]
xor ebx, ebx
mulss xmm1, dword [0x100dcbe4]
movss dword [ebp - 8], xmm1
test ecx, ecx
jle 0x100c5442
xor edi, edi
mov dword [ebp - 4], edi
nop word [eax + eax]
mov esi, dword [eax]
add esi, edi
cmp dword [esi + 0x34], 0xfffffffe
jne 0x100c5432
mov ecx, dword [esi]
test ecx, ecx
je 0x100c5432
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 8]
call eax
mov edx, dword [eax + 0x14]
cmp edx, 9
je 0x100c515c
cmp edx, 0x62
je 0x100c515c
cmp edx, 0x86
jne 0x100c51df
cmp byte [0x10122c25], 0
movss xmm5, dword [0x100dcbe4]
movss xmm4, dword [0x100dcbd8]
je 0x100c51ef
mov eax, dword [0x10122cc8]
movss xmm3, dword [0x10122d6c]
movzx ecx, al
mulss xmm3, xmm5
mov word [esi + 0x24], 1
mov byte [esi + 0x26], 0
movd xmm2, ecx
mov ecx, eax
shr ecx, 8
shr eax, 0x10
movzx ecx, cl
movzx eax, al
cvtdq2ps xmm2, xmm2
movd xmm1, ecx
movd xmm0, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm4
mulss xmm1, xmm4
mulss xmm0, xmm4
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm1
movss dword [esi + 0xc], xmm0
movss dword [esi + 0x10], xmm3
mov dword [esi + 0x1c], 0x3f800000
jmp 0x100c51ef
movss xmm4, dword [0x100dcbd8]
movss xmm5, dword [0x100dcbe4]
cmp edx, 0x1d
je 0x100c51fd
cmp edx, 0x6c
jne 0x100c5280
cmp byte [0x10123115], 0
je 0x100c526e
mov eax, dword [0x101231b8]
movss xmm3, dword [0x1012325c]
movzx ecx, al
mulss xmm3, xmm5
mov word [esi + 0x24], 1
mov byte [esi + 0x26], 0
movd xmm2, ecx
mov ecx, eax
shr ecx, 8
shr eax, 0x10
movzx ecx, cl
movzx eax, al
cvtdq2ps xmm2, xmm2
movd xmm1, ecx
movd xmm0, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm4
mulss xmm1, xmm4
mulss xmm0, xmm4
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm1
movss dword [esi + 0xc], xmm0
movss dword [esi + 0x10], xmm3
mov dword [esi + 0x1c], 0x3f800000
cmp edx, 0x1d
je 0x100c532d
cmp edx, 0x6c
je 0x100c532d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100c532d
mov eax, dword [0x10122974]
mov ecx, dword [0x10122978]
cmp eax, ecx
je 0x100c532d
cmp dword [eax], 3
je 0x100c52b5
add eax, 4
cmp eax, ecx
jne 0x100c52a7
jmp 0x100c532d
cmp eax, ecx
je 0x100c532d
mov eax, dword [0x10122a0c]
movss xmm3, dword [0x10122b6c]
movss xmm4, dword [0x100dcbd8]
mulss xmm3, dword [0x100dcbe4]
movzx ecx, al
mov word [esi + 0x24], 1
mov byte [esi + 0x26], 0
mov dword [esi + 0x1c], 0x3f800000
movd xmm2, ecx
mov ecx, eax
shr ecx, 8
shr eax, 0x10
movzx ecx, cl
movzx eax, al
cvtdq2ps xmm2, xmm2
movd xmm1, ecx
movd xmm0, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm4
mulss xmm1, xmm4
mulss xmm0, xmm4
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm1
movss dword [esi + 0xc], xmm0
movss dword [esi + 0x10], xmm3
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100c542d
mov ecx, dword [esi]
test ecx, ecx
je 0x100c542d
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100c542d
mov edi, dword [esi]
mov eax, dword [0x101a9c14]
cmp byte [eax + edi], 0
jne 0x100c542a
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [0x101a9c60]
add edx, 0xffffffd5
xor edx, 0x976fd33a
lea eax, [eax*4 + 0x101abf70]
mov dword [ebp - 0xc], eax
mov eax, dword [0x101ae588]
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x100c53b8
mov ecx, dword [0x101a9b30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jne 0x100c53b8
cmp byte [0x1011f30d], al
jmp 0x100c53bf
cmp byte [0x1012053d], 0
je 0x100c542a
mov eax, dword [0x101205e0]
movss xmm3, dword [0x100dcbd8]
movzx ecx, al
mov word [esi + 0x24], 1
mov byte [esi + 0x26], 0
movd xmm2, ecx
mov ecx, eax
shr ecx, 8
shr eax, 0x10
movzx eax, al
movzx ecx, cl
cvtdq2ps xmm2, xmm2
movd xmm0, eax
mov eax, dword [ebp - 0xc]
cvtdq2ps xmm0, xmm0
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm3
mulss xmm2, xmm3
mulss xmm1, xmm3
movss dword [esi + 0xc], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm1
mulss xmm0, dword [eax]
movss dword [esi + 0x10], xmm0
mov edi, dword [ebp - 4]
mov eax, dword [0x101a9ab4]
inc ebx
add edi, 0x38
mov dword [ebp - 4], edi
cmp ebx, dword [eax + 0xc]
jl 0x100c5120
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret