Function at 0x691b8f
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x6b7216
call fcn.006426c4
sub esp, 0x20
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test esi, esi
jne 0x691bbf
call fcn.00691b40
mov ecx, dword [ebp + 8]
push eax
call fcn.0040f8db
mov eax, dword [ebp + 8]
jmp 0x691d75
push ebx
push edi
push 3
mov eax, esi
mov dword [ebp - 0x18], 0xf
xor edx, edx
mov dword [ebp - 0x1c], ecx
pop edi
div edi
mov byte [ebp - 0x2c], cl
mov ebx, edx
mov dword [ebp - 0x10], ebx
xor edx, edx
mov dword [ebp - 4], ecx
lea eax, [esi + 2]
div edi
mov eax, esi
lea ecx, [ebp - 0x2c]
sub eax, edx
xor edx, edx
add eax, 2
div edi
shl eax, 2
push eax
call fcn.0040f145
sub esi, ebx
xor edx, edx
mov eax, esi
mov esi, dword [ebp + 0xc]
div edi
mov edi, eax
test edi, edi
je 0x691c9a
movzx eax, byte [esi]
lea ecx, [ebp - 0x2c]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789ABCDEFabcdef]
push eax
push 1
call fcn.0040ea03
mov cl, byte [esi]
mov al, byte [esi + 1]
and cl, 3
shr al, 4
shl cl, 4
add cl, al
movzx eax, cl
lea ecx, [ebp - 0x2c]
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789ABCDEFabcdef]
push eax
push 1
call fcn.0040ea03
mov cl, byte [esi + 1]
mov al, byte [esi + 2]
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
movzx eax, cl
lea ecx, [ebp - 0x2c]
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789ABCDEFabcdef]
push eax
push 1
call fcn.0040ea03
movzx eax, byte [esi + 2]
lea ecx, [ebp - 0x2c]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789ABCDEFabcdef]
push eax
push 1
call fcn.0040ea03
add esi, 3
sub edi, 1
jne 0x691c12
test ebx, ebx
je 0x691d4a
xor al, al
mov word [ebp + 0x10], 0
mov byte [ebp + 0xf], al
xor bh, bh
mov byte [ebp + 0x12], al
xor bl, bl
mov eax, dword [ebp - 0x10]
test al, al
je 0x691cd8
movzx eax, al
push eax
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.0065afc0
mov al, byte [ebp + 0x12]
add esp, 0xc
mov bl, byte [ebp + 0x11]
mov bh, byte [ebp + 0x10]
mov byte [ebp + 0xf], al
movzx eax, bh
lea ecx, [ebp - 0x2c]
shr eax, 2
xor esi, esi
inc esi
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789ABCDEFabcdef]
push eax
push esi
call fcn.0040ea03
and bh, 3
lea ecx, [ebp - 0x2c]
mov al, bl
shl bh, 4
shr al, 4
add bh, al
movzx eax, bh
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789ABCDEFabcdef]
push eax
push esi
call fcn.0040ea03
cmp dword [ebp - 0x10], 2
lea ecx, [ebp - 0x2c]
jne 0x691d37
mov al, byte [ebp + 0xf]
and bl, 0xf
shr al, 6
shl bl, 2
add bl, al
movzx eax, bl
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789ABCDEFabcdef]
push eax
jmp 0x691d39
push 0x3d
push esi
call fcn.0040ea03
push 0x3d
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040ea03
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
xor ebx, ebx
mov ecx, esi
push eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
call fcn.0040f35c
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040f95f
pop edi
mov eax, esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc