Function at 0x10013fe2
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push edi
jne 0x10014012
cmp dword [ebp + 0xc], ebx
je 0x10014019
push 4
pop eax
mov dword [ebp - 0x10], eax
push 0x1004fa80
lea eax, [ebp - 0x10]
mov ecx, str.Null_raw_data_buffer
push eax
mov dword [ebp - 0xc], ecx
call fcn.10035956
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jne 0x10014028
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
jmp 0x100141c6
mov ecx, dword [0x100594c4]
push esi
push 0xffffffffffffffff
push ebx
call fcn.10002429
push 3
xor edx, edx
pop ecx
mov eax, edi
div ecx
mov esi, dword [0x100594c4]
shl eax, 2
call fcn.100095ba
xor ecx, ecx
cmp edi, 2
mov dword [ebp - 0xc], ecx
jbe 0x10014101
mov eax, dword [ebp + 8]
mov dword [ebp - 8], 1
sub dword [ebp - 8], eax
lea esi, [eax + 1]
movzx eax, byte [esi - 1]
movzx ecx, byte [esi]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 1]
shl eax, 8
add eax, ecx
mov ecx, eax
shr ecx, 0x12
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 4], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 3], cl
mov ecx, eax
shr ecx, 6
and ecx, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 0x3f
cmp ebx, 0x4c
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 2], cl
mov byte [ebp - 1], al
jb 0x100140d7
mov edi, dword [0x100594c4]
xor ebx, ebx
push 0xa
inc ebx
call fcn.10002929
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 4
lea eax, [ebp - 4]
push eax
mov eax, dword [0x100594c4]
call fcn.10002e2a
mov eax, dword [ebp - 8]
add dword [ebp - 0xc], 3
add esi, 3
add eax, esi
add ebx, 4
cmp eax, edi
jb 0x1001406c
mov ecx, dword [ebp - 0xc]
sub edi, ecx
dec edi
pop esi
je 0x10014152
dec edi
jne 0x100141a6
mov eax, dword [ebp + 8]
add ecx, eax
movzx eax, byte [ecx + 1]
movzx ecx, byte [ecx]
shl ecx, 8
add eax, ecx
shl eax, 8
mov ecx, eax
shr ecx, 0x12
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 4], cl
mov ecx, eax
shr ecx, 0xc
shr eax, 6
and ecx, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 3], cl
mov byte [ebp - 2], al
jmp 0x1001417d
mov eax, dword [ebp + 8]
movzx eax, byte [ecx + eax]
shl eax, 0x10
mov ecx, eax
shr eax, 0xc
shr ecx, 0x12
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 4], cl
mov byte [ebp - 3], al
mov byte [ebp - 2], 0x3d
cmp ebx, 0x4c
mov byte [ebp - 1], 0x3d
jb 0x10014196
mov edi, dword [0x100594c4]
xor ebx, ebx
push 0xa
inc ebx
call fcn.10002929
push 4
lea eax, [ebp - 4]
push eax
mov eax, dword [0x100594c4]
call fcn.10002e2a
mov eax, dword [0x100594c4]
cmp dword [eax + 0x18], 0x10
jb 0x100141b6
mov ecx, dword [eax + 4]
jmp 0x100141b9
lea ecx, [eax + 4]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
pop edi
pop ebx
leave
ret