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

Disassembly:
mov eax, 0x14
call fcn.1011fc40
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x2c]
mov ebx, edi
shld ecx, ebx, 5
xor edx, edx
shl ebx, 5
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebx
cmp ecx, edx
jb 0x1011136a
ja 0x10111330
cmp ebx, edx
jbe 0x1011136a
nop
movzx ebp, byte [eax]
mov dword [esi], ebp
movzx ebp, byte [eax + 1]
shl ebp, 8
or dword [esi], ebp
movzx ebp, byte [eax + 2]
shl ebp, 0x10
or dword [esi], ebp
movzx ebp, byte [eax + 3]
shl ebp, 0x18
or dword [esi], ebp
add eax, 4
add dword [esp + 0x14], 1
adc edx, 0
add esi, 4
cmp edx, ecx
jb 0x10111330
ja 0x1011136a
cmp dword [esp + 0x14], ebx
jb 0x10111330
mov ebx, dword [esp + 0x38]
xor ebp, ebp
mov eax, 1
mov dword [esp + 0x14], eax
cmp ebp, ebx
ja 0x101113c4
jb 0x10111385
cmp eax, dword [esp + 0x34]
jae 0x101113c4
mov eax, edi
shl eax, 7
mov dword [esp + 0x10], eax
jmp 0x10111394
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
push ecx
mov edx, esi
push edi
sub edx, eax
push edx
push esi
call fcn.10110f50
add esp, 0x10
add dword [esp + 0x14], 1
adc ebp, 0
add esi, dword [esp + 0x10]
cmp ebp, ebx
jb 0x10111390
ja 0x101113c4
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x14], eax
jb 0x10111390
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
dec edx
imul edx, edi
push ecx
shl edx, 7
add edx, dword [esp + 0x48]
push edi
push edx
push esi
call fcn.10110f50
xor eax, eax
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
cmp ebx, eax
jb 0x101114b0
ja 0x10111405
cmp dword [esp + 0x34], eax
jbe 0x101114b0
mov eax, edi
shl eax, 7
lea ecx, [eax + esi - 0x40]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push ebx
push ecx
push 0
push eax
call fcn.101220f0
imul eax, edi
shl eax, 7
add eax, dword [esp + 0x44]
xor ecx, ecx
xor edx, edx
test esi, esi
jb 0x10111470
ja 0x10111446
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x10111470
mov ebx, dword [esp + 0x3c]
mov ebx, dword [ebx + ecx*4]
xor ebx, dword [eax]
mov ebp, dword [esp + 0x40]
add eax, 4
mov dword [ebp + ecx*4], ebx
add ecx, 1
adc edx, 0
cmp edx, esi
jb 0x10111446
ja 0x1011146c
cmp ecx, dword [esp + 0x1c]
jb 0x10111446
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
push edi
push eax
push ecx
call fcn.10110f50
mov eax, dword [esp + 0x28]
add esp, 0x10
add dword [esp + 0x14], 1
adc eax, 0
mov dword [esp + 0x18], eax
cmp eax, ebx
jb 0x10111416
ja 0x101114b0
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x34]
jb 0x10111416
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
xor esi, esi
xor edi, edi
test ebp, ebp
jb 0x10111502
ja 0x101114d0
test edx, edx
je 0x10111502
lea ebx, [ebx]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + esi*4]
mov byte [eax], cl
mov ebx, ecx
shr ebx, 8
mov byte [eax + 1], bl
mov ebx, ecx
shr ebx, 0x10
shr ecx, 0x18
mov byte [eax + 2], bl
mov byte [eax + 3], cl
add eax, 4
add esi, 1
adc edi, 0
cmp edi, ebp
jb 0x101114d0
ja 0x10111502
cmp esi, edx
jb 0x101114d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret