Function at 0x473c2c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409e48
xor eax, eax
push ebp
push 0x473ed5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409b0c
mov ecx, 3
cdq
idiv ecx
mov byte [ebp - 0x10], dl
cmp byte [ebp - 0x10], 0
jne 0x473c88
mov eax, dword [ebp - 4]
call fcn.00409b0c
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
mov dword [ebp - 0x14], eax
jmp 0x473ca8
mov eax, dword [ebp - 4]
call fcn.00409b0c
add eax, 3
movzx edx, byte [ebp - 0x10]
sub eax, edx
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x47200c]
call fcn.00409cc0
add esp, 4
xor esi, esi
xor edi, edi
jmp 0x473d68
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edi]
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edi + 1]
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 4]
movzx ebx, byte [eax + edi + 2]
mov byte [ebp - 0xd], bl
movzx eax, byte [ebp - 0xf]
shr eax, 2
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [ebp - 8]
mov byte [edx + esi], al
movzx eax, byte [ebp - 0xf]
and al, 3
movzx eax, al
shl eax, 4
movzx edx, byte [ebp - 0xe]
shr edx, 4
and edx, 0xf
or eax, edx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [ebp - 8]
mov byte [edx + esi + 1], al
movzx eax, byte [ebp - 0xe]
and al, 0xf
movzx eax, al
add eax, eax
add eax, eax
movzx edx, bl
shr edx, 6
and edx, 3
or eax, edx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [ebp - 8]
mov byte [edx + esi + 2], al
and bl, 0x3f
movzx eax, bl
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [ebp - 8]
mov byte [edx + esi + 3], al
add esi, 4
add edi, 3
mov eax, dword [ebp - 4]
call fcn.00409b0c
movzx edx, byte [ebp - 0x10]
sub eax, edx
cmp edi, eax
jl 0x473ccb
cmp byte [ebp - 0x10], 1
jne 0x473dfb
mov eax, dword [ebp - 4]
call fcn.00409b0c
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax - 1]
mov byte [ebp - 0xf], al
xor edx, edx
mov byte [ebp - 0xe], dl
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
lea ebx, [ecx + ebx - 4]
movzx eax, byte [ebp - 0xf]
movzx ecx, al
shr ecx, 2
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx], cl
and al, 3
movzx eax, al
shl eax, 4
movzx edx, dl
shr edx, 4
and edx, 0xf
or eax, edx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov byte [edx + ecx - 3], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov byte [eax + edx - 2], 0x3d
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov byte [eax + edx - 1], 0x3d
jmp 0x473ea9
cmp byte [ebp - 0x10], 2
jne 0x473ea9
mov eax, dword [ebp - 4]
call fcn.00409b0c
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax - 2]
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 4]
call fcn.00409b0c
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax - 1]
mov byte [ebp - 0xe], al
xor ecx, ecx
mov byte [ebp - 0xd], cl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
lea ebx, [edx + ebx - 4]
movzx eax, byte [ebp - 0xf]
movzx edx, al
shr edx, 2
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx], dl
and al, 3
movzx eax, al
shl eax, 4
movzx edx, byte [ebp - 0xe]
movzx ebx, dl
shr ebx, 4
and ebx, 0xf
or eax, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
mov byte [ebx + esi - 3], al
and dl, 0xf
movzx eax, dl
add eax, eax
add eax, eax
movzx edx, cl
shr edx, 6
and edx, 3
or eax, edx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov byte [edx + ecx - 2], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov byte [eax + edx - 1], 0x3d
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004737a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473edc
lea eax, [ebp - 8]
mov edx, dword [0x47200c]
mov ecx, 2
call fcn.004091e8
ret