Function at 0x4f90a0
Capabilities:
Encode data using xor
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x198
call fcn.0065cc50
mov eax, dword [0x745694]
xor eax, esp
mov dword [esp + 0x194], eax
movups xmm0, xmmword [edx]
mov dword [esp + 0x14], ecx
movups xmm1, xmmword [edx + 0x10]
mov ecx, dword [ebp + 8]
mov edx, ecx
movd eax, xmm0
lea ecx, [esp + 0x138]
movaps xmmword [esp + 0x178], xmm1
movaps xmmword [esp + 0x168], xmm0
and al, 0xf8
psrldq xmm1, 0xc
mov byte [esp + 0x168], al
movd eax, xmm1
push esi
push edi
shr eax, 0x18
xor edi, edi
and al, 0x3f
or al, 0x40
mov byte [esp + 0x18f], al
call fcn.004f5380
xorps xmm0, xmm0
mov ecx, 0xfe
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movq qword [esp + 0xd0], xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
movaps xmm0, xmmword [esp + 0x140]
movaps xmmword [esp + 0xe0], xmm0
movaps xmm0, xmmword [esp + 0x150]
movaps xmmword [esp + 0xf0], xmm0
movq xmm0, qword [esp + 0x160]
movq qword [esp + 0x100], xmm0
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0xb0], 1
movaps xmmword [esp + 0x60], xmm0
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x50], 1
mov dword [esp + 0x14], ecx
nop
mov eax, ecx
lea edx, [esp + 0xe0]
shr eax, 3
movzx ecx, cl
and ecx, 7
movzx esi, byte [esp + eax + 0x170]
shr esi, cl
lea ecx, [esp + 0xb0]
and esi, 1
xor edi, esi
push edi
call fcn.004f8d40
add esp, 4
lea edx, [esp + 0x50]
lea ecx, [esp + 0x20]
push edi
call fcn.004f8d40
mov eax, dword [esp + 0xe4]
add esp, 4
sub eax, dword [esp + 0x50]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xe4]
sub eax, dword [esp + 0x54]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xe8]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xec]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xf0]
sub eax, dword [esp + 0x60]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xf4]
sub eax, dword [esp + 0x64]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xf8]
sub eax, dword [esp + 0x68]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xfc]
sub eax, dword [esp + 0x6c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x100]
sub eax, dword [esp + 0x70]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x104]
sub eax, dword [esp + 0x74]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0xb4]
sub eax, dword [esp + 0x24]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0xb8]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0xc0]
sub eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0xc4]
sub eax, dword [esp + 0x34]
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0xc8]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0xcc]
sub eax, edi
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0xd4]
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0xd0]
sub eax, edx
mov dword [esp + 0x138], eax
mov eax, esi
sub eax, dword [esp + 0x44]
mov dword [esp + 0x13c], eax
lea ecx, [esp + 0x50]
mov eax, dword [esp + 0xb0]
add eax, dword [esp + 0x20]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb4]
add eax, dword [esp + 0x24]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xb8]
add eax, dword [esp + 0x28]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xbc]
add eax, dword [esp + 0x2c]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc0]
add eax, dword [esp + 0x30]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc4]
add eax, dword [esp + 0x34]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xc8]
add eax, dword [esp + 0x38]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0xe0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0xe4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0xe8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0xec]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
add eax, dword [esp + 0xf0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0xf4]
add esi, dword [esp + 0x44]
add dword [esp + 0xd0], edx
lea edx, [esp + 0x88]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0xf8]
add dword [esp + 0xcc], edi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0xfc]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x100]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x104]
mov dword [esp + 0x44], eax
lea eax, [esp + 0xb0]
push eax
mov dword [esp + 0xd8], esi
call fcn.004f5a10
add esp, 4
lea eax, [esp + 0x118]
lea edx, [esp + 0x20]
mov ecx, edx
push eax
call fcn.004f5a10
add esp, 4
lea edx, [esp + 0x118]
lea ecx, [esp + 0x88]
call fcn.004f61c0
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x118]
call fcn.004f61c0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x50]
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x54]
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xe4], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xe8], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0xec], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0xf0], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0xf4], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xf8], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0xfc], eax
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x100], eax
lea eax, [ecx + edx]
sub edx, ecx
mov dword [esp + 0x104], eax
lea ecx, [esp + 0xb0]
lea eax, [esp + 0x88]
mov dword [esp + 0x44], edx
push eax
lea edx, [esp + 0x11c]
call fcn.004f5a10
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x24]
sub dword [esp + 0x124], eax
add esp, 4
mov eax, dword [esp + 0x94]
mov ecx, edx
sub dword [esp + 0x124], eax
mov eax, dword [esp + 0x98]
sub dword [esp + 0x128], eax
mov eax, dword [esp + 0x9c]
sub dword [esp + 0x12c], eax
mov eax, dword [esp + 0xa0]
sub dword [esp + 0x130], eax
mov eax, dword [esp + 0xa4]
sub dword [esp + 0x134], eax
mov eax, dword [esp + 0xa8]
sub dword [esp + 0x138], eax
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
sub dword [esp + 0x118], esi
sub dword [esp + 0x11c], edi
mov eax, dword [esp + 0xac]
sub dword [esp + 0x13c], eax
call fcn.004f61c0
lea edx, [esp + 0x118]
lea ecx, [esp + 0x50]
call fcn.004f8e40
lea edx, [esp + 0xe0]
mov ecx, edx
call fcn.004f61c0
mov eax, dword [esp + 0x90]
lea edx, [esp + 0x140]
add eax, dword [esp + 0x58]
lea ecx, [esp + 0x50]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x94]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x98]
add eax, dword [esp + 0x60]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x9c]
add eax, dword [esp + 0x64]
add esi, dword [esp + 0x50]
add edi, dword [esp + 0x54]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa0]
add eax, dword [esp + 0x68]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa4]
add eax, dword [esp + 0x6c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa8]
add eax, dword [esp + 0x70]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xac]
add eax, dword [esp + 0x74]
mov dword [esp + 0xac], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], edi
call fcn.004f5a10
add esp, 4
lea eax, [esp + 0x88]
lea edx, [esp + 0x118]
lea ecx, [esp + 0x20]
push eax
call fcn.004f5a10
mov ecx, dword [esp + 0x18]
add esp, 4
mov edi, dword [esp + 0x18]
sub ecx, 1
mov dword [esp + 0x14], ecx
jns 0x4f91a0
lea edx, [esp + 0x20]
mov ecx, edx
call fcn.004f66f0
lea eax, [esp + 0x20]
lea edx, [esp + 0xb0]
push eax
mov ecx, edx
call fcn.004f5a10
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xb4]
add esp, 4
call fcn.004f57a0
lea eax, [esp + 0x170]
push 0x20
push eax
call fcn.00401320
mov ecx, dword [esp + 0x1a4]
add esp, 8
pop edi
pop esi
xor ecx, esp
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret