Function at 0x5f63c5
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x904fe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
and dword [ebp - 0x140], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 8
mov dword [ebp - 0x144], eax
lea edi, [ebp - 0x24]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
and byte [ebp - 0x24], 0xf8
shr eax, 0x18
and al, 0x3f
or al, 0x40
mov byte [ebp - 5], al
lea eax, [ebp - 0x13c]
push edx
push eax
call fcn.005ef38f
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x74]
rep stosd dword es:[edi], eax
push 0xa
pop ecx
lea edi, [ebp - 0x4c]
xor ebx, ebx
rep stosd dword es:[edi], eax
push 0x28
lea eax, [ebp - 0x13c]
inc ebx
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x74], ebx
push eax
call fcn.00739660
add esp, 0x14
lea edi, [ebp - 0x9c]
xor eax, eax
push 0xa
pop ecx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x140]
mov dword [ebp - 0x9c], ebx
mov ebx, 0xfe
mov eax, ebx
test eax, eax
jns 0x5f646e
add eax, 7
sar eax, 3
movzx esi, byte [ebp + eax - 0x24]
lea eax, [ebp - 0x114]
movzx ecx, bl
and ecx, 7
shr esi, cl
and esi, 1
xor edi, esi
push edi
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.005ef35c
push edi
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.005ef35c
add esp, 0x18
mov edi, esi
xor ecx, ecx
push 0x28
pop esi
push 4
pop edx
mov eax, dword [ebp + ecx - 0x114]
sub eax, dword [ebp + ecx - 0x9c]
mov dword [ebp + ecx - 0xec], eax
add ecx, edx
cmp ecx, esi
jb 0x5f64b2
xor ecx, ecx
mov eax, dword [ebp + ecx - 0x74]
sub eax, dword [ebp + ecx - 0x4c]
mov dword [ebp + ecx - 0xc4], eax
add ecx, edx
cmp ecx, esi
jb 0x5f64cf
xor ecx, ecx
mov eax, dword [ebp + ecx - 0x4c]
add dword [ebp + ecx - 0x74], eax
add ecx, edx
cmp ecx, esi
jb 0x5f64e6
xor ecx, ecx
mov eax, dword [ebp + ecx - 0x9c]
add eax, dword [ebp + ecx - 0x114]
mov dword [ebp + ecx - 0x4c], eax
add ecx, edx
cmp ecx, esi
jb 0x5f64f6
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.005ef881
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x4c]
push eax
push eax
call fcn.005ef881
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.005f0456
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.005f0456
add esp, 0x28
xor ecx, ecx
mov eax, dword [ebp + ecx - 0x9c]
add eax, dword [ebp + ecx - 0x4c]
mov dword [ebp + ecx - 0x114], eax
add ecx, 4
cmp ecx, esi
jb 0x5f655e
xor ecx, ecx
mov eax, dword [ebp + ecx - 0x9c]
sub eax, dword [ebp + ecx - 0x4c]
mov dword [ebp + ecx - 0x4c], eax
add ecx, 4
cmp ecx, esi
jb 0x5f6579
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.005ef881
add esp, 0xc
xor ecx, ecx
mov eax, dword [ebp + ecx - 0xec]
sub dword [ebp + ecx - 0xc4], eax
add ecx, 4
cmp ecx, esi
jb 0x5f65ab
lea eax, [ebp - 0x4c]
push eax
push eax
call fcn.005f0456
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.005f0006
lea eax, [ebp - 0x114]
push eax
push eax
call fcn.005f0456
add esp, 0x18
xor ecx, ecx
mov eax, dword [ebp + ecx - 0x9c]
add dword [ebp + ecx - 0xec], eax
add ecx, 4
cmp ecx, esi
jb 0x5f65ef
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.005ef881
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.005ef881
add esp, 0x18
sub ebx, 1
jns 0x5f6465
lea eax, [ebp - 0x4c]
push eax
push eax
call fcn.005ef618
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x74]
push eax
push eax
call fcn.005ef881
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x144]
call fcn.005f0f05
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.00562841
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.007207bc
leave
ret