Function at 0x10146200
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x17c
call fcn.101d14f0
mov eax, dword [0x10274398]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
push eax
push str.SHA512
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.10044620
add esp, 0xc
mov dword [ebp - 0x54], eax
call fcn.100432b0
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x54], 0
je 0x1014624a
cmp dword [ebp - 8], 0
jne 0x1014624f
jmp 0x1014640e
push 0
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10043930
add esp, 0xc
test eax, eax
je 0x10146299
push 0x20
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.10043950
add esp, 0xc
test eax, eax
je 0x10146299
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x98]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.10043b20
add esp, 0xc
test eax, eax
jne 0x1014629e
jmp 0x1014640e
movzx eax, byte [ebp - 0x98]
and eax, 0xf8
mov byte [ebp - 0x98], al
movzx ecx, byte [ebp - 0x79]
and ecx, 0x3f
mov byte [ebp - 0x79], cl
movzx edx, byte [ebp - 0x79]
or edx, 0x40
mov byte [ebp - 0x79], dl
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.10043930
add esp, 0xc
test eax, eax
je 0x10146326
push 0x20
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10043950
add esp, 0xc
test eax, eax
je 0x10146326
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10043950
add esp, 0xc
test eax, eax
je 0x10146326
lea ecx, [ebp - 0x17c]
push ecx
lea edx, [ebp - 0xd8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10043b20
add esp, 0xc
test eax, eax
jne 0x1014632b
jmp 0x1014640e
lea ecx, [ebp - 0xd8]
push ecx
call fcn.1014b830
add esp, 4
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0x178]
push eax
call fcn.101499c0
add esp, 8
lea ecx, [ebp - 0x178]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10146460
add esp, 8
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.10043930
add esp, 0xc
test eax, eax
je 0x101463d8
push 0x20
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10043950
add esp, 0xc
test eax, eax
je 0x101463d8
push 0x20
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.10043950
add esp, 0xc
test eax, eax
je 0x101463d8
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.10043950
add esp, 0xc
test eax, eax
je 0x101463d8
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.10043b20
add esp, 0xc
test eax, eax
jne 0x101463da
jmp 0x1014640e
lea eax, [ebp - 0x50]
push eax
call fcn.1014b830
add esp, 4
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x20
push ecx
call fcn.1014e370
add esp, 0x10
mov dword [ebp - 4], 1
push 0x40
lea edx, [ebp - 0xd8]
push edx
call fcn.10074490
add esp, 8
push 0x40
lea eax, [ebp - 0x98]
push eax
call fcn.10074490
add esp, 8
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.10044d20
add esp, 4
mov edx, dword [ebp - 8]
push edx
call fcn.100432d0
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.101d14d7
mov esp, ebp
pop ebp
ret