Function at 0x468b600
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x30]
mov byte [esp + 2], 0
jmp 0x468b631
mov byte [esi + ebp], cl
inc dword [edi + 4]
cmp byte [esp + 2], 0xa
je 0x468b85e
push 0x1006c792
push dword [0x46b7ed0]
call fcn.046abc60
add esp, 8
push 8
push 1
lea ecx, [esp + 0xa]
push ecx
mov ecx, dword [esp + 0x1c]
push dword [ecx]
call eax
mov dword [esp + 0x18], eax
test eax, eax
jle 0x468b81b
movzx ecx, byte [esp + 2]
mov ebp, dword [edi]
mov edx, dword [edi + 4]
mov ebx, edx
sub ebx, ebp
mov esi, ebp
cmp edx, dword [edi + 8]
jne 0x468b7db
mov dword [esp + 0xc], edx
mov byte [esp + 3], cl
lea eax, [ebx + 1]
mov ecx, ebx
shr ecx, 1
mov dword [esp + 8], ecx
add ecx, ebx
cmp ecx, eax
ja 0x468b695
mov ecx, eax
mov dword [esp + 0x14], ecx
push ecx
call fcn.046782d0
add esp, 4
mov esi, eax
test ebp, ebp
je 0x468b7c1
cmp esi, ebp
mov dword [esp + 4], ebx
mov eax, dword [esp + 0xc]
jbe 0x468b76f
cmp eax, esi
jbe 0x468b76f
test ebx, ebx
je 0x468b7af
mov edx, dword [esp + 4]
lea eax, [edx + ebp]
dec eax
lea ecx, [esi + edx]
dec ecx
mov edi, edx
and edi, 7
je 0x468b704
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x468b6f0
add eax, edx
add ecx, edx
add edx, dword [esp + 4]
mov edi, ebp
sub edi, dword [esp + 0xc]
cmp edi, 0xfffffff8
ja 0x468b7af
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x468b720
jmp 0x468b7af
mov ecx, ebx
shr ecx, 2
mov eax, ebp
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov edx, ebx
and edx, 0xfffffffc
lea edi, [esi + edx]
add edx, ebp
mov ecx, dword [esp + 8]
and ecx, 1
mov eax, edx
mov dword [esp + 8], edi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
je 0x468b7af
mov eax, dword [esp + 4]
and eax, 2
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 8]
mov byte [edx + eax], cl
mov edi, dword [esp + 0x30]
push dword [edi]
call fcn.046782e0
add esp, 4
mov ebx, dword [esp + 4]
mov dword [edi], esi
lea eax, [esi + ebx]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x14]
add eax, esi
mov dword [edi + 8], eax
movzx ecx, byte [esp + 3]
mov edx, dword [esp + 0xc]
mov eax, ebp
xor eax, edx
not ebp
and ebp, edx
add ebp, ebp
sub ebp, eax
cmp ebp, ebx
jae 0x468b620
lea eax, [esi + ebp]
inc eax
add esi, ebp
mov edx, esi
mov edi, eax
mov ebx, ecx
xor ecx, ecx
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edi, eax
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov ecx, ebx
mov edi, dword [esp + 0x30]
mov esi, dword [edi]
jmp 0x468b620
mov eax, dword [esp + 0x10]
cmp dword [eax], 0xffffffff
je 0x468b85e
push 0xea8d1240
push dword [0x46b7ed0]
call fcn.046abc60
add esp, 8
push 2
mov esi, dword [esp + 0x14]
push dword [esi]
call eax
push 0xa3d60213
push dword [0x46b7ed0]
call fcn.046abc60
add esp, 8
push dword [esi]
call eax
mov dword [esi], 0xffffffff
cmp dword [esp + 0x18], 0
setg al
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 4