Function at 0x5df930
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x174
call fcn.006f5ae0
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
push eax
push str.SHA512
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.0057afc0
add esp, 0xc
mov dword [ebp - 0x16c], eax
call fcn.0057aee0
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x174], 0
cmp dword [ebp - 0x16c], 0
je 0x5df989
cmp dword [ebp - 0x168], 0
jne 0x5df98e
jmp 0x5dfbb1
push 0
mov edx, dword [ebp - 0x16c]
push edx
mov eax, dword [ebp - 0x168]
push eax
call fcn.0057a7d0
add esp, 0xc
test eax, eax
je 0x5df9e1
push 0x20
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x168]
push edx
call fcn.0057a810
add esp, 0xc
test eax, eax
je 0x5df9e1
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x168]
push edx
call fcn.0057a5e0
add esp, 0xc
test eax, eax
jne 0x5df9e6
jmp 0x5dfbb1
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 0x44]
and edx, 0xf8
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x44], dl
mov edx, 1
imul eax, edx, 0x1f
movzx ecx, byte [ebp + eax - 0x44]
and ecx, 0x3f
mov edx, 1
imul eax, edx, 0x1f
mov byte [ebp + eax - 0x44], cl
mov ecx, 1
imul edx, ecx, 0x1f
movzx eax, byte [ebp + edx - 0x44]
or eax, 0x40
mov ecx, 1
imul edx, ecx, 0x1f
mov byte [ebp + edx - 0x44], al
push 0
mov eax, dword [ebp - 0x16c]
push eax
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.0057a7d0
add esp, 0xc
test eax, eax
je 0x5dfaae
push 0x20
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x168]
push eax
call fcn.0057a810
add esp, 0xc
test eax, eax
je 0x5dfaae
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x168]
push eax
call fcn.0057a810
add esp, 0xc
test eax, eax
je 0x5dfaae
lea ecx, [ebp - 0x170]
push ecx
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x168]
push eax
call fcn.0057a5e0
add esp, 0xc
test eax, eax
jne 0x5dfab3
jmp 0x5dfbb1
lea ecx, [ebp - 0x84]
push ecx
call fcn.005e4ca0
add esp, 4
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x164]
push eax
call fcn.005df270
add esp, 8
lea ecx, [ebp - 0x164]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005df190
add esp, 8
push 0
mov eax, dword [ebp - 0x16c]
push eax
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.0057a7d0
add esp, 0xc
test eax, eax
je 0x5dfb75
push 0x20
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x168]
push eax
call fcn.0057a810
add esp, 0xc
test eax, eax
je 0x5dfb75
push 0x20
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x168]
push edx
call fcn.0057a810
add esp, 0xc
test eax, eax
je 0x5dfb75
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x168]
push edx
call fcn.0057a810
add esp, 0xc
test eax, eax
je 0x5dfb75
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0x168]
push edx
call fcn.0057a5e0
add esp, 0xc
test eax, eax
jne 0x5dfb77
jmp 0x5dfbb1
lea eax, [ebp - 0xc4]
push eax
call fcn.005e4ca0
add esp, 4
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x20
push ecx
call fcn.005e00a0
add esp, 0x10
mov dword [ebp - 0x174], 1
push 0x40
lea edx, [ebp - 0x84]
push edx
call fcn.00403ae0
add esp, 8
push 0x40
lea eax, [ebp - 0x44]
push eax
call fcn.00403ae0
add esp, 8
mov ecx, dword [ebp - 0x16c]
push ecx
call fcn.0057b000
add esp, 4
mov edx, dword [ebp - 0x168]
push edx
call fcn.0057ae10
add esp, 4
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret