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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x1017208c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x14c
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.100ae310
mov eax, dword [ebp + 0x10]
push esi
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movd eax, xmm0
movups xmmword [ebp - 0x114], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [ebp - 0x124], xmm0
mov byte [ebp - 0x124], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x105], al
lea eax, [ebp - 0x3c]
push eax
call fcn.10077c00
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 1
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x88], 0
push eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x84], 0
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
call fcn.10077a00
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x8c]
push eax
push eax
call fcn.10079d50
lea eax, [ebp - 0x8c]
push eax
push eax
call fcn.10077ee0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10078780
mov eax, dword [ebp - 0x3c]
xorps xmm0, xmm0
mov dword [ebp - 0x14c], eax
add esp, 0x40
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xb4], 1
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x13c], eax
mov ecx, 0xfe
mov eax, dword [ebp - 0x28]
xor esi, esi
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0xdc], 1
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xb8], 0
movups xmmword [ebp - 0xc8], xmm0
mov eax, ecx
mov dword [ebp - 0x150], ecx
shr eax, 3
movzx ecx, cl
and ecx, 7
movzx eax, byte [ebp + eax - 0x124]
shr eax, cl
and eax, 1
xor esi, eax
mov dword [ebp - 0x154], eax
push esi
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.10077aa0
push esi
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.10077aa0
mov eax, dword [ebp - 0x14c]
sub eax, dword [ebp - 0xdc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x148]
sub eax, dword [ebp - 0xd8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x144]
sub eax, dword [ebp - 0xd4]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x140]
sub eax, dword [ebp - 0xd0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x13c]
sub eax, dword [ebp - 0xcc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x138]
sub eax, dword [ebp - 0xc8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0xc4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x130]
sub eax, dword [ebp - 0xc0]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x12c]
sub eax, dword [ebp - 0xbc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x128]
sub eax, dword [ebp - 0xb8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa8]
sub eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x94]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x98]
sub eax, edi
mov dword [ebp - 0x70], eax
mov eax, ebx
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
mov esi, dword [ebp - 0x90]
mov eax, esi
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xb4]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x60]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa4]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa0]
add eax, dword [ebp - 0x50]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0x14c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xd8]
add eax, dword [ebp - 0x148]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xd4]
add eax, dword [ebp - 0x144]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xd0]
add eax, dword [ebp - 0x140]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xcc]
add eax, dword [ebp - 0x13c]
add ebx, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xc8]
add eax, dword [ebp - 0x138]
add esi, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xc4]
add eax, dword [ebp - 0x134]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x130]
add dword [ebp - 0x98], edi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x12c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x128]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x94], ebx
push eax
lea eax, [ebp - 0xdc]
mov dword [ebp - 0x90], esi
push eax
call fcn.10078780
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x64]
push eax
push eax
call fcn.10078780
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.10078130
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.10078130
mov eax, dword [ebp - 0x64]
add esp, 0x40
add eax, dword [ebp - 0xdc]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0xd8]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0xd4]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0xd0]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0xcc]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0xc8]
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x130], eax
lea eax, [esi + edi]
mov dword [ebp - 0x12c], eax
sub edi, esi
lea eax, [ecx + edx]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x128], eax
sub edx, ecx
mov eax, dword [ebp - 0xdc]
sub eax, dword [ebp - 0x64]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xd8]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xd0]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xcc]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xc4]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x40], edx
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.10078780
mov eax, dword [ebp - 0x104]
sub dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x100]
sub dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xfc]
sub dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xf8]
sub dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xf4]
sub dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xf0]
sub dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xec]
sub dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xe8]
sub dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xe4]
sub dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xe0]
sub dword [ebp - 0x68], eax
lea eax, [ebp - 0x64]
push eax
push eax
call fcn.10078130
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.10079a60
lea eax, [ebp - 0x14c]
push eax
push eax
call fcn.10078130
mov eax, dword [ebp - 0xdc]
add dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xd8]
add dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xd4]
add dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xd0]
add dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xcc]
add dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xc8]
add dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xc4]
add dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xc0]
add dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xbc]
add dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xb8]
add dword [ebp - 0xe0], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.10078780
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.10078780
mov eax, dword [ebp - 0x150]
add esp, 0x3c
mov esi, dword [ebp - 0x154]
lea ecx, [eax - 1]
test eax, eax
jne 0x10079fc2
push esi
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.10077aa0
push esi
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.10077aa0
lea eax, [ebp - 0x64]
push eax
push eax
call fcn.10077ee0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xb4]
push eax
push eax
call fcn.10078780
lea eax, [ebp - 0xb4]
push eax
push dword [ebp - 0x158]
call fcn.10079850
mov ecx, dword [ebp - 4]
add esp, 0x34
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100ad37d
mov esp, ebp
pop ebp
ret