Function at 0x49e070
Capabilities:
Encrypt data using curve25519
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x144
call fcn.005e38a0
mov eax, dword [0x6c6e10]
xor eax, esp
mov dword [esp + 0x140], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 8
lea edi, [esp + 0x12c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x148]
and byte [esp + 0x12c], 0xf8
shr ecx, 0x18
and cl, 0x3f
or cl, 0x40
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x14b], cl
mov ecx, eax
lea edi, [esp + 0x104]
xor ebx, ebx
call fcn.004988d0
xor eax, eax
mov dword [esp + 0x64], eax
push 0x28
mov edx, edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
push edx
lea eax, [esp + 0xe4]
mov esi, 1
push eax
mov dword [esp + 0x70], esi
call fcn.005e1640
add esp, 0xc
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, 0xfe
mov dword [esp + 0x3c], esi
mov dword [esp + 0xc], eax
jmp 0x49e194
mov eax, dword [esp + 0xc]
mov ecx, eax
shr ecx, 3
movzx esi, byte [esp + ecx + 0x12c]
movzx ecx, al
and ecx, 7
shr esi, cl
lea edx, [esp + 0xdc]
push edx
lea ecx, [esp + 0x68]
and esi, 1
xor ebx, esi
mov edx, ebx
call fcn.0049dc50
lea eax, [esp + 0x40]
add esp, 4
push eax
mov edx, ebx
lea ecx, [esp + 0x18]
call fcn.0049dc50
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x40]
mov ebx, esi
mov edx, eax
sub edx, ecx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0xe4]
mov esi, edx
sub esi, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x90], esi
mov esi, dword [esp + 0xe4]
sub esi, dword [esp + 0x44]
mov dword [esp + 0x94], esi
mov esi, dword [esp + 0xe8]
sub esi, dword [esp + 0x48]
mov dword [esp + 0x98], esi
mov esi, dword [esp + 0xec]
sub esi, dword [esp + 0x4c]
mov dword [esp + 0x9c], esi
mov esi, dword [esp + 0xf0]
sub esi, dword [esp + 0x50]
mov dword [esp + 0xa0], esi
mov esi, dword [esp + 0xf4]
sub esi, dword [esp + 0x54]
mov dword [esp + 0xa4], esi
mov esi, dword [esp + 0xf8]
sub esi, dword [esp + 0x58]
mov dword [esp + 0xa8], esi
mov esi, dword [esp + 0xfc]
sub esi, dword [esp + 0x5c]
mov dword [esp + 0xac], esi
mov esi, dword [esp + 0x100]
sub esi, dword [esp + 0x60]
mov dword [esp + 0xb0], esi
mov esi, dword [esp + 0x64]
sub esi, dword [esp + 0x14]
mov dword [esp + 0xb4], esi
mov esi, dword [esp + 0x68]
sub esi, dword [esp + 0x18]
mov dword [esp + 0xb8], esi
mov esi, dword [esp + 0x6c]
sub esi, dword [esp + 0x1c]
mov dword [esp + 0xbc], esi
mov esi, dword [esp + 0x70]
sub esi, dword [esp + 0x20]
mov dword [esp + 0xc0], esi
mov esi, dword [esp + 0x74]
sub esi, dword [esp + 0x24]
mov dword [esp + 0xc4], esi
mov esi, dword [esp + 0x78]
sub esi, dword [esp + 0x28]
mov dword [esp + 0xc8], esi
mov esi, dword [esp + 0x7c]
sub esi, dword [esp + 0x2c]
mov dword [esp + 0xcc], esi
mov esi, dword [esp + 0x80]
sub esi, dword [esp + 0x30]
mov dword [esp + 0xd0], esi
mov esi, dword [esp + 0x84]
sub esi, dword [esp + 0x34]
mov dword [esp + 0xd4], esi
mov esi, dword [esp + 0x88]
sub esi, dword [esp + 0x38]
add edx, dword [esp + 0x40]
mov dword [esp + 0xd8], esi
mov esi, dword [esp + 0x14]
add dword [esp + 0x64], esi
mov esi, dword [esp + 0x18]
add dword [esp + 0x68], esi
mov esi, dword [esp + 0x1c]
add dword [esp + 0x6c], esi
mov esi, dword [esp + 0x20]
add dword [esp + 0x70], esi
mov esi, dword [esp + 0x24]
add dword [esp + 0x74], esi
mov esi, dword [esp + 0x28]
add dword [esp + 0x78], esi
mov esi, dword [esp + 0x2c]
add dword [esp + 0x7c], esi
mov esi, dword [esp + 0x30]
add dword [esp + 0x80], esi
mov esi, dword [esp + 0x34]
add dword [esp + 0x84], esi
add eax, ecx
mov ecx, dword [esp + 0xe4]
add ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x38]
add dword [esp + 0x88], esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xe8]
add eax, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xec]
add edx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xf4]
add eax, dword [esp + 0x54]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xf0]
add ecx, dword [esp + 0x50]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xf8]
add edx, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x100]
add eax, dword [esp + 0x60]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xfc]
add ecx, dword [esp + 0x5c]
mov dword [esp + 0x30], edx
lea edx, [esp + 0x64]
mov dword [esp + 0x38], eax
push edx
lea eax, [esp + 0x40]
mov dword [esp + 0x38], ecx
push eax
lea ecx, [esp + 0x94]
call fcn.00499100
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, edx
call fcn.00499100
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.0049a390
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0xd0]
push eax
call fcn.0049a390
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x60]
add edx, ecx
mov dword [esp + 0x100], edx
sub eax, dword [esp + 0x34]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x3c]
add esi, edx
mov dword [esp + 0x104], esi
mov esi, dword [esp + 0x40]
add esi, dword [esp + 0x68]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x40]
mov dword [esp + 0x108], esi
mov esi, dword [esp + 0x44]
add esi, dword [esp + 0x6c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x44]
sub ecx, dword [esp + 0x38]
mov dword [esp + 0x10c], esi
mov esi, dword [esp + 0x48]
add esi, dword [esp + 0x70]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x48]
mov edi, dword [esp + 0x58]
sub edx, dword [esp + 0x3c]
mov dword [esp + 0x110], esi
mov esi, dword [esp + 0x4c]
add esi, dword [esp + 0x74]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x114], esi
mov esi, dword [esp + 0x50]
add esi, dword [esp + 0x78]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x50]
mov dword [esp + 0x118], esi
mov esi, dword [esp + 0x54]
add esi, dword [esp + 0x7c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x54]
mov dword [esp + 0x11c], esi
mov esi, dword [esp + 0x80]
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], ecx
lea eax, [esp + 0xac]
add edi, esi
sub esi, dword [esp + 0x58]
push eax
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0xdc]
mov dword [esp + 0x128], edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x60], esi
call fcn.00499100
mov edx, dword [esp + 0xb8]
sub dword [esp + 0xe0], edx
mov eax, dword [esp + 0xbc]
sub dword [esp + 0xe4], eax
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
sub dword [esp + 0xe8], ecx
sub dword [esp + 0xec], edx
mov eax, dword [esp + 0xc8]
sub dword [esp + 0xf0], eax
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xd0]
sub dword [esp + 0xf4], ecx
sub dword [esp + 0xf8], edx
mov eax, dword [esp + 0xd4]
mov esi, dword [esp + 0xb4]
sub dword [esp + 0xfc], eax
mov ecx, dword [esp + 0xd8]
sub dword [esp + 0xdc], esi
sub dword [esp + 0x100], ecx
lea edx, [esp + 0x3c]
push edx
mov eax, edx
push eax
call fcn.0049a390
lea ecx, [esp + 0xe4]
lea edi, [esp + 0x6c]
call fcn.0049dd40
lea ecx, [esp + 0x10c]
push ecx
mov edx, ecx
push edx
call fcn.0049a390
mov eax, dword [esp + 0x78]
add dword [esp + 0xc8], eax
mov ecx, dword [esp + 0x7c]
add dword [esp + 0xcc], ecx
mov eax, dword [esp + 0x84]
add dword [esp + 0xd4], eax
mov ecx, dword [esp + 0x88]
add dword [esp + 0xd8], ecx
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x94]
add dword [esp + 0xd0], edx
add dword [esp + 0xe0], eax
mov edx, dword [esp + 0x8c]
add dword [esp + 0xe4], ecx
add esi, dword [esp + 0x74]
add dword [esp + 0xdc], edx
mov edx, dword [esp + 0x98]
add dword [esp + 0xe8], edx
lea eax, [esp + 0x4c]
push eax
mov ecx, edi
push ecx
lea ecx, [esp + 0x144]
mov dword [esp + 0xcc], esi
call fcn.00499100
add esp, 0x40
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xbc]
call fcn.00499100
add esp, 8
dec dword [esp + 0xc]
jns 0x49e190
lea ecx, [esp + 0x14]
push ecx
call fcn.0049ae90
add esp, 4
lea edx, [esp + 0x14]
lea eax, [esp + 0x64]
push edx
push eax
mov ecx, eax
call fcn.00499100
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x70]
call fcn.00498d40
add esp, 0xc
lea edx, [esp + 0x12c]
push 0x20
push edx
call fcn.00587a20
mov ecx, dword [esp + 0x154]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005dcf8a
mov esp, ebp
pop ebp
ret