Function at 0x419900
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
mov dword [ebp - 0x38], ecx
mov eax, 0x6b206574
mov dword [ebp - 0x28], eax
push esi
mov esi, dword [ebp + 8]
push edi
movzx edi, byte [esi + 3]
movzx eax, byte [esi + 2]
movzx ebx, byte [esi + 7]
movzx ecx, byte [esi + 0xb]
shl ecx, 8
shl edi, 8
or edi, eax
shl ebx, 8
movzx eax, byte [esi + 1]
shl edi, 8
or edi, eax
movzx eax, byte [esi]
shl edi, 8
or edi, eax
movzx eax, byte [esi + 6]
or ebx, eax
mov dword [ebp - 0x3c], edi
movzx eax, byte [esi + 5]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 4]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xa]
or ecx, eax
mov dword [ebp - 0x40], ebx
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xe]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x44], ecx
movzx ecx, byte [esi + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x12]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x48], ecx
movzx ecx, byte [esi + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x16]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x5c], ecx
movzx ecx, byte [esi + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x1a]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x60], ecx
movzx ecx, byte [esi + 0x1b]
shl ecx, 8
or ecx, eax
shl ecx, 8
movzx eax, byte [esi + 0x19]
or ecx, eax
mov dword [ebp - 0x10], 0x61707865
movzx eax, byte [esi + 0x18]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x34], 0xa
movzx eax, byte [esi + 0x1e]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x64], ecx
movzx ecx, byte [esi + 0x1f]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x1c]
shl ecx, 8
or ecx, eax
mov esi, dword [ebp - 0x2c]
movzx eax, byte [edx + 2]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x68], ecx
movzx ecx, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x4c], ecx
movzx ecx, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x50], ecx
movzx ecx, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl eax, 8
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x54], ecx
movzx ecx, byte [edx + 0xe]
or eax, ecx
movzx ecx, byte [edx + 0xd]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0xc]
mov edx, 0x3320646e
shl eax, 8
mov dword [ebp - 0x18], edx
or eax, ecx
mov edx, 0x79622d32
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x20], edx
nop dword [eax]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x10]
rol ecx, 7
xor esi, ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
add ecx, esi
mov dword [ebp - 0x2c], esi
rol ecx, 9
xor dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
add ecx, esi
mov esi, dword [ebp - 0x24]
rol ecx, 0xd
xor dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x14]
ror ecx, 0xe
xor dword [ebp - 0x10], ecx
lea ecx, [edi + edx]
rol ecx, 7
xor eax, ecx
lea ecx, [eax + edx]
rol ecx, 9
xor dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
add ecx, eax
rol ecx, 0xd
xor edi, ecx
mov ecx, dword [ebp - 0xc]
add ecx, edi
ror ecx, 0xe
xor edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x20]
add ecx, edx
rol ecx, 7
xor esi, ecx
mov dword [ebp - 0x24], esi
lea ecx, [esi + edx]
rol ecx, 9
xor ebx, ecx
lea ecx, [esi + ebx]
mov esi, dword [ebp - 8]
rol ecx, 0xd
xor esi, ecx
mov dword [ebp - 8], esi
lea ecx, [esi + ebx]
mov esi, dword [ebp - 0x28]
ror ecx, 0xe
xor edx, ecx
mov ecx, dword [ebp + 8]
add ecx, esi
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x30]
rol ecx, 7
xor edx, ecx
lea ecx, [edx + esi]
mov esi, dword [ebp - 0x1c]
rol ecx, 9
xor esi, ecx
mov dword [ebp - 0x1c], esi
lea ecx, [esi + edx]
rol ecx, 0xd
xor dword [ebp + 8], ecx
mov ecx, dword [ebp + 8]
add ecx, esi
mov esi, dword [ebp - 0x10]
ror ecx, 0xe
xor dword [ebp - 0x28], ecx
lea ecx, [edx + esi]
rol ecx, 7
xor edi, ecx
lea ecx, [edi + esi]
rol ecx, 9
xor ebx, ecx
lea ecx, [ebx + edi]
rol ecx, 0xd
xor edx, ecx
mov dword [ebp - 0x30], edx
lea ecx, [edx + ebx]
mov edx, dword [ebp - 0x18]
ror ecx, 0xe
xor esi, ecx
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x2c]
lea ecx, [esi + edx]
rol ecx, 7
xor dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
add ecx, edx
mov edx, dword [ebp - 0x1c]
rol ecx, 9
xor edx, ecx
mov ecx, dword [ebp - 8]
add ecx, edx
mov dword [ebp - 0x1c], edx
rol ecx, 0xd
xor esi, ecx
mov ecx, edx
mov edx, dword [ebp - 0x20]
add ecx, esi
ror ecx, 0xe
xor dword [ebp - 0x18], ecx
lea ecx, [eax + edx]
rol ecx, 7
xor dword [ebp + 8], ecx
mov ecx, dword [ebp + 8]
add ecx, edx
mov edx, dword [ebp - 0x14]
rol ecx, 9
xor edx, ecx
mov ecx, dword [ebp + 8]
add ecx, edx
mov dword [ebp - 0x14], edx
rol ecx, 0xd
xor eax, ecx
mov dword [ebp - 0x2c], eax
lea ecx, [eax + edx]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
ror ecx, 0xe
xor dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx + edx]
rol ecx, 7
xor dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, edx
rol ecx, 9
xor eax, ecx
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
rol ecx, 0xd
xor eax, ecx
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
ror ecx, 0xe
xor edx, ecx
sub dword [ebp - 0x34], 1
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x30]
jne 0x419af0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
add ecx, 0x61707865
mov byte [eax], cl
shr ecx, 8
mov byte [eax + 1], cl
shr ecx, 8
mov byte [eax + 2], cl
shr ecx, 8
mov byte [eax + 3], cl
mov ecx, dword [ebp - 0x3c]
add ecx, edi
mov edi, eax
mov byte [edi + 4], cl
shr ecx, 8
mov byte [edi + 5], cl
shr ecx, 8
mov byte [edi + 6], cl
shr ecx, 8
mov byte [edi + 7], cl
mov ecx, dword [ebp - 0x40]
add ecx, ebx
mov byte [edi + 8], cl
shr ecx, 8
mov byte [edi + 9], cl
shr ecx, 8
mov byte [edi + 0xa], cl
shr ecx, 8
mov byte [edi + 0xb], cl
mov ecx, dword [ebp - 0x44]
add ecx, edx
mov byte [edi + 0xc], cl
shr ecx, 8
mov byte [edi + 0xd], cl
shr ecx, 8
mov byte [edi + 0xe], cl
shr ecx, 8
mov byte [edi + 0xf], cl
mov ecx, dword [ebp - 0x48]
add ecx, esi
mov byte [edi + 0x10], cl
shr ecx, 8
mov byte [edi + 0x11], cl
shr ecx, 8
mov byte [edi + 0x12], cl
shr ecx, 8
mov byte [edi + 0x13], cl
mov ecx, dword [ebp - 0x18]
add ecx, 0x3320646e
mov byte [edi + 0x14], cl
shr ecx, 8
mov byte [edi + 0x15], cl
shr ecx, 8
mov byte [edi + 0x16], cl
shr ecx, 8
mov byte [edi + 0x17], cl
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x4c]
mov byte [edi + 0x18], cl
shr ecx, 8
mov byte [edi + 0x19], cl
shr ecx, 8
mov byte [edi + 0x1a], cl
shr ecx, 8
mov byte [edi + 0x1b], cl
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x50]
mov byte [edi + 0x1c], cl
shr ecx, 8
mov byte [edi + 0x1d], cl
shr ecx, 8
mov byte [edi + 0x1e], cl
shr ecx, 8
mov byte [edi + 0x1f], cl
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x54]
mov byte [edi + 0x20], cl
shr ecx, 8
mov byte [edi + 0x21], cl
shr ecx, 8
mov byte [edi + 0x22], cl
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x58]
mov byte [edi + 0x24], al
shr eax, 8
mov byte [edi + 0x25], al
shr eax, 8
mov byte [edi + 0x26], al
shr eax, 8
mov byte [edi + 0x27], al
mov eax, dword [ebp - 0x20]
add eax, 0x79622d32
shr ecx, 8
mov byte [edi + 0x28], al
shr eax, 8
mov byte [edi + 0x29], al
shr eax, 8
mov byte [edi + 0x2a], al
shr eax, 8
mov byte [edi + 0x2b], al
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x5c]
mov byte [edi + 0x2c], al
shr eax, 8
mov byte [edi + 0x2d], al
shr eax, 8
mov byte [edi + 0x2e], al
shr eax, 8
mov byte [edi + 0x2f], al
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x60]
mov byte [edi + 0x30], al
shr eax, 8
mov byte [edi + 0x31], al
shr eax, 8
mov byte [edi + 0x32], al
shr eax, 8
mov byte [edi + 0x33], al
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x64]
mov byte [edi + 0x34], al
shr eax, 8
mov byte [edi + 0x35], al
shr eax, 8
mov byte [edi + 0x36], al
shr eax, 8
mov byte [edi + 0x37], al
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x68]
mov byte [edi + 0x38], al
shr eax, 8
mov byte [edi + 0x39], al
shr eax, 8
mov byte [edi + 0x3a], al
shr eax, 8
mov byte [edi + 0x3b], al
mov eax, dword [ebp - 0x28]
add eax, 0x6b206574
mov byte [edi + 0x23], cl
mov byte [edi + 0x3c], al
shr eax, 8
mov byte [edi + 0x3d], al
shr eax, 8
mov byte [edi + 0x3e], al
shr eax, 8
mov byte [edi + 0x3f], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret