Function at 0x1009c0e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x100edf40], 0
push ebx
push esi
push edi
je 0x1009c3e9
mov ecx, dword [0x100e7f3c]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x1009c3e9
movzx eax, byte [0x100c2bf7]
xor ebx, ebx
mov dword [ebp - 8], ebx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100b4290]
movss dword [ebp - 0xc], xmm0
test edx, edx
jle 0x1009c3e9
xor edx, edx
mov dword [ebp - 4], edx
mov edi, dword [ecx]
add edi, edx
cmp dword [edi + 0x34], 0xfffffffe
jne 0x1009c3d6
mov eax, dword [edi]
test eax, eax
je 0x1009c3d6
lea ecx, [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov eax, dword [eax + 0x14]
cmp eax, 9
je 0x1009c16e
cmp eax, 0x62
je 0x1009c16e
cmp eax, 0x86
jne 0x1009c214
cmp byte [0x100c44b0], 0
je 0x1009c214
push 1
push dword [0x100c456c]
push dword [0x100c4568]
call fcn.100a1d70
cmp eax, dword [0x100c456c]
je 0x1009c214
mov eax, dword [0x100c46bc]
mov ecx, eax
movzx edx, word [0x100c46be]
movzx esi, byte [0x100c4603]
movss xmm3, dword [0x100b4290]
movzx eax, al
shr ecx, 8
mov word [edi + 0x24], 1
mov byte [edi + 0x26], 0
movd xmm2, eax
movzx eax, cl
cvtdq2ps xmm2, xmm2
movd xmm1, eax
movzx eax, dl
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [edi + 0xc], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [edi + 4], xmm2
mulss xmm0, dword [0x100b429c]
movss dword [edi + 8], xmm1
mov dword [edi + 0x1c], 0x3f800000
movss dword [edi + 0x10], xmm0
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x1009c2cc
push 1
push dword [0x100c42c0]
push dword [0x100c42bc]
call fcn.100a1d70
cmp eax, dword [0x100c42c0]
je 0x1009c2cc
cmp byte [0x100c4204], 0
je 0x1009c2cc
mov eax, dword [0x100c4354]
mov edx, eax
mov cx, word [0x100c4356]
movss xmm3, dword [0x100b4290]
movzx eax, al
shr edx, 8
movzx ebx, cx
movzx ecx, ch
movd xmm2, eax
movzx eax, dl
mov word [edi + 0x24], 1
mov byte [edi + 0x26], 0
cvtdq2ps xmm2, xmm2
mov dword [edi + 0x1c], 0x3f800000
movd xmm1, eax
movzx eax, bl
mov ebx, dword [ebp - 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [edi + 0xc], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 4], xmm2
mulss xmm0, xmm3
movss dword [edi + 8], xmm1
movss dword [edi + 0x10], xmm0
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x1009c3cd
mov ecx, dword [edi]
test ecx, ecx
je 0x1009c3cd
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x1009c3cd
mov esi, dword [edi]
mov eax, dword [0x100e8074]
cmp byte [eax + esi], 0
jne 0x1009c3cd
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [0x100e80d0]
add edx, 0xffffffd5
xor edx, 0x1c496f81
lea eax, [eax*4 + 0x100eba44]
mov dword [ebp - 8], eax
mov eax, dword [0x100edf40]
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1009c357
mov ecx, dword [0x100e7fb4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jne 0x1009c357
cmp byte [0x100c1ea4], al
jmp 0x1009c35e
cmp byte [0x100c2b4c], 0
je 0x1009c3cd
mov eax, dword [0x100c2bf4]
mov ecx, eax
movzx edx, word [0x100c2bf6]
movss xmm3, dword [0x100b4290]
movzx eax, al
shr ecx, 8
mov word [edi + 0x24], 1
mov byte [edi + 0x26], 0
movd xmm2, eax
movzx eax, cl
cvtdq2ps xmm2, xmm2
movd xmm1, eax
movzx eax, dl
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [ebp - 8]
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [edi + 0xc], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [edi + 4], xmm2
movss dword [edi + 8], xmm1
mulss xmm0, dword [eax]
movss dword [edi + 0x10], xmm0
mov edx, dword [ebp - 4]
mov ecx, dword [0x100e7f3c]
inc ebx
add edx, 0x38
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edx
cmp ebx, dword [ecx + 0xc]
jl 0x1009c134
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret