Function at 0x4c6ae8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4c6af0
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040509c
xor eax, eax
push ebp
push 0x4c6f8f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00408ff4
mov eax, dword [ebp - 0x2c]
mov edx, 1
call fcn.004c6a98
mov edi, eax
test edi, edi
jbe 0x4c6f2e
mov byte [ebp - 0x25], 1
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00408ff4
mov edx, dword [ebp - 0x30]
lea ecx, [edi + 5]
mov eax, 0x4c6fa8
call fcn.00491b24
mov esi, eax
test esi, esi
jne 0x4c6b62
mov byte [ebp - 0x25], 0
cmp byte [ebp - 0x25], 0
je 0x4c6b8d
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00408ff4
mov edx, dword [ebp - 0x34]
lea ecx, [esi + 1]
mov eax, 0x4c6fa8
call fcn.00491b24
mov esi, eax
test esi, esi
jne 0x4c6b8d
mov byte [ebp - 0x25], 0
cmp byte [ebp - 0x25], 0
je 0x4c6ef0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00408ff4
mov edx, dword [ebp - 0x38]
lea ecx, [esi + 1]
mov eax, 0x4c6fb4
call fcn.00491b24
mov esi, eax
test esi, esi
jbe 0x4c6ef0
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
sub ecx, edi
add ecx, 2
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0040510c
mov ebx, 1
mov edx, dword [ebp - 0x24]
mov eax, 0x4c6fa8
call fcn.004051f0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404eac
mov ecx, eax
sub ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [ebp - 0xc]
inc edx
mov eax, dword [ebp - 0x24]
call fcn.0040510c
cmp ebx, 1
jne 0x4c6c2c
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x24]
mov eax, 0x4c6fa8
call fcn.004051f0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040510c
jmp 0x4c6c47
cmp ebx, 2
jne 0x4c6c47
lea eax, [ebp - 0x10]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040510c
inc ebx
cmp ebx, 4
jne 0x4c6bd6
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404eac
mov edx, eax
dec edx
mov ecx, 2
mov eax, dword [ebp - 0x24]
call fcn.0040510c
mov eax, dword [ebp - 0x3c]
mov edx, 0x4c6fb4
call fcn.00404ff8
je 0x4c6c7c
mov byte [ebp - 0x25], 0
mov edx, 0x4c6fc0
mov eax, dword [ebp - 0x10]
call fcn.00409234
and al, byte [ebp - 0x25]
je 0x4c6d91
mov ebx, 1
lea eax, [ebp - 0x18]
call fcn.00404bec
mov eax, dword [ebp - 0x24]
cmp byte [eax + ebx - 1], 0x5f
jne 0x4c6cbb
lea eax, [ebp - 0x18]
mov edx, 0x4c6fcc
call fcn.00404eb4
jmp 0x4c6d70
mov eax, dword [ebp - 0x24]
cmp byte [eax + ebx - 1], 0x3d
jne 0x4c6d56
mov eax, dword [ebp - 0x24]
call fcn.00404eac
lea edx, [ebx + 4]
cmp eax, edx
jl 0x4c6d56
mov edx, 0x4c6fd0
lea eax, [ebp - 0x48]
call fcn.0040349c
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov cl, 2
call fcn.0040346c
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x50]
call fcn.0040349c
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x50]
mov cl, 3
call fcn.0040346c
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x44]
call fcn.00404e50
mov eax, dword [ebp - 0x44]
call fcn.00409804
mov edx, eax
lea eax, [ebp - 0x40]
call fcn.00404dd4
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x18]
call fcn.00404eb4
add ebx, 2
jmp 0x4c6d70
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx - 1]
call fcn.00404dd4
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x18]
call fcn.00404eb4
inc ebx
mov eax, dword [ebp - 0x24]
cmp byte [eax + ebx - 1], 0x3f
jne 0x4c6c9f
mov eax, dword [ebp - 0x24]
cmp byte [eax + ebx], 0x3d
jne 0x4c6c9f
jmp 0x4c6e76
cmp byte [ebp - 0x25], 0
je 0x4c6e76
jmp 0x4c6e65
mov eax, dword [ebp - 0x24]
mov al, byte [eax]
call fcn.004c6a80
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 1]
call fcn.004c6a80
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 2]
call fcn.004c6a80
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 3]
call fcn.004c6a80
mov byte [ebp - 0x1c], al
mov al, byte [ebp - 0x1f]
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 0x1e]
shr edx, 4
or al, dl
mov byte [ebp - 0x1b], al
mov al, byte [ebp - 0x1e]
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 0x1d]
shr edx, 2
or al, dl
mov byte [ebp - 0x1a], al
mov al, byte [ebp - 0x1d]
shl eax, 6
xor edx, edx
mov dl, byte [ebp - 0x1c]
shr edx, 0
or al, dl
mov byte [ebp - 0x19], al
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404eac
mov ecx, eax
mov edx, 5
mov eax, dword [ebp - 0x24]
call fcn.0040510c
push dword [ebp - 0x18]
lea eax, [ebp - 0x58]
mov dl, byte [ebp - 0x1b]
call fcn.00404dd4
push dword [ebp - 0x58]
lea eax, [ebp - 0x5c]
mov dl, byte [ebp - 0x1a]
call fcn.00404dd4
push dword [ebp - 0x5c]
lea eax, [ebp - 0x60]
mov dl, byte [ebp - 0x19]
call fcn.00404dd4
push dword [ebp - 0x60]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404f6c
mov eax, dword [ebp - 0x24]
call fcn.00404eac
cmp eax, 4
jge 0x4c6da0
cmp byte [ebp - 0x25], 0
je 0x4c6ef0
mov edx, 0x4c6fdc
mov eax, dword [ebp - 0x14]
call fcn.00409234
test al, al
je 0x4c6e9a
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
call fcn.004c6ff4
jmp 0x4c6ea5
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x18]
call fcn.00404c84
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040510c
push dword [ebp - 0x64]
push dword [ebp - 0x24]
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 4]
call fcn.00404eac
mov ecx, eax
lea edx, [esi + 2]
mov eax, dword [ebp - 4]
call fcn.0040510c
push dword [ebp - 0x68]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404f6c
lea eax, [ebp - 0x24]
call fcn.00404bec
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.00408ff4
mov eax, dword [ebp - 0x6c]
lea edx, [edi + 1]
call fcn.004c6a98
mov edi, eax
test edi, edi
ja 0x4c6b39
jmp 0x4c6f2e
mov edx, dword [ebp - 4]
mov eax, 0x4c6ff0
call fcn.004051f0
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.0040514c
mov edx, dword [ebp - 4]
mov eax, 0x4c6ff0
call fcn.004051f0
test eax, eax
jg 0x4c6f12
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404c40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6f96
lea eax, [ebp - 0x6c]
mov edx, 7
call fcn.00404c10
lea eax, [ebp - 0x44]
mov edx, 7
call fcn.00404c10
lea eax, [ebp - 0x24]
call fcn.00404bec
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404c10
lea eax, [ebp - 4]
call fcn.00404bec
ret