Function at 0x1401aa4c0
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.1401ff2b0
sub rsp, rax
mov rax, qword [0x1403df5c8]
xor rax, rsp
mov qword [rbp + 0xc8], rax
movups xmm0, xmmword [rdx]
mov qword [rbp - 0x78], rcx
lea rcx, [rbp + 0x80]
movups xmm1, xmmword [rdx + 0x10]
mov rdx, r8
xor edi, edi
movd eax, xmm0
movups xmmword [rbp + 0xb8], xmm1
and al, 0xf8
psrldq xmm1, 8
movups xmmword [rbp + 0xa8], xmm0
mov byte [rbp + 0xa8], al
movq rax, xmm1
shr rax, 0x38
and al, 0x3f
or al, 0x40
mov byte [rbp + 0xc7], al
call fcn.1401a31a0
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.14021ce50
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 0x1401aa5bc
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 [rsp + 0x20], edx
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 eax, edx
mov ecx, dword [rbp + 0x34]
xor eax, ecx
and eax, r9d
mov dword [rbp - 0x80], ebx
xor edx, eax
xor ecx, eax
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbp + 0x38]
mov dword [rsp + 0x58], edx
mov edx, dword [rbp + 0x60]
mov eax, edx
xor eax, ecx
and eax, r9d
xor edx, eax
xor ecx, eax
mov dword [rsp + 0x30], ecx
mov ecx, dword [rbp + 0x3c]
mov dword [rsp + 0x5c], edx
mov edx, dword [rbp + 0x64]
mov eax, edx
xor eax, ecx
and eax, r9d
xor edx, eax
xor ecx, eax
mov dword [rsp + 0x34], ecx
mov ecx, dword [rbp + 0x40]
mov dword [rsp + 0x60], edx
mov edx, dword [rbp + 0x68]
mov eax, edx
xor eax, ecx
and eax, r9d
xor edx, eax
xor ecx, eax
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbp + 0x44]
mov dword [rsp + 0x64], edx
mov edx, dword [rbp + 0x6c]
mov eax, edx
xor eax, ecx
and eax, r9d
xor edx, eax
xor ecx, eax
mov dword [rsp + 0x3c], ecx
mov ecx, dword [rbp + 0x48]
mov dword [rsp + 0x68], edx
mov edx, dword [rbp + 0x70]
mov eax, edx
xor eax, ecx
and eax, r9d
xor edx, eax
xor ecx, eax
mov dword [rsp + 0x40], ecx
mov ecx, dword [rbp + 0x4c]
mov dword [rsp + 0x6c], edx
mov edx, dword [rbp + 0x74]
mov eax, edx
xor eax, ecx
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 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 edi, dword [rbp - 0x54]
mov r8d, dword [rbp - 0x2c]
mov dword [rsp + 0x70], edx
mov edx, dword [rbp + 0x78]
mov eax, edx
xor eax, ecx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x48], ecx
mov ecx, dword [rbp + 0x54]
mov dword [rsp + 0x74], edx
mov edx, dword [rbp + 0x7c]
mov eax, edx
xor eax, ecx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x4c], ecx
mov eax, r10d
mov ecx, dword [rbp - 0x48]
xor eax, ecx
and eax, r9d
mov dword [rsp + 0x78], edx
mov edx, dword [rbp - 0x6c]
xor ecx, eax
xor r10d, eax
mov dword [rsp + 0x24], ecx
mov ecx, dword [rbp - 0x44]
mov eax, edx
xor eax, ecx
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, ecx
xor eax, r13d
mov dword [rbp - 0x6c], edx
and eax, r9d
xor ecx, eax
xor r13d, eax
mov dword [rbp - 0x68], ecx
mov ecx, dword [rbp - 0x64]
mov eax, ecx
xor eax, r15d
and eax, r9d
xor ecx, eax
xor r15d, eax
mov dword [rbp - 0x64], ecx
mov ecx, dword [rbp - 0x60]
mov eax, ecx
xor eax, esi
and eax, r9d
xor ecx, eax
xor esi, eax
mov eax, r12d
mov dword [rbp - 0x60], ecx
xor eax, ebx
and eax, r9d
xor r12d, eax
xor ebx, eax
mov eax, r14d
mov dword [rbp - 0x5c], r12d
xor eax, r10d
and eax, r9d
xor r10d, eax
xor r14d, eax
mov eax, edi
mov dword [rbp - 0x58], r14d
xor eax, r8d
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, r11d
xor eax, edx
and eax, r9d
mov r9d, dword [rbp - 0x4c]
xor r11d, eax
xor edx, eax
mov eax, r9d
mov dword [rbp - 0x50], r11d
xor eax, ecx
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.1401a36f0
lea r8, [rbp + 8]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1401a36f0
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x20]
call fcn.1401a44d0
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 8]
call fcn.1401a44d0
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 - 0x30]
mov r8d, dword [rbp - 0x2c]
mov edx, dword [rbp - 0x28]
mov ecx, dword [rbp - 0x24]
mov ebx, dword [rbp - 0x34]
mov r11d, dword [rbp - 0x50]
mov r9d, dword [rbp - 0x4c]
mov r12d, dword [rbp - 0x5c]
mov r14d, dword [rbp - 0x58]
mov edi, dword [rbp - 0x54]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp - 0x68]
add eax, dword [rbp - 0x40]
mov dword [rbp + 0x60], eax
mov eax, dword [rbp - 0x64]
add eax, dword [rbp - 0x3c]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp - 0x60]
add eax, dword [rbp - 0x38]
mov dword [rbp + 0x68], eax
lea eax, [r12 + rbx]
mov dword [rbp + 0x6c], eax
sub r12d, ebx
lea eax, [r14 + r10]
mov dword [rbp - 0x34], r12d
mov dword [rbp + 0x70], eax
sub r14d, r10d
lea eax, [rdi + r8]
mov dword [rbp - 0x30], r14d
mov dword [rbp + 0x74], eax
sub edi, r8d
lea eax, [r11 + rdx]
mov dword [rbp - 0x2c], edi
mov dword [rbp + 0x78], eax
lea r8, [rbp - 0x20]
lea eax, [r9 + rcx]
sub r11d, edx
mov dword [rbp + 0x7c], eax
lea rdx, [rbp + 8]
mov eax, dword [rbp - 0x70]
sub r9d, 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 - 0x3c], eax
mov eax, dword [rbp - 0x60]
sub eax, dword [rbp - 0x38]
mov dword [rbp - 0x38], eax
mov dword [rbp - 0x28], r11d
mov dword [rbp - 0x24], r9d
call fcn.1401a36f0
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.1401a44d0
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x70]
call fcn.1401a4060
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x58]
call fcn.1401a44d0
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.1401a36f0
lea r8, [rbp - 0x20]
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x48]
call fcn.1401a36f0
mov r8d, dword [rsp + 0x7c]
sub r8d, 1
mov dword [rsp + 0x7c], r8d
js 0x1401aab6d
mov ebx, dword [rbp + 0x30]
mov r10d, dword [rbp - 0x70]
mov edi, dword [rsp + 0x20]
jmp 0x1401aa5b0
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1401a3470
lea r8, [rbp - 0x48]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.1401a36f0
mov rcx, qword [rbp - 0x78]
lea rdx, [rbp + 0x30]
call fcn.1401a4fd0
mov edx, 0x20
lea rcx, [rbp + 0xa8]
call fcn.14011b1f0
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.1401fe5e0
mov rbx, qword [rsp + 0x228]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret