Function at 0x140213380
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x1c8
call fcn.14036a3f0
sub rsp, rax
mov rax, qword [0x14041ae40]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov r8, qword [rsp + 0x228]
lea rdx, str.SHA512
mov rcx, qword [rsp + 0x220]
call fcn.14016c640
mov qword [rsp + 0x40], rax
call fcn.14016c510
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x3c], 0
cmp qword [rsp + 0x210], 0
jne 0x1402133fd
mov qword [rsp + 0x218], 0
movzx eax, byte [rsp + 0x208]
test eax, eax
je 0x140213419
cmp qword [rsp + 0x218], 0
jne 0x140213419
jmp 0x1402136ca
movzx eax, byte [rsp + 0x1f8]
test eax, eax
jne 0x140213435
cmp qword [rsp + 0x218], 0
jbe 0x140213435
jmp 0x1402136ca
cmp qword [rsp + 0x40], 0
je 0x140213445
cmp qword [rsp + 0x30], 0
jne 0x14021344a
jmp 0x1402136ca
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.14016bc50
test eax, eax
je 0x140213497
mov r8d, 0x20
mov rdx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x30]
call fcn.14016bcd0
test eax, eax
je 0x140213497
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x30]
call fcn.14016b890
test eax, eax
jne 0x14021349c
jmp 0x1402136ca
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0xf0]
and eax, 0xf8
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0xf0], al
mov eax, 1
imul rax, rax, 0x1f
movzx eax, byte [rsp + rax + 0xf0]
and eax, 0x3f
mov ecx, 1
imul rcx, rcx, 0x1f
mov byte [rsp + rcx + 0xf0], al
mov eax, 1
imul rax, rax, 0x1f
movzx eax, byte [rsp + rax + 0xf0]
or eax, 0x40
mov ecx, 1
imul rcx, rcx, 0x1f
mov byte [rsp + rcx + 0xf0], al
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x20], rax
movzx r9d, byte [rsp + 0x200]
movzx r8d, byte [rsp + 0x1f8]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.140212c10
test eax, eax
je 0x1402135a1
lea rax, [rsp + 0x110]
mov r8d, 0x20
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14016bcd0
test eax, eax
je 0x1402135a1
mov r8, qword [rsp + 0x1e0]
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x30]
call fcn.14016bcd0
test eax, eax
je 0x1402135a1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x30]
call fcn.14016b890
test eax, eax
jne 0x1402135a6
jmp 0x1402136ca
lea rcx, [rsp + 0x130]
call fcn.1402177b0
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x50]
call fcn.140212690
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1d0]
call fcn.140212550
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x20], rax
movzx r9d, byte [rsp + 0x200]
movzx r8d, byte [rsp + 0x1f8]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.140212c10
test eax, eax
je 0x140213687
mov r8d, 0x20
mov rdx, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x30]
call fcn.14016bcd0
test eax, eax
je 0x140213687
mov r8d, 0x20
mov rdx, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x30]
call fcn.14016bcd0
test eax, eax
je 0x140213687
mov r8, qword [rsp + 0x1e0]
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x30]
call fcn.14016bcd0
test eax, eax
je 0x140213687
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x30]
call fcn.14016b890
test eax, eax
jne 0x140213689
jmp 0x1402136ca
lea rcx, [rsp + 0x170]
call fcn.1402177b0
mov rax, qword [rsp + 0x1d0]
add rax, 0x20
lea r9, [rsp + 0x130]
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0x170]
mov rcx, rax
call fcn.140213cf0
mov dword [rsp + 0x3c], 1
mov edx, 0x40
lea rcx, [rsp + 0x130]
call fcn.140001240
mov edx, 0x40
lea rcx, [rsp + 0xf0]
call fcn.140001240
mov rcx, qword [rsp + 0x40]
call fcn.14016c6b0
mov rcx, qword [rsp + 0x30]
call fcn.14016c3f0
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14036a060
add rsp, 0x1c8
ret