Function at 0x140009580
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x218
movaps xmmword [rsp + 0x1f0], xmm6
movaps xmmword [rsp + 0x200], xmm7
xor r8d, r8d
xor r11d, r11d
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x130]
lea r13, [rsp + 0xd0]
mov qword [rsp + 0x60], rax
lea rdi, [rsp + 0x110]
mov r9, r13
mov qword [rsp + 0x50], rdx
lea rax, [rsp + 0x150]
mov r13, rdi
mov qword [rsp + 0xd0], 1
mov qword [rsp + 0xd8], 0
lea r12, [rsp + 0xb0]
mov qword [rsp + 0xe0], 0
lea rsi, [rsp + 0x1b0]
mov qword [rsp + 0xe8], 0
lea rbx, [rsp + 0x1d0]
mov qword [rsp + 0xf0], 1
lea r15, [rsp + 0x170]
mov qword [rsp + 0xf8], 0
lea r14, [rsp + 0x190]
mov qword [rsp + 0x100], 0
lea rbp, [rsp + 0x1f0]
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], 0
mov qword [rsp + 0xb0], 9
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x38], 0xfd
mov qword [rsp + 0x58], rax
nop word [rax + rax]
mov edi, dword [rsp + 0x38]
xor edx, edx
mov rcx, qword [rsp + 0x50]
mov eax, edi
and edi, 7
sar eax, 3
cdqe
movzx eax, byte [rcx + rax]
mov ecx, edi
sar eax, cl
and eax, 1
mov dword [rsp + 0x3c], eax
xor eax, eax
nop
movzx ecx, byte [r12 + rax]
shr dx, 8
movzx edi, byte [r9 + rax]
add ecx, edi
add edx, ecx
mov byte [rsi + rax], dl
add rax, 1
cmp rax, 0x20
jne 0x140006ae0
and byte [rsp + 0x1cf], 0x7f
shr dx, 7
mov rdi, rsi
mov rcx, rsi
lea eax, [rdx + rdx*8]
lea eax, [rdx + rax*2]
nop word [rax + rax]
movzx edx, byte [rcx]
add rcx, 1
add eax, edx
mov byte [rcx - 1], al
shr ax, 8
cmp rbx, rcx
jne 0x140006b20
mov qword [rsp + 0x40], rbp
mov rbp, qword [rsp + 0x20]
xor ecx, ecx
mov r10, rdi
mov eax, 0xda
nop dword [rax]
movzx edx, byte [rbp + rcx]
movzx edi, byte [r13 + rcx]
add edx, 0xff00
sub edx, edi
add edx, eax
mov byte [rbx + rcx], dl
mov eax, edx
add rcx, 1
shr eax, 8
cmp rcx, 0x1f
jne 0x140006b50
movzx edx, r11b
movzx ecx, r8b
mov rbp, qword [rsp + 0x40]
mov rdi, r10
sub edx, ecx
mov r11, rbx
add eax, edx
mov edx, eax
shr eax, 7
and edx, 0x7f
mov byte [rsp + 0x1ef], dl
lea edx, [rax + rax*8]
lea eax, [rax + rdx*2]
mov rdx, rbx
nop word cs:[rax + rax]
movzx ecx, byte [rdx]
add rdx, 1
add eax, ecx
mov byte [rdx - 1], al
shr eax, 8
cmp rbp, rdx
jne 0x140006bb0
mov rdx, rsi
mov rcx, r15
mov r8, rbx
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], r9
call fcn.140005960
mov r11, qword [rsp + 0x48]
xor ecx, ecx
mov edx, 0xda
mov r9, qword [rsp + 0x40]
nop dword [rax]
movzx eax, byte [r12 + rcx]
movzx r8d, byte [r9 + rcx]
add eax, 0xff00
sub eax, r8d
add eax, edx
mov byte [rbx + rcx], al
add rcx, 1
shr eax, 8
cmp rcx, 0x1f
mov edx, eax
jne 0x140006bf0
movzx edx, byte [rsp + 0x30]
movzx ecx, byte [rsp + 0x28]
sub edx, ecx
add eax, edx
mov edx, eax
shr eax, 7
and edx, 0x7f
mov byte [rsp + 0x1ef], dl
lea edx, [rax + rax*8]
lea eax, [rax + rdx*2]
nop dword [rax]
movzx edx, byte [r11]
add r11, 1
add eax, edx
mov byte [r11 - 1], al
shr eax, 8
cmp rbp, r11
jne 0x140006c40
mov r8, qword [rsp + 0x20]
xor eax, eax
xor edx, edx
nop
movzx ecx, byte [r8 + rax]
shr dx, 8
movzx r11d, byte [r13 + rax]
add ecx, r11d
add edx, ecx
mov byte [rsi + rax], dl
add rax, 1
cmp rax, 0x20
jne 0x140006c60
and byte [rsp + 0x1cf], 0x7f
shr dx, 7
lea eax, [rdx + rdx*8]
lea eax, [rdx + rax*2]
mov rdx, rsi
nop word cs:[rax + rax]
movzx ecx, byte [rdx]
add rdx, 1
add eax, ecx
mov byte [rdx - 1], al
shr ax, 8
cmp rdx, rbx
jne 0x140006ca0
mov rdx, rsi
mov r8, rbx
mov rcx, r14
mov qword [rsp + 0x28], r9
call fcn.140005960
mov r9, qword [rsp + 0x28]
xor eax, eax
xor edx, edx
nop dword [rax]
movzx ecx, byte [r15 + rax]
shr dx, 8
movzx r8d, byte [r14 + rax]
add ecx, r8d
add edx, ecx
mov byte [rsi + rax], dl
add rax, 1
cmp rax, 0x20
jne 0x140006cd8
and byte [rsp + 0x1cf], 0x7f
shr dx, 7
lea eax, [rdx + rdx*8]
lea eax, [rdx + rax*2]
mov rdx, rsi
nop dword [rax]
movzx ecx, byte [rdx]
add rdx, 1
add eax, ecx
mov byte [rdx - 1], al
shr ax, 8
cmp rbx, rdx
jne 0x140006d10
mov r8, rsi
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x28], r9
call fcn.140005960
mov rcx, qword [rsp + 0x20]
lea rdx, [0x1400c6660]
mov r8, rbx
call fcn.140005960
mov r9, qword [rsp + 0x28]
xor ecx, ecx
mov edx, 0xda
nop dword [rax + rax]
movzx eax, byte [r15 + rcx]
movzx r8d, byte [r14 + rcx]
add eax, 0xff00
sub eax, r8d
add eax, edx
mov byte [rsi + rcx], al
add rcx, 1
shr eax, 8
cmp rcx, 0x1f
mov edx, eax
jne 0x140006d60
movzx edx, byte [rsp + 0x18f]
movzx ecx, byte [rsp + 0x1af]
sub edx, ecx
add eax, edx
mov edx, eax
shr eax, 7
and edx, 0x7f
mov byte [rsp + 0x1cf], dl
lea edx, [rax + rax*8]
lea eax, [rax + rdx*2]
nop
movzx edx, byte [rdi]
add rdi, 1
add eax, edx
mov byte [rdi - 1], al
shr eax, 8
cmp rdi, rbx
jne 0x140006db0
mov r8, rsi
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x28], r9
call fcn.140005960
lea r10, [0x1400c6380]
mov r8, rbx
mov rcx, r13
mov rdx, r10
call fcn.140005960
mov r9, qword [rsp + 0x28]
mov r8, r12
mov rcx, r12
mov rdx, r9
call fcn.1400066e0
mov r9, qword [rsp + 0x28]
xor eax, eax
xor edx, edx
lea r10, [0x1400c6380]
nop
movzx ecx, byte [r12 + rax]
shr dx, 8
movzx r8d, byte [r9 + rax]
add ecx, r8d
add edx, ecx
mov byte [rsi + rax], dl
add rax, 1
cmp rax, 0x20
jne 0x140006e10
and byte [rsp + 0x1cf], 0x7f
shr dx, 7
mov rdi, rsi
lea eax, [rdx + rdx*8]
lea eax, [rdx + rax*2]
mov rdx, rsi
nop dword [rax + rax]
movzx ecx, byte [rdx]
add rdx, 1
add eax, ecx
mov byte [rdx - 1], al
shr ax, 8
cmp rbx, rdx
jne 0x140006e50
xor edx, edx
mov ecx, 0xda
nop dword [rax]
movzx eax, byte [r10 + rdx]
lea r11, [0x1400c6660]
movzx r8d, byte [r11 + rdx]
add eax, 0xff00
sub eax, r8d
add eax, ecx
mov byte [rbx + rdx], al
mov ecx, eax
add rdx, 1
shr ecx, 8
cmp rdx, 0x1f
jne 0x140006e70
shr eax, 0xf
and ecx, 0x7f
mov r11, rbx
lea edx, [rax + rax*8]
mov byte [rsp + 0x1ef], cl
lea eax, [rax + rdx*2]
mov rdx, rbx
nop word cs:[rax + rax]
movzx ecx, byte [rdx]
add rdx, 1
add eax, ecx
mov byte [rdx - 1], al
shr eax, 8
cmp rbp, rdx
jne 0x140006ec0
mov rdx, rsi
mov rcx, r15
mov r8, rbx
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x28], r9
call fcn.140005960
mov r11, qword [rsp + 0x30]
mov eax, 0xda
xor ecx, ecx
mov r9, qword [rsp + 0x28]
lea r10, [0x1400c6380]
mov edx, eax
nop word cs:[rax + rax]
movzx eax, byte [r12 + rcx]
movzx r8d, byte [r9 + rcx]
add eax, 0xff00
sub eax, r8d
add eax, edx
mov byte [rbx + rcx], al
add rcx, 1
shr eax, 8
cmp rcx, 0x1f
mov edx, eax
jne 0x140006f10
movzx edx, byte [rsp + 0xcf]
movzx ecx, byte [rsp + 0xef]
sub edx, ecx
add eax, edx
mov edx, eax
shr eax, 7
and edx, 0x7f
mov byte [rsp + 0x1ef], dl
lea edx, [rax + rax*8]
lea eax, [rax + rdx*2]
nop
movzx edx, byte [r11]
add r11, 1
add eax, edx
mov byte [r11 - 1], al
shr eax, 8
cmp rbp, r11
jne 0x140006f60
xor eax, eax
xor edx, edx
nop word [rax + rax]
lea r11, [0x1400c6660]
movzx ecx, byte [r10 + rax]
shr dx, 8
movzx r8d, byte [r11 + rax]
add ecx, r8d
add edx, ecx
mov byte [rsi + rax], dl
add rax, 1
cmp rax, 0x20
jne 0x140006f80
and byte [rsp + 0x1cf], 0x7f
shr dx, 7
lea eax, [rdx + rdx*8]
lea eax, [rdx + rax*2]
mov rdx, rsi
nop dword [rax]
movzx ecx, byte [rdx]
add rdx, 1
add eax, ecx
mov byte [rdx - 1], al
shr ax, 8
cmp rbx, rdx
jne 0x140006fc0
mov rdx, rsi
mov r8, rbx
mov rcx, r14
mov qword [rsp + 0x28], r9
call fcn.140005960
mov r9, qword [rsp + 0x28]
xor eax, eax
xor edx, edx
nop dword [rax]
movzx ecx, byte [r15 + rax]
shr dx, 8
movzx r8d, byte [r14 + rax]
add ecx, r8d
add edx, ecx
mov byte [rsi + rax], dl
add rax, 1
cmp rax, 0x20
jne 0x140006ff8
and byte [rsp + 0x1cf], 0x7f
shr dx, 7
lea eax, [rdx + rdx*8]
lea eax, [rdx + rax*2]
mov rdx, rsi
nop dword [rax]
movzx ecx, byte [rdx]
add rdx, 1
add eax, ecx
mov byte [rdx - 1], al
shr ax, 8
cmp rbx, rdx
jne 0x140007030
mov r8, rsi
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x28], r9
call fcn.140005960
mov rcx, qword [rsp + 0x60]
mov rdx, r13
mov r8, rbx
call fcn.140005960
mov r9, qword [rsp + 0x28]
xor ecx, ecx
mov edx, 0xda
nop dword [rax]
movzx eax, byte [r15 + rcx]
movzx r8d, byte [r14 + rcx]
add eax, 0xff00
sub eax, r8d
add eax, edx
mov byte [rsi + rcx], al
add rcx, 1
shr eax, 8
cmp rcx, 0x1f
mov edx, eax
jne 0x140007078
movzx edx, byte [rsp + 0x18f]
movzx ecx, byte [rsp + 0x1af]
sub edx, ecx
add eax, edx
mov edx, eax
shr eax, 7
and edx, 0x7f
mov byte [rsp + 0x1cf], dl
lea edx, [rax + rax*8]
lea eax, [rax + rdx*2]
nop word [rax + rax]
movzx edx, byte [rdi]
add rdi, 1
add eax, edx
mov byte [rdi - 1], al
shr eax, 8
cmp rbx, rdi
jne 0x1400070d0
mov r8, rsi
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x28], r9
call fcn.140005960
mov rdx, qword [rsp + 0x20]
mov r8, rbx
mov rcx, qword [rsp + 0x58]
call fcn.140005960
movzx eax, byte [rsp + 0x3c]
movdqa xmm2, xmmword [rsp + 0xf0]
movdqa xmm4, xmmword [rsp + 0xb0]
movdqa xmm7, xmmword [rsp + 0xc0]
movdqa xmm1, xmm2
neg eax
pxor xmm1, xmm4
movdqa xmm3, xmmword [rsp + 0x110]
movd xmm0, eax
mov r9, qword [rsp + 0x28]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pand xmm1, xmm0
pxor xmm1, xmm2
sub dword [rsp + 0x38], 1
movdqa xmm2, xmm7
movaps xmmword [rsp + 0xf0], xmm1
movdqa xmm1, xmmword [rsp + 0x100]
movdqa xmm6, xmmword [rsp + 0xd0]
movdqa xmm5, xmmword [rsp + 0xe0]
pxor xmm2, xmm1
pand xmm2, xmm0
pxor xmm2, xmm1
movdqa xmm1, xmm3
mov eax, dword [rsp + 0x38]
movaps xmmword [rsp + 0x100], xmm2
pxor xmm1, xmm6
pand xmm1, xmm0
pxor xmm1, xmm3
movdqa xmm3, xmmword [rsp + 0x120]
movaps xmmword [rsp + 0x110], xmm1
movdqa xmm1, xmm5
pxor xmm1, xmm3
pand xmm1, xmm0
pxor xmm1, xmm3
movdqa xmm3, xmmword [rsp + 0x130]
cmp eax, 0xffffffff
movaps xmmword [rsp + 0x120], xmm1
pxor xmm3, xmm4
pand xmm3, xmm0
pxor xmm3, xmm4
movaps xmmword [rsp + 0xb0], xmm3
movdqa xmm3, xmmword [rsp + 0x150]
movdqa xmm4, xmmword [rsp + 0x140]
pxor xmm3, xmm6
pand xmm3, xmm0
pxor xmm3, xmm6
movaps xmmword [rsp + 0xd0], xmm3
movdqa xmm3, xmmword [rsp + 0x160]
pxor xmm4, xmm7
pand xmm4, xmm0
pxor xmm4, xmm7
movaps xmmword [rsp + 0xc0], xmm4
pxor xmm3, xmm5
pand xmm0, xmm3
pxor xmm0, xmm5
movaps xmmword [rsp + 0xe0], xmm0
je 0x140007299
movaps xmmword [rsp + 0xa0], xmm4
movzx eax, byte [rsp + 0xaf]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm2
movzx r11d, byte [rsp + 0x8f]
movaps xmmword [rsp + 0x70], xmm1
movzx r8d, byte [rsp + 0x7f]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x9f]
mov byte [rsp + 0x28], al
jmp 0x140006ab8
mov rdx, r9
mov rcx, r13
call fcn.140005a50
mov rsi, qword [rsp + 0x68]
mov r8, r12
mov rdx, r13
mov rcx, rsi
call fcn.140005960
nop
movaps xmm6, xmmword [rsp + 0x1f0]
mov rcx, rsi
movaps xmm7, xmmword [rsp + 0x200]
add rsp, 0x218
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.140005890
mov rax, qword [r8]
lea r10, [r8 + 0x20]
mov r9, rcx
mov rcx, rdx
mov qword [r9], rax
mov rax, qword [r8 + 8]
mov qword [r9 + 8], rax
mov rax, qword [r8 + 0x10]
mov qword [r9 + 0x10], rax
mov rax, qword [r8 + 0x18]
mov qword [r9 + 0x18], rax
nop dword [rax + rax]
mov rax, r8
add r8, 1
cmp r8, r10
mov byte [rax], 0
jne 0x1400095b0
movzx eax, byte [r9 + 0x1f]
mov rdx, r9
and byte [r9], 0xf8
and eax, 0x7f
or eax, 0x40
mov byte [r9 + 0x1f], al
jmp 0x140006940