Function at 0x4226fd
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov eax, edx
mov dword [ebp - 0x18], 0x13
mov edi, ecx
mov dword [ebp - 0x24], eax
push 3
xor edx, edx
mov dword [ebp - 4], edi
pop ecx
div ecx
push 0x4c
mov dword [ebp - 0xc], edx
xor esi, esi
mov dword [ebp - 0x1c], ecx
xor edx, edx
shl eax, 2
mov ebx, esi
pop ecx
div ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
test edi, edi
je 0x4228c9
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4228c9
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4228c9
mov edx, dword [ebp - 0x24]
mov eax, dword [eax]
lea ecx, [edi + edx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 8]
add eax, ecx
mov dword [ebp - 0x10], eax
mov eax, edx
shl eax, 2
xor edx, edx
div dword [ebp - 0x1c]
xor edx, edx
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
div dword [ebp - 0x14]
test edx, edx
je 0x42279a
push 3
pop eax
and edx, eax
je 0x42279a
push 4
pop eax
sub eax, edx
mov edx, dword [ebp - 8]
add edx, eax
jmp 0x42279d
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
cmp dword [eax], edx
jb 0x4228c2
mov edx, esi
cmp edx, dword [ebp - 0x20]
push 0x13
mov dword [ebp - 0x1c], edx
pop eax
jne 0x4227be
mov eax, dword [ebp - 0x28]
shr eax, 2
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
test eax, eax
je 0x422828
mov edx, esi
mov dword [ebp - 8], esi
cmp edi, dword [ebp - 0x24]
jae 0x4228c9
movzx eax, byte [edi]
or edx, eax
mov eax, dword [ebp - 8]
inc edi
shl edx, 8
inc eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], eax
cmp eax, 3
jl 0x4227ca
mov dword [ebp - 8], esi
cmp ecx, dword [ebp - 0x10]
jae 0x4228c2
mov eax, edx
shl edx, 6
shr eax, 0x1a
and eax, 0x3f
mov al, byte [eax + 0x4082a0]
mov byte [ecx], al
inc ecx
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, 4
jb 0x4227ee
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
inc edx
mov dword [ebp - 0x14], edx
cmp edx, eax
jb 0x4227c5
mov edx, dword [ebp - 0x1c]
inc edx
lea ebx, [ebx + eax*4]
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x20]
jbe 0x4227b3
mov eax, dword [ebp - 0xc]
lea edi, [eax + 1]
test eax, eax
jne 0x422844
mov edi, esi
test edi, edi
je 0x4228bb
mov edx, esi
mov dword [ebp - 0x20], esi
mov eax, esi
cmp eax, dword [ebp - 0xc]
jae 0x422867
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x24]
jae 0x4228c9
movzx eax, byte [eax]
or edx, eax
inc dword [ebp - 4]
mov eax, dword [ebp - 0x20]
shl edx, 8
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 3
jb 0x42284f
mov dword [ebp - 0x24], esi
test edi, edi
je 0x42289e
cmp ecx, dword [ebp - 0x10]
jae 0x4228c2
mov eax, edx
shl edx, 6
shr eax, 0x1a
and eax, 0x3f
mov al, byte [eax + 0x4082a0]
mov byte [ecx], al
inc ecx
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, edi
jb 0x42287a
push 4
pop edx
add ebx, edi
mov eax, esi
sub edx, edi
je 0x4228b9
mov edi, dword [ebp - 0x10]
cmp ecx, edi
jae 0x4228c2
mov byte [ecx], 0x3d
inc ecx
inc eax
cmp eax, edx
jb 0x4228ac
add ebx, edx
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
jmp 0x4228ce
mov esi, 0x8007007a
jmp 0x4228ce
mov esi, 0x80070057
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc