Function at 0x4fe5d0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], 0x10
jb 0x4fe5ea
mov eax, dword [esi]
jmp 0x4fe5ec
mov eax, esi
mov ecx, dword [ebp + 8]
mov byte [eax], bl
test ecx, ecx
je 0x4fe818
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4fe818
push edi
dec eax
mov dword [ebp + 0xc], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + ebx - 8], al
inc ebx
mov ah, byte [ebp - 6]
mov dl, byte [ebp - 7]
mov dh, byte [ebp - 8]
mov dword [ebp + 8], ecx
mov byte [ebp - 2], ah
mov byte [ebp + 0x13], dl
mov byte [ebp - 1], dh
cmp ebx, 3
jne 0x4fe687
mov al, dh
mov cl, dh
shr al, 2
and cl, 3
mov byte [ebp - 0xc], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0xb], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], al
xor edi, edi
movzx eax, byte [ebp + edi - 0xc]
mov ecx, esi
movzx eax, byte [eax + 0x5a6f40]
push eax
push 1
call fcn.00453040
inc edi
cmp edi, 4
jl 0x4fe660
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dl, byte [ebp + 0x13]
mov dh, byte [ebp - 1]
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4fe605
test ebx, ebx
je 0x4fe80e
mov eax, ebx
cmp ebx, 3
jge 0x4fe6c0
cmp eax, 3
jae 0x4fe821
mov byte [ebp + eax - 8], 0
inc eax
cmp eax, 3
jl 0x4fe6a4
mov cl, byte [ebp - 6]
mov dl, byte [ebp - 7]
mov dh, byte [ebp - 8]
jmp 0x4fe6c3
mov cl, byte [ebp - 2]
mov al, dh
and dh, 3
shr al, 2
mov byte [ebp - 0xc], al
mov al, dl
shr al, 4
and dl, 0xf
shl dh, 4
add dh, al
shl dl, 2
mov al, cl
mov byte [ebp - 0xb], dh
shr al, 6
and cl, 0x3f
add dl, al
mov byte [ebp - 9], cl
mov byte [ebp - 0xa], dl
lea eax, [ebx + 1]
xor edx, edx
mov dword [ebp + 0x10], edx
test eax, eax
jle 0x4fe796
movzx eax, byte [ebp + edx - 0xc]
mov ecx, dword [esi + 0x10]
mov al, byte [eax + 0x5a6f40]
mov byte [ebp + 0xb], al
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
jbe 0x4fe826
lea edi, [ecx + 1]
cmp edi, 0xfffffffe
ja 0x4fe826
cmp dword [esi + 0x14], edi
jae 0x4fe74e
push ecx
push edi
mov ecx, esi
call fcn.00445f40
mov edx, dword [ebp + 0x10]
test edi, edi
je 0x4fe787
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x4fe769
mov eax, dword [esi]
jmp 0x4fe76b
test edi, edi
jne 0x4fe741
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 0x10
jb 0x4fe762
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x4fe787
mov eax, esi
mov byte [eax], 0
jmp 0x4fe787
mov eax, esi
mov dl, byte [ebp + 0xb]
mov byte [eax + ecx], dl
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 0x10
jb 0x4fe77e
mov eax, dword [esi]
jmp 0x4fe780
mov eax, esi
mov edx, dword [ebp + 0x10]
mov byte [eax + edi], 0
inc edx
lea eax, [ebx + 1]
mov dword [ebp + 0x10], edx
cmp edx, eax
jl 0x4fe701
cmp ebx, 3
jge 0x4fe80e
nop dword [eax + eax]
mov ecx, dword [esi + 0x10]
or eax, 0xffffffff
sub eax, ecx
inc ebx
cmp eax, 1
jbe 0x4fe826
lea edi, [ecx + 1]
cmp edi, 0xfffffffe
ja 0x4fe826
cmp dword [esi + 0x14], edi
jae 0x4fe7d5
push ecx
push edi
mov ecx, esi
call fcn.00445f40
test edi, edi
je 0x4fe809
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x4fe7f0
mov eax, dword [esi]
jmp 0x4fe7f2
test edi, edi
jne 0x4fe7c8
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 0x10
jb 0x4fe7e9
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x4fe809
mov eax, esi
mov byte [eax], 0
jmp 0x4fe809
mov eax, esi
mov byte [ecx + eax], 0x3d
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 0x10
jb 0x4fe803
mov eax, dword [esi]
jmp 0x4fe805
mov eax, esi
mov byte [edi + eax], 0
cmp ebx, 3
jl 0x4fe7a0
mov eax, dword [esi + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004ff02c
push str.string_too_long
call fcn.00500542
int3