Function at 0x10091a70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
cmp dword [0x100b75d8], 0
push ebx
push esi
push edi
je 0x10091dd1
mov eax, dword [0x100df648]
cmp dword [eax + 0xc], 0
je 0x10091dd1
mov ecx, dword [0x100df608]
push 0
push 1
push str.Other_Textures
mov eax, dword [ecx]
push str.dev_glow_rim3d
mov eax, dword [eax + 0x150]
call eax
mov ecx, eax
mov dword [0x100c87c4], ecx
push 1
push 0x8000
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x100df608]
push 0
push 1
push str.Other_Textures
mov eax, dword [ecx]
push str.dev_glow_edge_highlight
mov eax, dword [eax + 0x150]
call eax
mov ecx, eax
mov dword [0x100c87c4], ecx
push 1
push 0x8000
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
push 5
push dword [0x100bb558]
push dword [0x100bb554]
call fcn.100964f0
cmp eax, dword [0x100bb558]
je 0x10091b49
mov ecx, dword [0x100df608]
push 0
push 1
push str.Other_Textures
mov eax, dword [ecx]
push str.dev_glow_health_color
mov eax, dword [eax + 0x150]
call eax
mov ecx, eax
mov dword [0x100c87c4], ecx
push 1
push 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [0x100df648]
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
cmp dword [eax + 0xc], ebx
jle 0x10091dd1
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov esi, dword [eax]
add esi, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x10091dbb
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x10091db6
mov edi, dword [esi]
mov eax, dword [0x100df78c]
cmp byte [eax + edi], 0
jne 0x10091db6
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [0x100df7f4]
add edx, 0xffffffdc
xor edx, 0x7adaf683
lea eax, [eax*4 + 0x100c6744]
mov dword [ebp - 0x44], eax
mov eax, dword [0x100b75d8]
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x10091c1e
mov ecx, dword [0x100df6b0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jne 0x10091c1e
push 1
push dword [0x100bb558]
push dword [0x100bb554]
call fcn.100964f0
cmp eax, dword [0x100bb558]
je 0x10091db6
mov ebx, dword [0x100bb6a8]
mov eax, ebx
shr eax, 8
mov edi, ebx
mov dword [ebp - 8], eax
mov eax, ebx
shr eax, 8
mov dword [ebp - 0x20], eax
mov eax, ebx
shr edi, 8
shr eax, 8
mov dword [ebp - 0x30], eax
mov ax, word [0x100bb6aa]
jmp 0x10091c66
push 0
push dword [0x100bb558]
push dword [0x100bb554]
call fcn.100964f0
cmp eax, dword [0x100bb558]
je 0x10091db6
mov ebx, dword [0x100bb5ec]
mov eax, ebx
shr eax, 8
mov edi, ebx
mov dword [ebp - 8], eax
mov eax, ebx
shr eax, 8
mov dword [ebp - 0x20], eax
mov eax, ebx
shr edi, 8
shr eax, 8
mov dword [ebp - 0x30], eax
mov ax, word [0x100bb5ee]
movzx ecx, ax
mov dword [ebp - 0xc], ecx
movzx ecx, ax
mov dword [ebp - 0x14], ecx
movzx ecx, ax
mov dword [ebp - 0x24], ecx
movzx ecx, ax
mov dword [ebp - 0x34], ecx
movzx ecx, ah
mov dword [ebp - 4], ecx
movzx ecx, ah
push 5
mov word [esi + 0x24], 1
push dword [0x100bb558]
mov dword [ebp - 0x18], ecx
push dword [0x100bb554]
movzx ecx, ah
movzx eax, ah
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
call fcn.100964f0
cmp eax, dword [0x100bb558]
push 2
setne al
mov byte [esi + 0x26], al
push dword [0x100bb558]
push dword [0x100bb554]
call fcn.100964f0
mov ecx, dword [0x100bb558]
cmp eax, ecx
je 0x10091cee
mov ecx, dword [ebp - 8]
mov eax, 1
mov edx, dword [ebp - 0xc]
jmp 0x10091d52
push 3
push ecx
push dword [0x100bb554]
call fcn.100964f0
mov ecx, dword [0x100bb558]
cmp eax, ecx
je 0x10091d18
mov ebx, dword [ebp - 0x10]
mov ecx, edi
mov edx, dword [ebp - 0x14]
mov eax, 2
mov edi, dword [ebp - 0x18]
jmp 0x10091d4f
push 4
push ecx
push dword [0x100bb554]
call fcn.100964f0
cmp eax, dword [0x100bb558]
je 0x10091d41
mov ebx, dword [ebp - 0x1c]
mov eax, 3
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
jmp 0x10091d4f
mov ebx, dword [ebp - 0x2c]
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 4], edi
movss xmm3, dword [0x100a8e40]
mov dword [esi + 0x2c], eax
movzx eax, bl
mov ebx, dword [ebp - 0x3c]
movd xmm2, eax
movzx eax, cl
cvtdq2ps xmm2, xmm2
movd xmm1, eax
movzx eax, dl
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
movzx eax, al
mulss xmm2, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [esi + 0xc], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x44]
cvtdq2ps xmm0, xmm0
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm1
mulss xmm0, dword [eax]
mulss xmm0, xmm3
movss dword [esi + 0x10], xmm0
mov eax, dword [0x100df648]
mov ecx, dword [ebp - 0x40]
inc ebx
add ecx, 0x38
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ecx
cmp ebx, dword [eax + 0xc]
jl 0x10091b61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret