Function at 0x40197f
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
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 edx, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x401ad7
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jae 0x4019e2
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 0x4019e7
mov eax, 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jae 0x401a08
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 0x401a0d
mov eax, 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jae 0x401a2e
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 0x401a33
mov eax, 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x10
mov edx, eax
mov eax, dword [ebp - 0x1c]
shl eax, 8
add edx, eax
mov eax, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
lea edx, [ecx + eax]
mov eax, dword [ebp - 0x24]
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
lea edx, [ecx + eax]
mov eax, dword [ebp - 0x24]
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
lea edx, [ecx + eax]
mov eax, dword [ebp - 0x24]
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
lea edx, [ecx + eax]
mov eax, dword [ebp - 0x24]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jb 0x4019c4
mov dword [ebp - 0xc], 0
jmp 0x401b03
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
sub eax, 1
add eax, edx
mov byte [eax], 0x3d
add dword [ebp - 0xc], 1
mov ecx, dword [ebp + 0xc]
mov edx, 0xaaaaaaab
mov eax, ecx
mul edx
shr edx, 1
mov eax, edx
add eax, eax
add eax, edx
sub ecx, eax
mov edx, ecx
mov eax, 3
sub eax, edx
mov ecx, eax
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, dword [ebp - 0xc]
ja 0x401aec
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [ebp - 0x14]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
leave
ret