Function at 0x10097ca0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100b700c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x101ec13c], 0
push ebx
push esi
push edi
je 0x10097f98
mov eax, dword [0x1020290c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10097f98
movss xmm0, dword [0x101f3fac]
mulss xmm0, dword [0x100ad350]
mov dword [ebp - 0x14], 0
movss dword [ebp - 0x10], xmm0
jle 0x10097f98
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, dword [0x1020290c]
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x10097f7c
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x10097dfe
push 0
push dword [0x101f3c58]
push dword [0x101f3c54]
call fcn.1009b7d0
cmp eax, dword [0x101f3c58]
je 0x10097f7c
mov esi, dword [edi]
mov eax, dword [0x10202a58]
cmp byte [eax + esi], 0
jne 0x10097f7c
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [0x10202ac8]
add edx, 0xffffffd6
xor edx, 0x57186d20
lea ebx, [eax*4 + 0x102062e8]
mov eax, dword [0x101ec13c]
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x10097d8f
mov ecx, dword [0x10202974]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10097f7c
mov eax, dword [0x101f3cfc]
movss xmm1, dword [0x100ad344]
mov dword [edi + 0x2c], eax
mov al, byte [0x101f3d70]
mov byte [edi + 0x26], al
movzx eax, byte [0x101f3e14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 4], xmm0
mov eax, dword [0x101f3e14]
shr eax, 8
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 8], xmm0
movzx eax, byte [0x101f3e16]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 0xc], xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, dword [ebx]
jmp 0x10097f71
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0xabe104c9
call fcn.1002ca60
lea ecx, [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10097e25
mov eax, dword [eax + 0x14]
jmp 0x10097e28
or eax, 0xffffffff
cmp ebx, eax
je 0x10097ef0
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0xe31dc1b8
call fcn.1002ca60
lea ecx, [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10097e57
mov eax, dword [eax + 0x14]
jmp 0x10097e5a
or eax, 0xffffffff
cmp ebx, eax
je 0x10097ef0
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0xc09c6702
call fcn.1002ca60
lea ecx, [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10097e89
mov eax, dword [eax + 0x14]
jmp 0x10097e8c
or eax, 0xffffffff
cmp ebx, eax
je 0x10097ef0
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0xa239ea8f
call fcn.1002ca60
lea ecx, [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10097eb7
mov eax, dword [eax + 0x14]
jmp 0x10097eba
or eax, 0xffffffff
cmp ebx, eax
je 0x10097ef0
mov esi, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0x69629121
call fcn.1002ca60
lea ecx, [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10097ee5
mov eax, dword [eax + 0x14]
jmp 0x10097ee8
or eax, 0xffffffff
cmp ebx, eax
jne 0x10097f7c
push 1
push dword [0x101f3c58]
push dword [0x101f3c54]
call fcn.1009b7d0
cmp eax, dword [0x101f3c58]
je 0x10097f7c
mov eax, dword [0x101f3cfc]
movss xmm1, dword [0x100ad344]
mov dword [edi + 0x2c], eax
mov al, byte [0x101f3d70]
mov byte [edi + 0x26], al
movzx eax, byte [0x101f3ea4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 4], xmm0
mov eax, dword [0x101f3ea4]
shr eax, 8
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 8], xmm0
movzx eax, byte [0x101f3ea6]
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 [0x1020290c]
inc ecx
add dword [ebp - 0xc], 0x38
mov dword [ebp - 0x14], ecx
cmp ecx, dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
jl 0x10097cf7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009b980
mov esp, ebp
pop ebp
ret