Function at 0x407c44
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], str.input:__s_n
call sym._printf_12
mov eax, dword [ebp + 0xc]
add eax, 2
mov edx, 0xaaaaaaab
mul edx
mov eax, edx
shr eax, 1
shl eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x407c95
mov eax, 0
jmp 0x407e27
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x407db7
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jae 0x407cc6
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
jmp 0x407ccb
mov eax, 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jae 0x407cec
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
jmp 0x407cf1
mov eax, 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jae 0x407d12
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
jmp 0x407d17
mov eax, 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
shl eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x20]
shl eax, 8
add edx, eax
mov eax, dword [ebp - 0x24]
add eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
shr eax, 0x12
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
add edx, eax
movzx eax, byte [ecx + 0x43c220]
mov byte [edx], al
mov eax, dword [ebp - 0x28]
shr eax, 0xc
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
add edx, eax
movzx eax, byte [ecx + 0x43c220]
mov byte [edx], al
mov eax, dword [ebp - 0x28]
shr eax, 6
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
add edx, eax
movzx eax, byte [ecx + 0x43c220]
mov byte [edx], al
mov eax, dword [ebp - 0x28]
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
add edx, eax
movzx eax, byte [ecx + 0x43c220]
mov byte [edx], al
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jb 0x407ca8
mov ecx, dword [ebp + 0xc]
mov edx, 0xaaaaaaab
mov eax, ecx
mul edx
mov eax, edx
shr eax, 1
mov edx, eax
add edx, edx
add edx, eax
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x407de9
cmp eax, 2
je 0x407df7
jmp 0x407e06
mov eax, dword [ebp - 0x14]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x18]
add eax, edx
mov byte [eax], 0x3d
mov eax, dword [ebp - 0x14]
lea edx, [eax - 2]
mov eax, dword [ebp - 0x18]
add eax, edx
mov byte [eax], 0x3d
nop
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov dword [esp], str.bongo:__s_n
call sym._printf_12
mov eax, dword [ebp - 0x18]
leave
ret