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

Disassembly:
mov eax, 0xd0
call fcn.005c5c30
mov eax, dword [0x65db30]
xor eax, esp
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x9c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0xa0], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0xa4], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0xa8], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0xac], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0xb0], edx
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xb4], ecx
mov ecx, dword [eax]
mov dword [esp + 0xb8], edx
mov edx, dword [eax + 4]
mov dword [esp + 0xbc], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0xc0], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x8c], 0x61707865
mov dword [esp + 0x90], 0x3320646e
mov dword [esp + 0x94], 0x79622d32
mov dword [esp + 0x98], 0x6b206574
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
test eax, eax
je 0x50fcd2
push ebx
push ebp
push esi
push edi
jmp 0x50f987
mov eax, dword [esp + 0xec]
mov dword [esp + 0x14], 0x40
cmp eax, 0x40
jae 0x50f998
mov dword [esp + 0x14], eax
mov ecx, 0x10
lea esi, [esp + 0x9c]
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x8c]
mov ebp, dword [esp + 0x7c]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x18], 0xa
add ebx, ecx
mov eax, esi
xor eax, ebx
rol eax, 0x10
add ebp, eax
mov edx, dword [esp + 0x80]
mov edi, ebp
xor edi, ecx
rol edi, 0xc
add ebx, edi
xor eax, ebx
rol eax, 8
mov ecx, dword [esp + 0x90]
add ebp, eax
mov dword [esp + 0x8c], eax
mov eax, ebp
xor eax, edi
rol eax, 7
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
xor ecx, eax
rol ecx, 0x10
add edx, ecx
mov edi, edx
xor edi, dword [esp + 0x70]
rol edi, 0xc
add eax, edi
xor ecx, eax
rol ecx, 8
add edx, ecx
mov dword [esp + 0x90], ecx
mov ecx, edx
xor ecx, edi
mov edi, dword [esp + 0x84]
rol ecx, 7
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x64]
add ecx, esi
xor edx, ecx
rol edx, 0x10
add edi, edx
mov dword [esp + 0x84], edi
xor edi, esi
mov esi, dword [esp + 0x84]
rol edi, 0xc
add ecx, edi
xor edx, ecx
rol edx, 8
add esi, edx
mov dword [esp + 0x94], edx
mov edx, esi
xor edx, edi
mov edi, dword [esp + 0x78]
rol edx, 7
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x68]
add edx, edi
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x98]
xor esi, edx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x88]
rol esi, 0x10
add edx, esi
mov dword [esp + 0x88], edx
xor edx, edi
mov edi, dword [esp + 0x68]
rol edx, 0xc
add edi, edx
xor esi, edi
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x88]
rol esi, 8
add edi, esi
mov dword [esp + 0x88], edi
xor edi, edx
rol edi, 7
add ebx, dword [esp + 0x70]
add eax, dword [esp + 0x74]
mov edx, dword [esp + 0x84]
xor esi, ebx
rol esi, 0x10
add edx, esi
mov dword [esp + 0x84], edx
xor edx, dword [esp + 0x70]
mov dword [esp + 0x98], esi
rol edx, 0xc
add ebx, edx
mov dword [esp + 0x70], edx
mov edx, esi
mov esi, dword [esp + 0x84]
xor edx, ebx
rol edx, 8
add esi, edx
mov dword [esp + 0x98], edx
mov edx, eax
xor edx, dword [esp + 0x8c]
mov dword [esp + 0x84], esi
xor esi, dword [esp + 0x70]
add ecx, edi
rol esi, 7
rol edx, 0x10
mov dword [esp + 0x8c], edx
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x88]
add esi, edx
mov edx, esi
xor edx, dword [esp + 0x74]
mov dword [esp + 0x88], esi
rol edx, 0xc
add eax, edx
mov dword [esp + 0x60], eax
xor eax, dword [esp + 0x8c]
rol eax, 8
mov esi, eax
mov eax, dword [esp + 0x88]
add eax, esi
mov dword [esp + 0x88], eax
xor eax, edx
rol eax, 7
mov edx, ecx
xor edx, dword [esp + 0x90]
mov dword [esp + 0x74], eax
rol edx, 0x10
add ebp, edx
xor edi, ebp
rol edi, 0xc
add ecx, edi
mov dword [esp + 0x64], ecx
xor ecx, edx
rol ecx, 8
mov eax, ecx
mov ecx, dword [esp + 0x80]
add ebp, eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x6c]
xor edi, ebp
mov edx, eax
xor edx, dword [esp + 0x94]
rol edi, 7
rol edx, 0x10
add ecx, edx
mov dword [esp + 0x78], edi
mov edi, ecx
xor edi, dword [esp + 0x6c]
mov dword [esp + 0x8c], esi
rol edi, 0xc
add eax, edi
mov dword [esp + 0x68], eax
xor eax, edx
rol eax, 8
add ecx, eax
mov dword [esp + 0x80], ecx
xor ecx, edi
rol ecx, 7
mov dword [esp + 0x94], eax
mov dword [esp + 0x6c], ecx
dec dword [esp + 0x18]
jne 0x50f9c5
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x5c], ebx
xor eax, eax
jmp 0x50fc30
mov ecx, dword [esp + eax + 0x5c]
add ecx, dword [esp + eax + 0x9c]
mov edx, dword [esp + eax + 0xa0]
add edx, dword [esp + eax + 0x60]
mov dword [esp + eax + 0x1c], ecx
mov ecx, dword [esp + eax + 0xa4]
add ecx, dword [esp + eax + 0x64]
mov dword [esp + eax + 0x20], edx
mov edx, dword [esp + eax + 0xa8]
add edx, dword [esp + eax + 0x68]
mov dword [esp + eax + 0x24], ecx
mov dword [esp + eax + 0x28], edx
add eax, 0x10
cmp eax, 0x40
jl 0x50fc30
mov esi, dword [esp + 0x14]
xor ecx, ecx
test esi, esi
je 0x50fca4
mov edi, dword [esp + 0xe8]
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x1c]
mov edx, eax
sub edi, eax
sub ebp, edx
lea eax, [esp + ecx + 0x1c]
mov dl, byte [edi + eax]
xor dl, byte [eax]
inc ecx
mov byte [eax + ebp], dl
cmp ecx, esi
jb 0x50fc93
mov eax, dword [esp + 0xec]
add dword [esp + 0x10], esi
add dword [esp + 0xe8], esi
inc dword [esp + 0xcc]
sub eax, esi
mov dword [esp + 0xec], eax
test eax, eax
jne 0x50f980
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.005c5718
add esp, 0xd0
ret