function ind(i, offset, len) {
    return (i + offset) % len
}

function unshift(data, key, i, offset, len) {
    const k = key[ind(i, offset, len)]
    return data[i] - k
}

function getdata(k, d, offset) {
    const key = k()
    const data = d()

    let val = ''
    for (let i = 0; i < data.length; i++) {
        const d = unshift(data, key, i, offset, data.length)
        if (d !== 94) { // KeyPadCode from convert.js
            val += String.fromCharCode(d)
        }
    }

    return val
}

// _0xc65ffb
function getFinalImage() {
    return 'data:image/png;base64,[encoded data, 286932 characters]'
}
