Function at 0x42fc60
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8ea9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x520078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], 0
sub ecx, ebx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [ebp + 8], ecx
mov dword [edi + 0x10], 0
jb 0x42fcc4
mov eax, dword [edi]
jmp 0x42fcc6
mov eax, edi
mov byte [eax], 0
add ecx, 2
mov dword [ebp - 4], 0
mov eax, 0x55555556
mov dword [ebp - 0x14], 1
imul ecx
mov ecx, dword [edi + 0x10]
mov eax, edx
shr eax, 0x1f
add eax, edx
shl eax, 2
cmp eax, ecx
ja 0x42fd0b
mov dword [edi + 0x10], eax
cmp dword [edi + 0x14], 0x10
jb 0x42fd03
mov ecx, dword [edi]
mov byte [ecx + eax], 0
jmp 0x42fd17
mov ecx, edi
mov byte [ecx + eax], 0
jmp 0x42fd17
sub eax, ecx
mov ecx, edi
push 0
push eax
call fcn.00419f50
xor esi, esi
cmp dword [edi + 0x14], 0x10
jb 0x42fd26
mov edx, dword [edi]
mov dword [ebp - 0x10], edx
jmp 0x42fd2b
mov edx, edi
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp + 8]
cmp ecx, 3
jl 0x42fdc9
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
mov dword [ebp - 0x18], edx
mov edi, edx
lea eax, [edx*4]
sub eax, edx
mov edx, dword [ebp - 0x10]
neg eax
add ecx, eax
mov dword [ebp + 8], ecx
nop dword [eax + eax]
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
shl eax, 8
shl ecx, 0x10
or ecx, eax
movzx eax, byte [ebx + 2]
or ecx, eax
add ebx, 3
mov eax, ecx
shr eax, 0x12
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + esi], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + esi + 1], al
mov eax, ecx
shr eax, 6
and ecx, 0x3f
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + esi + 2], al
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + esi + 3], al
add esi, 4
sub edi, 1
jne 0x42fd60
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
cmp ecx, 2
jne 0x42fe29
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
mov eax, ecx
shr eax, 0x12
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + esi], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
shr ecx, 6
and ecx, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + esi + 1], al
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + esi + 2], al
mov eax, edi
mov byte [edx + esi + 3], 0x3d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 1
jne 0x42fe5b
movzx ecx, byte [ebx]
shl ecx, 0x10
mov eax, ecx
shr ecx, 0xc
shr eax, 0x12
and ecx, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + esi], al
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + esi + 1], al
mov word [edx + esi + 2], 0x3d3d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret