Function at 0x455200
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c87ee
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x519100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
sub eax, edi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov dword [ebp + 8], eax
mov byte [esi], 0
lea ecx, [eax + 2]
mov dword [ebp - 4], 0
mov eax, 0x55555556
mov dword [ebp - 0x1c], 1
imul ecx
xor ecx, ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
ja 0x45529c
mov dword [esi + 0x10], ecx
mov byte [ecx + esi], 0
jmp 0x4552a6
push 0
push ecx
mov ecx, esi
call fcn.0040baa0
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov dword [ebp - 0x14], esi
cmp dword [eax + 0x14], 0xf
jbe 0x4552b9
mov esi, dword [eax]
mov dword [ebp - 0x14], esi
mov edx, dword [ebp + 8]
cmp edx, 3
jl 0x45534f
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
mov dword [ebp - 0x18], edx
lea eax, [edx*4]
sub eax, edx
neg eax
add dword [ebp + 8], eax
nop
movzx esi, byte [edi]
movzx edx, byte [edi + 1]
movzx eax, byte [edi + 2]
add edi, 3
shl esi, 8
or esi, edx
mov edx, dword [ebp - 0x14]
shl esi, 8
or esi, eax
mov eax, esi
shr eax, 0x12
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + ecx], al
mov eax, esi
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + ecx + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + ecx + 2], al
movzx eax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + ecx + 3], al
add ecx, 4
sub dword [ebp - 0x18], 1
jne 0x4552e0
mov eax, dword [ebp - 0x10]
mov esi, edx
mov edx, dword [ebp + 8]
cmp edx, 2
jne 0x4553af
movzx edx, byte [edi]
movzx eax, byte [edi + 1]
shl edx, 8
or edx, eax
shl edx, 8
mov eax, edx
shr eax, 0x12
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
shr edx, 6
and edx, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + ecx + 1], al
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + ecx + 2], al
mov eax, dword [ebp - 0x10]
mov byte [esi + ecx + 3], 0x3d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edx, 1
jne 0x4553e4
movzx edx, byte [edi]
shl edx, 0x10
mov eax, edx
shr edx, 0xc
shr eax, 0x12
and edx, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + ecx], al
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + ecx + 1], al
mov eax, dword [ebp - 0x10]
mov word [esi + ecx + 2], 0x3d3d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret