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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
push ebx
mov ebx, 0x79622d32
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ebx
mov ebx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ebx
mov ebx, dword [eax + 8]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0x14], ebx
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x20], ebx
mov ebx, dword [eax + 0x14]
mov dword [ebp - 0x24], ebx
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 4]
mov dword [ebp + 8], eax
mov eax, dword [edx + 8]
push esi
mov dword [ebp - 4], eax
mov esi, 0x61707865
mov eax, dword [edx + 0xc]
mov edx, 0x6b206574
push edi
mov dword [ebp - 0x18], ebx
mov edi, 0x3320646e
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x30], 0xa
mov eax, dword [ebp - 0x24]
add eax, esi
mov ecx, dword [ebp - 0x24]
rol eax, 7
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, esi
rol eax, 9
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
rol eax, 0xd
xor ecx, eax
mov eax, dword [ebp - 4]
add eax, ecx
mov dword [ebp - 0x24], ecx
ror eax, 0xe
xor esi, eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
lea eax, [eax + edi]
rol eax, 7
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, edi
rol eax, 9
xor ecx, eax
mov eax, dword [ebp - 8]
add eax, ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0xc]
rol eax, 0xd
xor ecx, eax
mov eax, dword [ebp - 0x18]
add eax, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x2c]
ror eax, 0xe
xor edi, eax
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x28]
lea eax, [ecx + ebx]
rol eax, 7
xor edi, eax
mov dword [ebp - 0x28], edi
lea eax, [edi + ebx]
rol eax, 9
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, edi
mov edi, dword [ebp - 0x1c]
rol eax, 0xd
xor ecx, eax
mov eax, dword [ebp - 0x10]
add eax, ecx
ror eax, 0xe
xor ebx, eax
mov eax, dword [ebp - 0x20]
add eax, edx
rol eax, 7
xor edi, eax
mov dword [ebp - 0x1c], edi
lea eax, [edi + edx]
rol eax, 9
xor dword [ebp + 8], eax
mov eax, dword [ebp + 8]
add eax, edi
mov edi, dword [ebp - 0x20]
rol eax, 0xd
xor edi, eax
mov eax, dword [ebp + 8]
add eax, edi
mov dword [ebp - 0x20], edi
ror eax, 0xe
xor edx, eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + esi]
rol eax, 7
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, esi
rol eax, 9
mov edi, dword [ebp - 0x10]
xor edi, eax
mov eax, dword [ebp - 0xc]
add eax, edi
mov dword [ebp - 0x10], edi
rol eax, 0xd
mov edi, dword [ebp - 0x1c]
xor edi, eax
mov eax, dword [ebp - 0x10]
add eax, edi
mov dword [ebp - 0x1c], edi
ror eax, 0xe
xor esi, eax
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
add eax, edi
rol eax, 7
xor ecx, eax
mov dword [ebp - 0x2c], ecx
lea eax, [ecx + edi]
rol eax, 9
xor dword [ebp + 8], eax
mov eax, dword [ebp + 8]
add eax, ecx
mov ecx, dword [ebp - 0x14]
rol eax, 0xd
xor ecx, eax
mov eax, dword [ebp + 8]
add eax, ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x20]
ror eax, 0xe
xor edi, eax
mov eax, dword [ebp - 8]
add eax, ebx
rol eax, 7
xor ecx, eax
mov dword [ebp - 0x20], ecx
lea eax, [ecx + ebx]
rol eax, 9
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, ecx
mov ecx, dword [ebp - 8]
rol eax, 0xd
xor ecx, eax
mov eax, dword [ebp - 4]
add eax, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x24]
ror eax, 0xe
xor ebx, eax
mov eax, dword [ebp - 0x28]
add eax, edx
rol eax, 7
xor ecx, eax
mov dword [ebp - 0x24], ecx
lea eax, [ecx + edx]
rol eax, 9
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, ecx
mov ecx, dword [ebp - 0x28]
rol eax, 0xd
xor ecx, eax
mov eax, dword [ebp - 0x18]
add eax, ecx
mov dword [ebp - 0x28], ecx
ror eax, 0xe
xor edx, eax
sub dword [ebp - 0x30], 1
jne 0x413e86
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ecx + 4], edi
pop edi
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ecx], esi
pop esi
mov dword [ecx + 8], ebx
mov dword [ecx + 0x1c], eax
xor eax, eax
mov dword [ecx + 0xc], edx
pop ebx
mov esp, ebp
pop ebp
ret