Function at 0x4ecef0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x640a68
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6eed24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], edi
test ecx, ecx
jne 0x4ecf6f
mov eax, dword [0x6f9c54]
test al, 1
jne 0x4ecf5e
or eax, 1
mov dword [0x6f9c4c], ecx
mov dword [0x6f9c54], eax
xor eax, eax
push 0x648670
mov dword [0x6f9c50], 7
mov word [0x6f9c3c], ax
call fcn.004b2543
add esp, 4
push 0x6f9c3c
mov ecx, edi
call fcn.004e3120
jmp 0x4ed142
mov eax, 0xaaaaaaab
mov dword [ebp - 0x18], 0
mul ecx
mov ebx, ecx
mov dword [ebp - 0x14], 7
shr edx, 1
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [edx + edx*2]
sub ebx, esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], eax
xor edx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x30], 3
div dword [ebp - 0x30]
mov eax, 0xaaaaaaab
sub ecx, edx
add ecx, 2
mul ecx
lea ecx, [ebp - 0x28]
shr edx, 1
shl edx, 2
push edx
call fcn.004e36d0
mov eax, 0xaaaaaaab
mul esi
mov esi, dword [ebp + 0xc]
shr edx, 1
je 0x4ed061
mov ebx, edx
movzx eax, byte [esi]
lea ecx, [ebp - 0x28]
shr eax, 2
movzx eax, word [eax*2 + 0x674620]
push eax
call fcn.004ee9b0
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
and cl, 3
shr al, 4
shl cl, 4
add cl, al
movzx eax, cl
lea ecx, [ebp - 0x28]
movzx eax, word [eax*2 + 0x674620]
push eax
call fcn.004ee9b0
movzx ecx, byte [esi + 1]
movzx eax, byte [esi + 2]
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
movzx eax, cl
lea ecx, [ebp - 0x28]
movzx eax, word [eax*2 + 0x674620]
push eax
call fcn.004ee9b0
movzx eax, byte [esi + 2]
lea ecx, [ebp - 0x28]
and eax, 0x3f
movzx eax, word [eax*2 + 0x674620]
push eax
call fcn.004ee9b0
add esi, 3
sub ebx, 1
jne 0x4ecfd6
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4ed111
xor al, al
mov word [ebp - 0x30], 0
mov byte [ebp - 0x29], al
xor bh, bh
mov byte [ebp - 0x2e], al
xor bl, bl
mov eax, dword [ebp - 0x34]
test al, al
je 0x4ed0a3
lea ecx, [ebp - 0x30]
movzx edx, al
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
sub edx, 1
jne 0x4ed088
mov al, byte [ebp - 0x2e]
mov bl, byte [ebp - 0x2f]
mov bh, byte [ebp - 0x30]
mov byte [ebp - 0x29], al
movzx eax, bh
lea ecx, [ebp - 0x28]
shr eax, 2
movzx eax, word [eax*2 + 0x674620]
push eax
call fcn.004ee9b0
and bh, 3
lea ecx, [ebp - 0x28]
mov al, bl
shl bh, 4
shr al, 4
add bh, al
movzx eax, bh
movzx eax, word [eax*2 + 0x674620]
push eax
call fcn.004ee9b0
cmp dword [ebp - 0x34], 2
lea ecx, [ebp - 0x28]
jne 0x4ed100
mov al, byte [ebp - 0x29]
and bl, 0xf
shr al, 6
shl bl, 2
add bl, al
movzx eax, bl
movzx eax, word [eax*2 + 0x674620]
push eax
jmp 0x4ed102
push 0x3d
call fcn.004ee9b0
push 0x3d
lea ecx, [ebp - 0x28]
call fcn.004ee9b0
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b2558
mov esp, ebp
pop ebp
ret