Function at 0x4369a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
call fcn.0040e190
sub esp, 8
push eax
test ebx, ebx
sets al
mov ecx, ebx
sub ecx, 1
sete cl
or al, cl
mov ecx, ebx
sub ecx, 0x25
setge cl
or al, cl
test al, 1
jne 0x4369d7
jmp 0x4369dc
jmp 0x436b5e
mov ecx, edi
mov eax, dword [ebp + 0x10]
add ecx, eax
add ecx, 0xffffffff
mov byte [edi + eax - 1], 0
cmp esi, 0
jne 0x4369ff
add ecx, 0xffffffff
jmp 0x4369f5
mov byte [ecx], 0x30
jmp 0x4369fa
jmp 0x436b5a
cmp ebx, 0xa
sete al
test al, 1
jne 0x436a0e
jmp 0x436a9a
jmp 0x436a10
cmp esi, 0x64
setae al
test al, 1
jne 0x436a1c
jmp 0x436a56
mov edi, 0x64
mov eax, esi
xor edx, edx
div edi
shl edx, 1
mov al, byte [edx + 0x4476d9]
mov edi, ecx
add edi, 0xffffffff
mov byte [ecx - 1], al
mov al, byte [edx + 0x4476d8]
add edi, 0xffffffff
mov byte [ecx - 2], al
mov ecx, 0x64
mov eax, esi
xor edx, edx
div ecx
mov esi, eax
mov ecx, edi
jmp 0x436a10
cmp esi, 0xa
setb al
test al, 1
jne 0x436a62
jmp 0x436a73
mov dl, byte [esi + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov eax, ecx
add eax, 0xffffffff
mov byte [ecx - 1], dl
jmp 0x436a93
shl esi, 1
mov dl, byte [esi + 0x4476d9]
mov eax, ecx
add eax, 0xffffffff
mov byte [ecx - 1], dl
mov dl, byte [esi + 0x4476d8]
add eax, 0xffffffff
mov byte [ecx - 2], dl
jmp 0x436a93
mov ecx, eax
jmp 0x436b5a
cmp ebx, 0x10
je 0x436aa4
jmp 0x436b2b
jmp 0x436aa6
cmp esi, 0x100
jb 0x436adb
mov edx, esi
and edx, 0xff
shl edx, 1
mov bl, byte [edx + 0x4477a2]
mov eax, ecx
add eax, 0xffffffff
mov byte [ecx - 1], bl
mov dl, byte [edx + str.000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDFE0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF]
add eax, 0xffffffff
mov byte [ecx - 2], dl
shr esi, 8
mov ecx, eax
jmp 0x436aa6
cmp esi, 0x10
jae 0x436aee
mov al, byte [esi + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
add ecx, 0xffffffff
mov byte [ecx], al
jmp 0x436b5a
mov edx, esi
and edx, 0xfffffffd
mov eax, esi
or eax, 0xfffffffd
xor eax, 0xffffffff
imul eax, edx
mov edx, esi
and edx, 2
or esi, 2
imul esi, edx
add esi, eax
mov al, byte [esi + 0x4477a2]
mov edx, ecx
add edx, 0xffffffff
mov byte [ecx - 1], al
mov al, byte [esi + str.000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDFE0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF]
add edx, 0xffffffff
mov byte [ecx - 2], al
mov ecx, edx
jmp 0x436b5a
cmp esi, 0
seta al
test al, 1
jne 0x436b37
jmp 0x436b58
mov eax, esi
xor edx, edx
div ebx
mov al, byte [edx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov edi, ecx
add edi, 0xffffffff
mov byte [ecx - 1], al
mov eax, esi
xor edx, edx
div ebx
mov esi, eax
mov ecx, edi
jmp 0x436b2b
jmp 0x436b5a
mov edi, ecx
jmp 0x436b5e
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret