Function at 0x5d3760
Capabilities:
Encrypt data using curve25519
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x14c
call fcn.0040f530
mov eax, dword [0x6cb06c]
xor eax, esp
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x158]
push ebx
push ebp
movups xmm0, xmmword [eax]
push esi
movups xmm1, xmmword [eax + 0x10]
xor ebp, ebp
movd eax, xmm0
movups xmmword [esp + 0x144], xmm1
push edi
and al, 0xf8
psrldq xmm1, 0xc
movups xmmword [esp + 0x138], xmm0
mov byte [esp + 0x138], al
movd eax, xmm1
push ecx
shr eax, 0x18
and al, 0x3f
or al, 0x40
mov byte [esp + 0x15b], al
lea eax, [esp + 0x114]
push eax
call fcn.005d0840
xorps xmm0, xmm0
lea eax, [esp + 0x118]
push 0x28
push eax
lea eax, [esp + 0xf8]
movq qword [esp + 0xc8], xmm0
movups xmmword [esp + 0xa8], xmm0
push eax
movups xmmword [esp + 0xbc], xmm0
mov dword [esp + 0xac], 1
movups xmmword [esp + 0x34], xmm0
movups xmmword [esp + 0x44], xmm0
movq qword [esp + 0x54], xmm0
call fcn.004ed700
xorps xmm0, xmm0
mov ecx, 0xfe
movups xmmword [esp + 0x5c], xmm0
add esp, 0x14
mov dword [esp + 0x48], 1
movq qword [esp + 0x68], xmm0
movups xmmword [esp + 0x58], xmm0
mov dword [esp + 0x10], ecx
mov eax, ecx
test eax, eax
jns 0x5d385e
add eax, 7
sar eax, 3
movzx ebx, byte [esp + eax + 0x138]
lea eax, [esp + 0xe8]
movzx ecx, cl
and ecx, 7
shr ebx, cl
and ebx, 1
xor ebp, ebx
mov dword [esp + 0x18], ebx
push ebp
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.005d0770
push ebp
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005d0770
mov eax, dword [esp + 0x100]
sub eax, dword [esp + 0x60]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x104]
sub eax, dword [esp + 0x64]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x108]
sub eax, dword [esp + 0x68]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x10c]
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x110]
sub eax, dword [esp + 0x70]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x114]
sub eax, dword [esp + 0x74]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x118]
sub eax, dword [esp + 0x78]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x11c]
sub eax, dword [esp + 0x7c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x120]
sub eax, dword [esp + 0x80]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x124]
sub eax, dword [esp + 0x84]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0x38]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xb4]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xb8]
sub eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0x44]
mov edi, dword [esp + 0x54]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xc0]
sub eax, dword [esp + 0x48]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0xc4]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc8]
sub eax, ebp
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xcc]
sub eax, edi
mov dword [esp + 0xf4], eax
mov eax, ebx
sub eax, dword [esp + 0x58]
mov dword [esp + 0xf8], eax
mov esi, dword [esp + 0xd4]
mov eax, esi
sub eax, dword [esp + 0x5c]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xb0]
add eax, dword [esp + 0x38]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb4]
add eax, dword [esp + 0x3c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xb8]
add eax, dword [esp + 0x40]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xbc]
add eax, dword [esp + 0x44]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc0]
add eax, dword [esp + 0x48]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc4]
add eax, dword [esp + 0x4c]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0x100]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x104]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x108]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x10c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x110]
add ebx, dword [esp + 0x58]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x114]
add esi, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x118]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0x11c]
add dword [esp + 0xc8], ebp
add dword [esp + 0xcc], edi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x120]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x124]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x8c]
mov dword [esp + 0xd4], ebx
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0xdc], esi
push eax
call fcn.005d0f20
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x48]
push eax
push eax
call fcn.005d0f20
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.005d1af0
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.005d1af0
mov eax, dword [esp + 0x60]
add esp, 0x40
add eax, dword [esp + 0x48]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x4c]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x50]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x54]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x60]
mov dword [esp + 0x100], eax
lea eax, [ebx + ebp]
mov dword [esp + 0x104], eax
sub ebp, ebx
lea eax, [esi + edi]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x108], eax
sub edi, esi
lea eax, [ecx + edx]
mov dword [esp + 0x40], edi
mov dword [esp + 0x10c], eax
sub edx, ecx
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x48], edx
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.005d0f20
mov eax, dword [esp + 0x8c]
sub dword [esp + 0xdc], eax
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
sub dword [esp + 0xcc], esi
sub dword [esp + 0xd0], edi
sub dword [esp + 0xd4], ebx
sub dword [esp + 0xd8], ebp
sub dword [esp + 0xe0], eax
mov eax, dword [esp + 0x94]
sub dword [esp + 0xe4], eax
mov eax, dword [esp + 0x98]
sub dword [esp + 0xe8], eax
mov eax, dword [esp + 0x9c]
sub dword [esp + 0xec], eax
mov eax, dword [esp + 0xa0]
sub dword [esp + 0xf0], eax
lea eax, [esp + 0x2c]
push eax
push eax
call fcn.005d1af0
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.005d1860
lea eax, [esp + 0x104]
push eax
push eax
call fcn.005d1af0
mov eax, dword [esp + 0xa4]
add eax, dword [esp + 0x7c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa8]
add eax, dword [esp + 0x80]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xac]
add eax, dword [esp + 0x84]
add esi, dword [esp + 0x6c]
add edi, dword [esp + 0x70]
add ebx, dword [esp + 0x74]
add ebp, dword [esp + 0x78]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb0]
add eax, dword [esp + 0x88]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb4]
add eax, dword [esp + 0x8c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xb8]
add eax, dword [esp + 0x90]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x138]
mov dword [esp + 0x98], esi
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0xa0], edi
push eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebp
call fcn.005d0f20
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.005d0f20
mov ecx, dword [esp + 0x4c]
add esp, 0x3c
mov ebp, dword [esp + 0x14]
sub ecx, 1
mov dword [esp + 0x10], ecx
jns 0x5d3855
mov esi, dword [esp + 0x18]
lea eax, [esp + 0xe8]
push esi
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.005d0770
push esi
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005d0770
lea eax, [esp + 0x38]
push eax
push eax
call fcn.005d0ca0
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xbc]
push eax
push eax
call fcn.005d0f20
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x4c]
call fcn.005d2780
mov ecx, dword [esp + 0x18c]
add esp, 0x34
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e215
add esp, 0x14c
ret