Function at 0x419560
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push edi
push esi
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test edi, edi
sets bl
mov esi, edi
sub esi, 1
sete bh
or bl, bh
mov esi, edi
sub esi, 0x25
setge bh
or bl, bh
test bl, 1
jne 0x419593
jmp 0x419598
jmp 0x419728
mov esi, ecx
add esi, edx
add esi, 0xffffffff
mov byte [ecx + edx - 1], 0
jmp 0x4195a6
cmp eax, 0
sete cl
jmp 0x4195ae
test cl, 1
jne 0x4195b5
jmp 0x4195c0
add esi, 0xffffffff
mov byte [esi], 0x30
jmp 0x419724
cmp edi, 0xa
jne 0x419656
jmp 0x4195cb
cmp eax, 0x64
setae cl
test cl, 1
jne 0x4195d8
jmp 0x419612
mov edi, 0x64
mov ecx, eax
mov eax, ecx
xor edx, edx
div edi
shl edx, 1
mov al, byte [edx + 0x446761]
mov edi, esi
add edi, 0xffffffff
mov byte [esi - 1], al
mov al, byte [edx + 0x446760]
add edi, 0xffffffff
mov byte [esi - 2], al
mov esi, 0x64
mov eax, ecx
xor edx, edx
div esi
mov esi, edi
jmp 0x4195cb
cmp eax, 0xa
setb cl
test cl, 1
jne 0x41961f
jmp 0x419631
mov al, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
add esi, 0xffffffff
jmp 0x41962b
mov byte [esi], al
jmp 0x41962f
jmp 0x419651
shl eax, 1
lea ecx, [0x446760]
add ecx, eax
mov al, byte [ecx + 1]
add esi, 0xffffffff
jmp 0x419643
mov byte [esi], al
mov al, byte [ecx]
mov ecx, esi
add ecx, 0xffffffff
mov byte [esi - 1], al
mov esi, ecx
jmp 0x419724
cmp edi, 0x10
sete cl
jmp 0x41965e
test cl, 1
jne 0x41966a
jmp 0x419665
jmp 0x419701
jmp 0x41966c
cmp eax, 0x100
setae cl
test cl, 1
jne 0x41967b
jmp 0x4196a8
mov ecx, eax
and ecx, 0xff
shl ecx, 1
mov dl, byte [ecx + 0x44682a]
mov edi, esi
add edi, 0xffffffff
mov byte [esi - 1], dl
mov cl, byte [ecx + str.000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDFE0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF]
add edi, 0xffffffff
mov byte [esi - 2], cl
shr eax, 8
mov esi, edi
jmp 0x41966c
cmp eax, 0x10
jae 0x4196c0
mov cl, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov eax, esi
add eax, 0xffffffff
mov byte [esi - 1], cl
mov esi, eax
jmp 0x419724
mov ecx, eax
and ecx, 0xfffffffd
mov edx, eax
or edx, 0xfffffffd
xor edx, 0xffffffff
imul edx, ecx
mov ecx, eax
and ecx, 2
or eax, 2
imul eax, ecx
add eax, edx
lea ecx, str.000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDFE0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF
add ecx, eax
mov al, byte [eax + 0x44682a]
mov edx, esi
add edx, 0xffffffff
mov byte [esi - 1], al
mov al, byte [ecx]
mov esi, edx
add esi, 0xffffffff
jmp 0x4196fd
mov byte [esi], al
jmp 0x419724
cmp eax, 0
jbe 0x419722
mov ecx, eax
xor edx, edx
div edi
mov eax, ecx
jmp 0x419710
mov cl, byte [edx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
add esi, 0xffffffff
mov byte [esi], cl
xor edx, edx
div edi
jmp 0x419701
jmp 0x419724
mov ecx, esi
jmp 0x419728
mov eax, ecx
pop esi
pop edi
pop ebx
ret