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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
mov ebx, ecx
test ebx, ebx
js 0x64bbec
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x64bbe5
mov edx, esp
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0064b534
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
add eax, 3
cdq
idiv dword [ebp + 8]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, 2
cdq
idiv dword [ebp + 8]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edx]
shl eax, 8
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
inc eax
cdq
idiv dword [ebp + 8]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edx]
shl eax, 0x10
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
movzx eax, byte [eax + edx]
shl eax, 0x18
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
xor dword [eax + edx*4 + 4], ecx
mov eax, dword [ebp - 0x10]
add eax, 4
cdq
idiv dword [ebp + 8]
mov dword [ebp - 0x10], edx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x12
jne 0x64bc09
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
mov dword [edx + 0x1054], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
mov dword [edx + 0x1058], eax
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x12
jge 0x64bce7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0064b72c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax + edx*4 + 4], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + edx*4 + 8], ecx
add dword [ebp - 0xc], 2
cmp dword [ebp - 0xc], 0x12
jl 0x64bcb2
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x100
jge 0x64bd2d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0064b72c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + edx*4 + 0x4c], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + edx*4 + 0x50], ecx
add dword [ebp - 0x10], 2
cmp dword [ebp - 0x10], 0x100
jl 0x64bcf5
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x100
jge 0x64bd79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0064b72c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + edx*4 + 0x44c], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + edx*4 + 0x450], ecx
add dword [ebp - 0x10], 2
cmp dword [ebp - 0x10], 0x100
jl 0x64bd3b
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x100
jge 0x64bdc5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0064b72c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + edx*4 + 0x84c], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + edx*4 + 0x850], ecx
add dword [ebp - 0x10], 2
cmp dword [ebp - 0x10], 0x100
jl 0x64bd87
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x100
jge 0x64be11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0064b72c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + edx*4 + 0xc4c], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + edx*4 + 0xc50], ecx
add dword [ebp - 0x10], 2
cmp dword [ebp - 0x10], 0x100
jl 0x64bdd3
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret 4