Function at 0x100be2a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
cmp dword [0x1011e178], 0
push ebx
push esi
push edi
je 0x100be5bd
mov eax, dword [0x10123774]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100be5bd
xor ebx, ebx
test eax, eax
jle 0x100be5bd
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 [0x10123774]
cmp ebx, dword [edi + 0xc]
jl 0x100be304
push 0x410
push str.C:Usersk0106Downloadsmainutlvector.h
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 0x100be31e
push 0x272
push str.C:Usersk0106Downloadsmainutlvector.h
push str._IsReadOnly__
call eax
add esp, 0xc
mov edi, dword [edi]
add edi, esi
mov ecx, dword [edi]
test ecx, ecx
je 0x100be5a2
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100be5a2
mov esi, dword [edi]
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x1012397c]
mov edx, dword [0x1011e178]
add ecx, 0xffffffd9
xor ecx, 0x70ae0667
mov dword [ebp - 0x20], edx
lea eax, [eax*4 + 0x101284b0]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + esi]
cmp eax, dword [ecx + edx]
jne 0x100be3ac
mov ecx, dword [0x10123808]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x100be5a2
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 0x100be5a2
cmp dword [0x100ee454], 0
je 0x100be5a2
mov cl, byte [0x100ee4e7]
mov esi, dword [0x100ee4e4]
movzx eax, cl
mov dword [ebp - 0x38], eax
movzx eax, cl
mov dword [ebp - 0x34], eax
mov ax, word [0x100ee4e6]
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 [0x1012a980], 0
mov dword [ebp - 0x18], eax
movzx eax, cl
mov dword [ebp - 0x14], edx
mov edx, dword [0x100ee454]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x20], eax
jne 0x100be504
mov ecx, dword [0x1012373c]
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 [0x1012373c]
push 0
mov dword [0x1012af70], 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 [0x1012373c]
push 0
mov dword [0x1012af74], 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 [0x1012af70]
mov dword [0x1012af6c], eax
push 1
push 0x8000
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x1012af74]
push 1
push 0x8000
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x1012af6c]
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 [0x100ee454]
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 [0x1012a980], 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x20], eax
jmp 0x100be507
mov ecx, dword [ebp - 8]
cmp edx, 1
mov byte [edi + 0x24], 1
sete al
mov byte [edi + 0x26], al
cmp dword [0x100ee454], 2
seta al
mov byte [edi + 0x25], al
mov eax, dword [0x100ee454]
cmp eax, 2
jae 0x100be535
mov edx, dword [ebp - 0x14]
xor eax, eax
mov esi, dword [ebp - 0x18]
jmp 0x100be544
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 [0x100d9090]
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 [0x10123774]
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 0x100be2e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret