Function at 0x1004cc80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f217e
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10114080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
xor esi, esi
movq qword [ebp - 0x20], xmm0
xor edi, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
mov eax, dword [0x101391dc]
test eax, eax
je 0x1004cce1
mov eax, dword [eax + 0x18]
lea ecx, [esi + 1]
jmp 0x1004cce8
mov ecx, 2
xor eax, eax
mov dword [ebp - 0x14], ecx
test cl, 2
je 0x1004ccf6
and ecx, 0xfffffffd
mov dword [ebp - 0x14], ecx
test cl, 1
je 0x1004cd01
and ecx, 0xfffffffe
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x1004ceec
movaps xmm0, xmmword [0x10103fb0]
xor eax, eax
movaps xmm2, xmmword [0x10104360]
movups xmmword [ebp - 0x80], xmm0
mov word [ebp - 0x50], 0x2665
movaps xmm0, xmmword [0x10103fa0]
movups xmmword [ebp - 0x70], xmm0
movaps xmm0, xmmword [0x10104b50]
movups xmmword [ebp - 0x60], xmm0
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x80]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [ebp + eax - 0x80], xmm1
add eax, 0x10
cmp eax, 0x30
jb 0x1004cd40
cmp eax, 0x32
jae 0x1004cd6b
nop dword [eax]
xor byte [ebp + eax - 0x80], 0x26
inc eax
cmp eax, 0x32
jb 0x1004cd60
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x4c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004cd86
sub ecx, edx
lea eax, [ebp - 0x80]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.10028220
mov edi, dword [0x101391e4]
test edi, edi
je 0x1004cdab
mov edi, dword [edi + 0x50]
jmp 0x1004cdad
xor edi, edi
mov esi, dword [0x101391dc]
mov eax, dword [ebp - 0x14]
test esi, esi
je 0x1004cdc2
mov esi, dword [esi + 0x18]
or eax, 8
jmp 0x1004cdc7
or eax, 0x10
xor esi, esi
test al, 0x10
je 0x1004cdce
and eax, 0xffffffef
test al, 8
je 0x1004cdd5
and eax, 0xfffffff7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
or eax, 0x20
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x4c]
movq qword [ebp - 0x2c], xmm0
push eax
push esi
mov edx, edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.1004c590
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004ce63
nop
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x24]
je 0x1004ce30
mov dword [ecx], eax
add dword [ebp - 0x28], 4
jmp 0x1004ce40
lea eax, [ebp - 0x14]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100985b0
mov eax, dword [ebp - 0x14]
sub esi, eax
lea ecx, [ebp - 0x34]
dec esi
add edi, esi
lea esi, [eax + 1]
lea eax, [ebp - 0x4c]
mov edx, edi
push eax
push esi
call fcn.1004c590
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1004ce20
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp ecx, 0xf
jbe 0x1004ced1
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004cec4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004cf34
push ecx
push edx
call fcn.100c2c51
mov eax, dword [ebp - 0x14]
add esp, 8
cmp esi, eax
je 0x1004ceec
mov edi, dword [ebp - 0x14]
push dword [esi]
call fcn.1004cf40
add esi, 4
cmp esi, edi
jne 0x1004ced8
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x1004cf19
sub edi, esi
mov eax, esi
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x1004cf0f
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004cf39
push edi
push esi
call fcn.100c2c51
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c27d1
mov esp, ebp
pop ebp
ret
call fcn.100c8cda
call fcn.100c8cda
int3