Function at 0x140314290
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x1c8
call fcn.140473cc0
sub rsp, rax
mov rax, qword [0x140545d00]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov r8, qword [rsp + 0x228]
lea rdx, str.SHA512
mov rcx, qword [rsp + 0x220]
call fcn.1402755b0
mov qword [rsp + 0x40], rax
call fcn.140275480
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x3c], 0
cmp qword [rsp + 0x210], 0
jne 0x14031430d
mov qword [rsp + 0x218], 0
movzx eax, byte [rsp + 0x208]
test eax, eax
je 0x140314329
cmp qword [rsp + 0x218], 0
jne 0x140314329
jmp 0x1403145da
movzx eax, byte [rsp + 0x1f8]
test eax, eax
jne 0x140314345
cmp qword [rsp + 0x218], 0
jbe 0x140314345
jmp 0x1403145da
cmp qword [rsp + 0x40], 0
je 0x140314355
cmp qword [rsp + 0x30], 0
jne 0x14031435a
jmp 0x1403145da
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.140274bc0
test eax, eax
je 0x1403143a7
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rdx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x30]
call fcn.140274c40
test eax, eax
je 0x1403143a7
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x30]
call fcn.140274800
test eax, eax
jne 0x1403143ac
jmp 0x1403145da
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0xf0]
and eax, 0xf8
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0xf0], al
mov eax, 1
imul rax, rax, 0x1f
movzx eax, byte [rsp + rax + 0xf0]
and eax, 0x3f
mov ecx, 1
imul rcx, rcx, 0x1f
mov byte [rsp + rcx + 0xf0], al
mov eax, 1
imul rax, rax, 0x1f
movzx eax, byte [rsp + rax + 0xf0]
or eax, 0x40
mov ecx, 1
imul rcx, rcx, 0x1f
mov byte [rsp + rcx + 0xf0], al
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x20], rax
movzx r9d, byte [rsp + 0x200]
movzx r8d, byte [rsp + 0x1f8]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.140313b20
test eax, eax
je 0x1403144b1
lea rax, [rsp + 0x110]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.140274c40
test eax, eax
je 0x1403144b1
mov r8, qword [rsp + 0x1e0]
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x30]
call fcn.140274c40
test eax, eax
je 0x1403144b1
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x30]
call fcn.140274800
test eax, eax
jne 0x1403144b6
jmp 0x1403145da
lea rcx, [rsp + 0x130]
call fcn.1403186c0
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x50]
call fcn.1403135a0
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1d0]
call fcn.140313460
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x20], rax
movzx r9d, byte [rsp + 0x200]
movzx r8d, byte [rsp + 0x1f8]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.140313b20
test eax, eax
je 0x140314597
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rdx, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x30]
call fcn.140274c40
test eax, eax
je 0x140314597
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rdx, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x30]
call fcn.140274c40
test eax, eax
je 0x140314597
mov r8, qword [rsp + 0x1e0]
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x30]
call fcn.140274c40
test eax, eax
je 0x140314597
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x30]
call fcn.140274800
test eax, eax
jne 0x140314599
jmp 0x1403145da
lea rcx, [rsp + 0x170]
call fcn.1403186c0
mov rax, qword [rsp + 0x1d0]
add rax, 0x20
lea r9, [rsp + 0x130]
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0x170]
mov rcx, rax
call fcn.140314c00
mov dword [rsp + 0x3c], 1
mov edx, 0x40
lea rcx, [rsp + 0x130]
call fcn.140001240
mov edx, 0x40
lea rcx, [rsp + 0xf0]
call fcn.140001240
mov rcx, qword [rsp + 0x40]
call fcn.140275620
mov rcx, qword [rsp + 0x30]
call fcn.140275360
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140473210
add rsp, 0x1c8
ret