Function at 0x4375f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
call fcn.0040ea40
push eax
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 0x437625
jmp 0x43762a
jmp 0x4377c8
add esi, dword [ebp + 0x10]
add esi, 0xffffffff
jmp 0x437632
mov byte [esi], 0
cmp edi, 0
sete al
jmp 0x43763d
test al, 1
jne 0x437643
jmp 0x437653
mov eax, esi
add eax, 0xffffffff
mov byte [esi - 1], 0x30
mov esi, eax
jmp 0x4377c6
cmp ebx, 0xa
sete al
test al, 1
jne 0x437662
jmp 0x4376ec
jmp 0x437664
cmp edi, 0x64
setae al
test al, 1
jne 0x437670
jmp 0x4376aa
mov ecx, 0x64
mov eax, edi
xor edx, edx
div ecx
shl edx, 1
mov al, byte [edx + 0x44c761]
mov ecx, esi
add ecx, 0xffffffff
mov byte [esi - 1], al
mov al, byte [edx + 0x44c760]
add ecx, 0xffffffff
mov byte [esi - 2], al
mov esi, 0x64
mov eax, edi
xor edx, edx
div esi
mov edi, eax
mov esi, ecx
jmp 0x437664
cmp edi, 0xa
setb al
test al, 1
jne 0x4376b6
jmp 0x4376c7
mov cl, byte [edi + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov eax, esi
add eax, 0xffffffff
mov byte [esi - 1], cl
jmp 0x4376e5
shl edi, 1
lea ecx, [0x44c760]
add ecx, edi
mov dl, byte [ecx + 1]
mov eax, esi
add eax, 0xffffffff
mov byte [esi - 1], dl
mov cl, byte [ecx]
add eax, 0xffffffff
jmp 0x4376e3
mov byte [eax], cl
mov esi, eax
jmp 0x4377c6
cmp ebx, 0x10
sete al
test al, 1
jne 0x4376fd
jmp 0x4376f8
jmp 0x437797
jmp 0x4376ff
cmp edi, 0x100
jb 0x43773b
mov ecx, edi
and ecx, 0xff
shl ecx, 1
lea eax, str.000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDFE0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF
add eax, ecx
mov dl, byte [ecx + 0x44c82a]
jmp 0x437722
mov ecx, esi
add ecx, 0xffffffff
mov byte [esi - 1], dl
mov al, byte [eax]
jmp 0x43772e
mov esi, ecx
add esi, 0xffffffff
mov byte [ecx - 1], al
shr edi, 8
jmp 0x4376ff
cmp edi, 0x10
setb al
test al, 1
jne 0x437747
jmp 0x43775a
mov al, byte [edi + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov ecx, esi
add ecx, 0xffffffff
mov byte [esi - 1], al
mov esi, ecx
jmp 0x4377c6
mov ecx, edi
and ecx, 0xfffffffd
mov eax, edi
or eax, 0xfffffffd
xor eax, 0xffffffff
imul eax, ecx
mov ecx, edi
and ecx, 2
or edi, 2
imul edi, ecx
add edi, eax
lea eax, str.000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDFE0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF
add eax, edi
jmp 0x437781
mov cl, byte [eax + 1]
mov edx, esi
add edx, 0xffffffff
mov byte [esi - 1], cl
mov al, byte [eax]
mov esi, edx
add esi, 0xffffffff
mov byte [esi], al
jmp 0x4377c6
cmp edi, 0
seta al
test al, 1
jne 0x4377a3
jmp 0x4377c4
mov eax, edi
xor edx, edx
div ebx
mov al, byte [edx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov ecx, esi
add ecx, 0xffffffff
mov byte [esi - 1], al
mov eax, edi
xor edx, edx
div ebx
mov edi, eax
mov esi, ecx
jmp 0x437797
jmp 0x4377c6
jmp 0x4377c8
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret