Function at 0x473dbc
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 0x474087
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040504c
mov eax, esi
call fcn.00405338
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 0x473e52
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.0040a7f4
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x4740a0
call fcn.00405384
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x4090dc]
call fcn.0040f010
call fcn.004049c0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 2
jl 0x473e67
add dword [ebp - 0x14], 2
jmp 0x473e71
cmp dword [ebp - 0x1c], 1
jl 0x473e71
add dword [ebp - 0x14], 3
cmp byte [ebp - 1], 1
jne 0x473e8a
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.0040b9ec
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x474065
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 0x473f8b
xor eax, eax
mov al, byte [esi + ebx - 1]
shr eax, 2
mov edx, dword [0x5eb0a4]
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 [0x5eb0a4]
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 [0x5eb0a4]
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 [0x5eb0a4]
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 0x473f81
mov eax, dword [ebp - 0x20]
mov ecx, 0x4c
cdq
idiv ecx
test edx, edx
jne 0x473f81
cmp dword [ebp - 0x18], 0
jg 0x473f6f
cmp dword [ebp - 0x1c], 0
jle 0x473f81
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 0x473ebe
cmp dword [ebp - 0x1c], 2
jl 0x473ff8
xor eax, eax
mov al, byte [esi + ebx - 1]
shr eax, 2
mov edx, dword [0x5eb0a4]
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 [0x5eb0a4]
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 [0x5eb0a4]
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 0x474044
cmp dword [ebp - 0x1c], 1
jl 0x474044
xor eax, eax
mov al, byte [esi + ebx - 1]
shr eax, 2
mov edx, dword [0x5eb0a4]
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 [0x5eb0a4]
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.0040b9d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47406c
mov eax, dword [ebp - 0xc]
call fcn.0040ba48
ret