Function at 0x42230d
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 0x4224d9
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4224d9
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4224d9
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 0x4223aa
push 3
pop eax
and edx, eax
je 0x4223aa
push 4
pop eax
sub eax, edx
mov edx, dword [ebp - 8]
add edx, eax
jmp 0x4223ad
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
cmp dword [eax], edx
jb 0x4224d2
mov edx, esi
cmp edx, dword [ebp - 0x20]
push 0x13
mov dword [ebp - 0x1c], edx
pop eax
jne 0x4223ce
mov eax, dword [ebp - 0x28]
shr eax, 2
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
test eax, eax
je 0x422438
mov edx, esi
mov dword [ebp - 8], esi
cmp edi, dword [ebp - 0x24]
jae 0x4224d9
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 0x4223da
mov dword [ebp - 8], esi
cmp ecx, dword [ebp - 0x10]
jae 0x4224d2
mov eax, edx
shl edx, 6
shr eax, 0x1a
and eax, 0x3f
mov al, byte [eax + 0x408150]
mov byte [ecx], al
inc ecx
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, 4
jb 0x4223fe
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
inc edx
mov dword [ebp - 0x14], edx
cmp edx, eax
jb 0x4223d5
mov edx, dword [ebp - 0x1c]
inc edx
lea ebx, [ebx + eax*4]
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x20]
jbe 0x4223c3
mov eax, dword [ebp - 0xc]
lea edi, [eax + 1]
test eax, eax
jne 0x422454
mov edi, esi
test edi, edi
je 0x4224cb
mov edx, esi
mov dword [ebp - 0x20], esi
mov eax, esi
cmp eax, dword [ebp - 0xc]
jae 0x422477
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x24]
jae 0x4224d9
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 0x42245f
mov dword [ebp - 0x24], esi
test edi, edi
je 0x4224ae
cmp ecx, dword [ebp - 0x10]
jae 0x4224d2
mov eax, edx
shl edx, 6
shr eax, 0x1a
and eax, 0x3f
mov al, byte [eax + 0x408150]
mov byte [ecx], al
inc ecx
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, edi
jb 0x42248a
push 4
pop edx
add ebx, edi
mov eax, esi
sub edx, edi
je 0x4224c9
mov edi, dword [ebp - 0x10]
cmp ecx, edi
jae 0x4224d2
mov byte [ecx], 0x3d
inc ecx
inc eax
cmp eax, edx
jb 0x4224bc
add ebx, edx
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
jmp 0x4224de
mov esi, 0x8007007a
jmp 0x4224de
mov esi, 0x80070057
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc