Function at 0x4eaa70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x61ab0c], 0
push ebx
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edi
mov byte [ebx], 1
jne 0x4eabc1
movaps xmm1, xmmword [0x5e57f0]
mov edx, 0x41
movaps xmm2, xmmword [0x5e5860]
mov ecx, 0x61ab64
nop word [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm0, xmm0, 0
add edx, 8
paddd xmm0, xmm1
psubd xmm0, xmm2
movups xmmword [ecx - 0x10], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
psubd xmm0, xmm2
movups xmmword [ecx], xmm0
add ecx, 0x20
cmp ecx, 0x61abc0
jle 0x4eaab0
cmp edx, 0x5a
jg 0x4eab0d
lea ecx, [edx - 0x41]
lea eax, [edx*4 + 0x61aa50]
nop dword [eax]
mov dword [eax], ecx
add eax, 4
inc ecx
cmp eax, 0x61abb8
jle 0x4eab00
movaps xmm2, xmmword [0x5e5870]
mov edx, 0x61
mov ecx, 0x61abe4
nop
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm0, xmm0, 0
add edx, 8
paddd xmm0, xmm1
psubd xmm0, xmm2
movups xmmword [ecx - 0x10], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
psubd xmm0, xmm2
movups xmmword [ecx], xmm0
add ecx, 0x20
cmp ecx, 0x61ac40
jle 0x4eab20
cmp edx, 0x7a
jg 0x4eab7d
lea ecx, [edx - 0x47]
lea eax, [edx*4 + 0x61aa50]
nop dword [eax]
mov dword [eax], ecx
add eax, 4
inc ecx
cmp eax, 0x61ac38
jle 0x4eab70
movaps xmm0, xmmword [0x5e5820]
movups xmmword [0x61ab10], xmm0
mov dword [0x61ab30], 0x3c
movaps xmm0, xmmword [0x5e5840]
movups xmmword [0x61ab20], xmm0
mov dword [0x61ab34], 0x3d
mov dword [0x61aafc], 0x3e
mov dword [0x61ab0c], 0x3f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
je 0x4eacdb
push esi
xor esi, esi
cmp eax, ecx
je 0x4eacd7
nop word [eax + eax]
cmp esi, 4
jge 0x4eac10
mov dl, byte [eax]
cmp dl, 0x30
jb 0x4eabf1
cmp dl, 0x7a
jbe 0x4eac00
cmp dl, 0x2b
je 0x4eac00
cmp dl, 0x2f
je 0x4eac00
cmp dl, 0x3d
jne 0x4eac05
mov byte [ebp + esi - 8], dl
inc esi
inc eax
mov dword [ebp + 8], eax
cmp eax, ecx
jne 0x4eabe0
cmp esi, 4
jne 0x4eacb4
mov eax, dword [ebp - 8]
cmp al, 0x3d
je 0x4eacd1
cmp ah, 0x3d
je 0x4eacd1
cmp byte [ebp - 6], 0x3d
jne 0x4eac41
cmp byte [ebp - 5], 0x3d
jne 0x4eacd1
mov esi, 8
jmp 0x4eac51
cmp byte [ebp - 5], 0x3d
mov esi, 0x10
je 0x4eac51
mov esi, 0x18
xor dl, dl
lea eax, [ebp - 8]
xor ebx, ebx
mov dword [ebp - 0x14], eax
lea edi, [ebx + 6]
nop
movzx eax, byte [eax]
mov cl, bl
add ebx, 6
sub edi, 6
mov al, byte [eax*4 + 0x61aa50]
shl al, 2
mov byte [ebp - 1], al
shr al, cl
or dl, al
mov byte [ebp - 0x18], dl
cmp ebx, 8
jl 0x4eaca1
push dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
push 1
call fcn.004384d0
mov dl, byte [ebp - 1]
add edi, 8
mov ecx, edi
sub ebx, 8
sub esi, 8
shl dl, cl
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
test esi, esi
jne 0x4eac60
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
jmp 0x4eacb8
test esi, esi
jne 0x4eacd1
cmp eax, ecx
jne 0x4eabd0
mov edi, dword [ebp - 0xc]
mov eax, edi
mov ecx, dword [ebp + 0x10]
pop esi
mov dword [edi], ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
mov edi, dword [ebp - 0xc]
pop esi
mov ecx, dword [ebp + 0x10]
mov eax, edi
mov dword [edi], ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret