Function at 0xcd9910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov edi, dword [ebp + 8]
mov dword [esp + 0x24], ecx
add edi, dword [ecx + 0x60]
movaps xmm0, xmmword [0xd0d570]
movups xmmword [esp + 0x80], xmm0
movaps xmm0, xmmword [0xd0d580]
movups xmmword [esp + 0x90], xmm0
mov dword [esp + 0xa0], 0x3032369a
mov word [esp + 0xa4], 0x2134
mov dword [esp + 0xa6], 0
mov word [esp + 0xaa], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x2b
ja 0xcd99db
nop word cs:[eax + eax]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x80]
lea edx, [eax + 0x45316e61]
mov esi, ecx
not esi
or esi, edx
and edx, ecx
add edx, esi
neg edx
add eax, edx
add eax, 0x45316e60
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
add al, 0x59
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x80], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x2c
jb 0xcd9990
mov dword [esp + 8], 0xf3fcc0ea
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0xcd9a54
nop word [eax + eax]
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax + 0x16ffe35e]
add eax, 0x5e
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
add al, 0x6e
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
mov eax, dword [esp]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [esp], eax
mov eax, dword [esp]
cmp eax, 0xd
jb 0xcd9a10
movaps xmm0, xmmword [0xd0d590]
movups xmmword [esp + 0x28], xmm0
movaps xmm0, xmmword [0xd0d5a0]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [0xd0d5b0]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [str.D_VB_]
movups xmmword [esp + 0x58], xmm0
movsd xmm0, qword [0xd0d5d0]
movsd qword [esp + 0x68], xmm0
mov dword [esp + 0x70], 0x66f7469
mov word [esp + 0x74], 0xcd2e
mov dword [esp + 0x7a], 0
mov dword [esp + 0x76], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x55
ja 0xcd9b18
nop word cs:[eax + eax]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x28]
lea edx, [eax + 0xd8]
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0x160b05d8
mov dword [esp], eax
mov eax, dword [esp]
mov ecx, eax
xor ecx, 0x17
and eax, 0x17
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x28], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x56
jb 0xcd9ad0
mov eax, dword [ebp + 0xc]
movzx ecx, byte [esp + 0x28]
mov edx, edi
test cl, cl
je 0xcd9b3b
lea esi, [esp + 0x29]
mov edx, edi
nop dword [eax]
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0xcd9b30
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0xcd9b5b
inc eax
nop word cs:[eax + eax]
mov byte [edx], cl
inc edx
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0xcd9b50
mov byte [edx], 0
movzx eax, byte [esp + 8]
test al, al
je 0xcd9b7b
lea ecx, [esp + 9]
nop dword [eax + eax]
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0xcd9b70
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov byte [edx], 0
movzx eax, byte [esp + 0x80]
test al, al
mov dword [esp + 0x20], edi
je 0xcd9bab
lea ecx, [esp + 0x81]
nop dword [eax + eax]
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0xcd9ba0
mov byte [edx], 0
mov ecx, esi
shr ecx, 2
mov eax, ebx
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, esi
and eax, 0xfffffffc
lea edi, [edx + eax]
add eax, ebx
and esi, 3
mov ecx, esi
shr ecx, 1
mov ebx, eax
mov dword [esp + 0x1c], edi
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov ebx, dword [ebp + 0x14]
test bl, 1
je 0xcd9bfb
mov ecx, ebx
and ecx, 2
movzx eax, byte [eax + ecx]
mov ecx, ebx
not ecx
or ecx, 0xfffffffe
add esi, ecx
mov ecx, dword [esp + 0x1c]
mov byte [ecx + esi + 1], al
movaps xmm0, xmmword [0xd0d5e0]
movups xmmword [esp + 0x28], xmm0
movsd xmm0, qword [0xd0d5f0]
movsd qword [esp + 0x38], xmm0
mov word [esp + 0x40], 0x5ba1
mov byte [esp + 0x42], 0x50
mov dword [esp + 0x47], 0
mov dword [esp + 0x43], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x22
mov edi, dword [esp + 0x20]
ja 0xcd9c96
nop word cs:[eax + eax]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x28]
lea esi, [eax + ecx]
add esi, 0xae7807e7
add eax, 0xae7807e7
and eax, ecx
add eax, eax
sub esi, eax
mov dword [esp + 0x80], esi
mov eax, dword [esp + 0x80]
add al, 0xaf
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x28], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x23
jb 0xcd9c50
add edx, ebx
movzx eax, byte [esp + 0x28]
test al, al
je 0xcd9cbb
lea ecx, [esp + 0x29]
nop word cs:[eax + eax]
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0xcd9cb0
mov byte [edx], 0
sub edx, edi
mov eax, dword [esp + 0x24]
add dword [eax + 0x60], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10