Function at 0x1337c0f77e40
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
mov eax, 0x40
call fcn.1337c0fd65a0
sub rsp, rax
movsxd rbx, dword [rsp + 0x80]
lea r14d, [rax - 0x20]
xor esi, esi
mov r15, r9
cmp dword [rsp + 0x88], 2
mov edi, edx
mov r13, rcx
je 0x1337c0f77eec
test r8, r8
je 0x1337c0f77ec0
mov r9, r8
lea rdx, [rsp + 0x30]
xor r8d, r8d
xor ecx, ecx
call fcn.1337c0f59300
cmp dword [rsp + 0x30], 0xffffffff
je 0x1337c0f77ec0
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [r9 + 0x10]
lea r8d, [r9 + 0x66]
call fcn.1337c0f34d50
xor eax, eax
jmp 0x1337c0f78043
test r15, r15
je 0x1337c0f77ea0
cmp edi, 0x40a
je 0x1337c0f77ee5
cmp edi, 0x43f
je 0x1337c0f77ee5
cmp edi, 0x40b
mov eax, esi
setne al
add eax, 0x38
jmp 0x1337c0f77ee8
mov eax, r14d
cmp ebx, eax
jne 0x1337c0f77ea0
xor r8d, r8d
mov qword [rsp + 0x60], rbp
lea rdx, [0x1337c107a935]
lea ecx, [r8 + 0x48]
call fcn.1337c0f37990
mov rbp, rax
test rax, rax
jne 0x1337c0f77f2b
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
call fcn.1337c0f34d50
xor eax, eax
jmp 0x1337c0f7803e
cmp dword [rsp + 0x88], esi
jne 0x1337c0f77f47
mov r8, rbx
mov rdx, r15
mov rcx, rbp
call fcn.1337c1004b50
jmp 0x1337c0f7802c
cmp edi, 0x40a
je 0x1337c0f77f69
cmp edi, 0x43f
je 0x1337c0f77f69
cmp edi, 0x40b
mov rcx, rsi
setne cl
add rcx, 0x38
jmp 0x1337c0f77f6c
mov rcx, r14
xor r8d, r8d
lea rdx, [0x1337c107a935]
call fcn.1337c0f41380
mov qword [rbp + 0x40], rax
mov rbx, rax
test rax, rax
jne 0x1337c0f77fa1
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
call fcn.1337c0f34d50
jmp 0x1337c0f77ff5
cmp dword [rsp + 0x88], 2
jne 0x1337c0f78079
cmp edi, 0x40a
je 0x1337c0f77fd0
cmp edi, 0x43f
je 0x1337c0f77fd0
cmp edi, 0x40b
mov r14d, esi
setne r14b
add r14d, 0x38
mov edx, r14d
mov rcx, rbx
call fcn.1337c0f47210
test eax, eax
jg 0x1337c0f7800b
xor r8d, r8d
lea rdx, [0x1337c107a935]
mov rcx, rbx
call fcn.1337c0f41360
mov qword [rbp + 0x40], rsi
xor r8d, r8d
lea rdx, [0x1337c107a935]
mov rcx, rbp
call fcn.1337c0f378c0
xor eax, eax
jmp 0x1337c0f7803e
cmp edi, 0x40a
jne 0x1337c0f7805d
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, rbp
call fcn.1337c0faa760
mov r8, rbp
mov edx, edi
mov rcx, r13
call fcn.1337c0f36700
mov eax, 1
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
ret
cmp edi, 0x40b
jne 0x1337c0f780aa
and byte [rbx], 0xfc
or byte [rbx + 0x37], 0x80
mov rdx, rbx
mov rcx, rbp
call fcn.1337c0fb32c0
jmp 0x1337c0f7802c
cmp edi, 0x40a
je 0x1337c0f78099
cmp edi, 0x43f
je 0x1337c0f78099
cmp edi, 0x40b
setne sil
add rsi, 0x38
jmp 0x1337c0f7809c
mov rsi, r14
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call fcn.1337c1004b50
mov ecx, edi
sub ecx, 0x40a
je 0x1337c0f78021
sub ecx, 1
je 0x1337c0f7806c
sub ecx, 0x34
je 0x1337c0f780db
cmp ecx, 1
jne 0x1337c0f7802c
mov rdx, rbx
mov rcx, rbp
call fcn.1337c0fb64e0
jmp 0x1337c0f7802c
mov rdx, rbx
mov rcx, rbp
call fcn.1337c0faa1a0
jmp 0x1337c0f7802c