Function at 0x1000e1b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100b5004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x14], eax
mov ebx, ecx
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
test esi, esi
je 0x1000e21c
mov ecx, dword [ebx]
mov eax, dword [ecx + 8]
add eax, esi
cmp eax, 0x200044
jbe 0x1000e205
pop esi
mov eax, 0xe
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bc9e
mov esp, ebp
pop ebp
ret 0x14
push esi
push edx
push dword [ecx + 4]
call fcn.1007e990
mov eax, dword [ebx]
add esp, 0xc
add dword [eax + 4], esi
mov eax, dword [ebx]
add dword [eax + 8], esi
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
cmp edx, 0xe
jg 0x1000e23d
pop esi
mov eax, 0xfe00
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bc9e
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ecx]
xor esi, esi
push edi
mov al, byte [ecx]
lea edi, [esi + 2]
mov byte [ebp - 9], al
and al, 0xf
mov byte [ebp - 0xb], al
mov al, byte [ecx + 1]
mov byte [ebp - 0xa], al
movzx eax, al
and eax, 0xffffff7f
cmp eax, 0x7d
ja 0x1000e266
mov esi, eax
jmp 0x1000e2a3
cmp eax, 0x7e
jne 0x1000e27a
movzx esi, byte [ecx + 2]
mov edi, 4
movzx eax, byte [ecx + 3]
jmp 0x1000e29e
cmp eax, 0x7f
jne 0x1000e2a3
movzx esi, byte [ecx + 6]
mov edi, 0xa
movzx eax, byte [ecx + 7]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 8]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 9]
shl esi, 8
or esi, eax
lea eax, [esi + 4]
add eax, edi
cmp edx, eax
jae 0x1000e2c4
pop edi
pop esi
mov eax, 0xfe00
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bc9e
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp - 0xa], 0
jge 0x1000e2f3
mov eax, dword [ecx + edi]
add edi, 4
mov dword [ebp - 8], eax
lea edx, [ecx + edi]
xor ecx, ecx
test esi, esi
jle 0x1000e2f5
nop dword [eax]
mov eax, ecx
and eax, 3
mov al, byte [ebp + eax - 8]
xor byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x1000e2e0
jmp 0x1000e2f7
test esi, esi
je 0x1000e315
push esi
call fcn.1008dfec
mov ecx, eax
mov eax, dword [ebp - 0x14]
push esi
mov dword [eax], ecx
mov eax, dword [ebx]
mov eax, dword [eax]
add eax, edi
push eax
push ecx
call fcn.1007e990
add esp, 0x10
mov eax, dword [ebp - 0x18]
add edi, esi
mov dword [eax], esi
mov eax, dword [ebx]
sub dword [eax + 8], edi
mov eax, dword [ebx]
sub dword [eax + 4], edi
mov ecx, dword [ebx]
mov eax, dword [ecx + 8]
test eax, eax
je 0x1000e33f
mov ecx, dword [ecx]
push eax
lea eax, [ecx + edi]
push eax
push ecx
call fcn.1007e990
add esp, 0xc
movzx eax, byte [ebp - 0xb]
cmp eax, 0xa
ja case.0x1000e34f.3
movzx eax, byte [eax + 0x1000e3bc]
jmp dword [eax*4 + 0x1000e3a8]
mov al, byte [ebp - 9]
mov ecx, dword [ebp - 0x10]
sar al, 7
and eax, 0x80
inc eax
mov dword [ecx], eax
jmp case.0x1000e34f.3
mov al, byte [ebp - 9]
mov ecx, dword [ebp - 0x10]
sar al, 7
and eax, 0x80
add eax, 2
mov dword [ecx], eax
jmp case.0x1000e34f.3
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0x19
jmp case.0x1000e34f.3
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0x1a
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007bc9e
mov esp, ebp
pop ebp
ret 0x14