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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x100db364]
xor eax, esp
mov dword [esp + 0xc8], eax
cmp dword [0x102cb660], 0
xorps xmm0, xmm0
push ebx
push esi
push edi
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
movups xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x5c], 0xffffffff
mov byte [esp + 0x98], 1
mov dword [esp + 0xa0], 0
je 0x100b419b
push 0
push dword [0x102d4e80]
push dword [0x102d4e7c]
call fcn.100ba540
cmp eax, dword [0x102d4e80]
je 0x100b419b
cmp byte [0x102cb664], 0
jne 0x100b3cce
mov eax, dword [0x102e58e4]
cmp eax, dword [0x102e58e8]
je 0x100b419b
mov dword [0x102e58e8], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.100ba746
mov esp, ebp
pop ebp
ret
mov ebx, dword [0x102e58e8]
mov edx, ebx
sub edx, dword [0x102e58e4]
sar edx, 5
mov dword [esp + 0x20], edx
test edx, edx
je 0x100b419b
mov ecx, dword [0x102e4e44]
mov esi, edx
mov eax, dword [0x102cb660]
add ecx, 0xffffffbe
movss xmm2, dword [0x102d513c]
xor ecx, 0xb66caf4c
shl esi, 5
movd xmm3, dword [ecx + eax]
mov ecx, edx
mov eax, dword [0x102e4c24]
cvtdq2ps xmm3, xmm3
mulss xmm3, dword [eax + 0x20]
movss dword [esp + 0x1c], xmm3
sub esi, 0x20
mov dword [esp + 0xc], ecx
dec ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], ecx
add esi, dword [0x102e58e4]
je 0x100b418b
mov edi, dword [esi + 0x18]
movaps xmm0, xmm3
mov eax, dword [0x102e4c24]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
subss xmm0, xmm1
call fcn.100347c0
comiss xmm0, xmm2
jbe 0x100b3ddb
lea edi, [esi + 0x20]
cmp edi, ebx
je 0x100b3dcd
lea ecx, [esi + 0x14]
lea edx, [esi + 0x34]
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 0x100b3d74
mov ebx, dword [0x102e58e8]
movss xmm2, dword [0x102d513c]
mov ecx, dword [esp + 0x10]
sub ebx, 0x20
mov dword [0x102e58e8], ebx
jmp 0x100b418b
cmp byte [esi + 0x1c], 0
jne 0x100b418b
lea eax, [edx - 1]
cmp ecx, eax
je 0x100b3dff
cmp dword [esp + 0xc], edx
jae 0x100b418b
cmp edi, dword [esi + 0x38]
je 0x100b418b
movss xmm2, dword [esi + 0xc]
movss dword [esp + 0xc8], xmm2
movss xmm1, dword [esi + 0x10]
movss dword [esp + 0xcc], xmm1
movss xmm0, dword [esi + 0x14]
movss dword [esp + 0xd0], xmm0
movss xmm4, dword [esi]
movss xmm3, dword [esi + 4]
movaps xmm7, xmm4
movaps xmm6, xmm3
movss dword [esp + 0xc], xmm2
subss xmm6, xmm1
movss dword [esp + 0x18], xmm0
subss xmm7, xmm2
movss dword [esp + 0x14], xmm1
subss xmm4, xmm2
movss xmm2, dword [esi + 8]
movaps xmm5, xmm2
subss xmm3, xmm1
subss xmm5, xmm0
subss xmm2, xmm0
movaps xmm0, xmm6
movaps xmm1, xmm7
mulss xmm0, xmm6
mulss xmm1, xmm7
addss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm0, xmm1
call fcn.10026fd0
mulss xmm3, xmm3
movaps xmm1, xmm0
addss xmm1, dword [0x100d05fc]
mulss xmm4, xmm4
mulss xmm2, xmm2
addss xmm3, xmm4
addss xmm3, xmm2
movaps xmm0, xmm3
call fcn.10026fd0
divss xmm7, xmm1
mov edx, dword [0x102d4f24]
movss xmm3, dword [esp + 0xc]
movss xmm2, dword [esp + 0x14]
mulss xmm7, xmm0
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x4c], xmm2
addss xmm7, xmm3
divss xmm6, xmm1
movss dword [esp + 0xbc], xmm7
mulss xmm6, xmm0
movss dword [esp + 0x3c], xmm7
divss xmm5, xmm1
addss xmm6, xmm2
mulss xmm5, xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x50], xmm0
movss dword [esp + 0xc0], xmm6
addss xmm5, xmm0
movss dword [esp + 0x40], xmm6
movss dword [esp + 0xc4], xmm5
movss dword [esp + 0x44], xmm5
test edx, edx
jne 0x100b3f97
mov ecx, dword [0x102e4c00]
push str.sprites_white.vmt
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movaps xmm0, xmmword [0x100d09f0]
movss xmm2, dword [0x102d513c]
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x58], str.sprites_purplelaser1.vmt
movss dword [esp + 0x68], xmm2
movaps xmm0, xmm2
mov dword [esp + 0x7c], 0x437f0000
mov dword [esp + 0x80], 0x3f000000
mov dword [esp + 0x88], 0
mov dword [esp + 0xa0], 0
jmp 0x100b4076
cmp edx, 1
jne 0x100b4005
movss xmm0, dword [0x102d513c]
mov dword [esp + 0x58], str.sprites_physbeam.vmt
mov dword [esp + 0x54], 0xffffffff
movss dword [esp + 0x68], xmm0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x437f0000
mov dword [esp + 0x80], 0x3e4ccccd
mov dword [esp + 0x88], 0
mov dword [esp + 0x6c], 0x40000000
mov dword [esp + 0x70], 0x40000000
mov dword [esp + 0xa0], 0
jmp 0x100b4080
mov ecx, dword [0x102e4c00]
mov dword [esp + 0x58], str.sprites_purplelaser1.vmt
push str.sprites_purplelaser1.vmt
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movss xmm0, dword [0x102d513c]
movss dword [esp + 0x68], xmm0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x43340000
mov dword [esp + 0x80], 0x3e4ccccd
mov dword [esp + 0x88], 0x3f800000
mov dword [esp + 0x6c], 0x40c00000
mov dword [esp + 0x70], 0x40c00000
mov dword [esp + 0xa0], 0x8300
mov edx, dword [0x102d4f24]
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x9c], 2
mov byte [esp + 0x98], 1
mov dword [esp + 0x84], 0
cmp byte [esi + 0x1d], 0
jne 0x100b40f3
mov eax, dword [0x102d4fc4]
movzx ecx, al
shr eax, 8
movzx eax, al
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movd xmm2, eax
movzx eax, byte [0x102d4fc6]
cvtdq2ps xmm2, xmm2
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x90], xmm2
movss dword [esp + 0x94], xmm3
jmp 0x100b410e
movss xmm3, dword [esp + 0x94]
movss xmm2, dword [esp + 0x90]
movss xmm1, dword [esp + 0x8c]
cmp edx, 3
je 0x100b413b
mov ecx, dword [0x102e4c54]
lea edx, [esp + 0x28]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, eax
test edx, edx
je 0x100b416f
mov ecx, dword [0x102e4c54]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
jmp 0x100b416f
mov ecx, dword [0x102e4c04]
push ecx
cvttss2si eax, xmm3
mov edx, dword [ecx]
movss dword [esp], xmm0
push 0
push eax
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm1
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xe0]
push eax
mov eax, dword [edx + 0x14]
call eax
movss xmm3, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov byte [esi + 0x1c], 1
mov ebx, dword [0x102e58e8]
movss xmm2, dword [0x102d513c]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
test ecx, ecx
jne 0x100b3d26
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100ba746
mov esp, ebp
pop ebp
ret