Function at 0x4a34c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542b50
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4a3707
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4a3707
cmp dword [ebp + 0x18], 0
je 0x4a3707
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + 2]
mov eax, 0xaaaaaaab
mul ecx
mov edi, edx
shr edi, 1
add edi, edi
add edi, edi
lea ecx, [edi + edi]
mov eax, 0xaf286bcb
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
lea eax, [edi + ecx + 2]
cmp dword [ebp + 0x14], eax
jb 0x4a3707
xor edi, edi
mov dword [ebp - 0x18], edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
lea esp, [esp]
mov eax, 0xaaaaaaab
mul dword [ebp + 0xc]
shr edx, 1
cmp dword [ebp - 0x20], edx
jae 0x4a3623
movzx eax, byte [edi + ebx]
inc edi
mov dword [ebp - 0x18], edi
movzx edx, byte [edi + ebx]
inc edi
mov dword [ebp - 0x18], edi
movzx ebx, byte [edi + ebx]
mov dword [ebp - 0x24], ebx
inc edi
mov dword [ebp - 0x18], edi
mov ebx, eax
sar ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + 0x5731a0]
mov byte [ecx + esi], bl
inc ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
sar ebx, 4
and ebx, 0xf
and eax, 3
shl eax, 4
or ebx, eax
movzx eax, byte [ebx + 0x5731a0]
mov byte [ecx + esi], al
inc ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x24]
mov ebx, eax
sar ebx, 6
and ebx, 3
and edx, 0xf
add edx, edx
add edx, edx
or ebx, edx
mov dl, byte [ebx + 0x5731a0]
mov byte [ecx + esi], dl
inc ecx
mov dword [ebp - 0x14], ecx
and eax, 0x3f
movzx eax, byte [eax + 0x5731a0]
mov byte [ecx + esi], al
inc ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
cmp eax, 0x49
jl 0x4a3618
mov byte [ecx + esi], 0xd
inc ecx
mov dword [ebp - 0x14], ecx
mov byte [ecx + esi], 0xa
inc ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 0
inc dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
jmp 0x4a3560
mov eax, 0xaaaaaaab
mul dword [ebp + 0xc]
shr edx, 1
lea edx, [edx + edx*2]
mov eax, dword [ebp + 0xc]
sub eax, edx
sub eax, 0
je 0x4a36d3
dec eax
je 0x4a3697
dec eax
jne 0x4a36e3
movzx eax, byte [edi + ebx]
inc edi
mov dword [ebp - 0x18], edi
movzx edi, byte [edi + ebx]
mov edx, eax
sar edx, 2
and edx, 0x3f
movzx edx, byte [edx + 0x5731a0]
mov byte [ecx + esi], dl
inc ecx
mov dword [ebp - 0x14], ecx
mov edx, edi
sar edx, 4
and edx, 0xf
and eax, 3
shl eax, 4
or edx, eax
mov al, byte [edx + 0x5731a0]
mov byte [ecx + esi], al
inc ecx
mov dword [ebp - 0x14], ecx
and edi, 0xf
movzx edx, byte [edi*4 + 0x5731a0]
mov byte [ecx + esi], dl
jmp 0x4a36c7
movzx eax, byte [edi + ebx]
mov edx, eax
sar edx, 2
and edx, 0x3f
mov dl, byte [edx + 0x5731a0]
mov byte [ecx + esi], dl
inc ecx
mov dword [ebp - 0x14], ecx
and eax, 3
shl eax, 4
mov al, byte [eax + 0x5731a0]
mov byte [ecx + esi], al
inc ecx
mov dword [ebp - 0x14], ecx
mov byte [ecx + esi], 0x3d
inc ecx
mov dword [ebp - 0x14], ecx
mov byte [ecx + esi], 0x3d
inc ecx
mov dword [ebp - 0x14], ecx
mov byte [ecx + esi], 0xd
inc ecx
mov dword [ebp - 0x14], ecx
mov byte [ecx + esi], 0xa
inc ecx
mov dword [ebp - 0x14], ecx
mov byte [ecx + esi], 0
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret