Function at 0x6567b0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.006f5ae0
cmp dword [ebp + 8], 0
jne 0x6567ca
xor eax, eax
jmp 0x656a05
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.005d8100
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x656825
call fcn.00576670
push str.ecx_gen
push 0x24b
push str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.005766c0
add esp, 0xc
push 0
push 0xc0100
push 0x39
call fcn.00576710
add esp, 0xc
xor eax, eax
jmp 0x656a05
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
and ecx, 3
jne 0x656838
mov eax, dword [ebp - 8]
jmp 0x656a05
mov edx, dword [ebp - 8]
push edx
call fcn.005d8010
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x65687f
call fcn.00576670
push str.ecx_gen
push 0x254
push str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.005766c0
add esp, 0xc
push 0
push 0xc0100
push 0x39
call fcn.00576710
add esp, 0xc
jmp 0x6569f7
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.00583700
add esp, 0x10
test eax, eax
jg 0x6568a3
jmp 0x6569f7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
ja case.default.0x6568b9
mov ecx, dword [ebp - 0xc]
jmp dword [ecx*4 + 0x656a0c]
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax]
and edx, 0xf8
mov eax, 1
imul ecx, eax, 0
mov eax, dword [ebp - 4]
mov byte [eax + ecx], dl
mov ecx, 1
imul edx, ecx, 0x1f
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
and ecx, 0x7f
mov edx, 1
imul eax, edx, 0x1f
mov edx, dword [ebp - 4]
mov byte [edx + eax], cl
mov eax, 1
imul ecx, eax, 0x1f
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
or eax, 0x40
mov ecx, 1
imul edx, ecx, 0x1f
mov ecx, dword [ebp - 4]
mov byte [ecx + edx], al
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
call fcn.005dff80
add esp, 8
jmp case.default.0x6568b9
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
and ecx, 0xfc
mov edx, 1
imul eax, edx, 0
mov edx, dword [ebp - 4]
mov byte [edx + eax], cl
mov eax, 1
imul ecx, eax, 0x37
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx]
or eax, 0x80
mov ecx, 1
imul edx, ecx, 0x37
mov ecx, dword [ebp - 4]
mov byte [ecx + edx], al
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
call fcn.005ea160
add esp, 8
jmp case.default.0x6568b9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.005df7f0
add esp, 0x10
test eax, eax
jne 0x6569bb
jmp 0x6569f7
jmp case.default.0x6568b9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.005e7fa0
add esp, 0x10
test eax, eax
jne case.default.0x6568b9
jmp 0x6569f7
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
or edx, 1
mov eax, dword [ebp - 8]
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
jmp 0x656a05
mov ecx, dword [ebp - 8]
push ecx
call fcn.005d8040
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret