Function at 0x1401225a0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
mov eax, 0x1d0
call fcn.14016df80
sub rsp, rax
mov rax, qword [0x140271510]
xor rax, rsp
mov qword [rbp + 0xc8], rax
movups xmm2, xmmword [rdx]
mov qword [rbp - 0x78], rcx
lea rcx, [rbp + 0x80]
movups xmm0, xmmword [rdx + 0x10]
mov rdx, r8
xor edi, edi
movd eax, xmm2
movups xmmword [rbp + 0xb8], xmm0
and al, 0xf8
psrldq xmm0, 8
movups xmmword [rbp + 0xa8], xmm2
mov byte [rbp + 0xa8], al
movq rax, xmm0
shr rax, 0x38
and al, 0x3f
or al, 0x40
mov byte [rbp + 0xc7], al
call fcn.14011fae0
xor eax, eax
lea r8d, [rdi + 0x28]
lea rdx, [rbp + 0x80]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 0x58]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
lea ebx, [rdi + 1]
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
call fcn.14016e7f0
xor eax, eax
mov r8d, 0xfe
mov qword [rbp - 0x48], rax
mov r10d, ebx
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov dword [rsp + 0x7c], r8d
nop dword [rax]
mov eax, r8d
test r8d, r8d
jns 0x14012269c
lea eax, [r8 + 7]
sar eax, 3
movsxd rcx, eax
mov eax, ebx
movzx edx, byte [rbp + rcx + 0xa8]
movzx ecx, r8b
and ecx, 7
shr edx, cl
mov ecx, dword [rbp + 0x58]
and edx, 1
xor eax, ecx
mov dword [rbp - 0x80], edx
mov r9d, edx
mov edx, dword [rbp + 0x5c]
xor r9d, edi
neg r9d
and eax, r9d
mov dword [rsp + 0x20], r9d
xor ecx, eax
xor ebx, eax
mov dword [rsp + 0x50], ecx
mov ecx, dword [rbp - 0x1c]
mov eax, ecx
xor eax, edx
mov dword [rbp - 0x7c], ebx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbp - 0x18]
mov eax, ecx
mov dword [rsp + 0x58], edx
mov edx, dword [rbp + 0x60]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x30], ecx
mov ecx, dword [rbp - 0x14]
mov eax, ecx
mov dword [rsp + 0x5c], edx
mov edx, dword [rbp + 0x64]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x34], ecx
mov ecx, dword [rbp - 0x10]
mov eax, ecx
mov dword [rsp + 0x60], edx
mov edx, dword [rbp + 0x68]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbp - 0xc]
mov eax, ecx
mov dword [rsp + 0x64], edx
mov edx, dword [rbp + 0x6c]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x3c], ecx
mov ecx, dword [rbp - 8]
mov eax, ecx
mov dword [rsp + 0x68], edx
mov edx, dword [rbp + 0x70]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x40], ecx
mov ecx, dword [rbp - 4]
mov eax, ecx
mov dword [rsp + 0x6c], edx
mov edx, dword [rbp + 0x74]
xor eax, edx
and eax, r9d
xor ecx, eax
mov dword [rsp + 0x44], ecx
xor edx, eax
mov ecx, dword [rbp]
mov r12d, dword [rbp - 0x34]
mov eax, ecx
mov r13d, dword [rbp - 0x68]
mov r14d, dword [rbp - 0x30]
mov r15d, dword [rbp - 0x64]
mov esi, dword [rbp - 0x60]
mov ebx, dword [rbp - 0x5c]
mov r8d, dword [rbp - 0x54]
mov edi, dword [rbp - 0x2c]
mov dword [rsp + 0x70], edx
mov edx, dword [rbp + 0x78]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x48], ecx
mov ecx, dword [rbp + 4]
mov eax, ecx
mov dword [rsp + 0x74], edx
mov edx, dword [rbp + 0x7c]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x4c], ecx
mov eax, r10d
mov ecx, dword [rbp - 0x70]
xor eax, ecx
and eax, r9d
mov dword [rsp + 0x78], edx
mov edx, dword [rbp - 0x44]
xor ecx, eax
xor r10d, eax
mov dword [rsp + 0x24], ecx
mov ecx, dword [rbp - 0x6c]
mov eax, ecx
xor eax, edx
mov dword [rsp + 0x54], r10d
and eax, r9d
mov dword [rbp - 0x48], r10d
mov r10d, dword [rbp - 0x58]
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x2c], ecx
mov ecx, dword [rbp - 0x40]
mov eax, r13d
xor eax, ecx
mov dword [rbp - 0x44], edx
and eax, r9d
xor ecx, eax
xor r13d, eax
mov dword [rbp - 0x40], ecx
mov eax, r15d
mov ecx, dword [rbp - 0x3c]
xor eax, ecx
and eax, r9d
xor ecx, eax
xor r15d, eax
mov dword [rbp - 0x3c], ecx
mov eax, esi
mov ecx, dword [rbp - 0x38]
xor eax, ecx
and eax, r9d
xor ecx, eax
xor esi, eax
mov eax, ebx
mov dword [rbp - 0x38], ecx
xor eax, r12d
and eax, r9d
xor r12d, eax
xor ebx, eax
mov eax, r10d
mov dword [rbp - 0x34], r12d
xor eax, r14d
and eax, r9d
xor r10d, eax
xor r14d, eax
mov eax, r8d
mov dword [rbp - 0x30], r14d
xor eax, edi
mov r11d, dword [rbp - 0x28]
and eax, r9d
mov edx, dword [rbp - 0x50]
xor edi, eax
mov ecx, dword [rbp - 0x4c]
xor r8d, eax
mov dword [rbp - 0x2c], edi
mov eax, edx
xor eax, r11d
and eax, r9d
mov r9d, dword [rbp - 0x24]
xor r11d, eax
xor edx, eax
mov eax, ecx
mov dword [rbp - 0x28], r11d
xor eax, r9d
and eax, dword [rsp + 0x20]
xor r9d, eax
xor ecx, eax
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x50]
sub eax, dword [rsp + 0x54]
mov dword [rbp + 8], eax
mov eax, dword [rsp + 0x58]
sub eax, dword [rbp - 0x44]
mov dword [rbp + 0xc], eax
mov eax, dword [rsp + 0x5c]
sub eax, dword [rbp - 0x40]
mov dword [rbp + 0x10], eax
mov eax, dword [rsp + 0x60]
sub eax, dword [rbp - 0x3c]
mov dword [rbp + 0x14], eax
mov eax, dword [rsp + 0x64]
sub eax, dword [rbp - 0x38]
mov dword [rbp + 0x18], eax
mov eax, dword [rsp + 0x68]
sub eax, r12d
mov dword [rbp - 0x24], r9d
mov dword [rbp + 0x1c], eax
mov eax, dword [rsp + 0x6c]
sub eax, r14d
mov dword [rbp + 0x20], eax
mov eax, dword [rsp + 0x70]
sub eax, edi
mov dword [rbp + 0x24], eax
mov eax, dword [rsp + 0x74]
sub eax, r11d
mov dword [rbp + 0x28], eax
mov eax, dword [rsp + 0x78]
sub eax, r9d
mov dword [rbp + 0x2c], eax
mov eax, dword [rbp - 0x7c]
sub eax, dword [rsp + 0x24]
mov dword [rbp + 0x30], eax
mov eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x2c]
mov dword [rbp + 0x34], eax
mov eax, dword [rsp + 0x30]
sub eax, r13d
mov dword [rbp + 0x38], eax
mov eax, dword [rsp + 0x34]
sub eax, r15d
mov dword [rbp + 0x3c], eax
mov eax, dword [rsp + 0x38]
sub eax, esi
mov dword [rbp + 0x40], eax
mov eax, dword [rsp + 0x3c]
sub eax, ebx
mov dword [rbp + 0x44], eax
mov eax, dword [rsp + 0x40]
sub eax, r10d
mov dword [rbp + 0x48], eax
mov eax, dword [rsp + 0x44]
sub eax, r8d
mov dword [rbp + 0x4c], eax
mov eax, dword [rsp + 0x48]
sub eax, edx
mov dword [rbp + 0x50], eax
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rbp + 0x54], eax
mov eax, dword [rbp - 0x7c]
add eax, dword [rsp + 0x24]
mov dword [rbp - 0x20], eax
mov eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x2c]
mov dword [rbp - 0x1c], eax
mov eax, dword [rsp + 0x30]
add eax, r13d
mov dword [rbp - 0x18], eax
mov eax, dword [rsp + 0x34]
add eax, r15d
mov dword [rbp - 0x14], eax
mov eax, dword [rsp + 0x38]
add eax, esi
mov dword [rbp - 0x10], eax
mov eax, dword [rsp + 0x3c]
add eax, ebx
mov dword [rbp - 0xc], eax
mov eax, dword [rsp + 0x40]
add eax, r10d
mov dword [rbp - 8], eax
mov eax, dword [rsp + 0x44]
add eax, r8d
lea r8, [rbp - 0x20]
mov dword [rbp - 4], eax
mov eax, dword [rsp + 0x48]
add eax, edx
lea rdx, [rbp + 8]
mov dword [rbp], eax
mov eax, dword [rsp + 0x4c]
add eax, ecx
lea rcx, [rbp - 0x48]
mov dword [rbp + 4], eax
mov eax, dword [rsp + 0x50]
add eax, dword [rsp + 0x54]
mov dword [rbp - 0x70], eax
mov eax, dword [rbp - 0x44]
add eax, dword [rsp + 0x58]
mov dword [rbp - 0x6c], eax
mov eax, dword [rbp - 0x40]
add eax, dword [rsp + 0x5c]
mov dword [rbp - 0x68], eax
mov eax, dword [rbp - 0x3c]
add eax, dword [rsp + 0x60]
mov dword [rbp - 0x64], eax
mov eax, dword [rbp - 0x38]
add eax, dword [rsp + 0x64]
mov dword [rbp - 0x60], eax
mov eax, dword [rsp + 0x68]
add eax, r12d
mov dword [rbp - 0x5c], eax
mov eax, dword [rsp + 0x6c]
add eax, r14d
mov dword [rbp - 0x58], eax
mov eax, dword [rsp + 0x70]
add eax, edi
mov dword [rbp - 0x54], eax
mov eax, dword [rsp + 0x74]
add eax, r11d
mov dword [rbp - 0x50], eax
mov eax, dword [rsp + 0x78]
add eax, r9d
mov dword [rbp - 0x4c], eax
call fcn.140120030
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.140120030
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 8]
call fcn.140120b50
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x30]
call fcn.140120b50
mov eax, dword [rbp - 0x70]
add eax, dword [rbp - 0x48]
mov dword [rbp + 0x58], eax
mov eax, dword [rbp - 0x6c]
add eax, dword [rbp - 0x44]
mov r10d, dword [rbp - 0x54]
mov r8d, dword [rbp - 0x50]
mov ecx, dword [rbp - 0x4c]
mov r15d, dword [rbp - 0x60]
mov esi, dword [rbp - 0x5c]
mov ebx, dword [rbp - 0x58]
mov r11d, dword [rbp - 0x2c]
mov r9d, dword [rbp - 0x28]
mov edx, dword [rbp - 0x24]
mov r12d, dword [rbp - 0x38]
mov r14d, dword [rbp - 0x34]
mov edi, dword [rbp - 0x30]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp - 0x68]
add eax, dword [rbp - 0x40]
mov dword [rbp + 0x60], eax
mov eax, dword [rbp - 0x3c]
add eax, dword [rbp - 0x64]
mov dword [rbp + 0x64], eax
lea eax, [r15 + r12]
mov dword [rbp + 0x68], eax
sub r12d, r15d
lea eax, [rsi + r14]
mov dword [rbp - 0x60], r12d
mov dword [rbp + 0x6c], eax
sub r14d, esi
lea eax, [rbx + rdi]
mov dword [rbp - 0x5c], r14d
mov dword [rbp + 0x70], eax
sub edi, ebx
lea eax, [r10 + r11]
mov dword [rbp - 0x58], edi
mov dword [rbp + 0x74], eax
sub r11d, r10d
lea eax, [r8 + r9]
mov dword [rbp - 0x54], r11d
mov dword [rbp + 0x78], eax
sub r9d, r8d
lea eax, [rcx + rdx]
mov dword [rbp - 0x50], r9d
mov dword [rbp + 0x7c], eax
lea r8, [rbp + 8]
mov eax, dword [rbp - 0x48]
sub edx, ecx
sub eax, dword [rbp - 0x70]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x70], eax
mov eax, dword [rbp - 0x44]
sub eax, dword [rbp - 0x6c]
mov dword [rbp - 0x6c], eax
mov eax, dword [rbp - 0x40]
sub eax, dword [rbp - 0x68]
mov dword [rbp - 0x68], eax
mov eax, dword [rbp - 0x3c]
sub eax, dword [rbp - 0x64]
mov dword [rbp - 0x4c], edx
lea rdx, [rbp + 0x30]
mov dword [rbp - 0x64], eax
call fcn.140120030
mov eax, dword [rbp + 0x24]
lea rdx, [rbp - 0x70]
sub dword [rbp + 0x4c], eax
lea rcx, [rbp - 0x70]
mov eax, dword [rbp + 0x28]
sub dword [rbp + 0x50], eax
mov ebx, dword [rbp + 8]
mov edi, dword [rbp + 0xc]
mov esi, dword [rbp + 0x10]
mov r14d, dword [rbp + 0x14]
mov r15d, dword [rbp + 0x18]
mov r12d, dword [rbp + 0x1c]
mov r13d, dword [rbp + 0x20]
sub dword [rbp + 0x30], ebx
sub dword [rbp + 0x34], edi
sub dword [rbp + 0x38], esi
sub dword [rbp + 0x3c], r14d
sub dword [rbp + 0x40], r15d
sub dword [rbp + 0x44], r12d
sub dword [rbp + 0x48], r13d
mov eax, dword [rbp + 0x2c]
sub dword [rbp + 0x54], eax
call fcn.140120b50
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.140120950
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x58]
call fcn.140120b50
mov eax, dword [rbp + 0x24]
lea r8, [rbp - 0x70]
add eax, dword [rbp - 0x2c]
lea rdx, [rbp + 0x80]
add ebx, dword [rbp - 0x48]
lea rcx, [rbp - 0x48]
add edi, dword [rbp - 0x44]
add esi, dword [rbp - 0x40]
add r14d, dword [rbp - 0x3c]
add r15d, dword [rbp - 0x38]
add r12d, dword [rbp - 0x34]
add r13d, dword [rbp - 0x30]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x28]
add eax, dword [rbp - 0x28]
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0x2c]
add eax, dword [rbp - 0x24]
mov dword [rbp + 0x2c], eax
mov dword [rbp + 8], ebx
mov dword [rbp + 0xc], edi
mov dword [rbp + 0x10], esi
mov dword [rbp + 0x14], r14d
mov dword [rbp + 0x18], r15d
mov dword [rbp + 0x1c], r12d
mov dword [rbp + 0x20], r13d
call fcn.140120030
lea r8, [rbp + 8]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.140120030
mov r8d, dword [rsp + 0x7c]
sub r8d, 1
mov dword [rsp + 0x7c], r8d
js 0x140122c4b
mov ebx, dword [rbp - 0x20]
mov r10d, dword [rbp - 0x48]
mov edi, dword [rsp + 0x20]
jmp 0x140122690
mov ecx, dword [rbp - 0x20]
mov eax, ecx
xor eax, dword [rbp + 0x58]
mov r8d, dword [rbp - 0x80]
neg r8d
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x20], ecx
mov ecx, dword [rbp - 0x1c]
mov eax, ecx
xor eax, dword [rbp + 0x5c]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x1c], ecx
mov ecx, dword [rbp - 0x18]
mov eax, ecx
xor eax, dword [rbp + 0x60]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x18], ecx
mov ecx, dword [rbp - 0x14]
mov eax, ecx
xor eax, dword [rbp + 0x64]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x14], ecx
mov ecx, dword [rbp - 0x10]
mov eax, ecx
xor eax, dword [rbp + 0x68]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x10], ecx
mov ecx, dword [rbp - 0xc]
mov eax, ecx
xor eax, dword [rbp + 0x6c]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0xc], ecx
mov ecx, dword [rbp - 8]
mov eax, ecx
xor eax, dword [rbp + 0x70]
and eax, r8d
xor ecx, eax
mov dword [rbp - 8], ecx
mov ecx, dword [rbp - 4]
mov eax, ecx
xor eax, dword [rbp + 0x74]
and eax, r8d
xor ecx, eax
mov dword [rbp - 4], ecx
mov ecx, dword [rbp]
mov eax, ecx
xor eax, dword [rbp + 0x78]
and eax, r8d
xor ecx, eax
mov dword [rbp], ecx
mov ecx, dword [rbp + 4]
mov eax, ecx
xor eax, dword [rbp + 0x7c]
and eax, r8d
xor ecx, eax
mov eax, dword [rbp - 0x70]
mov dword [rbp + 4], ecx
mov ecx, dword [rbp - 0x48]
xor ecx, eax
and ecx, r8d
xor eax, ecx
mov ecx, dword [rbp - 0x6c]
mov dword [rbp - 0x70], eax
mov eax, ecx
xor eax, dword [rbp - 0x44]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x6c], ecx
mov ecx, dword [rbp - 0x68]
mov eax, ecx
xor eax, dword [rbp - 0x40]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x68], ecx
mov ecx, dword [rbp - 0x64]
mov edx, dword [rbp - 0x4c]
mov eax, ecx
xor eax, dword [rbp - 0x3c]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x64], ecx
mov ecx, dword [rbp - 0x60]
mov eax, ecx
xor eax, dword [rbp - 0x38]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x60], ecx
mov ecx, dword [rbp - 0x5c]
mov eax, ecx
xor eax, dword [rbp - 0x34]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x5c], ecx
mov ecx, dword [rbp - 0x58]
mov eax, ecx
xor eax, dword [rbp - 0x30]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x58], ecx
mov ecx, dword [rbp - 0x54]
mov eax, ecx
xor eax, dword [rbp - 0x2c]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x54], ecx
mov ecx, dword [rbp - 0x50]
mov eax, ecx
xor eax, dword [rbp - 0x28]
and eax, r8d
xor ecx, eax
mov eax, edx
xor eax, dword [rbp - 0x24]
and eax, r8d
mov dword [rbp - 0x50], ecx
xor edx, eax
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x4c], edx
lea rdx, [rbp - 0x70]
call fcn.14011fdb0
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.140120030
mov rcx, qword [rbp - 0x78]
lea rdx, [rbp - 0x20]
call fcn.140121660
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.14016d990
mov rbx, qword [rsp + 0x228]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret