Function at 0x4dff00
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x5469f0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
xor edi, edi
mov dword [esp + 0x24], esi
cmp eax, edi
je 0x4dff4f
add eax, 4
jmp 0x4dff51
xor eax, eax
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], edi
mov byte [esp + 0x40], 0
call fcn.004787f0
mov dword [esp + 0x2c], 0x469080
mov ebp, dword [esp + 0x68]
push ebp
push edi
push esi
mov dword [esp + 0x64], edi
call fcn.00526600
mov eax, dword [esp + 0x50]
add esp, 0xc
test al, 3
je 0x4dffb5
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0x469080
jb 0x4dffae
mov eax, dword [esp + 0x34]
push eax
call fcn.005265f5
add esp, 4
xor eax, eax
jmp 0x4e0154
lea edi, [eax + eax*2]
shr edi, 2
lea ecx, [edi + 3]
push ecx
mov dword [esp + 0x24], edi
call fcn.005260f6
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x44]
mov byte [esp + 0x58], 1
test eax, eax
jbe 0x4e00f0
mov edi, 2
jmp 0x4dfff4
mov ebx, dword [esp + 0x1c]
lea edx, [edi - 2]
cmp edx, eax
jbe 0x4e0000
call fcn.00526bf6
mov eax, dword [esp + 0x34]
mov ebp, 0x10
cmp dword [esp + 0x48], ebp
jae 0x4e0013
lea eax, [esp + 0x34]
lea eax, [edi + eax - 2]
push eax
mov ecx, ebx
call fcn.004dfe40
lea ecx, [edi - 1]
mov byte [esp + 0x14], al
cmp ecx, dword [esp + 0x44]
jbe 0x4e0031
call fcn.00526bf6
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x4e003f
lea eax, [esp + 0x34]
lea edx, [edi + eax - 1]
push edx
mov ecx, ebx
call fcn.004dfe40
mov byte [esp + 0x1b], al
cmp edi, dword [esp + 0x44]
jbe 0x4e005a
call fcn.00526bf6
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x4e0068
lea eax, [esp + 0x34]
add eax, edi
push eax
mov ecx, ebx
call fcn.004dfe40
lea ebp, [edi + 1]
mov bl, al
cmp ebp, dword [esp + 0x44]
jbe 0x4e0082
call fcn.00526bf6
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x4e0091
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x1c]
add ebp, eax
push ebp
call fcn.004dfe40
mov cl, byte [esp + 0x14]
mov dl, byte [esp + 0x1b]
sar dl, 4
add cl, cl
and dl, 3
add cl, cl
or dl, cl
mov cl, byte [esp + 0x1b]
mov byte [esi], dl
mov dl, bl
sar dl, 2
shl cl, 4
inc esi
and dl, 0xf
or dl, cl
mov byte [esi], dl
and al, 0x3f
shl bl, 6
inc esi
or al, bl
add edi, 4
mov byte [esi], al
mov eax, dword [esp + 0x44]
lea ecx, [edi - 2]
inc esi
cmp ecx, eax
jb 0x4dfff0
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x28]
push 1
push 0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x20], 0x3d
call fcn.004bb940
cmp eax, 0xffffffff
je 0x4e0112
sub eax, dword [esp + 0x44]
add edi, eax
mov eax, edi
cmp edi, ebp
jb 0x4e011a
mov eax, ebp
push eax
mov eax, dword [esp + 0x28]
push esi
push eax
call fcn.00526df0
add esp, 0xc
test esi, esi
je 0x4e0136
push esi
call fcn.005265f5
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0x469080
jb 0x4e0152
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005265f5
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00526a8a
add esp, 0x48
ret 0xc