Function at 0x4e5498
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e57c1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00417438
mov dword [ebp - 0xc], eax
mov byte [ebp - 0xd], 0x3d
mov dword [ebp - 0x24], 0x3e
lea eax, [ebp - 0x20]
call fcn.00404894
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.00404e70
mov eax, dword [ebp - 0x20]
call fcn.00404d00
mov dword [ebp - 0x14], eax
mov cx, 2
xor edx, edx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4e5300]
call fcn.004e535c
mov dword [ebp - 0x1c], eax
xor ecx, ecx
push ebp
push 0x4e5763
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x18], eax
cmp ebx, dword [ebp - 0x18]
jb 0x4e5554
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e53f4
test al, al
je 0x4e574d
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x18], eax
mov al, byte [ebx]
mov byte [ebp - 0xe], al
inc ebx
xor eax, eax
mov al, byte [ebp - 0xe]
shr eax, 2
mov al, byte [eax + 0x566fd4]
mov edx, dword [ebp - 0x14]
mov byte [edx], al
inc dword [ebp - 0x14]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jl 0x4e55c6
mov byte [ebp - 0xf], 0
mov al, byte [ebp - 0xe]
and al, 3
and eax, 0xff
shl eax, 4
mov dl, byte [ebp - 0xf]
and dl, 0xf0
and edx, 0xff
shr edx, 4
or eax, edx
mov al, byte [eax + 0x566fd4]
mov edx, dword [ebp - 0x14]
mov byte [edx], al
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [eax], dl
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [eax], dl
inc dword [ebp - 0x14]
jmp 0x4e56d1
cmp ebx, dword [ebp - 0x18]
jb 0x4e55ee
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e53f4
test al, al
je 0x4e574d
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x18], eax
mov al, byte [ebx]
mov byte [ebp - 0xf], al
inc ebx
mov al, byte [ebp - 0xe]
and al, 3
and eax, 0xff
shl eax, 4
mov dl, byte [ebp - 0xf]
and dl, 0xf0
and edx, 0xff
shr edx, 4
or eax, edx
mov al, byte [eax + 0x566fd4]
mov edx, dword [ebp - 0x14]
mov byte [edx], al
inc dword [ebp - 0x14]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jl 0x4e5663
xor edx, edx
mov al, byte [ebp - 0xf]
and al, 0xf
and eax, 0xff
shl eax, 2
and dl, 0xc0
and edx, 0xff
shr edx, 6
or eax, edx
mov al, byte [eax + 0x566fd4]
mov edx, dword [ebp - 0x14]
mov byte [edx], al
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [eax], dl
inc dword [ebp - 0x14]
jmp 0x4e56d1
cmp ebx, dword [ebp - 0x18]
jb 0x4e568b
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004e53f4
test al, al
je 0x4e574d
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x18], eax
mov dl, byte [ebx]
inc ebx
mov al, byte [ebp - 0xf]
and al, 0xf
and eax, 0xff
shl eax, 2
mov ecx, edx
and cl, 0xc0
and ecx, 0xff
shr ecx, 6
or eax, ecx
mov al, byte [eax + 0x566fd4]
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
inc dword [ebp - 0x14]
inc dword [ebp - 8]
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x566fd4]
mov edx, dword [ebp - 0x14]
mov byte [edx], al
inc dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, 0x2d
cdq
idiv ecx
test edx, edx
je 0x4e56ef
mov eax, dword [ebp - 0x14]
dec eax
mov al, byte [eax]
cmp al, byte [ebp - 0xd]
jne 0x4e552c
mov eax, dword [ebp - 0x14]
dec eax
mov al, byte [eax]
cmp al, byte [ebp - 0xd]
je 0x4e5714
mov eax, dword [ebp - 0x14]
mov byte [eax], 0xd
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov byte [eax], 0xa
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
jmp 0x4e5728
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.00404e70
mov eax, dword [ebp - 0x20]
call fcn.00404d00
mov edx, eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov eax, dword [ebp - 0x20]
call fcn.00404d00
mov dword [ebp - 0x14], eax
jmp 0x4e552c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e576a
mov eax, dword [ebp - 0x1c]
call fcn.00403a08
ret