Function at 0xcdc900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, edx
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov dword [eax], 0
call fcn.00cddb00
test eax, eax
jne 0xcdcf5e
mov ebx, dword [ebp + 8]
cmp dword [0xa56ed4], eax
jne 0xcdc933
xor edi, edi
jmp 0xcdc953
test ebx, 0x8000
je 0xcdc93f
xor edi, edi
jmp 0xcdc953
mov edi, dword [0xa56ed8]
test ebx, 0x10000
mov eax, 1
cmovne edi, eax
test ebx, 0x40000
je 0xcdc963
and ebx, 0xfffdffff
jmp 0xcdc972
cmp dword [0xa56f84], 0
je 0xcdc972
or ebx, 0x20000
and ebx, 0xfffe00e7
push 0x1d8
mov dword [ebp + 8], ebx
call fcn.00d2bcf0
mov esi, eax
add esp, 4
mov dword [ebp - 0xc], esi
test esi, esi
je 0xcdcf48
push 0x1d8
push 0
push esi
call fcn.00c175b0
add esp, 0xc
test edi, edi
je 0xcdc9eb
cmp dword [0xa56ed4], 0
jne 0xcdc9c9
push esi
mov dword [esi + 0x44], 0
call fcn.00d2b990
add esp, 4
xor ecx, ecx
jmp 0xcdcf4a
push 1
call dword [0xa56f10]
add esp, 4
mov dword [esi + 0x44], eax
test eax, eax
jne 0xcdc9eb
push esi
call fcn.00d2b990
add esp, 4
xor ecx, ecx
jmp 0xcdcf4a
mov eax, dword [esi + 0x44]
test eax, eax
je 0xcdc9fc
push eax
call dword [0xa56f18]
add esp, 4
mov dword [esi + 0x18], 0xff
lea eax, [esi + 0x1a0]
mov dword [esi + 4], 2
mov dword [esi + 0x38], 0xf03b7906
mov dword [esi + 8], eax
movups xmm0, xmmword [0xa3c000]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [0xa3c010]
movups xmmword [esi + 0x58], xmm0
movq xmm0, qword [0xa3c020]
movq qword [esi + 0x68], xmm0
mov eax, dword [0xa3c028]
or dword [esi + 0xc], 0x8040
mov dword [esi + 0x70], eax
mov byte [esi + 0x1c], 1
mov byte [esi + 0x21], 0xff
mov dword [esi + 0x24], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x180], 0
mov dword [esi + 0x18c], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x110], 0
call fcn.00d2c4c0
mov dword [esi], eax
test eax, eax
jne 0xcdcb19
push eax
push 0xa412bc
push 1
push esi
call fcn.00d291d0
add esp, 0x10
mov edi, esi
mov eax, dword [esi + 0x44]
test eax, eax
je 0xcdcada
push eax
call dword [0xa56f20]
add esp, 4
mov eax, dword [esi + 0x38]
cmp eax, 0x4b771290
je 0xcdcf1b
cmp eax, 0xa029a697
je 0xcdcf1b
cmp eax, 0xf03b7906
je 0xcdcf1b
mov eax, dword [ebp - 0x10]
mov ebx, 0x15
mov dword [esi + 0x38], 0x4b771290
mov dword [eax], edi
movzx eax, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
push 0x9cbae0
push 0
push 1
push 1
mov edx, 0xa408b0
mov ecx, esi
call fcn.00cdcf70
add esp, 0x10
mov edx, 0xa408b0
mov ecx, esi
push 0x9cbae0
push 0
push 1
push 3
call fcn.00cdcf70
add esp, 0x10
mov edx, 0xa408b0
mov ecx, esi
push 0x9cbae0
push 0
push 1
push 2
call fcn.00cdcf70
add esp, 0x10
mov edx, 0xa412cc
mov ecx, esi
push 0x9cbae0
push 1
push 0
push 1
call fcn.00cdcf70
add esp, 0x14
mov edi, esi
cmp byte [esi + 0x1e], 0
jne 0xcdcac9
mov edi, 0xa408b0
inc edi
cmp byte [edi], 0
jne 0xcdcb93
sub edi, 0xa408b0
lea eax, [esi + 0x180]
and edi, 0x3fffffff
cmp dword [eax + 0xc], 0
je 0xcdcc00
mov ecx, 0xa408b0
xor eax, eax
mov dword [ebp - 8], ecx
test edi, edi
je 0xcdcbf0
xor ebx, ebx
mov esi, edi
movzx eax, byte [ecx]
dec esi
lea ecx, [ebx*8]
movzx edx, byte [eax + 0xa3c740]
xor edx, ecx
mov ecx, dword [ebp - 8]
inc ecx
xor ebx, edx
mov dword [ebp - 8], ecx
test esi, esi
jg 0xcdcbc3
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 8]
xor edx, edx
div dword [esi + 0x180]
lea eax, [esi + 0x180]
jmp 0xcdcc02
xor edx, edx
push edx
push edi
mov edx, 0xa408b0
mov ecx, eax
call fcn.00d27db0
add esp, 8
test eax, eax
je 0xcdcc1c
mov eax, dword [eax + 8]
jmp 0xcdcc1e
xor eax, eax
push ecx
push 0x9cbab0
push 0
push 2
push 1
mov edx, 0xa412d4
mov dword [esi + 0x2c], eax
mov ecx, esi
call fcn.00cdcf70
mov eax, dword [esi + 8]
add esp, 0x14
mov edx, dword [ebp - 4]
add eax, 4
mov dword [esi + 0x10], ebx
mov ecx, esi
or ebx, 0x100
push eax
push ebx
push 0x7d0
push 0
call fcn.00cdd1d0
add esp, 0x10
test eax, eax
je 0xcdcc83
cmp eax, 0xc0a
mov ecx, 7
push 0
cmove eax, ecx
push eax
push esi
call fcn.00d291d0
add esp, 0xc
jmp 0xcdcac7
mov edx, dword [esi + 8]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.00cfd620
mov ecx, dword [esi + 8]
xor edx, edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call fcn.00cfd620
mov ecx, dword [esi + 8]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 8]
mov dword [eax], 0xa412dc
mov eax, dword [esi + 8]
mov byte [eax + 9], 3
mov eax, dword [esi + 8]
mov dword [eax + 0x10], 0xa412e4
mov eax, dword [esi + 8]
mov byte [eax + 0x19], 1
cmp byte [esi + 0x1e], 0
mov dword [esi + 0x38], 0xa029a697
jne 0xcdcac7
push 0
push 0
push esi
call fcn.00d291d0
add esp, 4
mov edx, 0xa3f730
mov ecx, esi
push 0x9f3560
push 0
push 1
push 2
call fcn.00cdd310
add esp, 0x18
cmp byte [esi + 0x1e], 0
jne 0xcdcda4
mov edi, 0xa40298
nop dword [eax]
inc edi
cmp byte [edi], 0
jne 0xcdcd10
mov eax, dword [esi + 0x44]
sub edi, 0xa40298
and edi, 0x3fffffff
test eax, eax
je 0xcdcd33
push eax
call dword [0xa56f18]
add esp, 4
push 0
push 1
push 2
push edi
mov edx, 0xa40298
mov ecx, esi
call fcn.00cfd7d0
add esp, 0x10
test eax, eax
jne 0xcdcd69
sub esp, 8
mov edx, 0xa40298
mov ecx, esi
push 0xa02870
push eax
push 1
push 2
call fcn.00cdd310
add esp, 0x18
xor eax, eax
cmp byte [esi + 0x1e], al
je 0xcdcd85
push eax
push 7
push esi
call fcn.00d291d0
add esp, 0xc
mov byte [esi + 0x1e], 0
mov eax, 7
mov edi, dword [esi + 0x18]
and edi, eax
mov eax, dword [esi + 0x44]
test eax, eax
je 0xcdcd9b
push eax
call dword [0xa56f20]
add esp, 4
cmp edi, 7
jne 0xcdcda4
mov byte [esi + 0x1e], 1
cmp dword [0xa5956c], 0
mov dword [ebp - 8], 1
je 0xcdcec1
xor ebx, ebx
mov dword [ebp - 0xc], ebx
nop dword [eax]
cmp dword [0xa56ed4], 0
jne 0xcdcdcd
xor edi, edi
jmp 0xcdcde8
push 2
call dword [0xa56f10]
mov edi, eax
add esp, 4
test edi, edi
je 0xcdcde8
push edi
call dword [0xa56f18]
add esp, 4
cmp ebx, dword [0xa5956c]
jl 0xcdcdf7
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0xcdcdff
mov eax, dword [0xa59570]
mov ebx, dword [eax + ebx*4]
test edi, edi
je 0xcdce0d
push edi
call dword [0xa56f20]
add esp, 4
xor edi, edi
mov dword [ebp - 4], edi
test ebx, ebx
je 0xcdce42
push 0xa3c4c8
lea eax, [ebp - 4]
push eax
push esi
call ebx
add esp, 0xc
test eax, eax
je 0xcdce3f
push dword [ebp - 4]
push 0xa404b4
push 1
push esi
call fcn.00d291d0
add esp, 0x10
mov dword [ebp - 8], edi
mov edi, dword [ebp - 4]
test edi, edi
je 0xcdceb0
cmp dword [0xa56ed0], 0
je 0xcdcea6
mov eax, dword [0xa59800]
test eax, eax
je 0xcdce62
push eax
call dword [0xa56f18]
add esp, 4
push edi
call dword [0xa56ef4]
mov ecx, dword [0xa59688]
neg eax
add ecx, eax
add esp, 4
mov dword [0xa59688], ecx
cmp ecx, dword [0xa596ac]
jle 0xcdce8a
mov dword [0xa596ac], ecx
push edi
call dword [0xa56eec]
mov eax, dword [0xa59800]
add esp, 4
test eax, eax
je 0xcdceb0
push eax
call dword [0xa56f20]
jmp 0xcdcead
push edi
call dword [0xa56eec]
add esp, 4
mov ebx, dword [ebp - 0xc]
inc ebx
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], ebx
jne 0xcdcdc0
mov eax, dword [esi + 0x38]
mov edi, esi
cmp eax, 0x4b771290
je 0xcdcedf
cmp eax, 0xa029a697
je 0xcdcedf
cmp eax, 0xf03b7906
jne 0xcdcac9
cmp byte [esi + 0x1e], 0
jne 0xcdcac9
mov eax, dword [esi + 0x18]
and eax, dword [esi + 0x14]
jne 0xcdcac9
push eax
push eax
push esi
call fcn.00d291d0
add esp, 0xc
mov ecx, esi
push dword [0xa56ee4]
push dword [0xa56ee0]
call fcn.00cdd7d0
add esp, 8
jmp 0xcdcac9
cmp byte [esi + 0x1e], 0
mov ecx, edi
jne 0xcdcf4a
mov ebx, dword [esi + 0x18]
and ebx, dword [esi + 0x14]
cmp ebx, 7
je 0xcdcf4f
test ebx, ebx
je 0xcdcf56
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x38], 0x4b771290
mov dword [eax], edi
movzx eax, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
mov ebx, 7
call fcn.00d2cd10
xor edi, edi
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
movzx eax, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret