Function at 0x14006e570
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
test r8, r8
je 0x14006ea58
mov ebx, dword [rsp + 0x138]
mov rax, qword [rsp + 0x130]
mov r10d, dword [r9]
mov dword [rsp + 0x54], r10d
mov r10d, dword [r9 + 4]
mov dword [rsp + 0x50], r10d
mov r10d, dword [r9 + 8]
mov dword [rsp + 0x4c], r10d
mov r10d, dword [r9 + 0xc]
mov dword [rsp + 0x48], r10d
mov r10d, dword [r9 + 0x10]
mov dword [rsp + 0x44], r10d
mov r10d, dword [r9 + 0x14]
mov dword [rsp + 0x40], r10d
mov r10d, dword [r9 + 0x18]
mov dword [rsp + 0x3c], r10d
mov r9d, dword [r9 + 0x1c]
mov dword [rsp + 0x38], r9d
mov r14d, dword [rax]
mov r9d, dword [rax + 4]
mov dword [rsp + 0x34], r9d
mov eax, dword [rax + 8]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x58], r14d
jmp 0x14006e621
add rcx, rdi
add rdx, rdi
inc ebx
sub r8, rdi
je 0x14006ea58
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdx
mov dword [rsp + 0x28], 0x6b206574
mov dword [rsp + 0x24], 0x79622d32
mov ebp, 0x3320646e
mov edx, 0x61707865
mov r9d, reloc.WS2_32.dll_shutdown
mov edi, dword [rsp + 0x54]
mov dword [rsp + 0x5c], ebx
mov eax, ebx
mov ecx, dword [rsp + 0x44]
mov dword [rsp + 0x2c], ecx
mov r10d, dword [rsp + 0x50]
mov r15d, r14d
mov r14d, dword [rsp + 0x40]
mov ebx, dword [rsp + 0x4c]
mov r12d, dword [rsp + 0x34]
mov r11d, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x48]
mov r13d, dword [rsp + 0x30]
mov esi, dword [rsp + 0x38]
nop word [rax + rax]
mov dword [rsp + 0x64], r9d
add edx, edi
xor eax, edx
rol eax, 0x10
mov r8d, dword [rsp + 0x2c]
add r8d, eax
xor edi, r8d
rol edi, 0xc
add edx, edi
xor eax, edx
rol eax, 8
add r8d, eax
xor edi, r8d
rol edi, 7
add ebp, r10d
xor r15d, ebp
rol r15d, 0x10
add r14d, r15d
xor r10d, r14d
rol r10d, 0xc
add ebp, r10d
xor r15d, ebp
rol r15d, 8
add r14d, r15d
mov dword [rsp + 0x60], r14d
xor r10d, r14d
rol r10d, 7
mov r14d, dword [rsp + 0x24]
add r14d, ebx
xor r12d, r14d
rol r12d, 0x10
add r11d, r12d
xor ebx, r11d
rol ebx, 0xc
add r14d, ebx
xor r12d, r14d
rol r12d, 8
add r11d, r12d
xor ebx, r11d
rol ebx, 7
mov r9d, dword [rsp + 0x28]
add r9d, ecx
xor r13d, r9d
rol r13d, 0x10
add esi, r13d
xor ecx, esi
rol ecx, 0xc
add r9d, ecx
xor r13d, r9d
rol r13d, 8
add esi, r13d
xor ecx, esi
rol ecx, 7
add edx, r10d
xor r13d, edx
rol r13d, 0x10
add r11d, r13d
xor r10d, r11d
rol r10d, 0xc
add edx, r10d
xor r13d, edx
rol r13d, 8
add r11d, r13d
xor r10d, r11d
rol r10d, 7
add ebp, ebx
xor eax, ebp
rol eax, 0x10
add esi, eax
xor ebx, esi
rol ebx, 0xc
add ebp, ebx
xor eax, ebp
rol eax, 8
add esi, eax
xor ebx, esi
rol ebx, 7
add r14d, ecx
xor r15d, r14d
rol r15d, 0x10
add r8d, r15d
xor ecx, r8d
rol ecx, 0xc
add r14d, ecx
mov dword [rsp + 0x24], r14d
xor r15d, r14d
mov r14d, dword [rsp + 0x60]
rol r15d, 8
add r8d, r15d
mov dword [rsp + 0x2c], r8d
xor ecx, r8d
rol ecx, 7
add r9d, edi
xor r12d, r9d
rol r12d, 0x10
add r14d, r12d
xor edi, r14d
rol edi, 0xc
add r9d, edi
mov dword [rsp + 0x28], r9d
xor r12d, r9d
mov r9d, dword [rsp + 0x64]
rol r12d, 8
add r14d, r12d
xor edi, r14d
rol edi, 7
add r9d, 0xfffffffe
cmp r9d, 2
ja 0x14006e690
mov r8, qword [rsp + 0x68]
cmp r8, 0x40
mov r9d, 0x40
cmovb r9, r8
add edx, 0x61707865
mov dword [rsp + 0x80], edx
add ebp, 0x3320646e
mov dword [rsp + 0x84], ebp
mov edx, dword [rsp + 0x24]
add edx, 0x79622d32
mov dword [rsp + 0x88], edx
mov edx, dword [rsp + 0x28]
add edx, 0x6b206574
mov dword [rsp + 0x8c], edx
add edi, dword [rsp + 0x54]
mov dword [rsp + 0x90], edi
mov rdi, r9
add r10d, dword [rsp + 0x50]
mov dword [rsp + 0x94], r10d
add ebx, dword [rsp + 0x4c]
mov dword [rsp + 0x98], ebx
add ecx, dword [rsp + 0x48]
mov dword [rsp + 0x9c], ecx
mov ecx, dword [rsp + 0x2c]
add ecx, dword [rsp + 0x44]
mov dword [rsp + 0xa0], ecx
add r14d, dword [rsp + 0x40]
mov dword [rsp + 0xa4], r14d
add r11d, dword [rsp + 0x3c]
mov dword [rsp + 0xa8], r11d
add esi, dword [rsp + 0x38]
mov dword [rsp + 0xac], esi
mov ebx, dword [rsp + 0x5c]
add eax, ebx
mov dword [rsp + 0xb0], eax
mov r14d, dword [rsp + 0x58]
add r15d, r14d
mov dword [rsp + 0xb4], r15d
add r12d, dword [rsp + 0x34]
add r13d, dword [rsp + 0x30]
mov dword [rsp + 0xb8], r12d
cmp r9, 1
mov rax, r9
adc rax, 0
mov dword [rsp + 0xbc], r13d
cmp r8, 8
setb r10b
mov rcx, qword [rsp + 0x70]
mov r9, rcx
mov rdx, qword [rsp + 0x78]
sub r9, rdx
cmp r9, 0x20
setb r9b
or r9b, r10b
je 0x14006e920
xor esi, esi
jmp 0x14006e9b2
cmp r8, 0x20
jae 0x14006e930
xor esi, esi
jmp 0x14006e986
mov esi, eax
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
xorps xmm0, xmmword [rsp + 0x80]
xorps xmm1, xmmword [rsp + 0x90]
and esi, 0x60
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
cmp rsi, 0x20
je 0x14006e979
movups xmm0, xmmword [rdx + 0x20]
movups xmm1, xmmword [rdx + 0x30]
xorps xmm0, xmmword [rsp + 0xa0]
xorps xmm1, xmmword [rsp + 0xb0]
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm1
cmp rdi, rsi
je 0x14006e610
test al, 0x18
je 0x14006e9b2
mov r10, rsi
mov esi, eax
and esi, 0x78
nop
mov r9, qword [rsp + r10 + 0x80]
xor r9, qword [rdx + r10]
mov qword [rcx + r10], r9
add r10, 8
cmp rsi, r10
jne 0x14006e990
cmp rdi, rsi
je 0x14006e610
mov r10, rax
mov r11, rsi
and r10, 3
je 0x14006e9e9
mov r11, rsi
nop word cs:[rax + rax]
movzx r9d, byte [rsp + r11 + 0x80]
xor r9b, byte [rdx + r11]
mov byte [rcx + r11], r9b
inc r11
dec r10
jne 0x14006e9d0
sub rsi, rax
cmp rsi, 0xfffffffffffffffc
ja 0x14006e610
nop word cs:[rax + rax]
movzx eax, byte [rsp + r11 + 0x80]
xor al, byte [rdx + r11]
mov byte [rcx + r11], al
movzx eax, byte [rsp + r11 + 0x81]
xor al, byte [rdx + r11 + 1]
mov byte [rcx + r11 + 1], al
movzx eax, byte [rsp + r11 + 0x82]
xor al, byte [rdx + r11 + 2]
mov byte [rcx + r11 + 2], al
movzx eax, byte [rsp + r11 + 0x83]
xor al, byte [rdx + r11 + 3]
mov byte [rcx + r11 + 3], al
add r11, 4
cmp rdi, r11
jne 0x14006ea00
jmp 0x14006e610
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14006ea80
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14029fd30
int3