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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
mov eax, dword [0x79a200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x330], eax
push esi
push edi
mov eax, dword [ebx]
push dword [ebx + 4]
mov dword [ebp - 0x320], ebx
movlpd qword [ebp - 0x328], xmm0
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x31c], 0
call eax
mov edi, dword [ebp + 0x10]
add esp, 4
add edi, 3
mov dword [ebp - 0x32c], eax
and edi, 0xfffffffc
mov esi, 0
mov dword [ebp - 0x334], edi
jle 0x48fb6b
mov eax, dword [ebx]
push dword [ebx + 4]
mov eax, dword [eax + 0x1c]
call eax
movzx ecx, al
add esp, 4
mov al, cl
and al, 0xf
mov byte [ebp + esi - 0x314], al
cmp al, 0xc
ja 0x48fbb1
shr ecx, 4
mov byte [ebp + esi - 0x313], cl
cmp cl, 0xc
ja 0x48fbb1
add esi, 2
cmp esi, edi
jl 0x48fb36
mov eax, edi
and al, 7
cmp al, 4
jne 0x48fcd0
mov eax, dword [ebx]
push dword [ebx + 4]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [ebx]
push dword [ebx + 4]
shl eax, 8
cdq
mov ecx, dword [ecx + 0x1c]
mov esi, eax
mov edi, edx
call ecx
cdq
add esp, 8
add esi, eax
adc edi, edx
mov edx, 0x10
mov dword [ebp - 0x318], edi
mov dword [ebp - 0x31c], edx
jmp 0x48fce4
mov eax, dword [ebx]
push 0
push dword [ebp - 0x32c]
push dword [ebx + 4]
mov eax, dword [eax + 8]
call eax
mov esi, dword [ebp - 0x330]
lea eax, [edi - 1]
add esi, 4
shr eax, 3
add esp, 0xc
mov dword [ebp - 0x318], esi
inc eax
mov edi, 0xffffff00
mov dword [ebp - 0x324], eax
push 6
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.0049d590
mov ebx, dword [ebp - 0x14]
add esp, 0xc
movzx eax, word [ebp - 0x10]
mov cx, bx
mov edx, dword [ebp - 0x12]
and ebx, 0xfff
shr ax, 8
and ax, 0xfff0
shr cx, 4
and cx, di
or cx, ax
movzx eax, word [ebp - 0xc]
shr ax, 0xc
or cx, ax
mov word [esi - 4], cx
mov cx, dx
mov esi, dword [ebp - 0xe]
and edx, 0xfff
shr cx, 4
mov ax, si
shr ax, 8
and cx, di
mov edi, dword [ebp - 0xa]
and ax, 0xfff0
or cx, ax
and esi, 0xfff
mov ax, di
and edi, 0xfff
shr ax, 0xc
or cx, ax
mov eax, dword [ebp - 0x318]
mov word [eax - 2], cx
mov ecx, eax
mov eax, dword [ebp - 0x10]
and eax, 0xfff
mov word [ecx + 4], ax
mov eax, dword [ebp - 0xc]
and eax, 0xfff
mov word [ecx], bx
mov ebx, dword [ebp - 0x320]
mov word [ecx + 6], si
mov word [ecx + 0xa], di
mov edi, 0xffffff00
mov word [ecx + 2], dx
mov word [ecx + 8], ax
add ecx, 0x10
sub dword [ebp - 0x324], 1
mov esi, ecx
mov dword [ebp - 0x318], ecx
jne 0x48fbe7
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x324]
xor edx, edx
mov esi, dword [ebp - 0x328]
mov dword [ebp - 0x318], eax
xor edi, edi
mov dword [ebp - 0x320], esi
mov dword [ebp - 0x32c], edi
cmp dword [ebp - 0x334], edi
jle 0x48fdf5
nop
movzx eax, byte [ebp + edi - 0x314]
mov dword [ebp - 0x324], eax
cmp edx, eax
jge 0x48fd67
mov edi, dword [ebp - 0x320]
xor esi, esi
nop word [eax + eax]
mov eax, dword [ebx]
push dword [ebx + 4]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, esi
cdq
add esp, 4
xor ecx, 8
add ecx, dword [ebp - 0x31c]
call fcn.0068e440
add edi, eax
adc dword [ebp - 0x318], edx
add esi, 8
cmp esi, 0x20
jl 0x48fd20
add dword [ebp - 0x31c], 0x20
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x320], edi
mov edi, dword [ebp - 0x32c]
mov edx, dword [ebp - 0x318]
mov ecx, 0x10
sub ecx, eax
mov esi, 0xffff
mov eax, dword [ebp - 0x320]
sar esi, cl
mov ecx, dword [ebp - 0x324]
and esi, eax
call fcn.0068e460
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x318], edx
mov edx, dword [ebp - 0x31c]
sub edx, eax
lea ecx, [eax - 1]
mov dword [ebp - 0x31c], edx
mov eax, 1
shl eax, cl
test esi, eax
jne 0x48fdd8
mov ecx, dword [ebp - 0x324]
mov edx, 1
shl edx, cl
mov eax, 1
sub eax, edx
mov edx, dword [ebp - 0x31c]
add esi, eax
mov eax, dword [ebp - 0x330]
mov word [eax + edi*2], si
inc edi
mov dword [ebp - 0x32c], edi
cmp edi, dword [ebp - 0x334]
jl 0x48fd00
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0068d76f
mov esp, ebp
pop ebp
ret