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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [ebp + 0x14]
mov edx, 0x3320646e
mov dword [ebp - 0x14], edx
mov ecx, 0x61707865
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], edx
push ebx
push esi
mov esi, 0x79622d32
mov dword [ebp - 0x34], esi
push edi
mov edi, 0x6b206574
mov dword [ebp - 0x38], edi
test eax, eax
je 0x4f065d
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [eax + 4]
mov dword [ebp + 0x14], ebx
mov dword [ebp - 0x40], ebx
mov ebx, dword [eax + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x44], ebx
mov ebx, dword [eax + 0xc]
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0x48], ebx
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x5c], ebx
mov ebx, dword [eax + 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x60], ebx
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x64], ebx
mov ebx, dword [eax]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x4c], ebx
mov ebx, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x50], ebx
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x2c]
test eax, eax
jle 0x4f0879
dec eax
shr eax, 1
inc eax
mov dword [ebp + 0x18], eax
nop
mov eax, dword [ebp - 4]
add eax, ecx
mov edx, dword [ebp - 0x24]
rol eax, 7
xor dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
add eax, ecx
rol eax, 9
xor edx, eax
mov eax, dword [ebp + 0x10]
add eax, edx
mov dword [ebp - 0x24], edx
rol eax, 0xd
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, edx
mov edx, dword [ebp - 0x14]
ror eax, 0xe
xor ecx, eax
lea eax, [ebx + edx]
rol eax, 7
xor dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [ebp - 0x20]
rol eax, 9
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp + 0xc]
rol eax, 0xd
xor ebx, eax
mov eax, dword [ebp - 0x10]
add eax, ebx
ror eax, 0xe
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
add eax, esi
rol eax, 7
xor edx, eax
mov dword [ebp - 0x20], edx
lea eax, [edx + esi]
rol eax, 9
xor dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
add eax, edx
mov edx, dword [ebp - 0xc]
rol eax, 0xd
xor edx, eax
mov eax, dword [ebp + 0x14]
add eax, edx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x18]
ror eax, 0xe
xor esi, eax
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x1c]
lea eax, [edx + edi]
rol eax, 7
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, edi
rol eax, 9
xor esi, eax
mov eax, dword [ebp - 8]
add eax, esi
mov dword [ebp - 0x1c], esi
rol eax, 0xd
xor edx, eax
mov eax, esi
add eax, edx
mov dword [ebp - 0x18], edx
ror eax, 0xe
xor edi, eax
mov eax, dword [ebp - 8]
add eax, ecx
rol eax, 7
xor ebx, eax
lea eax, [ebx + ecx]
rol eax, 9
xor dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
add eax, ebx
mov edx, dword [ebp - 8]
rol eax, 0xd
xor edx, eax
mov eax, dword [ebp + 0x14]
add eax, edx
mov dword [ebp - 8], edx
ror eax, 0xe
xor ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
add eax, edx
rol eax, 7
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, edx
rol eax, 9
xor esi, eax
mov eax, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x1c], esi
rol eax, 0xd
xor dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
add eax, esi
mov esi, dword [ebp - 0x3c]
ror eax, 0xe
xor edx, eax
mov eax, dword [ebp + 0xc]
add eax, esi
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x24]
rol eax, 7
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, esi
rol eax, 9
xor edx, eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x24], edx
rol eax, 0xd
xor dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [ebp - 0x10]
ror eax, 0xe
xor esi, eax
mov eax, dword [ebp - 0x20]
add eax, edi
rol eax, 7
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, edi
rol eax, 9
xor edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x20]
rol eax, 0xd
xor edx, eax
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x14]
ror eax, 0xe
xor edi, eax
dec dword [ebp + 0x18]
jne 0x4f06e0
mov eax, dword [ebp - 0x28]
add eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
add eax, ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0x40]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x44]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x48]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x30]
add eax, edx
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x4c]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x50]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x54]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x58]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x34]
add eax, esi
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x5c]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x60]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x64]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x68]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x38]
add eax, edi
pop edi
pop esi
mov dword [ecx + 0x3c], eax
pop ebx
mov esp, ebp
pop ebp
ret