Function at 0x634da0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x17c
call fcn.004d28e0
mov eax, dword [0x7c9564]
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.00528eb0
add esp, 0xc
mov dword [ebp - 0x54], eax
call fcn.00527510
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x54], 0
je 0x634dea
cmp dword [ebp - 8], 0
jne 0x634def
jmp 0x634fae
push 0
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00527d00
add esp, 0xc
test eax, eax
je 0x634e39
push 0x20
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00527d20
add esp, 0xc
test eax, eax
je 0x634e39
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x98]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00527ef0
add esp, 0xc
test eax, eax
jne 0x634e3e
jmp 0x634fae
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.00527d00
add esp, 0xc
test eax, eax
je 0x634ec6
push 0x20
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00527d20
add esp, 0xc
test eax, eax
je 0x634ec6
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00527d20
add esp, 0xc
test eax, eax
je 0x634ec6
lea ecx, [ebp - 0x17c]
push ecx
lea edx, [ebp - 0xd8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00527ef0
add esp, 0xc
test eax, eax
jne 0x634ecb
jmp 0x634fae
lea ecx, [ebp - 0xd8]
push ecx
call fcn.0063a410
add esp, 4
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0x178]
push eax
call fcn.00638580
add esp, 8
lea ecx, [ebp - 0x178]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00635000
add esp, 8
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00527d00
add esp, 0xc
test eax, eax
je 0x634f78
push 0x20
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00527d20
add esp, 0xc
test eax, eax
je 0x634f78
push 0x20
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00527d20
add esp, 0xc
test eax, eax
je 0x634f78
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00527d20
add esp, 0xc
test eax, eax
je 0x634f78
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00527ef0
add esp, 0xc
test eax, eax
jne 0x634f7a
jmp 0x634fae
lea eax, [ebp - 0x50]
push eax
call fcn.0063a410
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.0063cee0
add esp, 0x10
mov dword [ebp - 4], 1
push 0x40
lea edx, [ebp - 0xd8]
push edx
call fcn.005494a0
add esp, 8
push 0x40
lea eax, [ebp - 0x98]
push eax
call fcn.005494a0
add esp, 8
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.005296c0
add esp, 4
mov edx, dword [ebp - 8]
push edx
call fcn.00527530
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004d0e4d
mov esp, ebp
pop ebp
ret