Function at 0x6f05ec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.00485f28
mov dl, 6
mov eax, dword [ebp - 8]
call fcn.00485f28
movzx eax, byte [ebp - 9]
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fdiv dword [0x6f07c0]
fstp qword [ebp - 0x28]
wait
fld dword [0x6f07c4]
fsub qword [ebp - 0x28]
fstp qword [ebp - 0x30]
wait
cmp dword [ebp + 0x10], 0
jge 0x6f0640
xor eax, eax
jmp 0x6f0643
mov eax, dword [ebp + 0x10]
mov edi, eax
cmp dword [ebp + 0x14], 0
jge 0x6f064f
xor eax, eax
jmp 0x6f0652
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov esi, eax
dec esi
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x30]
add eax, dword [ebp + 0x14]
dec eax
cmp eax, esi
jle 0x6f0672
mov eax, esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov esi, eax
dec esi
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x24]
add eax, dword [ebp + 0x10]
dec eax
cmp eax, esi
jle 0x6f0692
mov eax, esi
mov edx, ebx
and dl, 0xff
mov byte [ebp - 0x19], dl
mov edx, ebx
shr edx, 8
mov ecx, edx
and cl, 0xff
mov byte [ebp - 0x1a], cl
shr edx, 8
and dl, 0xff
mov byte [ebp - 0x1b], dl
sub eax, edi
jl 0x6f07b5
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], edi
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00484d54
mov esi, eax
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
call fcn.00484d54
mov edi, eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
add esi, eax
cmp dword [ebp + 0x14], 0
jge 0x6f06f7
mov eax, dword [ebp + 0x14]
cdq
xor eax, edx
sub eax, edx
lea eax, [eax + eax*2]
add edi, eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub edx, eax
jl 0x6f07a9
inc edx
mov dword [ebp - 0x38], edx
cmp byte [ebp + 8], 0
je 0x6f072f
movzx eax, byte [edi + 2]
shl eax, 0x10
mov ax, word [edi]
push eax
movzx eax, byte [ebp - 0x19]
shl eax, 0x10
mov ax, word [ebp - 0x1b]
push eax
call fcn.006f05c4
test al, al
jne 0x6f079a
mov ebx, edi
movzx eax, byte [esi]
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fmul qword [ebp - 0x28]
movzx eax, byte [ebx]
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x40]
fmul qword [ebp - 0x30]
faddp st(1)
call fcn.00404b88
mov byte [ebx], al
movzx eax, byte [esi + 1]
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fmul qword [ebp - 0x28]
movzx eax, byte [ebx + 1]
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x40]
fmul qword [ebp - 0x30]
faddp st(1)
call fcn.00404b88
mov byte [ebx + 1], al
movzx eax, byte [esi + 2]
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fmul qword [ebp - 0x28]
movzx eax, byte [ebx + 2]
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x40]
fmul qword [ebp - 0x30]
faddp st(1)
call fcn.00404b88
mov byte [ebx + 2], al
add edi, 3
add esi, 3
dec dword [ebp - 0x38]
jne 0x6f0709
inc dword [ebp - 0x10]
dec dword [ebp - 0x34]
jne 0x6f06bf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10