Function at 0x14002e1d0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3e8]
sub rsp, 0x4a8
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rdi, qword [rbp + 0x410]
mov r15, r9
mov r14, r8
mov rsi, rdx
mov r13, rcx
movups xmm6, xmmword [rdi + 0x20]
movups xmm7, xmmword [rdi + 0x30]
call qword [sym.imp.libcrypto.dll_EVP_sha512]
xor ebx, ebx
lea r8, [rbp + 0x2b0]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov edx, 0x20
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.libcrypto.dll_EVP_Digest]
movzx eax, byte [rbp + 0x2cf]
lea r12, [r15 + 0x40]
and byte [rbp + 0x2b0], 0xf8
lea rcx, [r13 + 0x40]
and al, 0x3f
mov qword [rsi], r12
or al, 0x40
mov r8, r15
mov rdx, r14
mov byte [rbp + 0x2cf], al
call fcn.14004fc40
movups xmm0, xmmword [rbp + 0x2d0]
lea rdi, [r13 + 0x20]
movups xmm1, xmmword [rbp + 0x2e0]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
call qword [sym.imp.libcrypto.dll_EVP_sha512]
lea rdx, [r15 + 0x20]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x2f0]
mov rcx, rdi
call qword [sym.imp.libcrypto.dll_EVP_Digest]
mov eax, ebx
lea rcx, [rbp + 0x50]
nop
movd xmm1, dword [rbp + rax + 0x2f0]
lea rcx, [rcx + 0x40]
movd xmm2, dword [rbp + rax + 0x2f4]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklbw xmm2, xmm0
punpcklwd xmm1, xmm0
movdqu xmmword [rcx - 0x60], xmm1
movd xmm1, dword [rbp + rax + 0x2f8]
punpcklwd xmm2, xmm0
movdqu xmmword [rcx - 0x50], xmm2
movd xmm2, dword [rbp + rax + 0x2fc]
add rax, 0x10
punpcklbw xmm1, xmm0
punpcklbw xmm2, xmm0
punpcklwd xmm1, xmm0
punpcklwd xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm1
movdqu xmmword [rcx - 0x30], xmm2
cmp rax, 0x40
jl 0x14002e2c0
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.14002a7a0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x30]
call fcn.14002e0c0
lea rdx, [rbp + 0x30]
mov rcx, r13
call fcn.14002d3a0
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm7
call qword [sym.imp.libcrypto.dll_EVP_sha512]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [rbp + 0x330]
mov qword [rsp + 0x20], rax
mov rdx, r12
mov rcx, r13
call qword [sym.imp.libcrypto.dll_EVP_Digest]
mov rax, rbx
lea rcx, [rbp + 0x50]
movd xmm1, dword [rbp + rax + 0x330]
lea rcx, [rcx + 0x40]
movd xmm2, dword [rbp + rax + 0x334]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklbw xmm2, xmm0
punpcklwd xmm1, xmm0
movdqu xmmword [rcx - 0x60], xmm1
movd xmm1, dword [rbp + rax + 0x338]
punpcklwd xmm2, xmm0
movdqu xmmword [rcx - 0x50], xmm2
movd xmm2, dword [rbp + rax + 0x33c]
add rax, 0x10
punpcklbw xmm1, xmm0
punpcklbw xmm2, xmm0
punpcklwd xmm1, xmm0
punpcklwd xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm1
movdqu xmmword [rcx - 0x30], xmm2
cmp rax, 0x40
jl 0x14002e383
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14002a7a0
mov rax, rbx
lea rcx, [rbp + 0x50]
movd xmm1, dword [rbp + rax + 0x2b0]
lea rcx, [rcx + 0x40]
movd xmm2, dword [rbp + rax + 0x2b4]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklbw xmm2, xmm0
punpcklwd xmm1, xmm0
movdqu xmmword [rcx - 0x60], xmm1
movd xmm1, dword [rbp + rax + 0x2b8]
punpcklwd xmm2, xmm0
movdqu xmmword [rcx - 0x50], xmm2
movd xmm2, dword [rbp + rax + 0x2bc]
add rax, 0x10
punpcklbw xmm1, xmm0
punpcklbw xmm2, xmm0
punpcklwd xmm1, xmm0
punpcklwd xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm1
movdqu xmmword [rcx - 0x30], xmm2
cmp rax, 0x20
jl 0x14002e401
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x230]
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
call fcn.14002a7a0
lea r8, [rbp + 0x230]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14002b620
mov rax, rbx
nop dword [rax + rax]
movdqu xmm0, xmmword [rsp + rax + 0x30]
movdqu xmm1, xmmword [rbp + rax - 0x50]
paddd xmm1, xmm0
movdqu xmmword [rsp + rax + 0x30], xmm1
movdqu xmm0, xmmword [rsp + rax + 0x40]
movdqu xmm1, xmmword [rbp + rax - 0x40]
paddd xmm1, xmm0
movdqu xmmword [rsp + rax + 0x40], xmm1
movdqu xmm0, xmmword [rsp + rax + 0x50]
movdqu xmm1, xmmword [rbp + rax - 0x30]
paddd xmm1, xmm0
movdqu xmmword [rsp + rax + 0x50], xmm1
movdqu xmm0, xmmword [rsp + rax + 0x60]
movdqu xmm1, xmmword [rbp + rax - 0x20]
paddd xmm1, xmm0
movdqu xmmword [rsp + rax + 0x60], xmm1
add rax, 0x40
cmp rax, 0x80
jl 0x14002e4d0
mov ecx, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov r10d, 0x1f
nop dword [rax]
nop word [rax + rax]
movzx eax, cl
shr ecx, 8
add ecx, dword [r9 + 4]
mov dword [r9 + 4], ecx
mov dword [r9], eax
lea r9, [r9 + 4]
sub r10, 1
jne 0x14002e550
lea rcx, [rsp + 0x30]
call fcn.14002a410
lea rcx, [rbp - 0x54]
lea rax, [rdi + 0x1f]
cmp rdi, rcx
ja 0x14002e5a8
lea rcx, [rsp + 0x30]
cmp rax, rcx
jb 0x14002e5a8
nop dword [rax]
movzx eax, byte [rsp + rbx*4 + 0x30]
mov byte [rbx + r13 + 0x20], al
inc rbx
cmp rbx, 0x20
jl 0x14002e590
jmp 0x14002e62a
movdqa xmm2, xmmword [0x14007b200]
lea rcx, [rsp + 0x50]
mov edx, 8
nop word [rax + rax]
movdqu xmm0, xmmword [rcx - 0x20]
lea rdx, [rdx + 0x10]
movdqu xmm1, xmmword [rcx - 0x10]
lea rax, [rdx - 8]
andps xmm0, xmm2
lea rcx, [rcx + 0x40]
packuswb xmm0, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm0, xmm0
movd dword [rdi + rdx - 0x18], xmm0
packuswb xmm1, xmm1
movd dword [rdi + rdx - 0x14], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rcx - 0x30]
andps xmm0, xmm2
packuswb xmm0, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm0, xmm0
movd dword [rdi + rdx - 0x10], xmm0
packuswb xmm1, xmm1
movd dword [rdi + rdx - 0xc], xmm1
cmp rax, 0x20
jl 0x14002e5c0
xor eax, eax
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.1400313f0
movaps xmm6, xmmword [rsp + 0x490]
movaps xmm7, xmmword [rsp + 0x480]
add rsp, 0x4a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret