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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20
call fcn.006fed10
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, edx
movlpd qword [ebp - 0x10], xmm0
shld eax, ebx, 5
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
shl ebx, 5
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
push edi
mov edi, dword [ebp + 0x24]
test eax, eax
jb 0x6cb552
ja 0x6cb50f
test ebx, ebx
je 0x6cb552
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov dword [edi], eax
movzx eax, byte [ecx - 3]
shl eax, 8
or dword [edi], eax
movzx eax, byte [ecx - 2]
shl eax, 0x10
or dword [edi], eax
movzx eax, byte [ecx - 1]
shl eax, 0x18
or dword [edi], eax
add edx, 1
adc esi, 0
add edi, 4
cmp esi, dword [ebp - 4]
jb 0x6cb515
ja 0x6cb54c
cmp edx, ebx
jb 0x6cb515
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov eax, 1
cmp ecx, dword [ebp + 0x18]
ja 0x6cb5a3
jb 0x6cb565
cmp eax, dword [ebp + 0x14]
jae 0x6cb5a3
mov ecx, edx
mov esi, eax
shl ecx, 7
xor ebx, ebx
mov dword [ebp - 0x18], ecx
push dword [ebp + 0x10]
mov eax, edi
push edx
sub eax, ecx
push eax
push edi
call fcn.006cafb0
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov edx, dword [ebp + 0xc]
add esi, 1
adc ebx, 0
add edi, ecx
cmp ebx, dword [ebp + 0x18]
jb 0x6cb571
ja 0x6cb59d
cmp esi, dword [ebp + 0x14]
jb 0x6cb571
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
dec eax
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x1c]
imul eax, ecx
push ecx
shl eax, 7
add eax, dword [ebp + 0x24]
push eax
push edi
call fcn.006cafb0
mov edx, dword [ebp + 0x18]
add esp, 0x10
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test edx, edx
jb 0x6cb69d
mov ecx, dword [ebp + 0x14]
ja 0x6cb5e4
test ecx, ecx
je 0x6cb69d
mov eax, dword [ebp + 0xc]
add edi, 0xffffffc0
mov esi, dword [ebp - 4]
shl eax, 7
add edi, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], eax
push edx
push ecx
push 0
push dword [edi]
call fcn.006ffa20
mov edi, eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
imul edi, eax
movlpd qword [ebp - 0x20], xmm0
shl edi, 7
add edi, dword [ebp + 0x24]
test esi, esi
jb 0x6cb65a
ja 0x6cb62c
test ebx, ebx
je 0x6cb65a
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 0x1c]
lea edi, [edi + 4]
mov ebx, dword [ebp + 0x20]
mov eax, dword [eax + ecx*4]
xor eax, dword [edi - 4]
mov dword [ebx + ecx*4], eax
add ecx, 1
mov ebx, dword [ebp - 8]
adc edx, 0
cmp edx, esi
jb 0x6cb632
ja 0x6cb657
cmp ecx, ebx
jb 0x6cb632
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x1c]
push eax
push dword [ebp + 0x20]
push edi
call fcn.006cafb0
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov ecx, dword [ebp - 0x14]
add eax, 1
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp - 0x18]
adc ecx, 0
mov dword [ebp - 0x14], ecx
cmp ecx, edx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
jb 0x6cb601
ja 0x6cb69a
cmp eax, ecx
jb 0x6cb601
mov esi, dword [ebp + 8]
cmp dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
jb 0x6cb6ea
ja 0x6cb6b1
test ebx, ebx
je 0x6cb6ea
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x1c]
lea esi, [esi + 4]
mov ecx, dword [eax + edx*4]
mov eax, ecx
shr eax, 8
mov byte [esi - 4], cl
mov byte [esi - 3], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
add edx, 1
mov byte [esi - 2], al
adc edi, 0
mov byte [esi - 1], cl
cmp edi, dword [ebp - 4]
jb 0x6cb6b7
ja 0x6cb6ea
cmp edx, ebx
jb 0x6cb6b7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret