Function at 0x140264630
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x48
call fcn.14036a3f0
sub rsp, rax
cmp qword [rsp + 0x50], 0
jne 0x140264651
xor eax, eax
jmp 0x140264950
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 8]
xor r8d, r8d
mov rax, qword [rsp + 0x50]
mov edx, dword [rax + 0x10]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.14020a6b0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1402646b5
call fcn.140141f60
lea r8, str.ecx_gen
mov edx, 0x258
lea rcx, str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.140141fb0
xor r8d, r8d
mov edx, 0x80010
mov ecx, 0x39
call fcn.140142020
xor eax, eax
jmp 0x140264950
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
and eax, 3
test eax, eax
jne 0x1402646ce
mov rax, qword [rsp + 0x30]
jmp 0x140264950
mov rcx, qword [rsp + 0x30]
call fcn.14020a580
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140264719
call fcn.140141f60
lea r8, str.ecx_gen
mov edx, 0x261
lea rcx, str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.140141fb0
xor r8d, r8d
mov edx, 0x80010
mov ecx, 0x39
call fcn.140142020
jmp 0x140264944
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x18], 0
je 0x140264778
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x20], 0
je 0x140264778
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 2
je 0x140264747
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 3
jne 0x14026474c
jmp 0x140264944
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 0x20]
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x18]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.140277f00
test eax, eax
jne 0x140264776
jmp 0x140264944
jmp 0x14026479f
xor r9d, r9d
mov rax, qword [rsp + 0x30]
mov r8, qword [rax + 0x58]
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.1401313e0
test eax, eax
jg 0x14026479f
jmp 0x140264944
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1402647d8
cmp dword [rsp + 0x20], 1
je 0x140264867
cmp dword [rsp + 0x20], 2
je 0x1402648ce
cmp dword [rsp + 0x20], 3
je 0x1402648fd
jmp 0x14026492a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
and eax, 0xf8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 0x1f
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
and eax, 0x7f
mov ecx, 1
imul rcx, rcx, 0x1f
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 0x1f
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
or eax, 0x40
mov ecx, 1
imul rcx, rcx, 0x1f
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x30]
add rax, 0x14
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.140213b80
jmp 0x14026492a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
and eax, 0xfc
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 0x37
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
bts eax, 7
mov ecx, 1
imul rcx, rcx, 0x37
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x30]
add rax, 0x14
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.14021d220
jmp 0x14026492a
mov rax, qword [rsp + 0x30]
add rax, 0x14
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 8]
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.1402131f0
test eax, eax
jne 0x1402648fb
jmp 0x140264944
jmp 0x14026492a
mov rax, qword [rsp + 0x30]
add rax, 0x14
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 8]
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.14021a9a0
test eax, eax
jne 0x14026492a
jmp 0x140264944
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
or eax, 1
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x30]
jmp 0x140264950
mov rcx, qword [rsp + 0x30]
call fcn.14020a5d0
xor eax, eax
add rsp, 0x48
ret