Function at 0x4cedd8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x46d]
movzx ecx, dl
cmp ecx, 6
ja case.0x4cee72.0
jmp dword [ecx*4 + 0x4cee0b]
movzx edx, byte [eax + 0x46c]
sub dl, 8
je 0x4cee3d
sub dl, 8
je 0x4cee4c
jmp case.0x4cee72.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4ceaa4
jmp case.0x4cee72.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4ceaf8
jmp case.0x4cee72.0
movzx ecx, byte [eax + 0x46c]
cmp ecx, 0x10
ja case.0x4cee72.0
movzx ecx, byte [ecx + 0x4cee79]
jmp dword [ecx*4 + 0x4cee8a]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4ceb98
jmp case.0x4cee72.0
cmp dl, 3
jne 0x4ceeb7
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4cebf0
jmp case.0x4cee72.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4cebac
jmp case.0x4cee72.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4cec34
jmp case.0x4cee72.0
movzx edx, byte [eax + 0x46c]
sub dl, 8
je 0x4ceee2
sub dl, 8
je 0x4ceeee
jmp case.0x4cee72.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4cec60
jmp case.0x4cee72.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4cecc4
jmp case.0x4cee72.0
movzx edx, byte [eax + 0x46c]
sub dl, 8
je 0x4cef0d
sub dl, 8
je 0x4cef19
jmp case.0x4cee72.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4ced74
jmp case.0x4cee72.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4ced9c
mov edx, dword [eax + 0x454]
test edx, edx
je 0x4cef41
mov ecx, dword [eax + 0x478]
mov esi, dword [ebx + 0x1c]
dec esi
imul ecx, esi
add ecx, edx
mov dword [ebp - 0xc], ecx
jmp 0x4cef46
xor edx, edx
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x458]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x44c]
test edx, edx
je 0x4cef6a
mov esi, dword [eax + 0x478]
mov eax, dword [ebx + 0x1c]
dec eax
imul esi, eax
add esi, edx
jmp 0x4cef6c
xor esi, esi
mov eax, dword [ebx + 0x1c]
dec eax
test eax, eax
jb 0x4cf04d
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004cde0c
sub eax, 0xffffffff
je 0x4cefa8
dec eax
jne 0x4ceffd
jmp 0x4cf04d
mov eax, dword [ebx + 0x14]
mov edx, dword [eax + 0x478]
imul edx, dword [ebx + 0x1c]
mov eax, dword [eax + 0x454]
xor ecx, ecx
call fcn.0040372c
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x458]
test eax, eax
je 0x4cefdd
mov edx, dword [ebx + 0x18]
imul edx, dword [ebx + 0x1c]
xor ecx, ecx
call fcn.0040372c
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + 0x44c]
test eax, eax
je 0x4cf04d
mov edx, dword [edx + 0x478]
imul edx, dword [ebx + 0x1c]
xor ecx, ecx
call fcn.0040372c
jmp 0x4cf04d
mov eax, ebx
call fcn.004cf058
mov eax, dword [ebp - 8]
push eax
push esi
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x478]
sub dword [ebp - 0xc], eax
test esi, esi
je 0x4cf038
sub esi, eax
cmp dword [ebp - 8], 0
je 0x4cf044
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec dword [ebp - 0x1c]
jne 0x4cef7c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8