Function at 0x100cc410
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x101fd700]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0xffffffff
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov dword [esi + 0x74], eax
lea ebx, [esi + 0x9c]
mov eax, dword [esi + 0xc]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x84], eax
lea eax, [esi + 0x31c]
push eax
push ebx
mov dword [esp + 0x18], ebx
call fcn.100c8b30
add esp, 8
cmp dword [esi + 0x64], 0
je 0x100cc638
cmp dword [esi + 0x68], 0
je 0x100cc486
lea edx, [esp + 8]
mov ecx, ebx
call fcn.100ce3d0
mov eax, dword [esp + 8]
test eax, eax
je 0x100cc638
push ebp
xor ebp, ebp
mov dword [esp + 0x10], ebp
cmp dword [0x101fe300], ebp
je 0x100cc637
xor ebx, ebx
push edi
nop dword [eax + eax]
mov ecx, dword [ebx + 0x101fe314]
mov edx, 1
shl edx, cl
test eax, edx
je 0x100cc5e6
lea ebp, [esi + 0x1dc]
mov edi, 0x10
lea edx, [ebx + 0x101fe31c]
mov eax, ebp
nop dword [eax + eax]
mov ecx, dword [eax - 0x140]
lea eax, [eax + 0x14]
xor ecx, dword [edx - 4]
lea edx, [edx + 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [eax - 0x150]
xor ecx, dword [edx - 0x14]
mov dword [eax - 0x10], ecx
mov ecx, dword [eax - 0x14c]
xor ecx, dword [edx - 0x10]
mov dword [eax - 0xc], ecx
mov ecx, dword [eax - 0x148]
xor ecx, dword [edx - 0xc]
mov dword [eax - 8], ecx
mov ecx, dword [eax - 0x144]
xor ecx, dword [edx - 8]
mov dword [eax - 4], ecx
sub edi, 1
jne 0x100cc4e0
mov ecx, dword [ebx + 0x101fe30c]
lea eax, [ecx*4 + 0xc7]
add eax, ecx
lea eax, [esi + eax*4]
cmp ecx, 0x3a
je 0x100cc55a
cmp ecx, 0x41
jne 0x100cc649
push eax
push ebp
lea edx, [esp + 0x24]
lea ecx, [esi + 0x88]
call fcn.100cb2f0
jmp 0x100cc56b
push eax
push ebp
lea edx, [esp + 0x24]
lea ecx, [esi + 0x88]
call fcn.100ca200
mov ecx, dword [esi + 0xc]
add esp, 8
xor ecx, dword [esp + 0x20]
mov eax, dword [esi + 8]
xor eax, dword [esp + 0x1c]
or ecx, eax
mov eax, dword [esi + 0x18]
xor eax, dword [esp + 0x2c]
or ecx, eax
mov eax, dword [esi + 0x14]
xor eax, dword [esp + 0x28]
or ecx, eax
mov eax, dword [esi + 0x10]
xor eax, dword [esp + 0x24]
or ecx, eax
je 0x100cc611
cmp dword [esi + 0x6c], 0
je 0x100cc5de
mov ecx, dword [esi + 0x98]
xor ecx, dword [esi + 0x84]
mov eax, dword [esi + 0x90]
xor eax, dword [esi + 0x7c]
or ecx, eax
mov eax, dword [esi + 0x94]
xor eax, dword [esi + 0x80]
or ecx, eax
mov eax, dword [esi + 0x8c]
xor eax, dword [esi + 0x78]
or ecx, eax
mov eax, dword [esi + 0x88]
xor eax, dword [esi + 0x74]
or ecx, eax
je 0x100cc611
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
inc ebp
imul ebx, ebp, 0x158
mov dword [esp + 0x14], ebp
cmp dword [ebx + 0x101fe300], 0
jne 0x100cc4b0
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10176e3f
add esp, 0x24
ret
cmp dword [esi + 0x60], 0
mov dword [esi + 0x5c], 1
je 0x100cc636
mov edx, dword [esp + 0x18]
lea ecx, [esi + 8]
call fcn.100c7b80
mov edx, dword [esp + 0x18]
lea ecx, [esi + 8]
call fcn.100c7b80
pop edi
pop ebp
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
xor ecx, esp
call fcn.10176e3f
add esp, 0x24
ret
call fcn.1018771a
int3