Function at 0x14010cfe0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
mov eax, 0x40
call fcn.140186310
sub rsp, rax
movsxd rbx, dword [rsp + 0x80]
xor ebp, ebp
cmp dword [rsp + 0x88], 2
mov r15, r9
mov edi, edx
mov r13, rcx
mov r14d, 0x20
je 0x14010d0a3
test r8, r8
je 0x14010d06d
mov r9, r8
lea rdx, [rsp + 0x30]
xor r8d, r8d
xor ecx, ecx
call fcn.1401275c0
cmp dword [rsp + 0x30], 0xffffffff
je 0x14010d06d
mov dword [rsp + 0x20], 0x3b
lea r9, str.cryptoececx_meth.c
mov edx, 0x10a
mov ecx, reloc.WS2_32.dll_recv
mov r8d, 0x66
call fcn.1400a41b0
xor eax, eax
jmp 0x14010d21f
test r15, r15
je 0x14010d099
cmp edi, 0x40a
je 0x14010d092
cmp edi, 0x43f
je 0x14010d092
cmp edi, 0x40b
mov eax, ebp
setne al
add eax, 0x38
jmp 0x14010d095
mov eax, r14d
cmp ebx, eax
je 0x14010d0a3
mov dword [rsp + 0x20], 0x41
jmp 0x14010d04a
mov r8d, 0x46
mov qword [rsp + 0x60], rsi
lea rdx, str.cryptoececx_meth.c
mov ecx, 0x48
call fcn.1400a32e0
mov rsi, rax
test rax, rax
jne 0x14010d0f2
lea r9, str.cryptoececx_meth.c
mov dword [rsp + 0x20], 0x48
mov edx, 0x10a
mov ecx, reloc.WS2_32.dll_recv
mov r8d, 0x41
call fcn.1400a41b0
xor eax, eax
jmp 0x14010d21a
cmp dword [rsp + 0x88], ebp
jne 0x14010d10e
mov r8, rbx
mov rdx, r15
mov rcx, rsi
call fcn.1401ba640
jmp 0x14010d208
cmp edi, 0x40a
je 0x14010d130
cmp edi, 0x43f
je 0x14010d130
cmp edi, 0x40b
mov rcx, rbp
setne cl
add rcx, 0x38
jmp 0x14010d133
mov rcx, r14
mov r8d, 0x50
lea rdx, str.cryptoececx_meth.c
call fcn.1400a33e0
mov qword [rsi + 0x40], rax
mov rbx, rax
test rax, rax
jne 0x14010d177
lea r9, str.cryptoececx_meth.c
mov dword [rsp + 0x20], 0x52
mov edx, 0x10a
mov ecx, reloc.WS2_32.dll_recv
mov r8d, 0x41
call fcn.1400a41b0
jmp 0x14010d1ce
cmp dword [rsp + 0x88], 2
jne 0x14010d255
cmp edi, 0x40a
je 0x14010d1a6
cmp edi, 0x43f
je 0x14010d1a6
cmp edi, 0x40b
mov r14d, ebp
setne r14b
add r14d, 0x38
mov edx, r14d
mov rcx, rbx
call fcn.1400ae900
test eax, eax
jg 0x14010d1e7
mov r8d, 0x57
lea rdx, str.cryptoececx_meth.c
mov rcx, rbx
call fcn.1400a33c0
mov qword [rsi + 0x40], rbp
mov r8d, 0x79
lea rdx, str.cryptoececx_meth.c
mov rcx, rsi
call fcn.1400a2fa0
xor eax, eax
jmp 0x14010d21a
cmp edi, 0x40a
jne 0x14010d239
movzx eax, byte [rbx + 0x1f]
and byte [rbx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rbx + 0x1f], al
mov rdx, rbx
mov rcx, rsi
call fcn.140140cc0
mov r8, rsi
mov edx, edi
mov rcx, r13
call fcn.1400d55c0
mov eax, 1
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
ret
cmp edi, 0x40b
jne 0x14010d286
and byte [rbx], 0xfc
or byte [rbx + 0x37], 0x80
mov rdx, rbx
mov rcx, rsi
call fcn.140149830
jmp 0x14010d208
cmp edi, 0x40a
je 0x14010d275
cmp edi, 0x43f
je 0x14010d275
cmp edi, 0x40b
setne bpl
add rbp, 0x38
jmp 0x14010d278
mov rbp, r14
mov r8, rbp
mov rdx, r15
mov rcx, rbx
call fcn.1401ba640
mov ecx, edi
sub ecx, 0x40a
je 0x14010d1fd
sub ecx, 1
je 0x14010d248
sub ecx, 0x34
je 0x14010d2b7
cmp ecx, 1
jne 0x14010d208
mov rdx, rbx
mov rcx, rsi
call fcn.14014c8d0
jmp 0x14010d208
mov rdx, rbx
mov rcx, rsi
call fcn.140140700
jmp 0x14010d208