Function at 0x100ef680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x101dc7f4], 0
push ebx
push esi
push edi
je 0x100ef8cb
mov eax, dword [0x101dea50]
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [eax + 0xc], ecx
jle 0x100ef8cb
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor esi, esi
mov dword [ebp - 8], esi
mov edi, dword [0x101dea50]
cmp ecx, dword [edi + 0xc]
jl 0x100ef6d7
push 0x410
push str.D:csgo_rax_sourcelegacyutlvector.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 0x100ef6f1
push 0x272
push str.D:csgo_rax_sourcelegacyutlvector.h
push str._IsReadOnly__
call eax
add esp, 0xc
mov edi, dword [edi]
add edi, esi
mov esi, dword [edi]
test esi, esi
je 0x100ef8a8
mov eax, dword [esi + 8]
lea ebx, [esi + 8]
mov ecx, ebx
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100ef8a8
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100ef8a8
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x28]
call eax
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x101de9e4]
mov dword [ebp - 0x14], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
call edx
mov edx, dword [0x101debfc]
add edx, 0xffffffd5
mov dword [ebp - 0x10], eax
mov eax, dword [0x101dc7f4]
xor edx, 0x585ec05b
mov dword [ebp - 0xc], eax
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
je 0x100ef770
mov bl, 1
jmp 0x100ef7a3
mov ecx, dword [0x101deacc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x100ef7a1
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebp - 0xc]
mov esi, eax
add ecx, 8
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
call edx
cmp esi, eax
je 0x100ef7a1
mov bl, 1
jmp 0x100ef7a3
xor bl, bl
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x14], eax
je 0x100ef809
test bl, bl
je 0x100ef7dc
push 0
push dword [0x101c7e50]
push dword [0x101c7e4c]
call fcn.100f3a00
cmp eax, dword [0x101c7e50]
je 0x100ef8a8
mov edx, dword [0x101c7ef0]
mov ax, word [0x101c7ef2]
jmp 0x100ef846
push 1
push dword [0x101c7e50]
push dword [0x101c7e4c]
call fcn.100f3a00
cmp eax, dword [0x101c7e50]
je 0x100ef8a8
mov edx, dword [0x101c7f8c]
mov ax, word [0x101c7f8e]
jmp 0x100ef846
push 2
push dword [0x101c7e50]
push dword [0x101c7e4c]
call fcn.100f3a00
cmp eax, dword [0x101c7e50]
je 0x100ef8a8
test bl, bl
je 0x100ef83a
mov edx, dword [0x101c7ef0]
mov ax, word [0x101c7ef2]
jmp 0x100ef846
mov edx, dword [0x101c8028]
mov ax, word [0x101c802a]
movss xmm1, dword [0x10114cd4]
mov ecx, edx
movzx esi, ah
movzx ebx, ax
movzx eax, dl
shr ecx, 8
mov word [edi + 0x24], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
mulss xmm0, xmm1
movss dword [edi + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, bl
mulss xmm0, xmm1
movss dword [edi + 8], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 0xc], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edi + 0x10], xmm0
mov eax, dword [0x101dea50]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 8]
inc ecx
add esi, 0x38
mov dword [ebp - 4], ecx
cmp ecx, dword [eax + 0xc]
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [ebp - 8], esi
jl 0x100ef6b3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret