Function at 0x6a3af0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.007081d0
cmp dword [ebp + 8], 0
jne 0x6a3b0a
xor eax, eax
jmp 0x6a3d45
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.005f6680
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x6a3b65
call fcn.00516cf0
push str.ecx_gen
push 0x249
push str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.00516d40
add esp, 0xc
push 0
push 0xc0100
push 0x39
call fcn.00516d90
add esp, 0xc
xor eax, eax
jmp 0x6a3d45
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
and ecx, 3
jne 0x6a3b78
mov eax, dword [ebp - 8]
jmp 0x6a3d45
mov edx, dword [ebp - 8]
push edx
call fcn.005f65c0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x6a3bbf
call fcn.00516cf0
push str.ecx_gen
push 0x252
push str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.00516d40
add esp, 0xc
push 0
push 0xc0100
push 0x39
call fcn.00516d90
add esp, 0xc
jmp 0x6a3d37
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.0057d600
add esp, 0x10
test eax, eax
jg 0x6a3be3
jmp 0x6a3d37
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
ja case.default.0x6a3bf9
mov ecx, dword [ebp - 0xc]
jmp dword [ecx*4 + 0x6a3d4c]
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.0065d460
add esp, 8
jmp case.default.0x6a3bf9
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.006673d0
add esp, 8
jmp case.default.0x6a3bf9
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.0065ccd0
add esp, 0x10
test eax, eax
jne 0x6a3cfb
jmp 0x6a3d37
jmp case.default.0x6a3bf9
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.00665490
add esp, 0x10
test eax, eax
jne case.default.0x6a3bf9
jmp 0x6a3d37
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 0x6a3d45
mov ecx, dword [ebp - 8]
push ecx
call fcn.005f65f0
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret