Function at 0x18025f150
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.18014c9d0
sub rsp, rax
mov rax, qword [0x1803b0b00]
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.18025c3e0
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rbp - 0x20]
call fcn.18014af80
mov ebx, 1
lea rcx, [rbp - 0x70]
lea r8d, [rbx + 0x27]
xor edx, edx
call fcn.18014af80
lea r8d, [rbx + 0x27]
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 8]
call fcn.180147850
lea r8d, [rbx + 0x27]
lea rcx, [rbp - 0x48]
xor edx, edx
call fcn.18014af80
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 + 8]
and edx, 1
mov eax, ecx
xor eax, ebx
xor r9d, edx
mov dword [rsp + 0x60], edx
mov edx, dword [rbp + 0xc]
neg r9d
and eax, r9d
mov dword [rsp + 0x20], r9d
xor ecx, eax
xor ebx, eax
mov dword [rsp + 0x74], ecx
mov ecx, dword [rbp - 0x1c]
mov dword [rbp - 0x7c], ebx
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x78], ecx
mov ecx, dword [rbp - 0x18]
mov dword [rsp + 0x7c], edx
mov edx, dword [rbp + 0x10]
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x70], ecx
mov ecx, dword [rbp - 0x14]
mov dword [rsp + 0x64], edx
mov edx, dword [rbp + 0x14]
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x3c], ecx
mov ecx, dword [rbp - 0x10]
mov dword [rsp + 0x24], edx
mov edx, dword [rbp + 0x18]
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rbp - 0x80], ecx
mov ecx, dword [rbp - 0xc]
mov dword [rsp + 0x28], edx
mov edx, dword [rbp + 0x1c]
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x44], ecx
mov ecx, dword [rbp - 8]
mov dword [rsp + 0x30], edx
mov edx, dword [rbp + 0x20]
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x68], ecx
mov ecx, dword [rbp - 4]
mov dword [rsp + 0x38], edx
mov edx, dword [rbp + 0x24]
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
mov dword [rsp + 0x4c], ecx
xor edx, eax
mov ecx, dword [rbp]
mov r15d, dword [rbp - 0x68]
mov r14d, dword [rbp - 0x34]
mov r13d, dword [rbp - 0x64]
mov r12d, dword [rbp - 0x30]
mov esi, dword [rbp - 0x60]
mov ebx, dword [rbp - 0x5c]
mov r10d, dword [rbp - 0x58]
mov edi, dword [rbp - 0x2c]
mov eax, ecx
mov dword [rsp + 0x40], edx
mov edx, dword [rbp + 0x28]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x6c], ecx
mov ecx, dword [rbp + 4]
mov dword [rsp + 0x48], edx
mov edx, dword [rbp + 0x2c]
mov eax, ecx
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov dword [rsp + 0x54], ecx
mov ecx, dword [rbp - 0x70]
mov dword [rsp + 0x50], edx
mov edx, dword [rbp - 0x44]
mov eax, ecx
xor eax, r8d
and eax, r9d
xor ecx, eax
xor r8d, eax
mov dword [rsp + 0x2c], ecx
mov ecx, dword [rbp - 0x6c]
mov dword [rsp + 0x5c], r8d
mov eax, ecx
mov dword [rbp - 0x48], r8d
mov r8d, dword [rbp - 0x54]
xor eax, edx
and eax, r9d
xor ecx, eax
xor edx, eax
mov eax, r15d
mov dword [rsp + 0x34], ecx
mov ecx, dword [rbp - 0x40]
mov dword [rbp - 0x44], edx
xor eax, ecx
and eax, r9d
xor ecx, eax
xor r15d, eax
mov eax, r13d
mov dword [rbp - 0x40], ecx
mov ecx, dword [rbp - 0x3c]
xor eax, ecx
and eax, r9d
xor ecx, eax
xor r13d, eax
mov eax, esi
mov dword [rbp - 0x3c], ecx
mov ecx, dword [rbp - 0x38]
xor eax, ecx
and eax, r9d
xor ecx, eax
xor esi, eax
mov eax, r14d
xor eax, ebx
mov dword [rbp - 0x38], ecx
and eax, r9d
xor r14d, eax
xor ebx, eax
mov eax, r10d
xor eax, r12d
mov dword [rbp - 0x34], r14d
and eax, r9d
xor r10d, eax
xor r12d, eax
mov eax, r8d
mov dword [rbp - 0x30], r12d
xor eax, edi
mov r11d, dword [rbp - 0x28]
mov edx, dword [rbp - 0x50]
and eax, r9d
mov ecx, dword [rbp - 0x4c]
xor edi, eax
xor r8d, eax
mov eax, edx
xor eax, r11d
mov dword [rbp - 0x2c], edi
and eax, r9d
mov r9d, dword [rbp - 0x24]
xor r11d, eax
xor edx, eax
mov eax, ecx
xor eax, r9d
mov dword [rbp - 0x28], r11d
and eax, dword [rsp + 0x20]
xor r9d, eax
xor ecx, eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x74]
mov dword [rbp - 0x24], r9d
sub eax, dword [rsp + 0x5c]
mov dword [rbp + 0x30], eax
mov eax, dword [rsp + 0x7c]
sub eax, dword [rbp - 0x44]
mov dword [rbp + 0x34], eax
mov eax, dword [rsp + 0x64]
sub eax, dword [rbp - 0x40]
mov dword [rbp + 0x38], eax
mov eax, dword [rsp + 0x24]
sub eax, dword [rbp - 0x3c]
mov dword [rbp + 0x3c], eax
mov eax, dword [rsp + 0x28]
sub eax, dword [rbp - 0x38]
mov dword [rbp + 0x40], eax
mov eax, dword [rsp + 0x30]
sub eax, r14d
mov dword [rbp + 0x44], eax
mov eax, dword [rsp + 0x38]
sub eax, r12d
mov dword [rbp + 0x48], eax
mov eax, dword [rsp + 0x40]
sub eax, edi
mov dword [rbp + 0x4c], eax
mov eax, dword [rsp + 0x48]
sub eax, r11d
mov dword [rbp + 0x50], eax
mov eax, dword [rsp + 0x50]
sub eax, r9d
mov dword [rbp + 0x54], eax
mov eax, dword [rbp - 0x7c]
sub eax, dword [rsp + 0x2c]
mov dword [rbp + 0x58], eax
mov eax, dword [rsp + 0x78]
sub eax, dword [rsp + 0x34]
mov dword [rbp + 0x5c], eax
mov eax, dword [rsp + 0x70]
sub eax, r15d
mov dword [rbp + 0x60], eax
mov eax, dword [rsp + 0x3c]
sub eax, r13d
mov dword [rbp + 0x64], eax
mov eax, dword [rbp - 0x80]
sub eax, esi
mov dword [rbp + 0x68], eax
mov eax, dword [rsp + 0x44]
sub eax, ebx
mov dword [rbp + 0x6c], eax
mov eax, dword [rsp + 0x68]
sub eax, r10d
mov dword [rbp + 0x70], eax
mov eax, dword [rsp + 0x4c]
sub eax, r8d
mov dword [rbp + 0x74], eax
mov eax, dword [rsp + 0x6c]
sub eax, edx
mov dword [rbp + 0x78], eax
mov eax, dword [rsp + 0x54]
sub eax, ecx
mov dword [rbp + 0x7c], eax
mov eax, dword [rbp - 0x7c]
add eax, dword [rsp + 0x2c]
mov dword [rbp - 0x20], eax
mov eax, dword [rsp + 0x78]
add eax, dword [rsp + 0x34]
mov dword [rbp - 0x1c], eax
mov eax, dword [rsp + 0x70]
add eax, r15d
mov dword [rbp - 0x18], eax
mov eax, dword [rsp + 0x3c]
add eax, r13d
mov dword [rbp - 0x14], eax
mov eax, dword [rbp - 0x80]
add eax, esi
mov dword [rbp - 0x10], eax
mov eax, dword [rsp + 0x44]
add eax, ebx
mov dword [rbp - 0xc], eax
mov eax, dword [rsp + 0x68]
add eax, r10d
mov dword [rbp - 8], eax
mov eax, dword [rsp + 0x4c]
add eax, r8d
lea r8, [rbp - 0x20]
mov dword [rbp - 4], eax
mov eax, dword [rsp + 0x6c]
add eax, edx
lea rdx, [rbp + 0x30]
mov dword [rbp], eax
mov eax, dword [rsp + 0x54]
add eax, ecx
lea rcx, [rbp - 0x48]
mov dword [rbp + 4], eax
mov eax, dword [rsp + 0x74]
add eax, dword [rsp + 0x5c]
mov dword [rbp - 0x70], eax
mov eax, dword [rbp - 0x44]
add eax, dword [rsp + 0x7c]
mov dword [rbp - 0x6c], eax
mov eax, dword [rbp - 0x40]
add eax, dword [rsp + 0x64]
mov dword [rbp - 0x68], eax
mov eax, dword [rbp - 0x3c]
add eax, dword [rsp + 0x24]
mov dword [rbp - 0x64], eax
mov eax, dword [rbp - 0x38]
add eax, dword [rsp + 0x28]
mov dword [rbp - 0x60], eax
mov eax, dword [rsp + 0x30]
add eax, r14d
mov dword [rbp - 0x5c], eax
mov eax, dword [rsp + 0x38]
add eax, r12d
mov dword [rbp - 0x58], eax
mov eax, dword [rsp + 0x40]
add eax, edi
mov dword [rbp - 0x54], eax
mov eax, dword [rsp + 0x48]
add eax, r11d
mov dword [rbp - 0x50], eax
mov eax, dword [rsp + 0x50]
add eax, r9d
mov dword [rbp - 0x4c], eax
call fcn.18025c960
lea r8, [rbp + 0x58]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.18025c960
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x30]
call fcn.18025d300
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x58]
call fcn.18025d300
mov eax, dword [rbp - 0x70]
add eax, dword [rbp - 0x48]
mov dword [rbp + 8], eax
mov eax, dword [rbp - 0x6c]
add eax, dword [rbp - 0x44]
mov r10d, dword [rbp - 0x54]
mov r8d, dword [rbp - 0x50]
mov r15d, dword [rbp - 0x64]
mov ecx, dword [rbp - 0x4c]
mov r12d, dword [rbp - 0x60]
mov ebx, dword [rbp - 0x5c]
mov edi, dword [rbp - 0x58]
mov r11d, dword [rbp - 0x2c]
mov r9d, dword [rbp - 0x28]
mov edx, dword [rbp - 0x24]
mov r13d, dword [rbp - 0x38]
mov r14d, dword [rbp - 0x34]
mov esi, dword [rbp - 0x30]
mov dword [rbp + 0xc], eax
mov eax, dword [rbp - 0x68]
add eax, dword [rbp - 0x40]
mov dword [rbp + 0x10], eax
mov eax, dword [rbp - 0x3c]
add eax, r15d
mov dword [rbp + 0x14], eax
lea eax, [r12 + r13]
sub r13d, r12d
mov dword [rbp + 0x18], eax
lea eax, [r14 + rbx]
sub r14d, ebx
mov dword [rbp + 0x1c], eax
lea eax, [rdi + rsi]
sub esi, edi
mov dword [rbp + 0x20], eax
lea eax, [r10 + r11]
sub r11d, r10d
mov dword [rbp + 0x24], eax
lea eax, [r8 + r9]
sub r9d, r8d
mov dword [rbp + 0x28], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov dword [rbp + 0x2c], eax
mov eax, dword [rbp - 0x48]
mov dword [rbp - 0x4c], edx
sub eax, dword [rbp - 0x70]
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x58]
mov dword [rbp - 0x70], eax
mov eax, dword [rbp - 0x44]
lea rcx, [rbp - 0x20]
sub eax, dword [rbp - 0x6c]
mov dword [rbp - 0x60], r13d
mov dword [rbp - 0x5c], r14d
mov dword [rbp - 0x6c], eax
mov eax, dword [rbp - 0x40]
mov dword [rbp - 0x58], esi
sub eax, dword [rbp - 0x68]
mov dword [rbp - 0x54], r11d
mov dword [rbp - 0x50], r9d
mov dword [rbp - 0x68], eax
mov eax, dword [rbp - 0x3c]
sub eax, r15d
mov dword [rbp - 0x64], eax
call fcn.18025c960
mov eax, dword [rbp + 0x4c]
sub dword [rbp + 0x74], eax
mov eax, dword [rbp + 0x50]
mov ebx, dword [rbp + 0x30]
sub dword [rbp + 0x78], eax
mov edi, dword [rbp + 0x34]
mov esi, dword [rbp + 0x38]
mov r12d, dword [rbp + 0x3c]
mov r13d, dword [rbp + 0x40]
mov r14d, dword [rbp + 0x44]
mov r15d, dword [rbp + 0x48]
mov eax, dword [rbp + 0x54]
sub dword [rbp + 0x58], ebx
sub dword [rbp + 0x5c], edi
sub dword [rbp + 0x60], esi
sub dword [rbp + 0x64], r12d
sub dword [rbp + 0x68], r13d
sub dword [rbp + 0x6c], r14d
sub dword [rbp + 0x70], r15d
sub dword [rbp + 0x7c], eax
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.18025d300
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.18025ef60
lea rdx, [rbp + 8]
lea rcx, [rbp + 8]
call fcn.18025d300
mov eax, dword [rbp + 0x4c]
add ebx, dword [rbp - 0x48]
add eax, dword [rbp - 0x2c]
add edi, dword [rbp - 0x44]
add esi, dword [rbp - 0x40]
add r12d, dword [rbp - 0x3c]
add r13d, dword [rbp - 0x38]
add r14d, dword [rbp - 0x34]
add r15d, dword [rbp - 0x30]
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x50]
add eax, dword [rbp - 0x28]
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x80]
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x54]
lea rcx, [rbp - 0x48]
add eax, dword [rbp - 0x24]
mov dword [rbp + 0x30], ebx
mov dword [rbp + 0x34], edi
mov dword [rbp + 0x38], esi
mov dword [rbp + 0x3c], r12d
mov dword [rbp + 0x40], r13d
mov dword [rbp + 0x54], eax
mov dword [rbp + 0x44], r14d
mov dword [rbp + 0x48], r15d
call fcn.18025c960
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.18025c960
mov ecx, dword [rsp + 0x58]
dec ecx
mov dword [rsp + 0x58], ecx
js 0x18025f7ea
mov ebx, dword [rbp - 0x20]
mov r8d, dword [rbp - 0x48]
jmp 0x18025f240
mov edx, dword [rbp + 8]
mov eax, dword [rbp - 0x20]
mov r8d, dword [rsp + 0x60]
mov ecx, edx
neg r8d
xor ecx, eax
and ecx, r8d
xor edx, ecx
xor eax, ecx
mov ecx, dword [rbp + 0xc]
mov dword [rbp + 8], edx
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x1c]
mov edx, eax
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x18]
mov dword [rbp + 0xc], ecx
mov ecx, dword [rbp + 0x10]
mov edx, eax
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov dword [rbp - 0x18], eax
mov eax, dword [rbp - 0x14]
mov dword [rbp + 0x10], ecx
mov ecx, dword [rbp + 0x14]
mov edx, eax
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov dword [rbp - 0x14], eax
mov eax, dword [rbp - 0x10]
mov dword [rbp + 0x14], ecx
mov ecx, dword [rbp + 0x18]
mov edx, eax
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov dword [rbp - 0x10], eax
mov eax, dword [rbp - 0xc]
mov dword [rbp + 0x18], ecx
mov ecx, dword [rbp + 0x1c]
mov edx, eax
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 8]
mov dword [rbp + 0x1c], ecx
mov ecx, dword [rbp + 0x20]
mov edx, eax
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov dword [rbp - 8], eax
mov eax, dword [rbp - 4]
mov dword [rbp + 0x20], ecx
mov ecx, dword [rbp + 0x24]
mov edx, eax
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov dword [rbp - 4], eax
mov eax, dword [rbp]
mov dword [rbp + 0x24], ecx
mov ecx, dword [rbp + 0x28]
mov edx, eax
xor edx, ecx
and edx, r8d
xor eax, edx
mov dword [rbp], eax
mov eax, dword [rbp + 4]
xor ecx, edx
mov edx, eax
mov dword [rbp + 0x28], ecx
mov ecx, dword [rbp + 0x2c]
xor edx, ecx
and edx, r8d
xor eax, edx
xor ecx, edx
mov edx, dword [rbp - 0x4c]
mov dword [rbp + 4], eax
mov dword [rbp + 0x2c], ecx
mov ecx, dword [rbp - 0x70]
mov eax, ecx
xor eax, dword [rbp - 0x48]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x70], ecx
mov ecx, dword [rbp - 0x6c]
mov eax, ecx
xor eax, dword [rbp - 0x44]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x6c], ecx
mov ecx, dword [rbp - 0x68]
mov eax, ecx
xor eax, dword [rbp - 0x40]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x68], ecx
mov ecx, dword [rbp - 0x64]
mov eax, ecx
xor eax, dword [rbp - 0x3c]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x64], ecx
mov ecx, dword [rbp - 0x60]
mov eax, ecx
xor eax, dword [rbp - 0x38]
and eax, r8d
xor ecx, eax
mov eax, dword [rbp - 0x5c]
mov dword [rbp - 0x60], ecx
mov ecx, dword [rbp - 0x34]
xor ecx, eax
and ecx, r8d
xor eax, ecx
mov ecx, dword [rbp - 0x58]
mov dword [rbp - 0x5c], eax
mov eax, ecx
xor eax, dword [rbp - 0x30]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x58], ecx
mov ecx, dword [rbp - 0x54]
mov eax, ecx
xor eax, dword [rbp - 0x2c]
and eax, r8d
xor ecx, eax
mov dword [rbp - 0x54], ecx
mov ecx, dword [rbp - 0x50]
mov eax, ecx
xor eax, dword [rbp - 0x28]
and eax, r8d
xor ecx, eax
mov eax, edx
xor eax, dword [rbp - 0x24]
mov dword [rbp - 0x50], ecx
lea rcx, [rbp - 0x70]
and eax, r8d
xor edx, eax
mov dword [rbp - 0x4c], edx
lea rdx, [rbp - 0x70]
call fcn.18025d870
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.18025c960
mov rcx, qword [rbp - 0x78]
lea rdx, [rbp - 0x20]
call fcn.18025c6c0
lea rcx, [rbp + 0xa8]
mov edx, 0x20
call fcn.18019f300
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.180146c80
mov rbx, qword [rsp + 0x228]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret