Function at 0x7f6826
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10179940
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [reloc.MSVCRT.dll_strncpy]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 8]
mov edi, dword [edx + 0x48]
push 0
mov ecx, dword [ecx + 8]
cmp dword [edx + 0x5c], ecx
lea edi, [edi + 0x1f]
cmovb ecx, dword [edx + 0x5c]
shr edi, 5
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x40]
push edi
mov dword [ebp - 0x10], edi
call fcn.0074d956
mov esi, eax
mov dword [ebp - 0x30], esi
test edi, edi
je 0x7f6899
lea ecx, [edi - 1]
mov dword [esi], 0
test ecx, ecx
je 0x7f6899
xor eax, eax
lea edi, [esi + 4]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x48]
lea eax, [ecx - 1]
mov dword [ebp - 0x24], eax
test eax, eax
js 0x7f6b09
mov ecx, dword [edx + 0x48]
dec ecx
mov eax, ecx
shr eax, 5
cmp eax, edi
jae 0x7f69d6
mov eax, dword [esi + eax*4]
and ecx, 0x1f
shr eax, cl
test al, 1
je 0x7f69d6
xor edx, edx
xor edi, edi
cmp dword [ebp - 0x10], edx
jbe 0x7f69fc
mov ecx, dword [esi + edx*4]
lea eax, [ecx + ecx]
or eax, edi
mov edi, ecx
mov dword [esi + edx*4], eax
inc edx
shr edi, 0x1f
cmp edx, dword [ebp - 0x10]
jb 0x7f68db
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [edx + 0x44]
mov eax, edx
cmp edi, 0x10
jb 0x7f69b5
lea eax, [edi - 1]
mov dword [ebp - 0x1c], ecx
lea eax, [esi + eax*4]
mov dword [ebp - 0x20], eax
lea eax, [edi - 1]
lea eax, [edx + eax*4]
cmp esi, eax
ja 0x7f692b
mov eax, edx
cmp dword [ebp - 0x20], edx
jae 0x7f69b5
mov eax, edi
mov dword [ebp - 0x20], edx
and eax, 0xfffffff0
mov edi, edx
mov dword [ebp - 0x2c], eax
sub edi, esi
lea eax, [edx + 0x30]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0x10]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
nop dword [eax]
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x10
lea eax, [eax + 0x40]
lea edx, [edx + 0x40]
movups xmm1, xmmword [edx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edx - 0x50]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [edx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, dword [ebp - 0x2c]
jb 0x7f6956
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, edi
jae 0x7f69ff
mov eax, dword [ebp - 0x20]
sub eax, esi
lea ecx, [esi + ecx*4]
mov edx, edi
mov dword [ebp - 0x20], eax
sub edx, dword [ebp - 0x1c]
mov edi, eax
nop
mov eax, dword [ecx + edi]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
sub edx, 1
jne 0x7f69c6
jmp 0x7f69fc
xor edx, edx
xor edi, edi
cmp dword [ebp - 0x10], edx
jbe 0x7f69fc
nop dword [eax]
mov ecx, dword [esi + edx*4]
lea eax, [ecx + ecx]
or eax, edi
mov edi, ecx
mov dword [esi + edx*4], eax
inc edx
shr edi, 0x1f
cmp edx, dword [ebp - 0x10]
jb 0x7f69e6
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov edx, ecx
mov eax, dword [ebp + 0xc]
shr edx, 5
cmp edx, dword [eax + 8]
jae 0x7f6af9
mov eax, dword [eax + 0xc]
and ecx, 0x1f
mov eax, dword [eax + edx*4]
shr eax, cl
test al, 1
je 0x7f6af9
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x7f6af9
cmp eax, 0x10
jb 0x7f6ada
dec eax
mov dword [ebp - 0x20], edx
lea eax, [ecx + eax*4]
cmp esi, eax
ja 0x7f6a5e
mov eax, dword [ebp - 0x18]
dec eax
lea eax, [esi + eax*4]
cmp eax, ecx
jae 0x7f6ada
mov eax, dword [ebp - 0x18]
and eax, 0xfffffff0
mov dword [ebp - 0x20], eax
lea eax, [ecx + 0x30]
sub ecx, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
lea eax, [esi + 0x10]
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
movups xmm0, xmmword [eax - 0x10]
add edx, 0x10
lea eax, [eax + 0x40]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ecx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [ebp - 0x20]
jb 0x7f6a7b
mov edi, dword [ebp - 0x10]
mov eax, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], edx
cmp eax, dword [ebp - 0x18]
jae 0x7f6af9
mov edi, dword [ebp - 0x1c]
lea eax, [esi + edx*4]
mov edx, dword [ebp - 0x18]
sub edi, esi
sub edx, dword [ebp - 0x20]
mov ecx, dword [eax + edi]
lea eax, [eax + 4]
xor dword [eax - 4], ecx
sub edx, 1
jne 0x7f6ae8
mov edi, dword [ebp - 0x10]
sub dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x14]
jns 0x7f68ad
mov ecx, dword [edx + 0x48]
and ecx, 0x1f
je 0x7f6b1a
mov eax, 1
shl eax, cl
dec eax
and dword [esi + edi*4 - 4], eax
mov eax, dword [edx + 0x60]
mov ecx, dword [edx + 0x5c]
cmp eax, esi
je 0x7f6b5e
shl ecx, 2
test ecx, ecx
je 0x7f6b5e
test eax, eax
je 0x7f6b4b
push ecx
test esi, esi
je 0x7f6b40
push esi
push eax
call fcn.0081c636
add esp, 0xc
jmp 0x7f6b5b
push 0
push eax
call fcn.0081cbb6
add esp, 0xc
call fcn.00829f7c
mov dword [eax], 0x16
call fcn.00829a19
mov edx, dword [ebp - 0x14]
lea eax, [edx + 0x54]
mov dword [ebp - 4], 0
test esi, esi
je 0x7f6b84
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push esi
call fcn.007f85f6
mov eax, dword [ebp - 0x14]
add esp, 4
add eax, 0x54
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8