Function at 0x140085b00
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
push r13
push r15
mov eax, 0x40
call fcn.140103e70
sub rsp, rax
movsxd rbx, dword [rsp + 0x80]
xor ebp, ebp
cmp dword [rsp + 0x88], 2
mov r13, r9
mov edi, edx
mov r15, rcx
lea r12d, [rax - 0x20]
je 0x140085bbf
test r8, r8
je 0x140085b89
mov r9, r8
lea rdx, [rsp + 0x30]
xor ecx, ecx
xor r8d, r8d
call fcn.140051d70
cmp dword [rsp + 0x30], 0xffffffff
je 0x140085b89
mov dword [rsp + 0x20], 0x3b
mov ecx, reloc.WS2_32.dll_recv
lea r9, str.....Srcopenssl_1.1.1hcryptoececx_meth.c
mov edx, 0x10a
lea r8d, [rcx + 0x56]
call fcn.140045670
xor eax, eax
jmp 0x140085db6
test r13, r13
je 0x140085bb5
cmp edi, 0x40a
je 0x140085bae
cmp edi, 0x43f
je 0x140085bae
cmp edi, 0x40b
mov eax, ebp
setne al
add eax, 0x38
jmp 0x140085bb1
mov eax, r12d
cmp ebx, eax
je 0x140085bbf
mov dword [rsp + 0x20], 0x41
jmp 0x140085b68
mov r8d, 0x46
lea rdx, str.....Srcopenssl_1.1.1hcryptoececx_meth.c
mov qword [rsp + 0x60], rsi
lea ecx, [r8 + 2]
call fcn.140046a20
mov rsi, rax
test rax, rax
jne 0x140085c09
lea r9, str.....Srcopenssl_1.1.1hcryptoececx_meth.c
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
mov edx, 0x10a
mov dword [rsp + 0x20], 0x48
call fcn.140045670
xor eax, eax
jmp 0x140085db1
cmp dword [rsp + 0x88], ebp
jne 0x140085c25
mov r8, rbx
mov rdx, r13
mov rcx, rax
call sub.MSVCR90.dll_memcpy
jmp 0x140085d9f
cmp edi, 0x40a
je 0x140085c45
cmp edi, 0x43f
je 0x140085c45
cmp edi, 0x40b
mov eax, ebp
setne al
add eax, 0x38
jmp 0x140085c48
mov eax, r12d
lea rdx, str.....Srcopenssl_1.1.1hcryptoececx_meth.c
movsxd rcx, eax
mov r8d, 0x50
call fcn.14004e680
mov rbx, rax
mov qword [rsi + 0x40], rax
test rax, rax
jne 0x140085c8b
lea r9, str.....Srcopenssl_1.1.1hcryptoececx_meth.c
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
mov edx, 0x10a
mov dword [rsp + 0x20], 0x52
call fcn.140045670
jmp 0x140085ce2
cmp dword [rsp + 0x88], 2
jne 0x140085d24
cmp edi, 0x40a
je 0x140085cba
cmp edi, 0x43f
je 0x140085cba
cmp edi, 0x40b
mov r12d, ebp
setne r12b
add r12d, 0x38
mov edx, r12d
mov rcx, rax
call fcn.1400508b0
test eax, eax
jg 0x140085cfe
lea rdx, str.....Srcopenssl_1.1.1hcryptoececx_meth.c
mov r8d, 0x57
mov rcx, rbx
call fcn.14004e6c0
mov qword [rsi + 0x40], rbp
lea rdx, str.....Srcopenssl_1.1.1hcryptoececx_meth.c
mov r8d, 0x79
mov rcx, rsi
call fcn.140046aa0
xor eax, eax
jmp 0x140085db1
cmp edi, 0x40a
jne 0x140085d13
and byte [rbx], 0xf8
and byte [rbx + 0x1f], 0x3f
or byte [rbx + 0x1f], 0x40
jmp 0x140085d54
cmp edi, 0x40b
jne 0x140085d54
and byte [rbx], 0xfc
or byte [rbx + 0x37], 0x80
jmp 0x140085d54
cmp edi, 0x40a
je 0x140085d43
cmp edi, 0x43f
je 0x140085d43
cmp edi, 0x40b
setne bpl
add ebp, 0x38
jmp 0x140085d46
mov ebp, r12d
movsxd r8, ebp
mov rdx, r13
mov rcx, rax
call sub.MSVCR90.dll_memcpy
mov ecx, edi
sub ecx, 0x40a
je 0x140085d94
sub ecx, 1
je 0x140085d87
sub ecx, 0x34
je 0x140085d7a
cmp ecx, 1
jne 0x140085d9f
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3b00
jmp 0x140085d9f
mov rdx, rbx
mov rcx, rsi
call fcn.1400dfee0
jmp 0x140085d9f
mov rdx, rbx
mov rcx, rsi
call fcn.1400e3160
jmp 0x140085d9f
mov rdx, rbx
mov rcx, rsi
call fcn.1400e0030
mov r8, rsi
mov edx, edi
mov rcx, r15
call fcn.140052560
mov eax, 1
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r13
pop r12
ret