Function at 0x1006d510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], edx
mov esi, ecx
and edi, 3
and esi, 3
cmp esi, edi
jne 0x1006d61c
mov esi, eax
and esi, 3
cmp edi, esi
jne 0x1006d61c
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x1006d558
test esi, esi
je 0x1006d558
mov bl, byte [eax]
dec esi
xor bl, byte [edx]
inc eax
mov byte [ecx], bl
inc edx
inc ecx
test dl, 3
jne 0x1006d545
mov ebx, esi
xor edi, edi
shr ebx, 2
test ebx, ebx
je 0x1006d614
cmp ebx, 0x10
jb 0x1006d5f8
lea edi, [ebx - 1]
lea edi, [edx + edi*4]
cmp ecx, edi
ja 0x1006d584
lea edi, [ebx - 1]
lea edi, [ecx + edi*4]
cmp edi, edx
jae 0x1006d5f6
lea edi, [ebx - 1]
lea edi, [eax + edi*4]
cmp ecx, edi
ja 0x1006d598
lea edi, [ebx - 1]
lea edi, [ecx + edi*4]
cmp edi, eax
jae 0x1006d5f6
mov edi, ebx
and edi, 0xfffffff0
mov dword [ebp + 0xc], edi
xor edi, edi
movups xmm0, xmmword [edx]
add edi, 0x10
movups xmm1, xmmword [eax]
pxor xmm1, xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [ecx], xmm1
movups xmm1, xmmword [eax + 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [ecx + 0x10], xmm1
movups xmm1, xmmword [eax + 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [edx + 0x30]
add edx, 0x40
movups xmmword [ecx + 0x20], xmm1
movups xmm1, xmmword [eax + 0x30]
add eax, 0x40
pxor xmm1, xmm0
movups xmmword [ecx + 0x30], xmm1
add ecx, 0x40
cmp edi, dword [ebp + 0xc]
jb 0x1006d5a2
cmp edi, ebx
jae 0x1006d614
jmp 0x1006d5f8
xor edi, edi
sub ebx, edi
nop word [eax + eax]
mov edi, dword [eax]
add eax, 4
xor edi, dword [edx]
add edx, 4
mov dword [ecx], edi
add ecx, 4
sub ebx, 1
jne 0x1006d600
mov dword [ebp - 4], edx
and esi, 3
jmp 0x1006d61f
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp + 8], esi
test esi, esi
je 0x1006d713
cmp esi, 0x40
jb 0x1006d6f8
lea edi, [edx - 1]
add edi, esi
cmp ecx, edi
ja 0x1006d64b
lea edi, [ecx - 1]
add edi, esi
cmp edi, edx
jae 0x1006d6f8
lea edi, [eax - 1]
add edi, esi
cmp ecx, edi
ja 0x1006d661
lea edi, [ecx - 1]
add edi, esi
cmp edi, eax
jae 0x1006d6f8
mov edi, esi
mov esi, eax
sub esi, edx
and edi, 0xffffffc0
mov dword [ebp + 0xc], esi
mov esi, ecx
sub esi, edx
mov dword [ebp - 0x10], edi
lea edi, [edx + 0x10]
mov dword [ebp - 8], esi
mov edx, eax
lea esi, [ecx + 0x20]
sub edx, ecx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 0xc]
nop word [eax + eax]
movups xmm0, xmmword [edi - 0x10]
lea edi, [edi + 0x40]
movups xmm1, xmmword [ebx + eax]
lea esi, [esi + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [edi - 0x40]
movups xmmword [esi - 0x60], xmm1
movups xmm1, xmmword [edx + edi - 0x40]
mov edx, dword [ebp - 8]
pxor xmm1, xmm0
movups xmm0, xmmword [edi - 0x30]
movups xmmword [edx + edi - 0x40], xmm1
mov edx, dword [ebp - 0xc]
movups xmm1, xmmword [edx + esi - 0x40]
mov edx, dword [ebp + 0xc]
pxor xmm1, xmm0
movups xmm0, xmmword [edi - 0x20]
movups xmmword [esi - 0x40], xmm1
movups xmm1, xmmword [ebx + eax + 0x30]
add ebx, 0x40
pxor xmm1, xmm0
movups xmmword [esi - 0x30], xmm1
cmp ebx, dword [ebp - 0x10]
jb 0x1006d690
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ebp + 0xc], ebx
cmp ebx, esi
jae 0x1006d713
sub eax, edx
lea edi, [ebx + edx]
sub ecx, edx
sub esi, ebx
mov dl, byte [eax + edi]
lea edi, [edi + 1]
xor dl, byte [edi - 1]
mov byte [ecx + edi - 1], dl
sub esi, 1
jne 0x1006d701
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret