Function at 0x10095360
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x100df7e0], 0
mov eax, dword [0x100f7980]
push ebx
push esi
push edi
movss xmm0, dword [eax]
mulss xmm0, dword [0x100e9b48]
movss dword [ebp - 8], xmm0
je 0x1009575a
mov eax, dword [0x100f7990]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1009575a
movss xmm1, dword [0x100e7c94]
xor ebx, ebx
mulss xmm1, dword [0x100a74b4]
movss dword [ebp - 0x20], xmm1
test ecx, ecx
jle 0x1009575a
xor edi, edi
mov dword [ebp - 4], edi
mov esi, dword [eax]
add esi, edi
cmp dword [esi + 0x34], 0xfffffffe
jne 0x1009574a
mov ecx, dword [esi]
test ecx, ecx
je 0x1009574a
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 8]
call eax
mov edx, dword [eax + 0x14]
cmp edx, 9
je 0x100953fc
cmp edx, 0x62
je 0x100953fc
cmp edx, 0x86
jne 0x1009547f
cmp byte [0x100ea834], 0
movss xmm5, dword [0x100a74b4]
movss xmm4, dword [0x100a74a8]
je 0x1009548f
mov eax, dword [0x100ea8d8]
movss xmm3, dword [0x100ea97c]
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 0x1009548f
movss xmm4, dword [0x100a74a8]
movss xmm5, dword [0x100a74b4]
cmp edx, 0x1d
je 0x10095499
cmp edx, 0x6c
jne 0x1009550a
cmp byte [0x100eac34], 0
je 0x1009550a
mov eax, dword [0x100eacd8]
movss xmm3, dword [0x100eae38]
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
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x10095597
cmp byte [0x100ea2f0], 0
je 0x10095597
mov eax, dword [0x100ea4a4]
movss xmm3, dword [0x100ea604]
movss xmm4, dword [0x100a74a8]
mulss xmm3, dword [0x100a74b4]
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 0x10095745
mov ecx, dword [esi]
test ecx, ecx
je 0x10095745
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x10095745
mov edi, dword [esi]
mov eax, dword [0x100f7adc]
cmp byte [eax + edi], 0
jne 0x10095742
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [0x100f7b4c]
add edx, 0xffffffd6
xor edx, 0x8d9beb94
lea eax, [eax*4 + 0x100fa7bc]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x100df7e0]
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x10095622
mov ecx, dword [0x100f7a00]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jne 0x10095622
cmp byte [0x100e6458], al
jmp 0x10095629
cmp byte [0x100e7b4c], 0
je 0x10095742
mov eax, dword [0x100e7bf0]
movss xmm0, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
call fcn.1001e9f0
mulss xmm0, dword [0x100a7650]
addss xmm0, dword [0x100a76d8]
call fcn.1002cb50
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x100a75f0]
call fcn.1001e9f0
mulss xmm0, dword [0x100a7650]
addss xmm0, dword [0x100a76d8]
call fcn.1002cb50
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x100a7618]
call fcn.1001e9f0
mulss xmm0, dword [0x100a7650]
addss xmm0, dword [0x100a76d8]
call fcn.1002cb50
mov word [esi + 0x24], 1
movaps xmm1, xmm0
mov byte [esi + 0x26], 0
mov eax, dword [0x100e7ad0]
mov ecx, dword [0x100e7ad4]
cmp eax, ecx
je 0x100956ec
nop dword [eax]
cmp dword [eax], 0
je 0x100956dc
add eax, 4
cmp eax, ecx
jne 0x100956d0
cmp eax, ecx
je 0x100956ec
movss xmm2, dword [ebp - 0x14]
movss xmm3, dword [ebp - 0x18]
jmp 0x1009570e
movzx eax, byte [ebp - 0xa]
movd xmm1, eax
mov eax, dword [ebp - 0x10]
movzx ecx, ah
movzx eax, al
cvtdq2ps xmm1, xmm1
movd xmm2, ecx
movd xmm3, eax
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm3, xmm3
movss xmm0, dword [0x100a74a8]
mov eax, dword [ebp - 0x1c]
mulss xmm3, xmm0
mulss xmm2, xmm0
mulss xmm1, xmm0
movss dword [esi + 4], xmm3
movss dword [esi + 8], xmm2
movss dword [esi + 0xc], xmm1
movss xmm0, dword [eax]
mulss xmm0, dword [ebp - 0x20]
movss dword [esi + 0x10], xmm0
mov edi, dword [ebp - 4]
mov eax, dword [0x100f7990]
inc ebx
add edi, 0x38
mov dword [ebp - 4], edi
cmp ebx, dword [eax + 0xc]
jl 0x100953c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret