Function at 0x140009390
Capabilities:
Encode data using xor
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x1400761f0]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov r12, qword [rbp + 0x480]
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x20], rcx
mov r15, rcx
mov rdx, r12
mov r8d, 0x20
lea rcx, [rbp - 0x50]
mov r14, r9
call fcn.14000bc50
movzx eax, byte [rbp - 0x31]
and byte [rbp - 0x50], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rbp - 0x31], al
lea rax, [r14 + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rdi], rax
test r14, r14
je 0x140009431
lea rcx, [r15 + 0x40]
sub rbx, r15
mov rdx, r14
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx + rcx - 0x40]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140009420
lea rdi, [rbp - 0x50]
mov r13d, setsockopt
sub rdi, r15
lea rsi, [r15 + 0x20]
lea r8, [rbp - 0x4f]
mov rcx, rsi
sub r8, r15
mov edx, r13d
nop
movzx eax, byte [rdi + rcx]
mov byte [rcx], al
movzx eax, byte [r8 + rcx]
mov byte [rcx + 1], al
lea rcx, [rcx + 2]
sub rdx, 1
jne 0x140009450
lea r8, [r14 + 0x20]
mov rdx, rsi
lea rcx, [rbp + 0x3b0]
call fcn.14000bc50
xor ebx, ebx
mov ecx, ebx
nop
movzx eax, byte [rbp + rcx + 0x3b0]
mov dword [rbp + rcx*4 + 0x30], eax
movzx eax, byte [rbp + rcx + 0x3b1]
mov dword [rbp + rcx*4 + 0x34], eax
add rcx, 2
cmp rcx, 0x40
jl 0x140009480
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x130]
call fcn.14000b7b0
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x3b0]
call fcn.14000bb10
movzx r8d, byte [rbp + 0x3b0]
lea rcx, [rbp + 0x1b0]
xor edx, edx
call fcn.14000a600
xor eax, eax
lea rdi, [rbp + 0x2b4]
mov r14d, 1
lea r8, [rbp + 0x230]
mov dword [rbp + 0x2b0], r14d
lea rdx, [rbp + 0x1b0]
mov ecx, 0x1f
rep stosd dword [rdi], eax
lea rcx, [rbp + 0x330]
call fcn.14000c460
lea rdi, [rbp + 0x3b1]
lea r15d, [r14 + 0x53]
nop dword [rax]
movzx r8d, byte [rdi]
lea rcx, [rbp + 0x30]
mov rdx, r14
call fcn.14000a600
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x1b0]
call fcn.140009f40
inc r14
lea rdi, [rdi + 1]
sub r15, 1
jne 0x140009520
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x3b0]
call fcn.14000ac50
mov r14, qword [rsp + 0x20]
mov rcx, r13
movups xmm0, xmmword [rbp + 0x3b0]
movups xmm1, xmmword [rbp + 0x3c0]
lea rax, [r14 + 1]
movups xmmword [r14], xmm0
movups xmmword [r14 + 0x10], xmm1
lea rax, [rax + 2]
sub rcx, 1
jne 0x140009583
mov rcx, rsi
sub r12, r14
mov rdx, r13
nop word [rax + rax]
movzx eax, byte [r12 + rcx]
mov byte [rcx], al
movzx eax, byte [r12 + rcx + 1]
mov byte [rcx + 1], al
lea rcx, [rcx + 2]
sub rdx, 1
jne 0x1400095a0
mov r8, qword [rsp + 0x28]
cmp r8, 0x40
jbe 0x1400095da
lea rax, [r14 + 0x40]
lea rcx, [r8 - 0x40]
nop dword [rax]
lea rax, [rax + 1]
sub rcx, 1
jne 0x1400095d0
mov rdx, r14
lea rcx, [rbp + 0x3b0]
call fcn.14000bc50
mov rcx, rbx
nop dword [rax]
movzx eax, byte [rbp + rcx + 0x3b0]
mov dword [rbp + rcx*4 + 0x30], eax
movzx eax, byte [rbp + rcx + 0x3b1]
mov dword [rbp + rcx*4 + 0x34], eax
add rcx, 2
cmp rcx, 0x40
jl 0x1400095f0
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14000b7b0
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + rcx - 0x50]
mov dword [rbp + rcx*4 + 0x30], eax
movzx eax, byte [rbp + rcx - 0x4f]
mov dword [rbp + rcx*4 + 0x34], eax
add rcx, 2
cmp rcx, 0x20
jl 0x140009630
xor eax, eax
lea rdi, [rbp + 0xb0]
mov r15d, 0x20
lea rdx, [rbp + 0x30]
mov ecx, r15d
rep stosd dword [rdi], eax
lea rcx, [rbp - 0x50]
call fcn.14000b7b0
lea rax, [rbp + 0x30]
lea ecx, [r15 - 0x1c]
nop word [rax + rax]
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
lea rax, [rax + 0x40]
mov qword [rax - 0x28], rbx
mov qword [rax - 0x20], rbx
mov qword [rax - 0x18], rbx
mov qword [rax - 0x10], rbx
mov qword [rax - 8], rbx
sub rcx, 1
jne 0x140009680
lea rdx, [rbp - 0x4c]
mov r8, rbx
lea rax, [rbp + 0x34]
sub rdx, rax
nop word [rax + rax]
mov edi, dword [rsp + r8 + 0x30]
lea rax, [rbp + 0x34]
add rax, r8
mov r9d, 8
mov ecx, dword [rax + rdx - 4]
lea rax, [rax + 0x10]
imul ecx, edi
add dword [rax - 0x14], ecx
mov ecx, dword [rax + rdx - 0x10]
imul ecx, edi
add dword [rax - 0x10], ecx
mov ecx, dword [rax + rdx - 0xc]
imul ecx, edi
add dword [rax - 0xc], ecx
mov ecx, dword [rax + rdx - 8]
imul ecx, edi
add dword [rax - 8], ecx
sub r9, 1
jne 0x1400096d2
add r8, 4
sub rdx, 4
cmp r8, 0x80
jl 0x1400096c0
lea rdi, [rbp + 0x30]
lea r8d, [r9 + 0x3f]
nop dword [rax]
mov ecx, dword [rdi]
lea rdi, [rdi + 4]
mov eax, ecx
shr eax, 8
add dword [rdi], eax
movzx eax, cl
mov dword [rdi - 4], eax
sub r8, 1
jne 0x140009720
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14000b7b0
mov rax, rbx
nop word [rax + rax]
movdqu xmm0, xmmword [rsp + rax + 0x30]
movdqu xmm1, xmmword [rbp + rax + 0x130]
paddd xmm1, xmm0
movdqu xmmword [rsp + rax + 0x30], xmm1
movdqu xmm0, xmmword [rsp + rax + 0x40]
movdqu xmm1, xmmword [rbp + rax + 0x140]
paddd xmm1, xmm0
movdqu xmmword [rsp + rax + 0x40], xmm1
add rax, r15
cmp rax, 0x80
jl 0x140009750
lea rdi, [rsp + 0x30]
mov r14d, 0x1f
nop dword [rax + rax]
mov ecx, dword [rdi]
lea rdi, [rdi + 4]
mov eax, ecx
shr eax, 8
add dword [rdi], eax
movzx eax, cl
mov dword [rdi - 4], eax
sub r14, 1
jne 0x1400097a0
mov r14, qword [rsp + 0x20]
lea r8, [0x14006be60]
mov edi, ebx
mov rdx, rbx
nop word [rax + rax]
add edi, dword [r8 + rdx*4]
movzx eax, byte [rsp + rdx*4 + 0x30]
mov ecx, dword [rsp + rdx*4 + 0x30]
sub al, dil
sub ecx, edi
mov byte [rbp + rdx + 0x3b0], al
shr ecx, 0x1f
inc rdx
mov edi, ecx
cmp rdx, r15
jl 0x1400097d0
lea r8d, [rcx - 1]
lea rdi, [rbp + 0x3b0]
lea rdx, [rsp + 0x30]
nop word [rax + rax]
movzx ecx, byte [rdi]
lea rdi, [rdi + 1]
xor ecx, dword [rdx]
lea rdx, [rdx + 4]
and ecx, r8d
xor dword [rdx - 4], ecx
sub r15, 1
jne 0x140009810
nop dword [rax]
movzx eax, byte [rsp + rbx*4 + 0x30]
mov byte [rbp + rbx + 0x3b0], al
movzx eax, byte [rsp + rbx*4 + 0x34]
mov byte [rbp + rbx + 0x3b1], al
add rbx, 2
cmp rbx, 0x20
jl 0x140009830
lea rcx, [rbp + 0x3b0]
sub rcx, r14
lea rdx, [rbp + 0x3b1]
sub rdx, r14
nop word [rax + rax]
movzx eax, byte [rcx + rsi - 0x20]
mov byte [rsi], al
movzx eax, byte [rdx + rsi - 0x20]
mov byte [rsi + 1], al
lea rsi, [rsi + 2]
sub r13, 1
jne 0x140009870
xor eax, eax
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14002a0e0
mov rbx, qword [rsp + 0x570]
add rsp, 0x520
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret