Function at 0x5221b0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x180
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x80e040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
movdqu xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
lea edi, [ebp - 0x30]
movdqu xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm1
and byte [edi], 0xf8
mov al, byte [edi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [edi + 0x1f], al
lea esi, [ebp - 0xd0]
push 0xa0
push 0xff
push esi
call fcn.005cced0
add esp, 0xc
push 0x7a8e28
push edi
push esi
call fcn.005adce0
add esp, 0xc
xor eax, eax
dec eax
lea ecx, [ebp - 0x148]
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x20], eax
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x188], ecx
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x18c], eax
add eax, ecx
lea edx, [ebp - 0xf8]
mov dword [edx], eax
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0x184], ecx
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x15c], eax
lea eax, [ecx + eax]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x158], eax
mov ecx, dword [esi + 0x30]
mov dword [ebp - 0x180], ecx
lea eax, [ecx + eax]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x154], eax
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0x17c], ecx
lea eax, [ecx + eax]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x150], eax
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x178], ecx
lea eax, [ecx + eax]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14c], eax
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x174], ecx
lea eax, [ecx + eax]
mov dword [edx + 0x14], eax
mov ecx, dword [esi + 0x68]
mov dword [ebp - 0x160], ecx
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x16c], eax
lea eax, [eax + ecx]
mov dword [edx + 0x18], eax
mov ebx, dword [esi + 0x6c]
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x168], eax
lea eax, [eax + ebx]
mov dword [edx + 0x1c], eax
mov edi, dword [esi + 0x70]
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x164], eax
add eax, edi
mov dword [edx + 0x20], eax
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x4c]
mov dword [ebp - 0x170], ecx
lea edx, [ecx + eax]
lea esi, [ebp - 0xf8]
mov dword [esi + 0x24], edx
mov edx, dword [ebp - 0x188]
sub edx, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x184]
sub dword [ebp - 0x15c], ecx
mov ecx, dword [ebp - 0x180]
sub dword [ebp - 0x158], ecx
mov ecx, dword [ebp - 0x17c]
sub dword [ebp - 0x154], ecx
mov ecx, dword [ebp - 0x178]
sub dword [ebp - 0x150], ecx
mov ecx, dword [ebp - 0x174]
sub dword [ebp - 0x14c], ecx
mov ecx, dword [ebp - 0x160]
sub ecx, dword [ebp - 0x16c]
sub ebx, dword [ebp - 0x168]
sub edi, dword [ebp - 0x164]
sub eax, dword [ebp - 0x170]
add edx, 0x7ffffda
mov esi, edx
lea edx, [ebp - 0x120]
mov dword [edx], esi
mov esi, dword [ebp - 0x15c]
add esi, 0x3fffffe
mov dword [edx + 4], esi
mov esi, dword [ebp - 0x158]
add esi, 0x7fffffe
mov dword [edx + 8], esi
mov esi, dword [ebp - 0x154]
add esi, 0x3fffffe
mov dword [edx + 0xc], esi
mov esi, dword [ebp - 0x150]
add esi, 0x7fffffe
mov dword [edx + 0x10], esi
mov esi, dword [ebp - 0x14c]
add esi, 0x3fffffe
mov dword [edx + 0x14], esi
add ecx, 0x7fffffe
mov dword [edx + 0x18], ecx
add ebx, 0x3fffffe
mov dword [edx + 0x1c], ebx
add edi, 0x7fffffe
mov dword [edx + 0x20], edi
add eax, 0x3fffffe
mov dword [edx + 0x24], eax
pcmpeqd xmm0, xmm0
lea esi, [ebp - 0x148]
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi], xmm0
mov ecx, esi
call fcn.005bbcf0
mov ecx, esi
lea edx, [ebp - 0xf8]
push esi
call fcn.005bedc0
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, esi
call fcn.0051edc0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
add esp, 0x180
pop esi
pop edi
pop ebx
pop ebp
ret