Function at 0x4b5e80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5556a1
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5b93d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x5c], 0
and dword [ebp - 0x54], 0
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x40]
push eax
call fcn.004b56a9
pop ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040e585
mov byte [ebp - 4], 1
and dword [ebp - 0x4c], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
call fcn.0041c127
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x58]
call fcn.004b51e2
mov dword [ebp - 0x60], eax
jmp 0x4b5ef7
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x60]
je 0x4b5fd9
mov eax, dword [ebp - 0x50]
mov al, byte [eax]
mov byte [ebp - 0x45], al
movzx eax, byte [ebp - 0x45]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
cdq
push 3
pop ecx
idiv ecx
shl edx, 3
push 0x10
pop eax
sub eax, edx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x4c]
shl eax, cl
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x4c], 0x10
jne 0x4b5f5a
mov eax, dword [ebp - 0x44]
shr eax, 0x12
and eax, 0x3f
push eax
lea ecx, [ebp - 0x40]
call fcn.004b52ae
mov al, byte [eax]
movzx eax, al
push eax
lea ecx, [ebp - 0x28]
call fcn.0041266f
cmp dword [ebp - 0x4c], 8
jne 0x4b5f80
mov eax, dword [ebp - 0x44]
shr eax, 0xc
and eax, 0x3f
push eax
lea ecx, [ebp - 0x40]
call fcn.004b52ae
mov al, byte [eax]
movzx eax, al
push eax
lea ecx, [ebp - 0x28]
call fcn.0041266f
cmp dword [ebp - 0x4c], 0
jne 0x4b5fcd
cmp dword [ebp - 0x54], 3
je 0x4b5fcd
mov eax, dword [ebp - 0x44]
shr eax, 6
and eax, 0x3f
push eax
lea ecx, [ebp - 0x40]
call fcn.004b52ae
mov al, byte [eax]
movzx eax, al
push eax
lea ecx, [ebp - 0x28]
call fcn.0041266f
mov eax, dword [ebp - 0x44]
and eax, 0x3f
push eax
lea ecx, [ebp - 0x40]
call fcn.004b52ae
mov al, byte [eax]
movzx eax, al
push eax
lea ecx, [ebp - 0x28]
call fcn.0041266f
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
jmp 0x4b5ef0
cmp dword [ebp - 0x4c], 0x10
jne 0x4b600c
mov eax, dword [ebp - 0x44]
shr eax, 0xc
and eax, 0x3f
push eax
lea ecx, [ebp - 0x40]
call fcn.004b52ae
mov al, byte [eax]
movzx eax, al
push eax
lea ecx, [ebp - 0x28]
call fcn.0041266f
push 0x56d67c
lea ecx, [ebp - 0x28]
call fcn.0043596d
cmp dword [ebp - 0x4c], 8
jne 0x4b603c
mov eax, dword [ebp - 0x44]
shr eax, 6
and eax, 0x3f
push eax
lea ecx, [ebp - 0x40]
call fcn.004b52ae
mov al, byte [eax]
movzx eax, al
push eax
lea ecx, [ebp - 0x28]
call fcn.0041266f
push 0x3d
lea ecx, [ebp - 0x28]
call fcn.0041266f
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040df66
mov eax, dword [ebp - 0x5c]
or eax, 1
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00410a23
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00410a23
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051dfa2
leave
ret