Function at 0x180109350
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.180188f30
sub rsp, rax
mov rax, qword [0x180237160]
xor rax, rsp
mov qword [rbp + 0xc8], rax
mov rax, qword [rdx]
mov qword [rbp - 0x78], rcx
lea rcx, [rbp + 0x80]
mov qword [rbp + 0xa8], rax
mov rax, qword [rdx + 8]
and byte [rbp + 0xa8], 0xf8
mov qword [rbp + 0xb0], rax
mov rax, qword [rdx + 0x10]
mov dword [rsp + 0x20], 0
mov qword [rbp + 0xb8], rax
mov rax, qword [rdx + 0x18]
mov rdx, r8
mov qword [rbp + 0xc0], rax
shr rax, 0x38
and al, 0x3f
or al, 0x40
mov byte [rbp + 0xc7], al
call fcn.180105590
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rbp + 0x30]
call fcn.180189610
mov ebx, 1
lea rcx, [rbp - 0x48]
lea r8d, [rbx + 0x27]
xor edx, edx
call fcn.180189610
lea r8d, [rbx + 0x27]
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x58]
call fcn.180183a80
lea r8d, [rbx + 0x27]
lea rcx, [rbp - 0x70]
xor edx, edx
call fcn.180189610
mov ecx, 0xfe
mov r8d, ebx
mov dword [rsp + 0x58], ecx
nop word [rax + rax]
mov r9d, dword [rsp + 0x20]
mov eax, ecx
movzx ecx, cl
shr eax, 3
and ecx, 7
movzx edx, byte [rbp + rax + 0xa8]
shr edx, cl
mov ecx, dword [rbp + 0x58]
and edx, 1
mov eax, ecx
xor eax, ebx
xor r9d, edx
mov dword [rbp - 0x7c], edx
mov edx, dword [rbp + 0x5c]
neg r9d
and eax, r9d
mov dword [rsp + 0x20], r9d
xor ecx, eax
xor ebx, eax
mov dword [rsp + 0x78], ecx
mov ecx, dword [rbp + 0x34]
mov dword [rsp + 0x74], ebx
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x6c], ecx
mov ecx, dword [rbp + 0x38]
mov dword [rbp - 0x80], edx
mov edx, dword [rbp + 0x60]
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x7c], ecx
mov ecx, dword [rbp + 0x3c]
mov dword [rsp + 0x64], edx
mov edx, dword [rbp + 0x64]
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x3c], ecx
mov ecx, dword [rbp + 0x40]
mov dword [rsp + 0x24], edx
mov edx, dword [rbp + 0x68]
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x60], ecx
mov ecx, dword [rbp + 0x44]
mov dword [rsp + 0x28], edx
mov edx, dword [rbp + 0x6c]
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x44], ecx
mov ecx, dword [rbp + 0x48]
mov dword [rsp + 0x30], edx
mov edx, dword [rbp + 0x70]
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x68], ecx
mov ecx, dword [rbp + 0x4c]
mov dword [rsp + 0x38], edx
mov edx, dword [rbp + 0x74]
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
mov dword [rsp + 0x4c], ecx
xor edx, eax
mov ecx, dword [rbp + 0x50]
mov r15d, dword [rbp - 0x40]
mov r14d, dword [rbp - 0x5c]
mov r13d, dword [rbp - 0x3c]
mov r12d, dword [rbp - 0x58]
mov esi, dword [rbp - 0x38]
mov ebx, dword [rbp - 0x34]
mov r10d, dword [rbp - 0x30]
mov edi, dword [rbp - 0x54]
mov eax, ecx
mov dword [rsp + 0x40], edx
mov edx, dword [rbp + 0x78]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x70], ecx
mov ecx, dword [rbp + 0x54]
mov dword [rsp + 0x48], edx
mov edx, dword [rbp + 0x7c]
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x54], ecx
mov ecx, dword [rbp - 0x48]
mov dword [rsp + 0x50], edx
mov edx, dword [rbp - 0x6c]
mov eax, ecx
xor eax, r8d
and eax, r9d
xor ecx, eax
xor r8d, eax
mov dword [rsp + 0x2c], ecx
mov ecx, dword [rbp - 0x44]
mov dword [rsp + 0x5c], r8d
mov eax, ecx
mov dword [rbp - 0x70], r8d
mov r8d, dword [rbp - 0x2c]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov eax, r15d
mov dword [rsp + 0x34], ecx
mov ecx, dword [rbp - 0x68]
mov dword [rbp - 0x6c], edx
xor eax, ecx
and eax, r9d
xor ecx, eax
xor r15d, eax
mov eax, r13d
mov dword [rbp - 0x68], ecx
mov ecx, dword [rbp - 0x64]
xor eax, ecx
and eax, r9d
xor ecx, eax
xor r13d, eax
mov eax, esi
mov dword [rbp - 0x64], ecx
mov ecx, dword [rbp - 0x60]
xor eax, ecx
and eax, r9d
xor ecx, eax
xor esi, eax
mov eax, ebx
xor eax, r14d
mov dword [rbp - 0x60], ecx
and eax, r9d
xor r14d, eax
xor ebx, eax
mov eax, r10d
xor eax, r12d
mov dword [rbp - 0x5c], r14d
and eax, r9d
xor r10d, eax
xor r12d, eax
mov eax, r8d
mov dword [rbp - 0x58], r12d
xor eax, edi
mov r11d, dword [rbp - 0x50]
mov edx, dword [rbp - 0x28]
and eax, r9d
mov ecx, dword [rbp - 0x24]
xor edi, eax
xor r8d, eax
mov eax, edx
xor eax, r11d
mov dword [rbp - 0x54], edi
and eax, r9d
mov r9d, dword [rbp - 0x4c]
xor r11d, eax
xor edx, eax
mov eax, ecx
xor eax, r9d
mov dword [rbp - 0x50], r11d
and eax, dword [rsp + 0x20]
xor r9d, eax
xor ecx, eax
mov eax, dword [rbp - 0x7c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x78]
mov dword [rbp - 0x4c], r9d
sub eax, dword [rsp + 0x5c]
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x80]
sub eax, dword [rbp - 0x6c]
mov dword [rbp - 0x1c], eax
mov eax, dword [rsp + 0x64]
sub eax, dword [rbp - 0x68]
mov dword [rbp - 0x18], eax
mov eax, dword [rsp + 0x24]
sub eax, dword [rbp - 0x64]
mov dword [rbp - 0x14], eax
mov eax, dword [rsp + 0x28]
sub eax, dword [rbp - 0x60]
mov dword [rbp - 0x10], eax
mov eax, dword [rsp + 0x30]
sub eax, r14d
mov dword [rbp - 0xc], eax
mov eax, dword [rsp + 0x38]
sub eax, r12d
mov dword [rbp - 8], eax
mov eax, dword [rsp + 0x40]
sub eax, edi
mov dword [rbp - 4], eax
mov eax, dword [rsp + 0x48]
sub eax, r11d
mov dword [rbp], eax
mov eax, dword [rsp + 0x50]
sub eax, r9d
mov dword [rbp + 4], eax
mov eax, dword [rsp + 0x74]
sub eax, dword [rsp + 0x2c]
mov dword [rbp + 8], eax
mov eax, dword [rsp + 0x6c]
sub eax, dword [rsp + 0x34]
mov dword [rbp + 0xc], eax
mov eax, dword [rsp + 0x7c]
sub eax, r15d
mov dword [rbp + 0x10], eax
mov eax, dword [rsp + 0x3c]
sub eax, r13d
mov dword [rbp + 0x14], eax
mov eax, dword [rsp + 0x60]
sub eax, esi
mov dword [rbp + 0x18], eax
mov eax, dword [rsp + 0x44]
sub eax, ebx
mov dword [rbp + 0x1c], eax
mov eax, dword [rsp + 0x68]
sub eax, r10d
mov dword [rbp + 0x20], eax
mov eax, dword [rsp + 0x4c]
sub eax, r8d
mov dword [rbp + 0x24], eax
mov eax, dword [rsp + 0x70]
sub eax, edx
mov dword [rbp + 0x28], eax
mov eax, dword [rsp + 0x54]
sub eax, ecx
mov dword [rbp + 0x2c], eax
mov eax, dword [rsp + 0x74]
add eax, dword [rsp + 0x2c]
mov dword [rbp + 0x30], eax
mov eax, dword [rsp + 0x6c]
add eax, dword [rsp + 0x34]
mov dword [rbp + 0x34], eax
mov eax, dword [rsp + 0x7c]
add eax, r15d
mov dword [rbp + 0x38], eax
mov eax, dword [rsp + 0x3c]
add eax, r13d
mov dword [rbp + 0x3c], eax
mov eax, dword [rsp + 0x60]
add eax, esi
mov dword [rbp + 0x40], eax
mov eax, dword [rsp + 0x44]
add eax, ebx
mov dword [rbp + 0x44], eax
mov eax, dword [rsp + 0x68]
add eax, r10d
mov dword [rbp + 0x48], eax
mov eax, dword [rsp + 0x4c]
add eax, r8d
lea r8, [rbp + 0x30]
mov dword [rbp + 0x4c], eax
mov eax, dword [rsp + 0x70]
add eax, edx
lea rdx, [rbp - 0x20]
mov dword [rbp + 0x50], eax
mov eax, dword [rsp + 0x54]
add eax, ecx
lea rcx, [rbp - 0x70]
mov dword [rbp + 0x54], eax
mov eax, dword [rsp + 0x78]
add eax, dword [rsp + 0x5c]
mov dword [rbp - 0x48], eax
mov eax, dword [rbp - 0x6c]
add eax, dword [rbp - 0x80]
mov dword [rbp - 0x44], eax
mov eax, dword [rbp - 0x68]
add eax, dword [rsp + 0x64]
mov dword [rbp - 0x40], eax
mov eax, dword [rbp - 0x64]
add eax, dword [rsp + 0x24]
mov dword [rbp - 0x3c], eax
mov eax, dword [rbp - 0x60]
add eax, dword [rsp + 0x28]
mov dword [rbp - 0x38], eax
mov eax, dword [rsp + 0x30]
add eax, r14d
mov dword [rbp - 0x34], eax
mov eax, dword [rsp + 0x38]
add eax, r12d
mov dword [rbp - 0x30], eax
mov eax, dword [rsp + 0x40]
add eax, edi
mov dword [rbp - 0x2c], eax
mov eax, dword [rsp + 0x48]
add eax, r11d
mov dword [rbp - 0x28], eax
mov eax, dword [rsp + 0x50]
add eax, r9d
mov dword [rbp - 0x24], eax
call fcn.180105b10
lea r8, [rbp + 8]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.180105b10
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x20]
call fcn.1801064b0
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 8]
call fcn.1801064b0
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 r15d, dword [rbp - 0x3c]
mov ecx, dword [rbp - 0x24]
mov r13d, 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 r14d, dword [rbp - 0x60]
mov r12d, 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, r15d
mov dword [rbp + 0x64], eax
lea eax, [r13 + r14]
sub r14d, r13d
mov dword [rbp + 0x68], eax
lea eax, [rsi + r12]
sub r12d, esi
mov dword [rbp + 0x6c], eax
lea eax, [rbx + rdi]
sub edi, ebx
mov dword [rbp + 0x70], eax
lea eax, [r10 + r11]
sub r11d, r10d
mov dword [rbp + 0x74], eax
lea eax, [r8 + r9]
sub r9d, r8d
mov dword [rbp + 0x78], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov dword [rbp + 0x7c], eax
mov eax, dword [rbp - 0x70]
mov dword [rbp - 0x24], edx
sub eax, dword [rbp - 0x48]
lea r8, [rbp - 0x20]
lea rdx, [rbp + 8]
mov dword [rbp - 0x48], eax
mov eax, dword [rbp - 0x6c]
lea rcx, [rbp + 0x30]
sub eax, dword [rbp - 0x44]
mov dword [rbp - 0x38], r14d
mov dword [rbp - 0x34], r12d
mov dword [rbp - 0x44], eax
mov eax, dword [rbp - 0x68]
mov dword [rbp - 0x30], edi
sub eax, dword [rbp - 0x40]
mov dword [rbp - 0x2c], r11d
mov dword [rbp - 0x28], r9d
mov dword [rbp - 0x40], eax
mov eax, dword [rbp - 0x64]
sub eax, r15d
mov dword [rbp - 0x3c], eax
call fcn.180105b10
mov eax, dword [rbp - 4]
sub dword [rbp + 0x24], eax
mov eax, dword [rbp]
mov ebx, dword [rbp - 0x20]
sub dword [rbp + 0x28], eax
mov edi, dword [rbp - 0x1c]
mov esi, dword [rbp - 0x18]
mov r12d, dword [rbp - 0x14]
mov r13d, dword [rbp - 0x10]
mov r14d, dword [rbp - 0xc]
mov r15d, dword [rbp - 8]
mov eax, dword [rbp + 4]
sub dword [rbp + 8], ebx
sub dword [rbp + 0xc], edi
sub dword [rbp + 0x10], esi
sub dword [rbp + 0x14], r12d
sub dword [rbp + 0x18], r13d
sub dword [rbp + 0x1c], r14d
sub dword [rbp + 0x20], r15d
sub dword [rbp + 0x2c], eax
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.1801064b0
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x70]
call fcn.180109160
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x58]
call fcn.1801064b0
mov eax, dword [rbp - 4]
add ebx, dword [rbp - 0x70]
add eax, dword [rbp - 0x54]
add edi, dword [rbp - 0x6c]
add esi, dword [rbp - 0x68]
add r12d, dword [rbp - 0x64]
add r13d, dword [rbp - 0x60]
add r14d, dword [rbp - 0x5c]
add r15d, dword [rbp - 0x58]
mov dword [rbp - 4], eax
mov eax, dword [rbp]
add eax, dword [rbp - 0x50]
lea r8, [rbp - 0x48]
lea rdx, [rbp + 0x80]
mov dword [rbp], eax
mov eax, dword [rbp + 4]
lea rcx, [rbp - 0x70]
add eax, dword [rbp - 0x4c]
mov dword [rbp - 0x20], ebx
mov dword [rbp - 0x1c], edi
mov dword [rbp - 0x18], esi
mov dword [rbp - 0x14], r12d
mov dword [rbp - 0x10], r13d
mov dword [rbp + 4], eax
mov dword [rbp - 0xc], r14d
mov dword [rbp - 8], r15d
call fcn.180105b10
lea r8, [rbp - 0x20]
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x48]
call fcn.180105b10
mov ecx, dword [rsp + 0x58]
dec ecx
mov dword [rsp + 0x58], ecx
js 0x1801099ec
mov ebx, dword [rbp + 0x30]
mov r8d, dword [rbp - 0x70]
jmp 0x180109440
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.180106a20
lea r8, [rbp - 0x48]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.180105b10
mov rcx, qword [rbp - 0x78]
lea rdx, [rbp + 0x30]
call fcn.180105870
lea rcx, [rbp + 0xa8]
mov edx, 0x20
call fcn.1800b6ec0
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.180183a50
mov rbx, qword [rsp + 0x228]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret