Function at 0x472a60
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d685e
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5080f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], 0
mov ebx, dword [ebp + 0xc]
sub ebx, dword [ebp + 8]
mov dword [edi], 0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
lea ecx, [ebx + 2]
mov eax, 0x55555556
mov dword [ebp - 0x20], 1
imul ecx
xor ecx, ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
ja 0x472af4
xor eax, eax
mov dword [edi + 0x10], ecx
mov word [edi + ecx*2], ax
jmp 0x472afe
push 0
push ecx
mov ecx, edi
call fcn.00411a90
xor esi, esi
mov dword [ebp - 0x14], edi
cmp dword [edi + 0x14], 8
jb 0x472b0e
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
cmp ebx, 3
jl 0x472bb8
mov edi, dword [ebp - 0x14]
mov eax, 0xaaaaaaab
mul ebx
mov ecx, edx
shr ecx, 1
lea eax, [ecx*4]
sub eax, ecx
neg eax
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov eax, ecx
inc ecx
mov dword [ebp + 8], ecx
movzx edx, byte [eax]
mov eax, ecx
inc ecx
shl edx, 0x10
mov dword [ebp + 8], ecx
movzx eax, byte [eax]
shl eax, 8
or edx, eax
mov eax, ecx
inc ecx
mov dword [ebp + 8], ecx
movzx eax, byte [eax]
or edx, eax
mov eax, edx
shr eax, 0x12
movzx eax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [edi + esi*2], ax
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [edi + esi*2 + 2], ax
mov eax, edx
shr eax, 6
and edx, 0x3f
and eax, 0x3f
movzx eax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [edi + esi*2 + 4], ax
movzx eax, word [edx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [edi + esi*2 + 6], ax
add esi, 4
sub ebx, 1
jne 0x472b37
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x1c]
cmp ebx, 2
jne 0x472c1c
mov ecx, dword [ebp + 8]
mov eax, ecx
mov ebx, dword [ebp - 0x14]
inc ecx
mov dword [ebp + 8], ecx
movzx edx, byte [eax]
movzx eax, byte [ecx]
shl edx, 8
or edx, eax
shl edx, 8
mov eax, edx
shr eax, 0x12
movzx eax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ebx + esi*2], ax
mov eax, edx
shr eax, 0xc
and eax, 0x3f
shr edx, 6
and edx, 0x3f
movzx eax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ebx + esi*2 + 2], ax
mov eax, 0x3d
mov cx, word [edx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [ebx + esi*2 + 4], cx
mov word [ebx + esi*2 + 6], ax
jmp 0x472c59
cmp ebx, 1
jne 0x472c59
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
movzx ecx, byte [eax]
shl ecx, 0x10
mov eax, ecx
shr ecx, 0xc
shr eax, 0x12
and ecx, 0x3f
movzx eax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [edx + esi*2], ax
movzx eax, word [ecx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov word [edx + esi*2 + 2], ax
mov dword [edx + esi*2 + 4], 0x3d003d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484d55
mov esp, ebp
pop ebp
ret