Function at 0x10093270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x100dd4e0], 0
mov eax, dword [0x100f5468]
push ebx
push esi
push edi
movss xmm0, dword [eax]
mulss xmm0, dword [0x100e77b8]
movss dword [ebp - 8], xmm0
je 0x1009366a
mov eax, dword [0x100f5478]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1009366a
movss xmm1, dword [0x100e5904]
xor ebx, ebx
mulss xmm1, dword [0x100a52b4]
movss dword [ebp - 0x20], xmm1
test ecx, ecx
jle 0x1009366a
xor edi, edi
mov dword [ebp - 4], edi
mov esi, dword [eax]
add esi, edi
cmp dword [esi + 0x34], 0xfffffffe
jne 0x1009365a
mov ecx, dword [esi]
test ecx, ecx
je 0x1009365a
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 8]
call eax
mov edx, dword [eax + 0x14]
cmp edx, 9
je 0x1009330c
cmp edx, 0x62
je 0x1009330c
cmp edx, 0x86
jne 0x1009338f
cmp byte [0x100e84a4], 0
movss xmm5, dword [0x100a52b4]
movss xmm4, dword [0x100a52a8]
je 0x1009339f
mov eax, dword [0x100e8548]
movss xmm3, dword [0x100e85ec]
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 0x1009339f
movss xmm4, dword [0x100a52a8]
movss xmm5, dword [0x100a52b4]
cmp edx, 0x1d
je 0x100933a9
cmp edx, 0x6c
jne 0x1009341a
cmp byte [0x100e88a4], 0
je 0x1009341a
mov eax, dword [0x100e8948]
movss xmm3, dword [0x100e8aa8]
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 0x100934a7
cmp byte [0x100e7f60], 0
je 0x100934a7
mov eax, dword [0x100e8114]
movss xmm3, dword [0x100e8274]
movss xmm4, dword [0x100a52a8]
mulss xmm3, dword [0x100a52b4]
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 0x10093655
mov ecx, dword [esi]
test ecx, ecx
je 0x10093655
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x10093655
mov edi, dword [esi]
mov eax, dword [0x100f55c4]
cmp byte [eax + edi], 0
jne 0x10093652
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [0x100f5634]
add edx, 0xffffffd6
xor edx, 0x8d9beb94
lea eax, [eax*4 + 0x100f82a4]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x100dd4e0]
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x10093532
mov ecx, dword [0x100f54e8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jne 0x10093532
cmp byte [0x100e40c8], al
jmp 0x10093539
cmp byte [0x100e57bc], 0
je 0x10093652
mov eax, dword [0x100e5860]
movss xmm0, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
call fcn.1001e870
mulss xmm0, dword [0x100a5458]
addss xmm0, dword [0x100a54dc]
call fcn.1002b0f0
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x100a53f4]
call fcn.1001e870
mulss xmm0, dword [0x100a5458]
addss xmm0, dword [0x100a54dc]
call fcn.1002b0f0
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x100a5420]
call fcn.1001e870
mulss xmm0, dword [0x100a5458]
addss xmm0, dword [0x100a54dc]
call fcn.1002b0f0
mov word [esi + 0x24], 1
movaps xmm1, xmm0
mov byte [esi + 0x26], 0
mov eax, dword [0x100e5740]
mov ecx, dword [0x100e5744]
cmp eax, ecx
je 0x100935fc
nop dword [eax]
cmp dword [eax], 0
je 0x100935ec
add eax, 4
cmp eax, ecx
jne 0x100935e0
cmp eax, ecx
je 0x100935fc
movss xmm2, dword [ebp - 0x14]
movss xmm3, dword [ebp - 0x18]
jmp 0x1009361e
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 [0x100a52a8]
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 [0x100f5478]
inc ebx
add edi, 0x38
mov dword [ebp - 4], edi
cmp ebx, dword [eax + 0xc]
jl 0x100932d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret