Function at 0x10183000
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.10010ae0
cmp dword [ebp + 8], 0
jne 0x1018301a
xor eax, eax
jmp 0x10183201
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.100b96e0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10183075
call fcn.1004fd50
push str.ecx_gen
push 0x24c
push str.....Srcopenssl_3.0.12providersimplementationskeymgmtecx_kmgmt.c
call fcn.1004ffa0
add esp, 0xc
push 0
push 0xc0100
push 0x39
call fcn.100500d0
add esp, 0xc
xor eax, eax
jmp 0x10183201
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
and ecx, 3
jne 0x10183088
mov eax, dword [ebp - 8]
jmp 0x10183201
mov edx, dword [ebp - 8]
push edx
call fcn.100b9900
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x101830cf
call fcn.1004fd50
push str.ecx_gen
push 0x255
push str.....Srcopenssl_3.0.12providersimplementationskeymgmtecx_kmgmt.c
call fcn.1004ffa0
add esp, 0xc
push 0
push 0xc0100
push 0x39
call fcn.100500d0
add esp, 0xc
jmp 0x101831f3
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.100592f0
add esp, 0x10
test eax, eax
jg 0x101830f3
jmp 0x101831f3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
ja case.default.0x10183109
mov ecx, dword [ebp - 0xc]
jmp dword [ecx*4 + 0x10183208]
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.10148c70
add esp, 8
jmp case.default.0x10183109
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.1014b0c0
add esp, 8
jmp case.default.0x10183109
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.10148160
add esp, 0x10
test eax, eax
jne 0x101831b7
jmp 0x101831f3
jmp case.default.0x10183109
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.1014ba50
add esp, 0x10
test eax, eax
jne case.default.0x10183109
jmp 0x101831f3
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 0x10183201
mov eax, dword [ebp - 8]
push eax
call fcn.100b9820
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret