Function at 0x14036a2d0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x48
call fcn.140473cc0
sub rsp, rax
cmp qword [rsp + 0x50], 0
jne 0x14036a2f1
xor eax, eax
jmp 0x14036a5f0
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 8]
xor r8d, r8d
mov rax, qword [rsp + 0x50]
mov edx, dword [rax + 0x10]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.14030b5c0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14036a355
call fcn.1402506f0
lea r8, str.ecx_gen
mov edx, 0x29d
lea rcx, str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.140250740
xor r8d, r8d
mov edx, 0x80010
mov ecx, reloc.WS2_32.dll_gethostname
call fcn.1402507b0
xor eax, eax
jmp 0x14036a5f0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
and eax, 3
test eax, eax
jne 0x14036a36e
mov rax, qword [rsp + 0x30]
jmp 0x14036a5f0
mov rcx, qword [rsp + 0x30]
call fcn.14030b490
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14036a3b9
call fcn.1402506f0
lea r8, str.ecx_gen
mov edx, 0x2a6
lea rcx, str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.140250740
xor r8d, r8d
mov edx, 0x80010
mov ecx, reloc.WS2_32.dll_gethostname
call fcn.1402507b0
jmp 0x14036a5e4
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x18], 0
je 0x14036a418
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x20], 0
je 0x14036a418
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 2
je 0x14036a3e7
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 3
jne 0x14036a3ec
jmp 0x14036a5e4
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 0x20]
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x18]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.14037db60
test eax, eax
jne 0x14036a416
jmp 0x14036a5e4
jmp 0x14036a43f
xor r9d, r9d
mov rax, qword [rsp + 0x30]
mov r8, qword [rax + 0x58]
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.140251620
test eax, eax
jg 0x14036a43f
jmp 0x14036a5e4
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14036a478
cmp dword [rsp + 0x20], 1
je 0x14036a507
cmp dword [rsp + 0x20], 2
je 0x14036a56e
cmp dword [rsp + 0x20], 3
je 0x14036a59d
jmp 0x14036a5ca
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
and eax, 0xf8
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 0x1f
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
and eax, 0x7f
mov ecx, 1
imul rcx, rcx, 0x1f
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 0x1f
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
or eax, 0x40
mov ecx, 1
imul rcx, rcx, 0x1f
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x30]
add rax, 0x14
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.140314a90
jmp 0x14036a5ca
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
and eax, 0xfc
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 0x37
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
bts eax, 7
mov ecx, 1
imul rcx, rcx, 0x37
mov rdx, qword [rsp + 0x28]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x30]
add rax, 0x14
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.14031e130
jmp 0x14036a5ca
mov rax, qword [rsp + 0x30]
add rax, 0x14
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 8]
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.140314100
test eax, eax
jne 0x14036a59b
jmp 0x14036a5e4
jmp 0x14036a5ca
mov rax, qword [rsp + 0x30]
add rax, 0x14
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 8]
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.14031b8b0
test eax, eax
jne 0x14036a5ca
jmp 0x14036a5e4
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
or eax, 1
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x30]
jmp 0x14036a5f0
mov rcx, qword [rsp + 0x30]
call fcn.14030b4e0
xor eax, eax
add rsp, 0x48
ret