Function at 0x42e860
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov bl, byte [ebp + 8]
call fcn.00413a70
sub esp, 8
push eax
test edi, edi
sets al
mov ecx, edi
sub ecx, 1
sete cl
or al, cl
mov ecx, edi
sub ecx, 0x25
setge cl
or al, cl
test al, 1
jne 0x42e898
jmp 0x42e89d
jmp 0x42ea12
movzx eax, bl
mov ecx, esi
mov edx, dword [ebp + 0x10]
add ecx, edx
add ecx, 0xffffffff
mov byte [esi + edx - 1], 0
cmp eax, 0
jne 0x42e8c5
add ecx, 0xffffffff
jmp 0x42e8b9
mov byte [ecx], 0x30
jmp 0x42e8be
jmp 0x42e8c0
jmp 0x42ea0e
cmp edi, 0xa
jne 0x42e96f
jmp 0x42e8d0
movzx esi, bl
cmp esi, 0x64
setae al
test al, 1
jne 0x42e8df
jmp 0x42e923
mov edi, 0x64
mov eax, esi
xor edx, edx
div edi
jmp 0x42e8ec
shl edx, 1
jmp 0x42e8f0
lea eax, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
add eax, edx
mov dl, byte [edx + 0x4402d7]
mov edi, ecx
add edi, 0xffffffff
mov byte [ecx - 1], dl
jmp 0x42e909
mov al, byte [eax]
add edi, 0xffffffff
jmp 0x42e910
mov byte [edi], al
mov ecx, 0x64
mov eax, esi
xor edx, edx
div ecx
mov ebx, eax
mov ecx, edi
jmp 0x42e8d0
cmp esi, 0xa
setb al
test al, 1
jne 0x42e92f
jmp 0x42e948
lea eax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
add eax, esi
jmp 0x42e939
mov al, byte [eax]
jmp 0x42e93d
add ecx, 0xffffffff
jmp 0x42e942
mov byte [ecx], al
jmp 0x42e946
jmp 0x42e96a
shl esi, 1
mov dl, byte [esi + 0x4402d7]
mov eax, ecx
add eax, 0xffffffff
mov byte [ecx - 1], dl
mov dl, byte [esi + str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899]
add eax, 0xffffffff
mov byte [ecx - 2], dl
mov ecx, eax
jmp 0x42e96a
jmp 0x42ea0e
cmp edi, 0x10
je 0x42e976
jmp 0x42e9d8
movzx eax, bl
jmp 0x42e97b
cmp eax, 0x10
setl dl
test dl, 1
jne 0x42e988
jmp 0x42e99b
mov al, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov edx, ecx
add edx, 0xffffffff
mov byte [ecx - 1], al
mov ecx, edx
jmp 0x42ea0e
mov edx, eax
xor edx, 0xffffffff
and edx, 2
mov esi, eax
and esi, 0xfffffffd
imul esi, edx
mov edx, eax
and edx, 2
or eax, 2
imul eax, edx
add eax, esi
mov bl, byte [eax + 0x4403a0]
mov edx, ecx
add edx, 0xffffffff
mov byte [ecx - 1], bl
mov al, byte [eax + str.000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDFE0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF]
add edx, 0xffffffff
mov byte [ecx - 2], al
mov ecx, edx
jmp 0x42ea0e
movzx esi, bl
cmp esi, 0
seta al
test al, 1
jne 0x42e9e7
jmp 0x42ea0c
mov eax, esi
xor edx, edx
div edi
mov al, byte [edx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov edx, ecx
add edx, 0xffffffff
mov dword [ebp - 0x10], edx
mov byte [ecx - 1], al
mov eax, esi
xor edx, edx
div edi
mov ebx, eax
mov ecx, dword [ebp - 0x10]
jmp 0x42e9d8
jmp 0x42ea0e
mov esi, ecx
jmp 0x42ea12
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret