Function at 0x4711c4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x47148f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404ff4
mov eax, esi
call fcn.004052d0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, 3
cdq
idiv ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov ecx, 3
cdq
idiv ecx
mov dword [ebp - 0x1c], edx
mov ebx, 1
xor edi, edi
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x10], 0
jg 0x47125a
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.0040a00c
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x4714a8
call fcn.0040531c
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x408c8c]
call fcn.0040e0d4
call fcn.00404984
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 2
jl 0x47126f
add dword [ebp - 0x14], 2
jmp 0x471279
cmp dword [ebp - 0x1c], 1
jl 0x471279
add dword [ebp - 0x14], 3
cmp byte [ebp - 1], 1
jne 0x471292
mov eax, dword [ebp - 0x14]
sub eax, 2
mov ecx, 0x4c
cdq
idiv ecx
add eax, eax
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
inc eax
call fcn.0040b090
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x47146d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov byte [eax + edx], 0
cmp dword [ebp - 0x18], 0
jle 0x471393
xor eax, eax
mov al, byte [esi + ebx - 1]
shr eax, 2
mov edx, dword [0x5aa0b0]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0xc]
mov byte [edx + edi], al
mov al, byte [esi + ebx - 1]
and al, 3
and eax, 0xff
shl eax, 4
xor edx, edx
mov dl, byte [esi + ebx]
shr edx, 4
or eax, edx
mov edx, dword [0x5aa0b0]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0xc]
mov byte [edx + edi + 1], al
mov al, byte [esi + ebx]
and al, 0xf
and eax, 0xff
shl eax, 2
xor edx, edx
mov dl, byte [esi + ebx + 1]
shr edx, 6
or eax, edx
mov edx, dword [0x5aa0b0]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0xc]
mov byte [edx + edi + 2], al
mov al, byte [esi + ebx + 1]
and al, 0x3f
and eax, 0xff
mov edx, dword [0x5aa0b0]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0xc]
mov byte [edx + edi + 3], al
add ebx, 3
add edi, 4
add dword [ebp - 0x20], 4
dec dword [ebp - 0x18]
cmp byte [ebp - 1], 1
jne 0x471389
mov eax, dword [ebp - 0x20]
mov ecx, 0x4c
cdq
idiv ecx
test edx, edx
jne 0x471389
cmp dword [ebp - 0x18], 0
jg 0x471377
cmp dword [ebp - 0x1c], 0
jle 0x471389
mov eax, dword [ebp - 0xc]
mov byte [eax + edi], 0xd
mov eax, dword [ebp - 0xc]
mov byte [eax + edi + 1], 0xa
add edi, 2
cmp dword [ebp - 0x18], 0
jg 0x4712c6
cmp dword [ebp - 0x1c], 2
jl 0x471400
xor eax, eax
mov al, byte [esi + ebx - 1]
shr eax, 2
mov edx, dword [0x5aa0b0]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0xc]
mov byte [edx + edi], al
mov al, byte [esi + ebx - 1]
and al, 3
and eax, 0xff
shl eax, 4
xor edx, edx
mov dl, byte [esi + ebx]
shr edx, 4
or eax, edx
mov edx, dword [0x5aa0b0]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0xc]
mov byte [edx + edi + 1], al
mov al, byte [esi + ebx]
and al, 0xf
and eax, 0xff
shl eax, 2
mov edx, dword [0x5aa0b0]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0xc]
mov byte [edx + edi + 2], al
mov eax, dword [ebp - 0xc]
mov byte [eax + edi + 3], 0x3d
jmp 0x47144c
cmp dword [ebp - 0x1c], 1
jl 0x47144c
xor eax, eax
mov al, byte [esi + ebx - 1]
shr eax, 2
mov edx, dword [0x5aa0b0]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0xc]
mov byte [edx + edi], al
mov al, byte [esi + ebx - 1]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [0x5aa0b0]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0xc]
mov byte [edx + edi + 1], al
mov eax, dword [ebp - 0xc]
mov byte [eax + edi + 2], 0x3d
mov eax, dword [ebp - 0xc]
mov byte [eax + edi + 3], 0x3d
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0040b07c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471474
mov eax, dword [ebp - 0xc]
call fcn.0040b0ec
ret