Function at 0xcd96a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [ebp + 8]
add eax, dword [ecx + 0x60]
mov word [esp + 0x18], 0x232d
mov byte [esp + 0x1a], 0xda
mov dword [esp + 0x1b], 0
mov dword [esp + 0x1e], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
cmp edx, 9
ja 0xcd9721
nop
mov edx, dword [esp + 8]
mov esi, dword [esp + 8]
movzx esi, byte [esp + esi + 0x18]
lea edi, [edx + 0x78623924]
and edi, esi
add edx, esi
add edx, 0x78623924
add edi, edi
sub edx, edi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x28]
add dl, 4
mov esi, dword [esp + 8]
mov byte [esp + esi + 0x18], dl
inc dword [esp + 8]
mov edx, dword [esp + 8]
cmp edx, 0xa
jb 0xcd96e0
mov dword [esp + 8], 0xf88a86f0
mov word [esp + 0xc], 0xe9f4
mov dword [esp + 0xe], 0
mov byte [esp + 0x12], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 0xa
ja 0xcd979c
nop dword [eax]
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
mov edi, edx
xor edi, 0x3932d6bd
and edx, 0x3932d6bd
lea edx, [edi + edx*2]
lea edi, [edx + esi]
and edx, esi
add edx, edx
mov esi, edx
xor esi, edi
not edx
and edx, edi
add edx, edx
sub edx, esi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x28]
add dl, 0xd5
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 0xb
jb 0xcd9750
movaps xmm0, xmmword [0xd0d530]
movups xmmword [esp + 0x28], xmm0
movaps xmm0, xmmword [0xd0d540]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [0xd0d550]
movups xmmword [esp + 0x48], xmm0
movsd xmm0, qword [0xd0d560]
movsd qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0xd9371c05
mov byte [esp + 0x64], 0xfc
mov dword [esp + 0x69], 0
mov dword [esp + 0x65], 0
mov byte [esp + 0x6d], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0x45
ja 0xcd984d
nop word cs:[eax + eax]
mov edx, dword [esp + 4]
mov esi, dword [esp + 4]
movzx esi, byte [esp + esi + 0x28]
lea edi, [edx - 0x6ed34808]
add edx, 0xf8
and edx, esi
or edi, esi
sub edi, edx
mov dword [esp], edi
mov edx, dword [esp]
add dl, 0x38
mov esi, dword [esp + 4]
mov byte [esp + esi + 0x28], dl
inc dword [esp + 4]
mov edx, dword [esp + 4]
cmp edx, 0x46
jb 0xcd9810
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esp + 0x28]
mov edx, eax
test bl, bl
je 0xcd987b
lea edi, [esp + 0x29]
mov edx, eax
nop word cs:[eax + eax]
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0xcd9870
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0xcd989b
inc esi
nop word cs:[eax + eax]
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0xcd9890
mov esi, dword [ebp + 0x10]
mov byte [edx], 0
movzx ebx, byte [esp + 8]
test bl, bl
je 0xcd98bb
lea edi, [esp + 9]
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0xcd98b0
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0xcd98db
inc esi
nop word cs:[eax + eax]
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0xcd98d0
mov byte [edx], 0
movzx ebx, byte [esp + 0x18]
test bl, bl
je 0xcd98fb
lea esi, [esp + 0x19]
nop dword [eax + eax]
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0xcd98f0
mov byte [edx], 0
sub edx, eax
add dword [ecx + 0x60], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc