Function at 0x684310
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x7ec06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
movups xmm0, xmmword [eax]
push edi
movups xmm1, xmmword [eax + 0x10]
xor esi, esi
movd eax, xmm0
movups xmmword [ebp - 0x14], xmm1
push ecx
and al, 0xf8
psrldq xmm1, 0xc
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x24], al
movd eax, xmm1
shr eax, 0x18
and al, 0x3f
or al, 0x40
mov byte [ebp - 5], al
lea eax, [ebp - 0x13c]
push eax
call fcn.00681950
xorps xmm0, xmm0
lea eax, [ebp - 0x13c]
push 0x28
push eax
lea eax, [ebp - 0x114]
movq qword [ebp - 0xa4], xmm0
movups xmmword [ebp - 0xc4], xmm0
push eax
movups xmmword [ebp - 0xb4], xmm0
mov dword [ebp - 0xc4], 1
movups xmmword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x3c], xmm0
movq qword [ebp - 0x2c], xmm0
call fcn.00553210
xorps xmm0, xmm0
mov ecx, 0xfe
movups xmmword [ebp - 0x74], xmm0
add esp, 0x14
mov dword [ebp - 0x74], 1
movq qword [ebp - 0x54], xmm0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x140], ecx
nop dword [eax]
mov eax, ecx
test eax, eax
jns 0x6843e9
add eax, 7
sar eax, 3
movzx ebx, byte [ebp + eax - 0x24]
lea eax, [ebp - 0x114]
movzx ecx, cl
and ecx, 7
shr ebx, cl
and ebx, 1
xor esi, ebx
mov dword [ebp - 0x148], ebx
push esi
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00681880
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00681880
mov eax, dword [ebp - 0x114]
sub eax, dword [ebp - 0x74]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x68]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x104]
sub eax, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x100]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xfc]
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xf8]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xf0]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xc4]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0xa0]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xa8]
sub eax, edi
mov dword [ebp - 0x144], ebx
mov ebx, dword [ebp - 0xa4]
mov dword [ebp - 0xd0], eax
mov eax, ebx
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0xcc], eax
mov eax, esi
add ebx, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc4]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x48]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb4]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x114]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x110]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x10c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x108]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x104]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x100]
add esi, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0xfc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0xf8]
add dword [ebp - 0xa8], edi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0xf4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0xf0]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xa4], ebx
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0xa0], esi
push eax
call fcn.00681f90
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x4c]
push eax
push eax
call fcn.00681f90
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00682970
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.00682970
mov eax, dword [ebp - 0x4c]
add esp, 0x40
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0xf8], eax
lea eax, [esi + edi]
mov dword [ebp - 0xf4], eax
sub edi, esi
lea eax, [ecx + edx]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0xf0], eax
sub edx, ecx
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xec]
mov dword [ebp - 0x28], edx
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00681f90
mov eax, dword [ebp - 0x90]
sub dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x8c]
sub dword [ebp - 0xdc], eax
mov esi, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x94]
sub dword [ebp - 0xec], esi
sub dword [ebp - 0xe8], edi
sub dword [ebp - 0xe4], ebx
mov eax, dword [ebp - 0x88]
sub dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x84]
sub dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x80]
sub dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x7c]
sub dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x78]
sub dword [ebp - 0xc8], eax
lea eax, [ebp - 0x4c]
push eax
push eax
call fcn.00682970
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00682720
lea eax, [ebp - 0x114]
push eax
push eax
call fcn.00682970
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x5c]
add esi, dword [ebp - 0x74]
add edi, dword [ebp - 0x70]
add ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x9c], esi
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x98], edi
push eax
mov dword [ebp - 0x94], ebx
call fcn.00681f90
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00681f90
mov ecx, dword [ebp - 0x140]
add esp, 0x3c
mov esi, dword [ebp - 0x144]
sub ecx, 1
mov dword [ebp - 0x140], ecx
jns 0x6843e0
mov esi, dword [ebp - 0x148]
lea eax, [ebp - 0x114]
push esi
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00681880
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00681880
lea eax, [ebp - 0x4c]
push eax
push eax
call fcn.00681d60
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc4]
push eax
push eax
call fcn.00681f90
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 0x14c]
call fcn.00683410
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0064c380
mov ecx, dword [ebp - 4]
add esp, 0x3c
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0053bd3e
mov esp, ebp
pop ebp
ret