Function at 0x47adb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
cmp byte [0x522d62], 0
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
je 0x47ae40
mov eax, dword [sym.zsh.exe_locallevel]
test eax, eax
jne 0x47ae40
mov dword [esp + 4], esi
mov dword [esp], 0x20
call sub.cygwin1.dll_fputc
lea esi, [esi]
movzx eax, byte [ebx]
test al, al
je 0x47ae1d
cmp al, 0x25
je 0x47ae70
movsx edx, al
cmp al, 0x83
jne 0x47ae07
movzx edx, byte [ebx + 1]
add ebx, 1
xor edx, 0x20
movsx edx, dl
mov dword [esp + 4], esi
add ebx, 1
mov dword [esp], edx
call sub.cygwin1.dll_putc
movzx eax, byte [ebx]
test al, al
jne 0x47adef
mov dword [esp + 4], esi
mov dword [esp], 0xa
call sub.cygwin1.dll_putc
mov dword [esp + 0x40], esi
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp sub.cygwin1.dll_fflush
mov eax, dword [0x522e0c]
mov edx, dword [0x522e08]
mov ecx, eax
or ecx, edx
je 0x47add5
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], str._lld:
mov dword [esp], esi
call sub.cygwin1.dll_fprintf
jmp 0x47ade8
movzx eax, byte [ebx + 1]
lea ebp, [ebx + 2]
cmp al, 0x25
je 0x47b078
sub eax, 0x4c
cmp al, 0x27
ja case.0x47ae89.1
movzx eax, al
jmp dword [eax*4 + 0x4f9f50]
mov ebx, ebp
jmp 0x47ade8
mov dword [esp + 0xc], 0
lea ebx, [edi + 4]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov eax, dword [edi]
mov edi, ebx
mov ebx, ebp
mov dword [esp], eax
call sym.zsh.exe_mb_niceformat
jmp 0x47ade8
lea eax, [edi + 8]
mov edx, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x18], eax
lea eax, [edi - 1]
test edi, edi
je 0x47b0bf
mov ecx, edx
jmp 0x47aef8
add ecx, 1
sub eax, 1
jb 0x47af08
cmp byte [ecx], 0x83
jne 0x47aef0
add edi, 1
add ecx, 2
sub eax, 1
jae 0x47aef8
lea eax, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x1c], edx
call sym.zsh.exe_zhalloc
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], edi
mov dword [esp], eax
mov ebx, eax
mov dword [esp + 4], edx
call sub.cygwin1.dll_memcpy
mov byte [ebx + edi], 0
mov dword [esp], ebx
mov ebx, ebp
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
call sym.zsh.exe_mb_niceformat
mov edi, dword [esp + 0x18]
jmp 0x47ade8
mov ebx, dword [edi]
lea eax, [edi + 4]
mov dword [esp + 0x18], eax
cmp ebx, 4
je 0x47b0cb
mov dword [esp], ebx
call sub.cygwin1.dll_strerror
mov edi, eax
cmp ebx, 5
je 0x47b090
movzx edx, byte [eax]
mov dword [esp + 0x1c], edx
call sub.cygwin1.dll___locale_ctype_ptr
mov edx, dword [esp + 0x1c]
movzx eax, byte [edx + eax + 1]
and eax, 3
cmp al, 1
je 0x47b0a7
mov dword [esp], edx
add edi, 1
mov ebx, ebp
mov dword [esp + 4], esi
call sub.cygwin1.dll_fputc
mov dword [esp], edi
mov dword [esp + 4], esi
call sub.cygwin1.dll_fputs
mov edi, dword [esp + 0x18]
jmp 0x47ade8
mov eax, dword [edi]
mov dword [esp + 4], 0x4f9f3f
lea ebx, [edi + 4]
mov dword [esp], esi
mov edi, ebx
mov ebx, ebp
mov dword [esp + 8], eax
call sub.cygwin1.dll_fprintf
jmp 0x47ade8
mov eax, dword [edi]
mov dword [esp + 0xc], 0
lea ebx, [edi + 4]
mov dword [esp + 8], 0
mov edi, ebx
mov ebx, ebp
movzx eax, ax
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [0x528c24], 0
mov dword [0x528c28], 0
call sym.zsh.exe_wcs_nicechar_sel
mov dword [esp + 4], esi
mov dword [esp], eax
call sym.zsh.exe_zputs
jmp 0x47ade8
mov eax, dword [edi]
mov dword [esp + 4], 0x4f9f3b
lea ebx, [edi + 4]
mov dword [esp], esi
mov edi, ebx
mov ebx, ebp
mov dword [esp + 8], eax
call sub.cygwin1.dll_fprintf
jmp 0x47ade8
mov dword [esp + 4], esi
mov ebx, ebp
mov dword [esp], 0x25
call sub.cygwin1.dll_putc
jmp 0x47ade8
mov dword [esp + 4], esi
mov ebx, ebp
mov dword [esp], eax
call sub.cygwin1.dll_fputs
mov edi, dword [esp + 0x18]
jmp 0x47ade8
call sub.cygwin1.dll___locale_ctype_ptr
mov edx, dword [esp + 0x1c]
mov dword [esp], edx
call fcn.004e62b0
mov edx, eax
jmp 0x47afa5
xor edi, edi
mov eax, 1
jmp 0x47af0b
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0xa
mov dword [esp + 4], 1
mov dword [esp], str.interrupt_n
call sub.cygwin1.dll_fwrite
or dword [sym.zsh.exe_errflag], 1
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret