Function at 0x4ab4bd
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x639034]
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.004a4487
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.0055f5a0
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 0x4ab566
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.004a4454
push edi
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004a4454
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 0x4ab5aa
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 0x4ab5c7
xor ecx, ecx
mov eax, dword [ebp + ecx - 0x4c]
add dword [ebp + ecx - 0x74], eax
add ecx, edx
cmp ecx, esi
jb 0x4ab5de
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 0x4ab5ee
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004a4979
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x4c]
push eax
push eax
call fcn.004a4979
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.004a554e
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.004a554e
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 0x4ab656
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 0x4ab671
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004a4979
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 0x4ab6a3
lea eax, [ebp - 0x4c]
push eax
push eax
call fcn.004a554e
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004a50fe
lea eax, [ebp - 0x114]
push eax
push eax
call fcn.004a554e
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 0x4ab6e7
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004a4979
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004a4979
add esp, 0x18
sub ebx, 1
jns 0x4ab55d
lea eax, [ebp - 0x4c]
push eax
push eax
call fcn.004a4710
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x74]
push eax
push eax
call fcn.004a4979
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x144]
call fcn.004a5ffd
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0045d198
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00546623
leave
ret