Function at 0x10093f60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x100ba364]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x100f3374]
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x64], 0xffffffff
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x20], 0
push ebx
push esi
push edi
movups xmmword [ebp - 0x84], xmm0
test edx, edx
je 0x10094315
cmp byte [0x100e30f8], 0
je 0x10094315
cmp byte [0x100f3378], 0
jne 0x10094026
mov eax, dword [0x100ecc08]
cmp eax, dword [0x100ecc0c]
je 0x10094315
mov dword [0x100ecc0c], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100990c9
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x100ecc0c]
sub ecx, dword [0x100ecc08]
sar ecx, 5
mov dword [ebp - 0xa8], ecx
test ecx, ecx
je 0x10094315
mov eax, dword [0x100ee074]
mov ebx, ecx
add eax, 0xffffffb8
xor eax, 0x44153eb7
movd xmm2, dword [eax + edx]
mov eax, dword [0x100ee370]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [eax + 0x20]
movss dword [ebp - 0xa0], xmm2
test ecx, ecx
je 0x10094315
mov edx, ecx
shl edx, 5
nop dword [eax]
mov esi, dword [0x100ecc08]
sub edx, 0x20
mov dword [ebp - 0xa4], ebx
dec ebx
mov dword [ebp - 0x9c], edx
add esi, edx
je 0x10094307
mov edi, dword [esi + 0x18]
movaps xmm0, xmm2
mov eax, dword [0x100ee370]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
subss xmm0, xmm1
call fcn.100229a0
comiss xmm0, dword [0x100e32a4]
jbe 0x10094123
mov edi, dword [0x100ecc0c]
lea edx, [esi + 0x20]
cmp edx, edi
je 0x10094117
lea ecx, [esi + 0x14]
mov eax, dword [edx]
lea ecx, [ecx + 0x20]
mov dword [ecx - 0x34], eax
add edx, 0x20
mov eax, dword [ecx - 0x10]
mov dword [ecx - 0x30], eax
mov eax, dword [ecx - 0xc]
mov dword [ecx - 0x2c], eax
mov eax, dword [ecx - 8]
mov dword [ecx - 0x28], eax
mov eax, dword [ecx - 4]
mov dword [ecx - 0x24], eax
mov eax, dword [ecx]
mov dword [ecx - 0x20], eax
mov eax, dword [ecx + 4]
mov dword [ecx - 0x1c], eax
movzx eax, byte [ecx + 8]
mov byte [ecx - 0x18], al
movzx eax, byte [ecx + 9]
mov byte [ecx - 0x17], al
cmp edx, edi
jne 0x100940d7
sub dword [0x100ecc0c], 0x20
jmp 0x10094301
cmp byte [esi + 0x1c], 0
jne 0x10094307
lea eax, [ecx - 1]
cmp ebx, eax
je 0x10094149
cmp dword [ebp - 0xa4], ecx
jae 0x10094307
cmp edi, dword [esi + 0x38]
je 0x10094307
movss xmm5, dword [esi]
movss xmm4, dword [esi + 4]
movss xmm6, dword [esi + 0xc]
movss xmm7, dword [esi + 0x10]
subss xmm5, xmm6
movss xmm3, dword [esi + 8]
subss xmm4, xmm7
subss xmm3, dword [esi + 0x14]
movaps xmm1, xmm5
movaps xmm0, xmm4
mulss xmm1, xmm5
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm0, xmm1
call fcn.10017ae0
movaps xmm2, xmm0
movaps xmm1, xmm5
addss xmm2, dword [0x100ae720]
movaps xmm0, xmm4
mulss xmm1, xmm5
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm0, xmm1
call fcn.10017ae0
divss xmm5, xmm2
mov ecx, dword [0x100ee34c]
push str.sprites_purplelaser1.vmt
mov eax, dword [ecx]
mov eax, dword [eax + 8]
divss xmm4, xmm2
divss xmm3, xmm2
movss xmm1, dword [esi + 0x14]
mulss xmm5, xmm0
mulss xmm4, xmm0
mulss xmm3, xmm0
addss xmm5, xmm6
addss xmm4, xmm7
movss dword [ebp - 0x84], xmm6
movss dword [ebp - 0x80], xmm7
addss xmm3, xmm1
movss dword [ebp - 0x7c], xmm1
movss dword [ebp - 0x78], xmm5
movss dword [ebp - 0x74], xmm4
movss dword [ebp - 0x70], xmm3
call eax
cmp byte [esi + 0x1d], 0
movss xmm0, dword [0x100e32a4]
movss dword [ebp - 0x58], xmm0
movaps xmm0, xmmword [0x100aea80]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], str.sprites_purplelaser1.vmt
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x437f0000
mov dword [ebp - 0x40], 0x3f000000
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 2
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x20], 0
jne 0x1009429d
mov eax, dword [0x100e319c]
movzx ecx, al
shr eax, 8
movzx eax, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x34], xmm0
movd xmm0, eax
movzx eax, byte [0x100e319e]
jmp 0x100942c2
mov eax, dword [0x100e322c]
movzx ecx, al
shr eax, 8
movzx eax, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x34], xmm0
movd xmm0, eax
movzx eax, byte [0x100e322e]
cvtdq2ps xmm0, xmm0
lea ecx, [ebp - 0x98]
movss dword [ebp - 0x30], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x2c], xmm0
call fcn.1006d940
mov edx, eax
test edx, edx
je 0x100942f9
mov ecx, dword [0x100ee3a0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov byte [esi + 0x1c], 1
movss xmm2, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa8]
test ebx, ebx
jne 0x10094080
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100990c9
mov esp, ebp
pop ebp
ret