Function at 0x10093a40
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x100b300c]
xor eax, esp
mov dword [esp + 0xa8], eax
mov ecx, dword [0x100f67c0]
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
mov byte [esp + 0x84], 1
mov dword [esp + 0x8c], 0
push ebx
push esi
push edi
movups xmmword [esp + 0x34], xmm0
test ecx, ecx
je 0x10093ebc
cmp byte [0x10100930], 0
je 0x10093ebc
cmp byte [0x100f67c4], 0
jne 0x10093b2b
mov eax, dword [0x1010aa4c]
cmp eax, dword [0x1010aa50]
je 0x10093ebc
mov dword [0x1010aa50], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.100977f9
mov esp, ebp
pop ebp
ret
mov edx, dword [0x1010aa50]
sub edx, dword [0x1010aa4c]
sar edx, 5
mov dword [esp + 0x1c], edx
test edx, edx
je 0x10093ebc
mov eax, dword [0x1010b69c]
mov ebx, edx
add eax, 0xffffffc0
xor eax, 0xb1282541
shl ebx, 5
movd xmm2, dword [eax + ecx]
mov ecx, edx
mov eax, dword [0x1010b49c]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [eax + 0x20]
movss dword [esp + 0x10], xmm2
mov esi, dword [0x1010aa4c]
sub ebx, 0x20
mov dword [esp + 0x18], ecx
dec ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebx
add esi, ebx
je 0x10093eb0
mov edi, dword [esi + 0x18]
movaps xmm0, xmm2
mov eax, dword [0x1010b49c]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
subss xmm0, xmm1
call fcn.10024a80
comiss xmm0, dword [0x10100bb8]
jbe 0x10093c2b
mov ebx, dword [0x1010aa50]
lea edi, [esi + 0x20]
cmp edi, ebx
je 0x10093c1b
lea ecx, [esi + 0x14]
lea edx, [esi + 0x34]
nop dword [eax]
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, ebx
jne 0x10093bd0
mov ecx, dword [esp + 0xc]
sub dword [0x1010aa50], 0x20
mov ebx, dword [esp + 0x14]
jmp 0x10093eb0
cmp byte [esi + 0x1c], 0
jne 0x10093eb0
lea eax, [edx - 1]
cmp ecx, eax
je 0x10093c4f
cmp dword [esp + 0x18], edx
jae 0x10093eb0
cmp edi, dword [esi + 0x38]
je 0x10093eb0
movss xmm3, dword [esi]
movss xmm4, dword [esi + 4]
movss xmm6, dword [esi + 0xc]
movss xmm7, dword [esi + 0x10]
subss xmm3, xmm6
movss xmm5, dword [esi + 8]
subss xmm4, xmm7
subss xmm5, dword [esi + 0x14]
movaps xmm1, xmm3
movaps xmm0, xmm4
mulss xmm1, xmm3
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm0, xmm1
call fcn.100196d0
movaps xmm2, xmm0
movaps xmm1, xmm3
addss xmm2, dword [0x100a8f8c]
movaps xmm0, xmm4
mulss xmm1, xmm3
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm0, xmm1
call fcn.100196d0
divss xmm3, xmm2
mov eax, dword [0x10100a84]
divss xmm4, xmm2
mulss xmm3, xmm0
mulss xmm4, xmm0
addss xmm3, xmm6
divss xmm5, xmm2
addss xmm4, xmm7
mulss xmm5, xmm0
movss xmm0, dword [esi + 0x14]
addss xmm5, xmm0
test eax, eax
jne 0x10093d88
mov ecx, dword [0x1010b478]
mov dword [esp + 0x20], eax
push str.sprites_purplelaser1.vmt
movss dword [esp + 0x38], xmm6
mov eax, dword [ecx]
movss dword [esp + 0x3c], xmm7
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm3
mov eax, dword [eax + 8]
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x4c], xmm5
mov dword [esp + 0x54], str.sprites_purplelaser1.vmt
call eax
movss xmm0, dword [0x10100bb8]
mov dx, word [0x10100b16]
mov dword [esp + 0x4c], eax
movss dword [esp + 0x60], xmm0
movaps xmm0, xmmword [0x100a92f0]
movzx eax, dh
movups xmmword [esp + 0x64], xmm0
mov dword [esp + 0x78], 0x3e4ccccd
mov dword [esp + 0x98], 0x8300
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x74], xmm0
jmp 0x10093e1a
cmp eax, 1
jne 0x10093e89
mov ecx, dword [0x1010b478]
push str.sprites_physbeam.vmt
movss dword [esp + 0x38], xmm6
movss dword [esp + 0x3c], xmm7
mov eax, dword [ecx]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm4
mov eax, dword [eax + 8]
movss dword [esp + 0x4c], xmm5
mov dword [esp + 0x24], 0
mov dword [esp + 0x54], str.sprites_physbeam.vmt
call eax
movss xmm0, dword [0x10100bb8]
mov dx, word [0x10100b16]
movss dword [esp + 0x60], xmm0
movaps xmm0, xmmword [0x100a92d0]
mov dword [esp + 0x4c], eax
movzx eax, dh
movups xmmword [esp + 0x64], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x74], xmm0
movss xmm0, dword [0x10100c74]
movss dword [esp + 0x78], xmm0
mov eax, dword [0x10100b14]
movzx ecx, al
shr eax, 8
movzx eax, al
mov byte [esp + 0x90], 1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x94], 2
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x5c], 0
movss dword [esp + 0x84], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, dl
movss dword [esp + 0x88], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x8c], xmm0
lea ecx, [esp + 0x20]
call fcn.1006b1d0
test eax, eax
je 0x10093ea6
mov ecx, dword [0x1010b4cc]
push eax
mov edx, dword [ecx]
call dword [edx + 0x10]
mov byte [esi + 0x1c], 1
mov ecx, dword [esp + 0xc]
movss xmm2, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
test ecx, ecx
jne 0x10093b72
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100977f9
mov esp, ebp
pop ebp
ret