Function at 0x100094b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov eax, 1
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x64
mov esi, dword [ebp + 8]
test esi, esi
je 0x1000975d
mov eax, dword [esi]
mov ebx, 0x13c
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov dword [esp], eax
call fcn.10028230
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x100094f4
mov eax, dword [eax]
movzx eax, byte [eax + 0xb]
lea eax, [eax + eax*2]
lea ebx, [eax*4 + 0x13c]
mov eax, dword [esi]
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 + 8], edi
rep stosd dword es:[edi], eax
mov eax, dword [esi]
test eax, eax
je 0x1000952c
mov edi, dword [esp + 8]
movzx edx, word [esi + 0xa]
lea ecx, [edi + 4]
call fcn.10005800
mov ebx, dword [esi + 0x30]
test ebx, ebx
je 0x1000958d
mov edi, dword [esp + 8]
xor ecx, ecx
mov word [edi + 0x110], cx
mov eax, dword [esi + 0x30]
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax + 4]
cvttss2si eax, xmm0
mov byte [edi + 0x112], al
mov eax, dword [esi + 0x18]
cmp byte [eax], 3
je 0x10009768
mov eax, dword [esp + 8]
pxor xmm0, xmm0
mov dword [eax + 0x114], 0
mov ebx, dword [esp + 8]
movss dword [ebx + 0x118], xmm0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x11c], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10009743
mov eax, dword [eax]
mov ebx, dword [esp + 8]
movzx eax, word [eax + 2]
mov word [ebx + 0x120], ax
mov eax, dword [esi + 0x2c]
mov eax, dword [eax]
movzx eax, byte [eax + 0xa]
mov byte [ebx + 0x122], al
mov eax, dword [esi + 0x2c]
mov eax, dword [eax]
movzx eax, word [eax + 8]
mov word [ebx + 0x124], ax
mov eax, dword [esi + 0x2c]
mov eax, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [ebx + 0x128], xmm0
mov eax, dword [esi + 0x2c]
mov eax, dword [eax]
movzx eax, byte [eax + 0xb]
mov word [ebx + 0x12c], ax
test ax, ax
je 0x10009743
lea edi, [ebx + 0x130]
mov dword [ebp + 8], esi
xor ebx, ebx
nop
lea eax, [ebx + ebx*4]
shl eax, 4
mov ecx, eax
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 4]
mov esi, dword [eax + ecx + 0x20]
test esi, esi
je 0x10009727
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov dword [esp], eax
call fcn.10028230
mov eax, dword [esi]
test eax, eax
je 0x10009645
movzx edx, word [esi + 8]
lea ecx, [esp + 0xc]
call fcn.10005950
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esp + 0x60], 0
mov eax, dword [eax + 0x60]
mov dword [esp], eax
call fcn.10028250
mov eax, dword [esp + 0x50]
pxor xmm0, xmm0
pxor xmm1, xmm1
pxor xmm2, xmm2
mov esi, dword [esp + 4]
movzx edx, ax
shr eax, 0x10
cvtsi2ss xmm0, eax
mov eax, dword [esp + 0x4c]
mulss xmm0, dword [0x100303a0]
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 [edi + 4], ax
movzx eax, byte [esp + 0x4c]
cvtsi2ss xmm1, edx
xor edx, edx
mulss xmm1, dword [0x100303a0]
mov word [edi + 8], dx
shr al, 2
and eax, 7
addss xmm1, xmm2
mov byte [edi + 6], al
mov eax, dword [ebp + 8]
movss xmm2, dword [0x100303a8]
divss xmm0, xmm1
shufps xmm2, xmm2, 0
pxor xmm1, xmm1
movaps xmm3, xmm2
divss xmm0, dword [0x100303a4]
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 [edi], xmm1
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 0x48]
movzx eax, byte [eax + 9]
mov byte [edi + 0xa], al
mov eax, dword [esp + 8]
add ebx, 1
add edi, 0xc
movzx eax, word [eax + 0x12c]
cmp ebx, eax
jb 0x10009600
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov dword [esp], eax
call fcn.10028250
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 8]
mov dword [eax], edi
xor eax, eax
add esp, 0x64
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x30]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x114], xmm0
mov eax, dword [esi + 0x30]
movss xmm0, dword [eax + 8]
jmp 0x10009575