Function at 0x5f39d0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x148
call fcn.004c03f0
mov eax, dword [0x6f33d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xf4], 0
push 0x20
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xec]
push ecx
call fcn.004bd990
add esp, 0xc
movzx edx, byte [ebp - 0xec]
and edx, 0xf8
mov byte [ebp - 0xec], dl
movzx eax, byte [ebp - 0xcd]
and eax, 0x7f
mov byte [ebp - 0xcd], al
movzx ecx, byte [ebp - 0xcd]
or ecx, 0x40
mov byte [ebp - 0xcd], cl
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0xcc]
push eax
call fcn.005f2600
add esp, 8
lea ecx, [ebp - 0x2c]
push ecx
call fcn.005e8a70
add esp, 4
lea edx, [ebp - 0x7c]
push edx
call fcn.005e8a50
add esp, 4
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x144]
push ecx
call fcn.005ea0e0
add esp, 8
lea edx, [ebp - 0x54]
push edx
call fcn.005e8a70
add esp, 4
mov dword [ebp - 0xf0], 0xfe
jmp 0x5f3aa1
mov eax, dword [ebp - 0xf0]
sub eax, 1
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
jl 0x5f3cc6
mov eax, dword [ebp - 0xf0]
cdq
and edx, 7
add eax, edx
sar eax, 3
movzx edx, byte [ebp + eax - 0xec]
mov ecx, dword [ebp - 0xf0]
and ecx, 7
sar edx, cl
and edx, 1
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0xf4]
xor eax, dword [ebp - 0x148]
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
push ecx
lea edx, [ebp - 0x144]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.005f3d20
add esp, 0xc
mov ecx, dword [ebp - 0xf4]
push ecx
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x7c]
push eax
call fcn.005f3d20
add esp, 0xc
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0xf4], ecx
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.005e8cb0
add esp, 0xc
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.005e8cb0
add esp, 0xc
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.005e8c60
add esp, 0xc
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.005e8c60
add esp, 0xc
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.005e5680
add esp, 0xc
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.005e5680
add esp, 0xc
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x11c]
push eax
call fcn.005e7520
add esp, 8
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.005e7520
add esp, 8
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x144]
push edx
call fcn.005e8c60
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.005e8cb0
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.005e5680
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.005e8cb0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.005e7520
add esp, 8
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.005f3da0
add esp, 8
lea ecx, [ebp - 0x144]
push ecx
lea edx, [ebp - 0x144]
push edx
call fcn.005e7520
add esp, 8
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x11c]
push edx
call fcn.005e8c60
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.005e5680
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.005e5680
add esp, 0xc
jmp 0x5f3a92
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.005e7200
add esp, 8
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.005e5680
add esp, 0xc
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005e5290
add esp, 8
push 0x20
lea ecx, [ebp - 0xec]
push ecx
call fcn.0051c1a0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bec6d
mov esp, ebp
pop ebp
ret