Function at 0x407770
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], ecx
push ebx
push esi
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
mov ebx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x58], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x5c], ecx
mov ecx, dword [eax + 0x18]
push edi
mov edi, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x60], ecx
mov ecx, dword [eax + 0x1c]
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x4c], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x50], eax
mov eax, dword [edx + 0xc]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0x6b206574
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10], 0x61707865
mov dword [ebp + 8], 0x3320646e
mov dword [ebp - 0x18], 0x79622d32
mov dword [ebp - 0x30], 0xa
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, ecx
rol eax, 7
xor edx, eax
lea eax, [edx + ecx]
mov ecx, dword [ebp - 0x28]
rol eax, 9
xor dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, edx
rol eax, 0xd
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x24]
ror eax, 0xe
xor dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
add eax, esi
rol eax, 7
xor ecx, eax
mov eax, dword [ebp + 8]
add eax, ecx
mov dword [ebp - 0x28], ecx
rol eax, 9
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, ecx
mov ecx, dword [ebp - 0x2c]
rol eax, 0xd
xor esi, eax
mov eax, dword [ebp - 0x1c]
add eax, esi
ror eax, 0xe
xor dword [ebp + 8], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x18]
rol eax, 7
xor ecx, eax
mov eax, dword [ebp - 0x18]
add eax, ecx
mov dword [ebp - 0x2c], ecx
rol eax, 9
xor edi, eax
lea eax, [ecx + edi]
mov ecx, dword [ebp - 0x20]
rol eax, 0xd
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, edi
ror eax, 0xe
xor dword [ebp - 0x18], 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
rol eax, 0xd
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
ror eax, 0xe
xor dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
add eax, ebx
rol eax, 7
xor esi, eax
mov eax, dword [ebp - 0x10]
add eax, esi
rol eax, 9
xor edi, eax
lea eax, [edi + esi]
rol eax, 0xd
xor ebx, eax
lea eax, [ebx + edi]
ror eax, 0xe
xor dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
add eax, edx
mov ecx, dword [ebp - 0x14]
rol eax, 7
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp + 8]
rol eax, 9
xor ecx, eax
mov eax, dword [ebp - 4]
add eax, ecx
mov dword [ebp - 0x14], ecx
rol eax, 0xd
xor edx, eax
mov eax, ecx
add eax, edx
mov ecx, dword [ebp - 0x24]
ror eax, 0xe
xor dword [ebp + 8], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x18]
rol eax, 7
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x18]
rol eax, 9
xor ecx, eax
mov eax, dword [ebp - 8]
add eax, ecx
mov dword [ebp - 0x24], ecx
rol eax, 0xd
xor dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
ror eax, 0xe
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x2c]
rol eax, 7
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x20]
rol eax, 9
xor ecx, eax
mov eax, dword [ebp - 0xc]
add eax, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x2c]
rol eax, 0xd
xor ecx, eax
mov eax, dword [ebp - 0x1c]
add eax, ecx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x38]
ror eax, 0xe
xor dword [ebp - 0x20], eax
sub dword [ebp - 0x30], 1
jne 0x407803
mov eax, dword [ebp - 0x10]
add eax, 0x61707865
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
add eax, esi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x40]
add eax, edi
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x44]
add eax, ebx
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x34]
add eax, edx
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 8]
add eax, 0x3320646e
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x48]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x4c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x50]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x54]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x18]
add eax, 0x79622d32
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x58]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x5c]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x60]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x64]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x20]
pop edi
add eax, 0x6b206574
pop esi
mov dword [ecx + 0x3c], eax
pop ebx
mov esp, ebp
pop ebp
ret