Function at 0x140141f30
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
movups xmm2, xmmword [rdx]
lea rcx, [rbp + 0x98]
xor edi, edi
movups xmm0, xmmword [rdx + 0x10]
mov rdx, r8
movd eax, xmm2
movups xmmword [rbp + 0x88], xmm0
and al, 0xf8
psrldq xmm0, 8
movups xmmword [rbp + 0x78], xmm2
mov byte [rbp + 0x78], al
movq rax, xmm0
shr rax, 0x38
and al, 0x3f
or al, 0x40
mov byte [rbp + 0x97], al
call fcn.14013ade0
xor eax, eax
lea r8d, [rdi + 0x28]
lea rdx, [rbp + 0x98]
mov qword [rbp - 0x38], rax
lea rcx, [rbp + 0x48]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea ebx, [rdi + 1]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
call fcn.1401757c0
xor eax, eax
mov r8d, 0xfe
mov qword [rsp + 0x20], rax
mov r10d, ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov dword [rbp + 0x44], r8d
mov eax, r8d
test r8d, r8d
jns 0x140142012
lea eax, [r8 + 7]
sar eax, 3
movsxd rcx, eax
mov eax, ebx
movzx edx, byte [rbp + rcx + 0x78]
movzx ecx, r8b
and ecx, 7
shr edx, cl
mov ecx, dword [rbp + 0x48]
and edx, 1
xor eax, ecx
mov dword [rsp + 0x70], edx
mov r9d, edx
mov edx, dword [rbp + 0x4c]
xor r9d, edi
neg r9d
and eax, r9d
mov dword [rbp + 0x70], r9d
xor ecx, eax
xor ebx, eax
mov dword [rbp + 0x18], ecx
mov eax, edx
mov ecx, dword [rbp - 0x34]
xor eax, ecx
and eax, r9d
mov dword [rbp + 0x108], ebx
xor edx, eax
xor ecx, eax
mov dword [rbp - 0x10], ecx
mov ecx, dword [rbp - 0x30]
mov dword [rbp + 0x20], edx
mov edx, dword [rbp + 0x50]
mov eax, edx
xor eax, ecx
and eax, r9d
xor edx, eax
xor ecx, eax
mov dword [rbp - 8], ecx
mov ecx, dword [rbp - 0x2c]
mov dword [rbp + 0x24], edx
mov edx, dword [rbp + 0x54]
mov eax, edx
xor eax, ecx
and eax, r9d
xor edx, eax
xor ecx, eax
mov dword [rbp - 4], ecx
mov ecx, dword [rbp - 0x28]
mov dword [rbp + 0x28], edx
mov edx, dword [rbp + 0x58]
mov eax, edx
xor eax, ecx
and eax, r9d
xor edx, eax
xor ecx, eax
mov dword [rbp], ecx
mov ecx, dword [rbp - 0x24]
mov dword [rbp + 0x2c], edx
mov edx, dword [rbp + 0x5c]
mov eax, edx
xor eax, ecx
and eax, r9d
xor edx, eax
xor ecx, eax
mov dword [rbp + 4], ecx
mov ecx, dword [rbp - 0x20]
mov dword [rbp + 0x30], edx
mov edx, dword [rbp + 0x60]
mov eax, edx
xor eax, ecx
and eax, r9d
xor edx, eax
xor ecx, eax
mov dword [rbp + 8], ecx
mov ecx, dword [rbp - 0x1c]
mov dword [rbp + 0x34], edx
mov edx, dword [rbp + 0x64]
mov eax, edx
xor eax, ecx
and eax, r9d
xor ecx, eax
mov dword [rbp + 0xc], ecx
xor edx, eax
mov ecx, dword [rbp - 0x18]
mov r12d, dword [rsp + 0x34]
mov r13d, dword [rsp + 0x50]
mov r14d, dword [rsp + 0x38]
mov r15d, dword [rsp + 0x54]
mov esi, dword [rsp + 0x58]
mov ebx, dword [rsp + 0x5c]
mov edi, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x64]
mov dword [rbp + 0x38], edx
mov edx, dword [rbp + 0x68]
mov eax, edx
xor eax, ecx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rbp + 0x10], ecx
mov ecx, dword [rbp - 0x14]
mov dword [rbp + 0x3c], edx
mov edx, dword [rbp + 0x6c]
mov eax, edx
xor eax, ecx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rbp + 0x14], ecx
mov eax, r10d
mov ecx, dword [rsp + 0x48]
xor eax, ecx
and eax, r9d
mov dword [rbp + 0x40], edx
mov edx, dword [rsp + 0x24]
xor ecx, eax
xor r10d, eax
mov dword [rbp + 0x118], ecx
mov ecx, dword [rsp + 0x4c]
mov eax, edx
xor eax, ecx
mov dword [rbp + 0x1c], r10d
and eax, r9d
mov dword [rsp + 0x20], r10d
mov r10d, dword [rsp + 0x60]
xor ecx, eax
xor edx, eax
mov dword [rbp - 0xc], ecx
mov ecx, dword [rsp + 0x28]
mov eax, ecx
xor eax, r13d
mov dword [rsp + 0x24], edx
and eax, r9d
xor ecx, eax
xor r13d, eax
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x2c]
mov eax, ecx
xor eax, r15d
and eax, r9d
xor ecx, eax
xor r15d, eax
mov dword [rsp + 0x2c], ecx
mov ecx, dword [rsp + 0x30]
mov eax, ecx
xor eax, esi
and eax, r9d
xor ecx, eax
xor esi, eax
mov eax, r12d
mov dword [rsp + 0x30], ecx
xor eax, ebx
and eax, r9d
xor r12d, eax
xor ebx, eax
mov eax, r14d
mov dword [rsp + 0x34], r12d
xor eax, r10d
and eax, r9d
xor r10d, eax
xor r14d, eax
mov eax, edi
mov dword [rsp + 0x38], r14d
xor eax, r8d
mov r11d, dword [rsp + 0x40]
and eax, r9d
mov edx, dword [rsp + 0x68]
xor edi, eax
mov ecx, dword [rsp + 0x6c]
xor r8d, eax
mov dword [rsp + 0x3c], edi
mov eax, r11d
xor eax, edx
and eax, r9d
mov r9d, dword [rsp + 0x44]
xor r11d, eax
xor edx, eax
mov eax, r9d
mov dword [rsp + 0x40], r11d
xor eax, ecx
and eax, dword [rbp + 0x70]
xor r9d, eax
xor ecx, eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x70], eax
mov eax, dword [rbp + 0x18]
sub eax, dword [rbp + 0x1c]
mov dword [rsp + 0x78], eax
mov eax, dword [rbp + 0x20]
sub eax, dword [rsp + 0x24]
mov dword [rsp + 0x7c], eax
mov eax, dword [rbp + 0x24]
sub eax, dword [rsp + 0x28]
mov dword [rbp - 0x80], eax
mov eax, dword [rbp + 0x28]
sub eax, dword [rsp + 0x2c]
mov dword [rbp - 0x7c], eax
mov eax, dword [rbp + 0x2c]
sub eax, dword [rsp + 0x30]
mov dword [rbp - 0x78], eax
mov eax, dword [rbp + 0x30]
sub eax, r12d
mov dword [rsp + 0x44], r9d
mov dword [rbp - 0x74], eax
mov eax, dword [rbp + 0x34]
sub eax, r14d
mov dword [rbp - 0x70], eax
mov eax, dword [rbp + 0x38]
sub eax, edi
mov dword [rbp - 0x6c], eax
mov eax, dword [rbp + 0x3c]
sub eax, r11d
mov dword [rbp - 0x68], eax
mov eax, dword [rbp + 0x40]
sub eax, r9d
mov dword [rbp - 0x64], eax
mov eax, dword [rbp + 0x108]
sub eax, dword [rbp + 0x118]
mov dword [rbp - 0x60], eax
mov eax, dword [rbp - 0x10]
sub eax, dword [rbp - 0xc]
mov dword [rbp - 0x5c], eax
mov eax, dword [rbp - 8]
sub eax, r13d
mov dword [rbp - 0x58], eax
mov eax, dword [rbp - 4]
sub eax, r15d
mov dword [rbp - 0x54], eax
mov eax, dword [rbp]
sub eax, esi
mov dword [rbp - 0x50], eax
mov eax, dword [rbp + 4]
sub eax, ebx
mov dword [rbp - 0x4c], eax
mov eax, dword [rbp + 8]
sub eax, r10d
mov dword [rbp - 0x48], eax
mov eax, dword [rbp + 0xc]
sub eax, r8d
mov dword [rbp - 0x44], eax
mov eax, dword [rbp + 0x10]
sub eax, edx
mov dword [rbp - 0x40], eax
mov eax, dword [rbp + 0x14]
sub eax, ecx
mov dword [rbp - 0x3c], eax
mov eax, dword [rbp + 0x108]
add eax, dword [rbp + 0x118]
mov dword [rbp - 0x38], eax
mov eax, dword [rbp - 0x10]
add eax, dword [rbp - 0xc]
mov dword [rbp - 0x34], eax
mov eax, dword [rbp - 8]
add eax, r13d
mov dword [rbp - 0x30], eax
mov eax, dword [rbp - 4]
add eax, r15d
mov dword [rbp - 0x2c], eax
mov eax, dword [rbp]
add eax, esi
mov dword [rbp - 0x28], eax
mov eax, dword [rbp + 4]
add eax, ebx
mov dword [rbp - 0x24], eax
mov eax, dword [rbp + 8]
add eax, r10d
mov dword [rbp - 0x20], eax
mov eax, dword [rbp + 0xc]
add eax, r8d
lea r8, [rbp - 0x38]
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp + 0x10]
add eax, edx
lea rdx, [rsp + 0x78]
mov dword [rbp - 0x18], eax
mov eax, dword [rbp + 0x14]
add eax, ecx
lea rcx, [rsp + 0x20]
mov dword [rbp - 0x14], eax
mov eax, dword [rbp + 0x18]
add eax, dword [rbp + 0x1c]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x24]
add eax, dword [rbp + 0x20]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x28]
add eax, dword [rbp + 0x24]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x2c]
add eax, dword [rbp + 0x28]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x30]
add eax, dword [rbp + 0x2c]
mov dword [rsp + 0x58], eax
mov eax, dword [rbp + 0x30]
add eax, r12d
mov dword [rsp + 0x5c], eax
mov eax, dword [rbp + 0x34]
add eax, r14d
mov dword [rsp + 0x60], eax
mov eax, dword [rbp + 0x38]
add eax, edi
mov dword [rsp + 0x64], eax
mov eax, dword [rbp + 0x3c]
add eax, r11d
mov dword [rsp + 0x68], eax
mov eax, dword [rbp + 0x40]
add eax, r9d
mov dword [rsp + 0x6c], eax
call fcn.14013b330
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.14013b330
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x78]
call fcn.14013c100
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x60]
call fcn.14013c100
mov eax, dword [rsp + 0x48]
add eax, dword [rsp + 0x20]
mov dword [rbp + 0x48], eax
mov eax, dword [rsp + 0x4c]
add eax, dword [rsp + 0x24]
mov r10d, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x64]
mov edx, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x6c]
mov ebx, dword [rsp + 0x5c]
mov r11d, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x44]
mov r12d, dword [rsp + 0x34]
mov r14d, dword [rsp + 0x38]
mov edi, dword [rsp + 0x3c]
mov dword [rbp + 0x4c], eax
mov eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x50]
mov dword [rbp + 0x50], eax
mov eax, dword [rsp + 0x2c]
add eax, dword [rsp + 0x54]
mov dword [rbp + 0x54], eax
mov eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x58]
mov dword [rbp + 0x58], eax
lea eax, [r12 + rbx]
mov dword [rbp + 0x5c], eax
sub r12d, ebx
lea eax, [r14 + r10]
mov dword [rsp + 0x5c], r12d
mov dword [rbp + 0x60], eax
sub r14d, r10d
lea eax, [rdi + r8]
mov dword [rsp + 0x60], r14d
mov dword [rbp + 0x64], eax
sub edi, r8d
lea eax, [r11 + rdx]
mov dword [rsp + 0x64], edi
mov dword [rbp + 0x68], eax
lea r8, [rsp + 0x78]
lea eax, [r9 + rcx]
sub r11d, edx
mov dword [rbp + 0x6c], eax
lea rdx, [rbp - 0x60]
mov eax, dword [rsp + 0x20]
sub r9d, ecx
sub eax, dword [rsp + 0x48]
lea rcx, [rbp - 0x38]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x24]
sub eax, dword [rsp + 0x4c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x54]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x30]
sub eax, dword [rsp + 0x58]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x68], r11d
mov dword [rsp + 0x6c], r9d
call fcn.14013b330
mov eax, dword [rbp - 0x6c]
lea rdx, [rsp + 0x48]
sub dword [rbp - 0x44], eax
lea rcx, [rsp + 0x48]
mov eax, dword [rbp - 0x68]
sub dword [rbp - 0x40], eax
mov ebx, dword [rsp + 0x78]
mov edi, dword [rsp + 0x7c]
mov esi, dword [rbp - 0x80]
mov r14d, dword [rbp - 0x7c]
mov r15d, dword [rbp - 0x78]
mov r12d, dword [rbp - 0x74]
mov r13d, dword [rbp - 0x70]
sub dword [rbp - 0x60], ebx
sub dword [rbp - 0x5c], edi
sub dword [rbp - 0x58], esi
sub dword [rbp - 0x54], r14d
sub dword [rbp - 0x50], r15d
sub dword [rbp - 0x4c], r12d
sub dword [rbp - 0x48], r13d
mov eax, dword [rbp - 0x64]
sub dword [rbp - 0x3c], eax
call fcn.14013c100
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x20]
call fcn.14013bca0
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x48]
call fcn.14013c100
mov eax, dword [rbp - 0x6c]
lea r8, [rsp + 0x48]
add eax, dword [rsp + 0x3c]
lea rdx, [rbp + 0x98]
add ebx, dword [rsp + 0x20]
lea rcx, [rsp + 0x20]
add edi, dword [rsp + 0x24]
add esi, dword [rsp + 0x28]
add r14d, dword [rsp + 0x2c]
add r15d, dword [rsp + 0x30]
add r12d, dword [rsp + 0x34]
add r13d, dword [rsp + 0x38]
mov dword [rbp - 0x6c], eax
mov eax, dword [rbp - 0x68]
add eax, dword [rsp + 0x40]
mov dword [rbp - 0x68], eax
mov eax, dword [rbp - 0x64]
add eax, dword [rsp + 0x44]
mov dword [rbp - 0x64], eax
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x7c], edi
mov dword [rbp - 0x80], esi
mov dword [rbp - 0x7c], r14d
mov dword [rbp - 0x78], r15d
mov dword [rbp - 0x74], r12d
mov dword [rbp - 0x70], r13d
call fcn.14013b330
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x48]
call fcn.14013b330
mov r8d, dword [rbp + 0x44]
sub r8d, 1
mov dword [rbp + 0x44], r8d
js 0x140142603
mov ebx, dword [rbp - 0x38]
mov r10d, dword [rsp + 0x20]
mov edi, dword [rsp + 0x70]
jmp 0x140142006
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.14013b0b0
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.14013b330
mov rcx, qword [rbp + 0x100]
lea rdx, [rbp - 0x38]
call fcn.14013cc00
mov edx, 0x20
lea rcx, [rbp + 0x78]
call fcn.14006bdc0
mov rbx, qword [rsp + 0x210]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret