Function at 0x100c5c80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
cmp dword [0x101f2574], 0
push ebx
push esi
push edi
je 0x100c5f9d
mov eax, dword [0x101fbb7c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100c5f9d
xor ebx, ebx
test eax, eax
jle 0x100c5f9d
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor esi, esi
mov dword [ebp - 0x10], esi
nop word [eax + eax]
mov edi, dword [0x101fbb7c]
cmp ebx, dword [edi + 0xc]
jl 0x100c5ce4
push 0x410
push 0x100d9cc8
push str.i___m_Size
call eax
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
cmp dword [edi + 8], 0xfffffffe
jne 0x100c5cfe
push 0x272
push 0x100d9cc8
push str._IsReadOnly__
call eax
add esp, 0xc
mov edi, dword [edi]
add edi, esi
mov ecx, dword [edi]
test ecx, ecx
je 0x100c5f82
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100c5f82
mov esi, dword [edi]
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x101fbda4]
mov edx, dword [0x101f2574]
add ecx, 0xffffffd8
xor ecx, 0x7467448d
mov dword [ebp - 0x20], edx
lea eax, [eax*4 + 0x101ffca0]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + esi]
cmp eax, dword [ecx + edx]
jne 0x100c5d8c
mov ecx, dword [0x101fbc10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x100c5f82
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebp - 0x20]
mov esi, eax
add ecx, 8
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
call edx
cmp esi, eax
je 0x100c5f82
cmp dword [0x101e11a4], 0
je 0x100c5f82
mov cl, byte [0x101e123b]
mov esi, dword [0x101e1238]
movzx eax, cl
mov dword [ebp - 0x38], eax
movzx eax, cl
mov dword [ebp - 0x34], eax
mov ax, word [0x101e123a]
movzx edx, ax
mov dword [ebp - 0x30], edx
movzx edx, ax
mov dword [ebp - 0x2c], edx
mov edx, esi
shr edx, 8
mov dword [ebp - 0x28], edx
mov edx, esi
shr edx, 8
mov dword [ebp - 0x24], edx
movzx edx, ax
movzx eax, ax
mov dword [ebp - 0x1c], eax
movzx eax, cl
mov dword [ebp - 8], esi
shr dword [ebp - 8], 8
mov dword [ebp - 4], esi
shr dword [ebp - 4], 8
cmp byte [0x102021f5], 0
mov dword [ebp - 0x18], eax
movzx eax, cl
mov dword [ebp - 0x14], edx
mov edx, dword [0x101e11a4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x20], eax
jne 0x100c5ee4
mov ecx, dword [0x101fbb44]
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, dword [0x101fbb44]
push 0
mov dword [0x102027bc], eax
push 1
mov eax, dword [ecx]
push str.Other_textures
push str.dev_glow_color
mov eax, dword [eax + 0x150]
call eax
mov ecx, dword [0x101fbb44]
push 0
mov dword [0x102027c0], eax
push 1
mov eax, dword [ecx]
push str.Other_textures
push str.dev_glow_health_color
mov eax, dword [eax + 0x150]
call eax
mov ecx, dword [0x102027bc]
mov dword [0x102027b4], eax
push 1
push 0x8000
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x102027c0]
push 1
push 0x8000
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x102027b4]
push 1
push 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x101e11a4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x38]
mov byte [0x102021f5], 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x20], eax
jmp 0x100c5ee7
mov ecx, dword [ebp - 8]
cmp edx, 1
mov byte [edi + 0x24], 1
sete al
mov byte [edi + 0x26], al
cmp dword [0x101e11a4], 2
seta al
mov byte [edi + 0x25], al
mov eax, dword [0x101e11a4]
cmp eax, 2
jae 0x100c5f15
mov edx, dword [ebp - 0x14]
xor eax, eax
mov esi, dword [ebp - 0x18]
jmp 0x100c5f24
mov ecx, dword [ebp - 4]
add eax, 0xfffffffe
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x20]
movss xmm3, dword [0x100e1834]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0xc]
movzx eax, al
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 - 0x3c]
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [edi + 0xc], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [edi + 4], xmm2
mulss xmm0, xmm3
movss dword [edi + 8], xmm1
mulss xmm0, dword [eax]
movss dword [edi + 0x10], xmm0
mov eax, dword [0x101fbb7c]
inc ebx
add dword [ebp - 0x10], 0x38
mov esi, dword [ebp - 0x10]
cmp ebx, dword [eax + 0xc]
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jl 0x100c5cc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret