Function at 0x4ab3c6
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x638034]
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.004a4390
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.0055f270
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 0x4ab46f
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.004a435d
push edi
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004a435d
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 0x4ab4b3
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 0x4ab4d0
xor ecx, ecx
mov eax, dword [ebp + ecx - 0x4c]
add dword [ebp + ecx - 0x74], eax
add ecx, edx
cmp ecx, esi
jb 0x4ab4e7
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 0x4ab4f7
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004a4882
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x4c]
push eax
push eax
call fcn.004a4882
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.004a5457
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.004a5457
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 0x4ab55f
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 0x4ab57a
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004a4882
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 0x4ab5ac
lea eax, [ebp - 0x4c]
push eax
push eax
call fcn.004a5457
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004a5007
lea eax, [ebp - 0x114]
push eax
push eax
call fcn.004a5457
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 0x4ab5f0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004a4882
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004a4882
add esp, 0x18
sub ebx, 1
jns 0x4ab466
lea eax, [ebp - 0x4c]
push eax
push eax
call fcn.004a4619
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x74]
push eax
push eax
call fcn.004a4882
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x144]
call fcn.004a5f06
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0045d09e
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005462f1
leave
ret