Function at 0x45fdf0
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004061cc
xor eax, eax
push ebp
push 0x2daf477
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x2ed1510], 0
jne 0x45fe22
call fcn.0045fb40
mov eax, dword [ebp - 4]
call fcn.00405fe4
mov ecx, 3
cdq
idiv ecx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405fe4
mov ecx, 3
cdq
idiv ecx
test edx, edx
je 0x45fe49
inc esi
mov edx, esi
shl edx, 2
mov eax, edi
call fcn.00406368
xor esi, esi
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00405fe4
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 0xc]
jge 0x45ff30
inc esi
mov eax, dword [ebp - 4]
mov al, byte [eax + esi - 1]
mov byte [ebp - 5], al
inc esi
mov eax, dword [ebp - 4]
mov al, byte [eax + esi - 1]
mov byte [ebp - 6], al
inc esi
mov eax, dword [ebp - 4]
mov al, byte [eax + esi - 1]
mov byte [ebp - 7], al
inc ebx
mov eax, edi
call fcn.00406234
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 2
mov dl, byte [edx + 0x2edff48]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00406234
mov dl, byte [ebp - 5]
and dl, 3
and edx, 0xff
shl edx, 4
xor ecx, ecx
mov cl, byte [ebp - 6]
shr ecx, 4
or edx, ecx
mov dl, byte [edx + 0x2edff48]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00406234
mov dl, byte [ebp - 6]
and dl, 0xf
and edx, 0xff
shl edx, 2
xor ecx, ecx
mov cl, byte [ebp - 7]
shr ecx, 6
or edx, ecx
mov dl, byte [edx + 0x2edff48]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00406234
mov dl, byte [ebp - 7]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x2edff48]
mov byte [eax + ebx - 1], dl
cmp esi, dword [ebp - 0xc]
jl 0x45fe78
mov eax, dword [ebp - 4]
call fcn.00405fe4
mov ecx, 3
cdq
idiv ecx
dec edx
jne 0x45ffa8
inc esi
mov eax, dword [ebp - 4]
mov al, byte [eax + esi - 1]
mov byte [ebp - 5], al
inc ebx
mov eax, edi
call fcn.00406234
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 2
mov dl, byte [edx + 0x2edff48]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00406234
mov dl, byte [ebp - 5]
and dl, 3
and edx, 0xff
shl edx, 4
mov dl, byte [edx + 0x2edff48]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00406234
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00406234
mov byte [eax + ebx - 1], 0x3d
jmp 0x46004a
mov eax, dword [ebp - 4]
call fcn.00405fe4
mov ecx, 3
cdq
idiv ecx
cmp edx, 2
jne 0x46004a
inc esi
mov eax, dword [ebp - 4]
mov al, byte [eax + esi - 1]
mov byte [ebp - 5], al
inc esi
mov eax, dword [ebp - 4]
mov al, byte [eax + esi - 1]
mov byte [ebp - 6], al
inc ebx
mov eax, edi
call fcn.00406234
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 2
mov dl, byte [edx + 0x2edff48]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00406234
mov dl, byte [ebp - 5]
and dl, 3
and edx, 0xff
shl edx, 4
xor ecx, ecx
mov cl, byte [ebp - 6]
shr ecx, 4
or edx, ecx
mov dl, byte [edx + 0x2edff48]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00406234
mov dl, byte [ebp - 6]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov dl, byte [edx + 0x2edff48]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00406234
mov byte [eax + ebx - 1], 0x3d
call fcn.0045a5dc
test al, al
je 0x460061
lea eax, [ebp - 4]
or ecx, 0xffffffff
or edx, 0xffffffff
call fcn.0045a3f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2daf47e
lea eax, [ebp - 4]
call fcn.00405d10
ret