Function at 0x5cd8a0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.006499b0
cmp dword [ebp + 8], 0
jne 0x5cd8ba
xor eax, eax
jmp 0x5cdaa1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.004e6220
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5cd915
call fcn.00460b90
push str.ecx_gen
push 0x24c
push str.....Srcopenssl_3.0.12providersimplementationskeymgmtecx_kmgmt.c
call fcn.00460de0
add esp, 0xc
push 0
push 0xc0100
push 0x39
call fcn.00460f10
add esp, 0xc
xor eax, eax
jmp 0x5cdaa1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
and ecx, 3
jne 0x5cd928
mov eax, dword [ebp - 8]
jmp 0x5cdaa1
mov edx, dword [ebp - 8]
push edx
call fcn.004e6480
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5cd96f
call fcn.00460b90
push str.ecx_gen
push 0x255
push str.....Srcopenssl_3.0.12providersimplementationskeymgmtecx_kmgmt.c
call fcn.00460de0
add esp, 0xc
push 0
push 0xc0100
push 0x39
call fcn.00460f10
add esp, 0xc
jmp 0x5cda93
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.0046c020
add esp, 0x10
test eax, eax
jg 0x5cd993
jmp 0x5cda93
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
ja case.default.0x5cd9a9
mov ecx, dword [ebp - 0xc]
jmp dword [ecx*4 + 0x5cdaa8]
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
and eax, 0xf8
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x1f]
and eax, 0x7f
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1f], al
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x1f]
or eax, 0x40
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1f], al
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
call fcn.00587ff0
add esp, 8
jmp case.default.0x5cd9a9
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
and edx, 0xfc
mov eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x37]
or edx, 0x80
mov eax, dword [ebp - 4]
mov byte [eax + 0x37], dl
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
add edx, 0xc
push edx
call fcn.0058a6c0
add esp, 8
jmp case.default.0x5cd9a9
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.005874e0
add esp, 0x10
test eax, eax
jne 0x5cda57
jmp 0x5cda93
jmp case.default.0x5cd9a9
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.0058b180
add esp, 0x10
test eax, eax
jne case.default.0x5cd9a9
jmp 0x5cda93
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
or ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 8]
jmp 0x5cdaa1
mov eax, dword [ebp - 8]
push eax
call fcn.004e6360
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret