Function at 0x4d4560
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6672ee
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x6d5ec0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea edi, [esi + 0x10]
lea ecx, [esi + 0x14]
xor eax, eax
movups xmmword [esi], xmm0
mov dword [edi], 0
mov dword [ecx], 0
mov dword [edi], 0
mov dword [ecx], 7
mov word [esi], ax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 1
cmp edx, 3
jb 0x4d476c
mov eax, 0xaaaaaaab
mul edx
mov eax, dword [ebp + 0xc]
shr edx, 1
mov dword [ebp - 0x18], edx
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dword [ebp - 0x14], eax
mov cl, byte [eax]
mov ch, byte [eax + 1]
mov ah, cl
and ah, 3
mov al, ch
shl ah, 4
and ch, 0xf
shr al, 4
or ah, al
shl ch, 2
mov byte [ebp - 0xd], ah
mov eax, dword [ebp - 0x14]
mov ah, byte [eax + 2]
mov al, ah
and ah, 0x3f
shr al, 6
or ch, al
mov byte [ebp - 0xf], ah
movzx eax, cl
shr eax, 2
mov byte [ebp - 0xe], ch
mov ecx, dword [edi]
movsx ax, byte [eax + edx]
movzx eax, ax
mov dword [ebp - 0x1c], eax
cmp ecx, dword [esi + 0x14]
jae 0x4d4652
cmp dword [esi + 0x14], 7
lea eax, [ecx + 1]
mov dword [edi], eax
mov eax, esi
jbe 0x4d4642
mov eax, dword [esi]
mov edx, dword [ebp - 0x1c]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x4d4663
push eax
mov byte [ebp - 0x24], 0
mov ecx, esi
push dword [ebp - 0x24]
push 1
call fcn.0045dd50
movzx eax, byte [ebp - 0xd]
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [edi]
movsx ax, byte [eax + edx]
movzx eax, ax
mov dword [ebp - 0x1c], eax
cmp ecx, dword [esi + 0x14]
jae 0x4d469e
cmp dword [esi + 0x14], 7
lea eax, [ecx + 1]
mov dword [edi], eax
mov eax, esi
jbe 0x4d468e
mov eax, dword [esi]
mov edx, dword [ebp - 0x1c]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x4d46af
push eax
mov byte [ebp - 0x28], 0
mov ecx, esi
push dword [ebp - 0x28]
push 1
call fcn.0045dd50
movzx eax, byte [ebp - 0xe]
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [edi]
movsx ax, byte [eax + edx]
movzx eax, ax
mov dword [ebp - 0x1c], eax
cmp ecx, dword [esi + 0x14]
jae 0x4d46ea
cmp dword [esi + 0x14], 7
lea eax, [ecx + 1]
mov dword [edi], eax
mov eax, esi
jbe 0x4d46da
mov eax, dword [esi]
mov edx, dword [ebp - 0x1c]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x4d46fb
push eax
mov byte [ebp - 0x2c], 0
mov ecx, esi
push dword [ebp - 0x2c]
push 1
call fcn.0045dd50
movzx eax, byte [ebp - 0xf]
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [edi]
movsx ax, byte [eax + edx]
movzx eax, ax
mov dword [ebp - 0x1c], eax
cmp ecx, dword [esi + 0x14]
jae 0x4d4736
cmp dword [esi + 0x14], 7
lea eax, [ecx + 1]
mov dword [edi], eax
mov eax, esi
jbe 0x4d4726
mov eax, dword [esi]
mov edx, dword [ebp - 0x1c]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x4d4747
push eax
mov byte [ebp - 0x30], 0
mov ecx, esi
push dword [ebp - 0x30]
push 1
call fcn.0045dd50
mov eax, dword [ebp - 0x14]
sub dword [ebp + 0x10], 3
add eax, 3
sub dword [ebp - 0x18], 1
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dword [ebp - 0x14], eax
jne 0x4d45e8
lea edi, [esi + 0x10]
lea ecx, [esi + 0x14]
jmp 0x4d4775
mov eax, dword [ebp + 0xc]
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
sub dword [ebp + 0x10], 1
je 0x4d48f9
sub dword [ebp + 0x10], 1
jne 0x4d4a09
mov cl, byte [eax]
mov ch, byte [eax + 1]
mov ah, cl
and ah, 3
mov al, ch
shl ah, 4
and ch, 0xf
shr al, 4
or ah, al
shl ch, 2
mov byte [ebp + 0x13], ah
movzx eax, cl
shr eax, 2
mov byte [ebp - 0xf], ch
mov ecx, dword [edi]
movsx ax, byte [eax + edx]
movzx eax, ax
mov dword [ebp - 0x30], eax
cmp ecx, dword [esi + 0x14]
jae 0x4d47e6
cmp dword [esi + 0x14], 7
lea eax, [ecx + 1]
mov dword [edi], eax
mov eax, esi
jbe 0x4d47d0
mov eax, dword [esi]
mov edx, dword [ebp - 0x30]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
lea ecx, [esi + 0x10]
mov dword [ebp - 0x14], ecx
jmp 0x4d47fc
push eax
mov byte [ebp - 0x30], 0
mov ecx, esi
push dword [ebp - 0x30]
push 1
call fcn.0045dd50
mov ecx, edi
mov dword [ebp - 0x14], edi
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
lea eax, [esi + 0x14]
mov dword [ebp - 0x18], eax
movzx eax, byte [ebp + 0x13]
movsx ax, byte [eax + edx]
movzx eax, ax
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
cmp eax, dword [esi + 0x14]
jae 0x4d4859
inc eax
mov dword [ebp + 0x10], esi
cmp dword [esi + 0x14], 7
mov dword [edi], eax
jbe 0x4d483d
mov eax, dword [esi]
lea ecx, [esi + 0x10]
mov dword [ebp + 0x10], eax
lea edi, [esi + 0x14]
mov dword [ebp - 0x14], ecx
jmp 0x4d4840
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp - 0x1c]
mov word [edx + eax*2], si
xor esi, esi
mov word [edx + eax*2 + 2], si
mov esi, dword [ebp + 8]
jmp 0x4d4875
push dword [ebp - 0x1c]
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.0045dd50
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, byte [ebp - 0xf]
movsx ax, byte [eax + edx]
mov edx, dword [ecx]
movzx eax, ax
mov dword [ebp + 0x10], eax
cmp edx, dword [edi]
jae 0x4d48b1
cmp dword [edi], 7
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, esi
jbe 0x4d489e
mov eax, dword [esi]
mov esi, dword [ebp + 0x10]
mov word [eax + edx*2], si
xor esi, esi
mov word [eax + edx*2 + 2], si
mov esi, dword [ebp + 8]
jmp 0x4d48c5
push eax
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.0045dd50
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov edi, dword [edi]
cmp edx, edi
jae 0x4d49f7
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, esi
cmp edi, 7
jbe 0x4d48df
mov eax, dword [esi]
mov dword [eax + edx*2], 0x3d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [eax]
mov ecx, dword [ecx]
mov ah, al
and ah, 3
mov dword [ebp - 0x30], ecx
shl ah, 4
mov byte [ebp + 0x13], ah
movzx eax, al
shr eax, 2
movsx ax, byte [eax + edx]
movzx eax, ax
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
cmp eax, ecx
mov dword [ebp - 0x2c], eax
mov ecx, esi
jae 0x4d494b
inc eax
cmp dword [ebp - 0x30], 7
mov dword [edi], eax
jbe 0x4d4932
mov ecx, dword [esi]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov word [ecx + eax*2], dx
xor edx, edx
mov word [ecx + eax*2 + 2], dx
lea ecx, [esi + 0x10]
mov dword [ebp - 0x14], ecx
jmp 0x4d4961
push dword [ebp - 0x1c]
mov byte [ebp - 0x30], 0
push dword [ebp - 0x30]
push 1
call fcn.0045dd50
mov ecx, edi
mov dword [ebp - 0x14], edi
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
lea eax, [esi + 0x14]
mov dword [ebp - 0x18], eax
movzx eax, byte [ebp + 0x13]
movsx ax, byte [eax + edx]
mov edx, dword [edi]
movzx eax, ax
mov dword [ebp + 0x10], eax
cmp edx, dword [esi + 0x14]
jae 0x4d49b3
cmp dword [esi + 0x14], 7
lea eax, [edx + 1]
mov dword [edi], eax
mov eax, esi
jbe 0x4d499d
mov eax, dword [esi]
lea ecx, [esi + 0x10]
mov dword [ebp - 0x14], ecx
lea edi, [esi + 0x14]
jmp 0x4d49a0
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0x10]
mov word [eax + edx*2], si
xor esi, esi
mov word [eax + edx*2 + 2], si
mov esi, dword [ebp + 8]
jmp 0x4d49cd
push eax
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.0045dd50
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov edx, dword [ecx]
cmp edx, dword [edi]
jae 0x4d49f0
cmp dword [edi], 7
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, esi
jbe 0x4d49e1
mov eax, dword [esi]
mov esi, dword [ebp + 8]
mov dword [eax + edx*2], 0x3d
jmp 0x4d48c5
push 0x3d
jmp 0x4d48b2
push 0x3d
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.0045dd50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret