Function at 0x140139110
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.1401a62f0
sub rsp, rax
mov rax, qword [0x1402ccee0]
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.1401320e0
xor eax, eax
lea r8d, [rdi + 0x28]
lea rdx, [rbp + 0x80]
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x58]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
lea ebx, [rdi + 1]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
call fcn.1401a6b60
xor eax, eax
mov r8d, 0xfe
mov qword [rbp - 0x70], rax
mov r10d, ebx
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov dword [rsp + 0x7c], r8d
nop dword [rax]
mov eax, r8d
test r8d, r8d
jns 0x14013920c
lea eax, [r8 + 7]
sar eax, 3
movsxd rcx, eax
movzx edx, byte [rbp + rcx + 0xa8]
movzx ecx, r8b
and ecx, 7
shr edx, cl
mov ecx, dword [rbp + 0x58]
and edx, 1
mov eax, ecx
mov dword [rsp + 0x20], edx
xor eax, ebx
mov r9d, edx
mov edx, dword [rbp + 0x5c]
xor r9d, edi
neg r9d
and eax, r9d
mov dword [rbp - 0x7c], r9d
xor ecx, eax
xor ebx, eax
mov dword [rsp + 0x50], ecx
mov ecx, dword [rbp + 0x34]
mov eax, ecx
xor eax, edx
mov dword [rbp - 0x80], ebx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbp + 0x38]
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 + 0x3c]
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 + 0x40]
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 + 0x44]
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 + 0x48]
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 + 0x4c]
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 + 0x50]
mov r12d, dword [rbp - 0x5c]
mov eax, ecx
mov r13d, dword [rbp - 0x40]
mov r14d, dword [rbp - 0x58]
mov r15d, dword [rbp - 0x3c]
mov esi, dword [rbp - 0x38]
mov ebx, dword [rbp - 0x34]
mov r8d, dword [rbp - 0x2c]
mov edi, dword [rbp - 0x54]
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 + 0x54]
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 ecx, dword [rbp - 0x48]
mov eax, ecx
xor eax, r10d
mov dword [rsp + 0x78], edx
mov edx, dword [rbp - 0x6c]
and eax, r9d
xor ecx, eax
xor r10d, eax
mov dword [rsp + 0x24], ecx
mov ecx, dword [rbp - 0x44]
mov eax, ecx
xor eax, edx
mov dword [rsp + 0x54], r10d
and eax, r9d
mov dword [rbp - 0x70], r10d
mov r10d, dword [rbp - 0x30]
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x2c], ecx
mov ecx, dword [rbp - 0x68]
mov eax, r13d
xor eax, ecx
mov dword [rbp - 0x6c], edx
and eax, r9d
xor ecx, eax
xor r13d, eax
mov dword [rbp - 0x68], ecx
mov eax, r15d
mov ecx, dword [rbp - 0x64]
xor eax, ecx
and eax, r9d
xor ecx, eax
xor r15d, eax
mov dword [rbp - 0x64], ecx
mov eax, esi
mov ecx, dword [rbp - 0x60]
xor eax, ecx
and eax, r9d
xor ecx, eax
xor esi, eax
mov eax, ebx
mov dword [rbp - 0x60], ecx
xor eax, r12d
and eax, r9d
xor r12d, eax
xor ebx, eax
mov eax, r10d
mov dword [rbp - 0x5c], r12d
xor eax, r14d
and eax, r9d
xor r10d, eax
xor r14d, eax
mov eax, r8d
mov dword [rbp - 0x58], r14d
xor eax, edi
mov r11d, dword [rbp - 0x50]
and eax, r9d
mov edx, dword [rbp - 0x28]
xor edi, eax
mov ecx, dword [rbp - 0x24]
xor r8d, eax
mov dword [rbp - 0x54], edi
mov eax, edx
xor eax, r11d
and eax, r9d
mov r9d, dword [rbp - 0x4c]
xor r11d, eax
xor edx, eax
mov eax, ecx
mov dword [rbp - 0x50], r11d
xor eax, r9d
and eax, dword [rbp - 0x7c]
xor r9d, eax
xor ecx, eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x50]
sub eax, dword [rsp + 0x54]
mov dword [rbp - 0x20], eax
mov eax, dword [rsp + 0x58]
sub eax, dword [rbp - 0x6c]
mov dword [rbp - 0x1c], eax
mov eax, dword [rsp + 0x5c]
sub eax, dword [rbp - 0x68]
mov dword [rbp - 0x18], eax
mov eax, dword [rsp + 0x60]
sub eax, dword [rbp - 0x64]
mov dword [rbp - 0x14], eax
mov eax, dword [rsp + 0x64]
sub eax, dword [rbp - 0x60]
mov dword [rbp - 0x10], eax
mov eax, dword [rsp + 0x68]
sub eax, r12d
mov dword [rbp - 0x4c], r9d
mov dword [rbp - 0xc], eax
mov eax, dword [rsp + 0x6c]
sub eax, r14d
mov dword [rbp - 8], eax
mov eax, dword [rsp + 0x70]
sub eax, edi
mov dword [rbp - 4], eax
mov eax, dword [rsp + 0x74]
sub eax, r11d
mov dword [rbp], eax
mov eax, dword [rsp + 0x78]
sub eax, r9d
mov dword [rbp + 4], eax
mov eax, dword [rbp - 0x80]
sub eax, dword [rsp + 0x24]
mov dword [rbp + 8], eax
mov eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x2c]
mov dword [rbp + 0xc], eax
mov eax, dword [rsp + 0x30]
sub eax, r13d
mov dword [rbp + 0x10], eax
mov eax, dword [rsp + 0x34]
sub eax, r15d
mov dword [rbp + 0x14], eax
mov eax, dword [rsp + 0x38]
sub eax, esi
mov dword [rbp + 0x18], eax
mov eax, dword [rsp + 0x3c]
sub eax, ebx
mov dword [rbp + 0x1c], eax
mov eax, dword [rsp + 0x40]
sub eax, r10d
mov dword [rbp + 0x20], eax
mov eax, dword [rsp + 0x44]
sub eax, r8d
mov dword [rbp + 0x24], eax
mov eax, dword [rsp + 0x48]
sub eax, edx
mov dword [rbp + 0x28], eax
mov eax, dword [rsp + 0x4c]
sub eax, ecx
mov dword [rbp + 0x2c], eax
mov eax, dword [rbp - 0x80]
add eax, dword [rsp + 0x24]
mov dword [rbp + 0x30], eax
mov eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x2c]
mov dword [rbp + 0x34], eax
mov eax, dword [rsp + 0x30]
add eax, r13d
mov dword [rbp + 0x38], eax
mov eax, dword [rsp + 0x34]
add eax, r15d
mov dword [rbp + 0x3c], eax
mov eax, dword [rsp + 0x38]
add eax, esi
mov dword [rbp + 0x40], eax
mov eax, dword [rsp + 0x3c]
add eax, ebx
mov dword [rbp + 0x44], eax
mov eax, dword [rsp + 0x40]
add eax, r10d
mov dword [rbp + 0x48], eax
mov eax, dword [rsp + 0x44]
add eax, r8d
lea r8, [rbp + 0x30]
mov dword [rbp + 0x4c], eax
mov eax, dword [rsp + 0x48]
add eax, edx
lea rdx, [rbp - 0x20]
mov dword [rbp + 0x50], eax
mov eax, dword [rsp + 0x4c]
add eax, ecx
lea rcx, [rbp - 0x70]
mov dword [rbp + 0x54], eax
mov eax, dword [rsp + 0x50]
add eax, dword [rsp + 0x54]
mov dword [rbp - 0x48], eax
mov eax, dword [rbp - 0x6c]
add eax, dword [rsp + 0x58]
mov dword [rbp - 0x44], eax
mov eax, dword [rbp - 0x68]
add eax, dword [rsp + 0x5c]
mov dword [rbp - 0x40], eax
mov eax, dword [rbp - 0x64]
add eax, dword [rsp + 0x60]
mov dword [rbp - 0x3c], eax
mov eax, dword [rbp - 0x60]
add eax, dword [rsp + 0x64]
mov dword [rbp - 0x38], eax
mov eax, dword [rsp + 0x68]
add eax, r12d
mov dword [rbp - 0x34], eax
mov eax, dword [rsp + 0x6c]
add eax, r14d
mov dword [rbp - 0x30], eax
mov eax, dword [rsp + 0x70]
add eax, edi
mov dword [rbp - 0x2c], eax
mov eax, dword [rsp + 0x74]
add eax, r11d
mov dword [rbp - 0x28], eax
mov eax, dword [rsp + 0x78]
add eax, r9d
mov dword [rbp - 0x24], eax
call fcn.140132630
lea r8, [rbp + 8]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.140132630
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x20]
call fcn.1401333c0
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 8]
call fcn.1401333c0
mov eax, dword [rbp - 0x48]
add eax, dword [rbp - 0x70]
mov dword [rbp + 0x58], eax
mov eax, dword [rbp - 0x44]
add eax, dword [rbp - 0x6c]
mov r10d, dword [rbp - 0x2c]
mov r8d, dword [rbp - 0x28]
mov ecx, dword [rbp - 0x24]
mov r15d, dword [rbp - 0x38]
mov esi, dword [rbp - 0x34]
mov ebx, dword [rbp - 0x30]
mov r11d, dword [rbp - 0x54]
mov r9d, dword [rbp - 0x50]
mov edx, dword [rbp - 0x4c]
mov r12d, dword [rbp - 0x60]
mov r14d, dword [rbp - 0x5c]
mov edi, dword [rbp - 0x58]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp - 0x40]
add eax, dword [rbp - 0x68]
mov dword [rbp + 0x60], eax
mov eax, dword [rbp - 0x64]
add eax, dword [rbp - 0x3c]
mov dword [rbp + 0x64], eax
lea eax, [r15 + r12]
mov dword [rbp + 0x68], eax
sub r12d, r15d
lea eax, [rsi + r14]
mov dword [rbp - 0x38], r12d
mov dword [rbp + 0x6c], eax
sub r14d, esi
lea eax, [rbx + rdi]
mov dword [rbp - 0x34], r14d
mov dword [rbp + 0x70], eax
sub edi, ebx
lea eax, [r10 + r11]
mov dword [rbp - 0x30], edi
mov dword [rbp + 0x74], eax
sub r11d, r10d
lea eax, [r8 + r9]
mov dword [rbp - 0x2c], r11d
mov dword [rbp + 0x78], eax
sub r9d, r8d
lea eax, [rcx + rdx]
mov dword [rbp - 0x28], r9d
mov dword [rbp + 0x7c], eax
lea r8, [rbp - 0x20]
mov eax, dword [rbp - 0x70]
sub edx, ecx
sub eax, dword [rbp - 0x48]
lea rcx, [rbp + 0x30]
mov dword [rbp - 0x48], eax
mov eax, dword [rbp - 0x6c]
sub eax, dword [rbp - 0x44]
mov dword [rbp - 0x44], eax
mov eax, dword [rbp - 0x68]
sub eax, dword [rbp - 0x40]
mov dword [rbp - 0x40], eax
mov eax, dword [rbp - 0x64]
sub eax, dword [rbp - 0x3c]
mov dword [rbp - 0x24], edx
lea rdx, [rbp + 8]
mov dword [rbp - 0x3c], eax
call fcn.140132630
mov eax, dword [rbp - 4]
lea rdx, [rbp - 0x48]
sub dword [rbp + 0x24], eax
lea rcx, [rbp - 0x48]
mov eax, dword [rbp]
sub dword [rbp + 0x28], eax
mov ebx, dword [rbp - 0x20]
mov edi, dword [rbp - 0x1c]
mov esi, dword [rbp - 0x18]
mov r14d, dword [rbp - 0x14]
mov r15d, dword [rbp - 0x10]
mov r12d, dword [rbp - 0xc]
mov r13d, dword [rbp - 8]
sub dword [rbp + 8], ebx
sub dword [rbp + 0xc], edi
sub dword [rbp + 0x10], esi
sub dword [rbp + 0x14], r14d
sub dword [rbp + 0x18], r15d
sub dword [rbp + 0x1c], r12d
sub dword [rbp + 0x20], r13d
mov eax, dword [rbp + 4]
sub dword [rbp + 0x2c], eax
call fcn.1401333c0
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x70]
call fcn.140132f50
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x58]
call fcn.1401333c0
mov eax, dword [rbp - 4]
lea r8, [rbp - 0x48]
add eax, dword [rbp - 0x54]
lea rdx, [rbp + 0x80]
add ebx, dword [rbp - 0x70]
lea rcx, [rbp - 0x70]
add edi, dword [rbp - 0x6c]
add esi, dword [rbp - 0x68]
add r14d, dword [rbp - 0x64]
add r15d, dword [rbp - 0x60]
add r12d, dword [rbp - 0x5c]
add r13d, dword [rbp - 0x58]
mov dword [rbp - 4], eax
mov eax, dword [rbp]
add eax, dword [rbp - 0x50]
mov dword [rbp], eax
mov eax, dword [rbp + 4]
add eax, dword [rbp - 0x4c]
mov dword [rbp + 4], eax
mov dword [rbp - 0x20], ebx
mov dword [rbp - 0x1c], edi
mov dword [rbp - 0x18], esi
mov dword [rbp - 0x14], r14d
mov dword [rbp - 0x10], r15d
mov dword [rbp - 0xc], r12d
mov dword [rbp - 8], r13d
call fcn.140132630
lea r8, [rbp - 0x20]
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x48]
call fcn.140132630
mov r8d, dword [rsp + 0x7c]
sub r8d, 1
mov dword [rsp + 0x7c], r8d
js 0x1401397bb
mov ebx, dword [rbp + 0x30]
mov r10d, dword [rbp - 0x70]
mov edi, dword [rsp + 0x20]
jmp 0x140139200
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1401323b0
lea r8, [rbp - 0x48]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140132630
mov rcx, qword [rbp - 0x78]
lea rdx, [rbp + 0x30]
call fcn.140133ed0
mov edx, 0x20
lea rcx, [rbp + 0xa8]
call fcn.1400c7870
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.1401a5d00
mov rbx, qword [rsp + 0x228]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret