Function at 0x100b3210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x10123fc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10129f20]
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x60], 0xffffffff
mov byte [ebp - 0x24], 1
mov dword [ebp - 0x1c], 0
push esi
push edi
movups xmmword [ebp - 0x80], xmm0
test ecx, ecx
je 0x100b35fe
cmp byte [0x101179ac], 0
je 0x100b35fe
cmp byte [0x10129f26], 0
jne 0x100b32d1
mov eax, dword [0x1012d480]
cmp eax, dword [0x1012d484]
je 0x100b35fe
mov dword [0x1012d484], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bb5fe
mov esp, ebp
pop ebp
ret
mov edx, dword [0x1012d484]
sub edx, dword [0x1012d480]
sar edx, 5
mov dword [ebp - 0xa4], edx
test edx, edx
je 0x100b35fe
mov eax, dword [0x1012c7b8]
mov esi, edx
add eax, 0xffffffc0
xor eax, 0xbda094b4
shl esi, 5
movd xmm2, dword [eax + ecx]
mov ecx, edx
mov eax, dword [0x1012c5b0]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [eax + 0x20]
movss dword [ebp - 0xa0], xmm2
nop dword [eax]
sub esi, 0x20
mov dword [ebp - 0x98], ecx
dec ecx
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x9c], ecx
add esi, dword [0x1012d480]
je 0x100b35ea
mov edi, dword [esi + 0x18]
movaps xmm0, xmm2
mov eax, dword [0x1012c5b0]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
subss xmm0, xmm1
andps xmm0, xmmword [0x100ca200]
comiss xmm0, dword [0x10117b70]
jbe 0x100b33e2
mov eax, dword [0x1012d484]
lea edi, [esi + 0x20]
mov dword [ebp - 0x98], eax
cmp edi, eax
je 0x100b33d6
lea ecx, [esi + 0x14]
lea edx, [edi + 0x14]
mov eax, dword [edi]
lea esi, [esi + 0x20]
mov dword [esi - 0x20], eax
lea ecx, [ecx + 0x20]
mov eax, dword [edx - 0x10]
lea edx, [edx + 0x20]
mov dword [ecx - 0x30], eax
add edi, 0x20
mov eax, dword [edx - 0x2c]
mov dword [ecx - 0x2c], eax
mov eax, dword [edx - 0x28]
mov dword [ecx - 0x28], eax
mov eax, dword [edx - 0x24]
mov dword [ecx - 0x24], eax
mov eax, dword [edx - 0x20]
mov dword [ecx - 0x20], eax
mov eax, dword [edx - 0x1c]
mov dword [ecx - 0x1c], eax
movzx eax, byte [edx - 0x18]
mov byte [ecx - 0x18], al
movzx eax, byte [edx - 0x17]
mov byte [ecx - 0x17], al
cmp edi, dword [ebp - 0x98]
jne 0x100b3385
mov ecx, dword [ebp - 0x9c]
sub dword [0x1012d484], 0x20
jmp 0x100b35ea
cmp byte [esi + 0x1c], 0
jne 0x100b35ea
lea eax, [edx - 1]
cmp ecx, eax
je 0x100b3408
cmp dword [ebp - 0x98], edx
jae 0x100b35ea
cmp edi, dword [esi + 0x38]
je 0x100b35ea
movss xmm3, dword [esi]
movss xmm4, dword [esi + 4]
movss xmm6, dword [esi + 0xc]
movss xmm7, dword [esi + 0x10]
subss xmm3, xmm6
movss xmm0, dword [esi + 0x14]
subss xmm4, xmm7
movss xmm5, dword [esi + 8]
movss dword [ebp - 0x98], xmm0
subss xmm5, xmm0
movss xmm2, dword [0x100c9708]
movaps xmm0, xmm3
mov ecx, dword [0x1012c58c]
mulss xmm0, xmm3
movaps xmm1, xmm4
push str.sprites_purplelaser1.vmt
mulss xmm1, xmm4
movss dword [ebp - 0x80], xmm6
movss dword [ebp - 0x7c], xmm7
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, dword [0x100c96ec]
divss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x98]
movss dword [ebp - 0x78], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
sqrtss xmm1, xmm1
mulss xmm0, xmm1
addss xmm0, xmm6
movss dword [ebp - 0x74], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm4
mulss xmm2, xmm5
mulss xmm0, xmm1
mulss xmm2, xmm1
addss xmm0, xmm7
addss xmm2, dword [ebp - 0x98]
movss dword [ebp - 0x70], xmm0
movss dword [ebp - 0x6c], xmm2
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movss xmm0, dword [0x10117b70]
movss dword [ebp - 0x54], xmm0
movaps xmm0, xmmword [0x10101c00]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], str.sprites_purplelaser1.vmt
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x437f0000
mov dword [ebp - 0x3c], 0x3f000000
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 2
mov byte [ebp - 0x24], 1
mov dword [ebp - 0x1c], 0
cmp byte [esi + 0x1d], 0
jne 0x100b357c
mov eax, dword [0x10117a44]
movzx ecx, al
shr eax, 8
movzx eax, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x30], xmm0
movd xmm0, eax
movzx eax, byte [0x10117a46]
jmp 0x100b35a1
mov eax, dword [0x10117ae0]
movzx ecx, al
shr eax, 8
movzx eax, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x30], xmm0
movd xmm0, eax
movzx eax, byte [0x10117ae2]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
lea eax, [ebp - 0x94]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebp - 0x28], xmm0
call fcn.100550e0
mov edx, eax
add esp, 4
test edx, edx
je 0x100b35dc
mov ecx, dword [0x1012c5e0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov byte [esi + 0x1c], 1
mov ecx, dword [ebp - 0x9c]
movss xmm2, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xa8]
test ecx, ecx
jne 0x100b3320
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100bb5fe
mov esp, ebp
pop ebp
ret