Function at 0x100b26e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x10123c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10129b58]
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 0x100b2ace
cmp byte [0x1011770c], 0
je 0x100b2ace
cmp byte [0x10129b5e], 0
jne 0x100b27a1
mov eax, dword [0x1012d0a8]
cmp eax, dword [0x1012d0ac]
je 0x100b2ace
mov dword [0x1012d0ac], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bae1e
mov esp, ebp
pop ebp
ret
mov edx, dword [0x1012d0ac]
sub edx, dword [0x1012d0a8]
sar edx, 5
mov dword [ebp - 0xa4], edx
test edx, edx
je 0x100b2ace
mov eax, dword [0x1012c3e0]
mov esi, edx
add eax, 0xffffffc0
xor eax, 0xb783d67
shl esi, 5
movd xmm2, dword [eax + ecx]
mov ecx, edx
mov eax, dword [0x1012c1d8]
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 [0x1012d0a8]
je 0x100b2aba
mov edi, dword [esi + 0x18]
movaps xmm0, xmm2
mov eax, dword [0x1012c1d8]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
subss xmm0, xmm1
andps xmm0, xmmword [0x100ca1c0]
comiss xmm0, dword [0x10117958]
jbe 0x100b28b2
mov eax, dword [0x1012d0ac]
lea edi, [esi + 0x20]
mov dword [ebp - 0x98], eax
cmp edi, eax
je 0x100b28a6
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 0x100b2855
mov ecx, dword [ebp - 0x9c]
sub dword [0x1012d0ac], 0x20
jmp 0x100b2aba
cmp byte [esi + 0x1c], 0
jne 0x100b2aba
lea eax, [edx - 1]
cmp ecx, eax
je 0x100b28d8
cmp dword [ebp - 0x98], edx
jae 0x100b2aba
cmp edi, dword [esi + 0x38]
je 0x100b2aba
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 [0x1012c1b4]
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 [0x10117958]
movss dword [ebp - 0x54], xmm0
movaps xmm0, xmmword [0x10101bd0]
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 0x100b2a4c
mov eax, dword [0x1011782c]
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 [0x1011782e]
jmp 0x100b2a71
mov eax, dword [0x101178c8]
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 [0x101178ca]
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.10055030
mov edx, eax
add esp, 4
test edx, edx
je 0x100b2aac
mov ecx, dword [0x1012c208]
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 0x100b27f0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100bae1e
mov esp, ebp
pop ebp
ret