Function at 0xca18e8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
add eax, 2
xor edx, edx
mov ecx, 3
div ecx
shl eax, 2
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
add edx, 1
mov eax, dword [ebp + 0x14]
cmp dword [eax], edx
jae 0xca1925
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, 6
jmp 0xca1b32
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 3
div ecx
imul edx, eax, 3
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], 0
jmp 0xca194f
mov eax, dword [ebp - 8]
add eax, 3
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x20]
jae 0xca1a3f
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
sar edx, 2
and edx, 0x3f
mov eax, dword [ebp - 4]
mov ecx, dword [0x4622bc]
mov dl, byte [ecx + edx]
mov byte [eax], dl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
and ecx, 3
shl ecx, 4
mov edx, 1
shl edx, 0
mov eax, dword [ebp + 8]
movzx edx, byte [eax + edx]
sar edx, 4
add ecx, edx
and ecx, 0x3f
mov eax, dword [ebp - 4]
mov edx, dword [0x4622bc]
mov cl, byte [edx + ecx]
mov byte [eax], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, 1
shl eax, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
and edx, 0xf
mov eax, 1
shl eax, 1
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + eax]
sar eax, 6
lea ecx, [eax + edx*4]
and ecx, 0x3f
mov edx, dword [ebp - 4]
mov eax, dword [0x4622bc]
mov cl, byte [eax + ecx]
mov byte [edx], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, 1
shl eax, 1
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
and edx, 0x3f
mov eax, dword [ebp - 4]
mov ecx, dword [0x4622bc]
mov dl, byte [ecx + edx]
mov byte [eax], dl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
add ecx, 3
mov dword [ebp + 8], ecx
jmp 0xca1946
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jae 0xca1b1f
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
add ecx, 1
cmp ecx, dword [ebp + 0xc]
jae 0xca1a7c
mov edx, 1
shl edx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
mov dword [ebp - 0x10], ecx
jmp 0xca1a83
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
shr eax, 2
and eax, 0x3f
mov ecx, dword [ebp - 4]
mov edx, dword [0x4622bc]
mov al, byte [edx + eax]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x14]
and edx, 3
shl edx, 4
mov eax, dword [ebp - 0x18]
shr eax, 4
add edx, eax
and edx, 0x3f
mov ecx, dword [ebp - 4]
mov eax, dword [0x4622bc]
mov dl, byte [eax + edx]
mov byte [ecx], dl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 1
cmp ecx, dword [ebp + 0xc]
jae 0xca1af8
mov edx, dword [ebp - 0x18]
and edx, 0xf
shl edx, 2
and edx, 0x3f
mov eax, dword [0x4622bc]
movsx ecx, byte [eax + edx]
mov dword [ebp - 0x1c], ecx
jmp 0xca1aff
mov dword [ebp - 0x1c], 0x3d
mov edx, dword [ebp - 4]
mov al, byte [ebp - 0x1c]
mov byte [edx], al
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov byte [edx], 0x3d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
xor eax, eax
mov esp, ebp
pop ebp
ret