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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x18]
mov eax, 0x118
call fcn.1402563a0
sub rsp, rax
mov rax, qword [0x1403bb2d8]
xor rax, rsp
mov qword [rbp], rax
mov eax, dword [r9]
mov qword [rsp + 0x18], rcx
mov rcx, qword [rbp + 0x60]
mov ebx, dword [rcx]
mov dword [rbp - 0x30], eax
mov eax, dword [r9 + 4]
mov dword [rbp - 0x2c], eax
mov eax, dword [r9 + 8]
mov r11, r8
mov dword [rbp - 0x28], eax
mov eax, dword [r9 + 0xc]
mov qword [rsp + 0x30], r8
mov dword [rbp - 0x24], eax
mov eax, dword [r9 + 0x10]
mov qword [rsp + 0x20], rdx
mov dword [rbp - 0x20], eax
mov eax, dword [r9 + 0x14]
mov dword [rbp - 0x40], 0x61707865
mov dword [rbp - 0x1c], eax
mov eax, dword [r9 + 0x18]
mov dword [rbp - 0x3c], 0x3320646e
mov dword [rbp - 0x18], eax
mov eax, dword [r9 + 0x1c]
mov dword [rbp - 0x38], 0x79622d32
mov dword [rbp - 0x14], eax
mov eax, dword [rcx + 4]
mov dword [rbp - 0x34], 0x6b206574
mov dword [rbp - 0xc], eax
mov eax, dword [rcx + 8]
mov dword [rbp - 0x10], ebx
mov dword [rbp - 8], eax
mov eax, dword [rcx + 0xc]
mov dword [rbp - 4], eax
test r8, r8
je 0x1401d31be
movaps xmm1, xmmword [rbp - 0x20]
movaps xmm2, xmmword [rbp - 0x30]
movaps xmm3, xmmword [rbp - 0x40]
mov qword [rsp + 0x148], r12
mov qword [rsp + 0x150], r13
mov qword [rsp + 0x158], r14
mov qword [rsp + 0x110], r15
nop word [rax + rax]
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp - 0x70], xmm2
mov r8d, dword [rbp - 0x6c]
mov eax, dword [rbp - 0x68]
mov r9d, 0x40
mov dword [rsp + 0xc], r8d
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x80], xmm3
movaps xmmword [rbp - 0x60], xmm1
mov ecx, dword [rbp - 0x48]
mov r8d, dword [rbp - 0x70]
mov r10d, dword [rbp - 0x44]
mov edx, dword [rbp - 0x50]
mov r12d, dword [rbp - 0x54]
mov r13d, dword [rbp - 0x58]
mov r14d, dword [rbp - 0x5c]
mov r15d, dword [rbp - 0x60]
mov esi, dword [rbp - 0x78]
mov edi, dword [rbp - 0x7c]
mov ebx, dword [rbp - 0x80]
cmp r11, r9
cmovb r9, r11
mov r11d, dword [rbp - 0x64]
mov dword [rsp], ecx
mov ecx, dword [rbp - 0x4c]
mov qword [rsp + 0x38], r9
mov r9d, dword [rbp - 0x74]
mov qword [rsp + 0x28], 0xa
mov dword [rsp + 8], eax
nop word [rax + rax]
add esi, dword [rsp + 8]
add ebx, r8d
add r9d, r11d
xor edx, ebx
xor r10d, r9d
rol edx, 0x10
add r15d, edx
mov eax, r15d
xor eax, r8d
rol eax, 0xc
add ebx, eax
xor edx, ebx
rol edx, 8
add r15d, edx
mov dword [rsp + 0x10], edx
mov edx, dword [rsp + 0xc]
add edi, edx
mov r8d, r15d
xor r8d, eax
xor ecx, edi
rol r8d, 7
rol ecx, 0x10
add r14d, ecx
mov eax, r14d
xor eax, edx
mov edx, dword [rsp]
rol eax, 0xc
xor edx, esi
add edi, eax
xor ecx, edi
rol ecx, 8
add r14d, ecx
mov dword [rsp + 4], ecx
mov ecx, r14d
xor ecx, eax
rol ecx, 7
rol edx, 0x10
add r13d, edx
add ebx, ecx
mov eax, r13d
xor eax, dword [rsp + 8]
rol eax, 0xc
add esi, eax
xor edx, esi
rol edx, 8
add r13d, edx
mov dword [rsp], edx
mov edx, r13d
xor edx, eax
rol edx, 7
rol r10d, 0x10
add r12d, r10d
add edi, edx
mov eax, r12d
xor eax, r11d
rol eax, 0xc
add r9d, eax
xor r10d, r9d
rol r10d, 8
add r12d, r10d
xor r10d, ebx
mov r11d, r12d
xor r11d, eax
rol r11d, 7
rol r10d, 0x10
add r13d, r10d
mov eax, r13d
xor eax, ecx
rol eax, 0xc
add ebx, eax
xor r10d, ebx
rol r10d, 8
add r13d, r10d
mov ecx, r13d
xor ecx, eax
mov eax, edi
xor eax, dword [rsp + 0x10]
rol ecx, 7
rol eax, 0x10
mov dword [rsp + 0xc], ecx
mov dword [rbp - 0x6c], ecx
add r12d, eax
add esi, r11d
add r9d, r8d
mov ecx, r12d
xor ecx, edx
rol ecx, 0xc
add edi, ecx
mov edx, edi
xor edx, eax
rol edx, 8
add r12d, edx
mov dword [rbp - 0x50], edx
mov eax, r12d
xor eax, ecx
rol eax, 7
mov dword [rsp + 8], eax
mov dword [rbp - 0x68], eax
mov eax, esi
xor eax, dword [rsp + 4]
rol eax, 0x10
add r15d, eax
xor r11d, r15d
rol r11d, 0xc
add esi, r11d
mov ecx, esi
xor ecx, eax
mov eax, r9d
xor eax, dword [rsp]
rol ecx, 8
add r15d, ecx
mov dword [rsp + 4], ecx
mov dword [rbp - 0x4c], ecx
xor r11d, r15d
rol r11d, 7
rol eax, 0x10
add r14d, eax
mov ecx, r14d
xor ecx, r8d
rol ecx, 0xc
add r9d, ecx
mov r8d, r9d
xor r8d, eax
rol r8d, 8
add r14d, r8d
mov dword [rsp], r8d
mov dword [rbp - 0x48], r8d
mov r8d, r14d
xor r8d, ecx
mov ecx, dword [rsp + 4]
rol r8d, 7
dec qword [rsp + 0x28]
jne 0x1401d2f20
mov dword [rbp - 0x74], r9d
mov r9, qword [rsp + 0x38]
mov dword [rbp - 0x78], esi
mov rsi, qword [rsp + 0x18]
mov dword [rbp - 0x7c], edi
mov rdi, qword [rsp + 0x20]
mov dword [rbp - 0x80], ebx
mov ebx, dword [rbp - 0x10]
mov dword [rbp - 0x64], r11d
mov r11, qword [rsp + 0x30]
mov dword [rbp - 0x44], r10d
mov dword [rbp - 0x54], r12d
mov dword [rbp - 0x58], r13d
mov dword [rbp - 0x5c], r14d
mov dword [rbp - 0x60], r15d
mov dword [rbp - 0x70], r8d
xor ecx, ecx
nop word [rax + rax]
mov eax, dword [rbp + rcx - 0x80]
add rcx, 0x10
add eax, dword [rbp + rcx - 0x50]
mov dword [rsp + rcx + 0x30], eax
mov eax, dword [rbp + rcx - 0x4c]
add eax, dword [rsp + rcx + 0x74]
mov dword [rsp + rcx + 0x34], eax
mov eax, dword [rbp + rcx - 0x48]
add eax, dword [rsp + rcx + 0x78]
mov dword [rsp + rcx + 0x38], eax
mov eax, dword [rbp + rcx - 0x44]
add eax, dword [rsp + rcx + 0x7c]
mov dword [rsp + rcx + 0x3c], eax
cmp rcx, 0x40
jl 0x1401d3100
xor edx, edx
test r9, r9
je 0x1401d3178
lea rax, [rsp + 0x40]
mov r8, rdi
mov r10, rsi
sub r8, rax
lea rax, [rsp + 0x40]
sub r10, rax
nop word [rax + rax]
lea rcx, [rsp + rdx + 0x40]
inc rdx
movzx eax, byte [rcx + r8]
xor al, byte [rcx]
mov byte [rcx + r10], al
cmp rdx, r9
jb 0x1401d3160
sub r11, r9
add rsi, r9
add rdi, r9
inc ebx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], r11
mov dword [rbp - 0x10], ebx
test r11, r11
jne 0x1401d2ea0
mov r15, qword [rsp + 0x110]
mov r14, qword [rsp + 0x158]
mov r13, qword [rsp + 0x150]
mov r12, qword [rsp + 0x148]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140254f60
add rsp, 0x118
pop rdi
pop rsi
pop rbx
pop rbp
ret