Function at 0x180177640
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
sub rsp, 0x88
test r8b, 1
jne 0x180177943
mov ecx, dword [rdx]
mov r9d, dword [rdx + 4]
mov r10d, dword [rdx + 8]
mov r11d, dword [rdx + 0xc]
mov qword [rax - 8], rbx
mov ebx, dword [rdx + 0x10]
mov qword [rax - 0x10], rbp
mov ebp, dword [rdx + 0x28]
mov qword [rax - 0x18], rsi
mov esi, dword [rdx + 0x18]
mov qword [rax - 0x20], rdi
mov edi, dword [rdx + 0x14]
mov qword [rax - 0x28], r12
mov r12d, dword [rdx + 0x24]
mov qword [rax - 0x30], r13
mov r13d, dword [rdx + 0x2c]
mov qword [rax - 0x38], r14
mov r14d, dword [rdx + 0x1c]
mov qword [rax - 0x40], r15
mov eax, dword [rdx + 0x30]
mov r15d, dword [rdx + 0x20]
mov dword [rsp + 0x38], eax
mov eax, dword [rdx + 0x34]
mov dword [rsp + 0xa8], eax
mov eax, dword [rdx + 0x38]
mov dword [rsp + 0x30], eax
mov eax, dword [rdx + 0x3c]
shr r8, 1
mov dword [rsp + 0x34], eax
mov qword [rsp + 0xa0], r8
je 0x180177868
mov edx, dword [rsp + 0x38]
nop word [rax + rax]
mov r8d, dword [rsp + 0x34]
lea eax, [rdx + rcx]
ror eax, 0x19
xor ebx, eax
lea eax, [rbx + rcx]
ror eax, 0x17
xor r15d, eax
lea eax, [r15 + rbx]
ror eax, 0x13
xor edx, eax
lea eax, [rdx + r15]
ror eax, 0xe
xor ecx, eax
lea eax, [rdi + r9]
ror eax, 0x19
xor r12d, eax
lea eax, [r12 + rdi]
ror eax, 0x17
xor dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xa8]
add eax, r12d
ror eax, 0x13
xor r9d, eax
mov eax, dword [rsp + 0xa8]
add eax, r9d
ror eax, 0xe
xor edi, eax
lea eax, [rsi + rbp]
ror eax, 0x19
xor dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add eax, ebp
ror eax, 0x17
xor r10d, eax
mov eax, dword [rsp + 0x30]
add eax, r10d
ror eax, 0x13
xor esi, eax
lea eax, [rsi + r10]
ror eax, 0xe
xor ebp, eax
lea eax, [r8 + r13]
ror eax, 0x19
xor r11d, eax
lea eax, [r8 + r11]
ror eax, 0x17
xor r14d, eax
lea eax, [r14 + r11]
ror eax, 0x13
xor r13d, eax
lea eax, [r14 + r13]
ror eax, 0xe
xor r8d, eax
lea eax, [r11 + rcx]
ror eax, 0x19
xor r9d, eax
mov dword [rsp + 0x34], r8d
lea eax, [r9 + rcx]
ror eax, 0x17
xor r10d, eax
lea eax, [r10 + r9]
ror eax, 0x13
xor r11d, eax
lea eax, [r11 + r10]
ror eax, 0xe
xor ecx, eax
lea eax, [rdi + rbx]
ror eax, 0x19
xor esi, eax
lea eax, [rsi + rdi]
ror eax, 0x17
xor r14d, eax
lea eax, [r14 + rsi]
ror eax, 0x13
xor ebx, eax
lea eax, [r14 + rbx]
ror eax, 0xe
xor edi, eax
lea eax, [r12 + rbp]
ror eax, 0x19
xor r13d, eax
mov eax, r13d
add eax, ebp
ror eax, 0x17
xor r15d, eax
lea eax, [r15 + r13]
ror eax, 0x13
xor r12d, eax
lea eax, [r12 + r15]
ror eax, 0xe
xor ebp, eax
mov eax, dword [rsp + 0x30]
add eax, r8d
ror eax, 0x19
xor edx, eax
lea eax, [r8 + rdx]
mov r8d, dword [rsp + 0x30]
ror eax, 0x17
xor dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xa8]
add eax, edx
ror eax, 0x13
xor r8d, eax
mov eax, dword [rsp + 0xa8]
add eax, r8d
mov dword [rsp + 0x30], r8d
ror eax, 0xe
xor dword [rsp + 0x34], eax
sub qword [rsp + 0xa0], 1
jne 0x1801776e0
mov dword [rsp + 0x38], edx
mov rdx, qword [rsp + 0x98]
mov eax, dword [rdx]
mov r8, qword [rsp + 0x90]
add eax, ecx
mov dword [r8], eax
mov ecx, dword [rdx + 4]
add ecx, r9d
mov dword [r8 + 4], ecx
mov ecx, dword [rdx + 8]
add ecx, r10d
mov dword [r8 + 8], ecx
mov ecx, dword [rdx + 0xc]
add ecx, r11d
mov dword [r8 + 0xc], ecx
mov ecx, dword [rdx + 0x10]
add ecx, ebx
mov rbx, qword [rsp + 0x80]
mov dword [r8 + 0x10], ecx
mov ecx, dword [rdx + 0x14]
add ecx, edi
mov rdi, qword [rsp + 0x68]
mov dword [r8 + 0x14], ecx
mov ecx, dword [rdx + 0x18]
add ecx, esi
mov rsi, qword [rsp + 0x70]
mov dword [r8 + 0x18], ecx
mov ecx, dword [rdx + 0x1c]
add ecx, r14d
mov r14, qword [rsp + 0x50]
mov dword [r8 + 0x1c], ecx
mov ecx, dword [rdx + 0x20]
add ecx, r15d
mov r15, qword [rsp + 0x48]
mov dword [r8 + 0x20], ecx
mov ecx, dword [rdx + 0x24]
add ecx, r12d
mov r12, qword [rsp + 0x60]
mov dword [r8 + 0x24], ecx
mov ecx, dword [rdx + 0x28]
add ecx, ebp
mov rbp, qword [rsp + 0x78]
mov dword [r8 + 0x28], ecx
mov ecx, dword [rdx + 0x2c]
add ecx, r13d
mov r13, qword [rsp + 0x58]
mov dword [r8 + 0x2c], ecx
mov ecx, dword [rsp + 0x38]
add ecx, dword [rdx + 0x30]
mov dword [r8 + 0x30], ecx
mov ecx, dword [rsp + 0xa8]
add ecx, dword [rdx + 0x34]
mov dword [r8 + 0x34], ecx
mov ecx, dword [rsp + 0x30]
add ecx, dword [rdx + 0x38]
mov dword [r8 + 0x38], ecx
mov ecx, dword [rsp + 0x34]
add ecx, dword [rdx + 0x3c]
mov dword [r8 + 0x3c], ecx
add rsp, 0x88
ret
lea r9, [0x1803e43a0]
mov dword [rsp + 0x20], 0x3f
lea r8, str.salsa_core
lea rdx, [0x1803c6beb]
lea rcx, str.rounds___2__0
call fcn.1800d1f70
int3