Function at 0x100c4760
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc4
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
push ebx
mov ebx, dword [esp + 0xd8]
dec ebx
push ebp
shr ebx, 3
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xe0]
push esi
inc ebx
push edi
mov dword [esp + 0x14], ecx
lea edi, [ebx - 0x15]
cmp eax, 0x2b67
jne 0x100c495c
lea edx, [ebx + ebx*2 + 6]
push edx
call fcn.1013fbbd
mov esi, eax
add esp, 4
test esi, esi
jne 0x100c47cc
mov eax, 0xfffff447
jmp 0x100c4ae7
mov eax, dword [esp + 0xe4]
shr eax, 4
lea ebp, [esi + edi + 0x30]
inc eax
mov dword [esp + 0x10], ebp
push eax
add ebp, ebx
call fcn.100c0290
push 0xa0
push eax
mov dword [esp + 0x28], eax
call fcn.100c0370
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov eax, dword [esp + 0xec]
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0xc], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x14], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0xc]
mov edx, dword [eax]
mov dword [esi + 0x1c], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x20], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x24], edx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x28], ecx
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x2c]
push eax
mov dword [esi + 0x2c], edx
call fcn.100c26b0
push 0x30
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.100c39b0
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.100c3ad0
lea ecx, [ebx - 0x2a]
push ecx
lea eax, [esi + 0x30]
push 0
push eax
call fcn.1013f910
mov edx, dword [esp + 0x4c]
mov byte [esi + ebx + 6], 1
mov eax, dword [edx + 0xc]
mov edx, dword [eax]
mov dword [esi + ebx + 7], edx
mov edx, dword [eax + 4]
lea ecx, [esi + ebx + 7]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [eax + 0x10]
push edi
mov dword [ecx + 0x10], eax
push 0x14
lea ecx, [esp + 0xf4]
push ecx
push ebp
call fcn.100c40f0
and byte [ebp], 0x7f
add esp, 0x40
cmp edi, 1
jbe 0x100c48e4
lea ecx, [esi + 0x30]
lea edx, [edi - 1]
lea eax, [ebp + 1]
sub ecx, ebp
mov dword [esp + 0x14], edx
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub dword [esp + 0x14], 1
jne 0x100c48d7
mov eax, dword [esp + 0x10]
push edi
push ebp
push eax
call fcn.1013fc90
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0x1c]
mov dword [eax + edi], ecx
mov edx, dword [esp + 0xcc]
mov dword [eax + edi + 4], edx
mov ecx, dword [esp + 0xd0]
mov dword [eax + edi + 8], ecx
mov edx, dword [esp + 0xd4]
mov dword [eax + edi + 0xc], edx
mov ecx, dword [esp + 0xd8]
mov dword [eax + edi + 0x10], ecx
mov edi, dword [esp + 0x24]
push edi
mov byte [ebp - 1], 0xbc
call fcn.100c01b0
mov edx, dword [esp + 0x20]
push edi
push ebx
push edx
call fcn.100c1a70
push esi
call fcn.1013db65
mov eax, dword [esp + 0x3c]
push eax
call fcn.1013db65
add esp, 0x24
jmp 0x100c4ae5
cmp eax, 0x2b68
jne 0x100c4ae5
lea ecx, [ebx*4 - 0x10]
push ecx
call fcn.1013fbbd
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x100c47c2
mov edx, dword [esp + 0x14]
lea ebp, [eax + ebx]
push eax
lea ecx, [edi + ebp]
lea esi, [ecx + 0x14]
push ebx
push edx
mov dword [esp + 0x24], ecx
add esi, edi
call fcn.100c0150
add esp, 0xc
cmp byte [ebp - 1], 0xbc
je 0x100c49be
mov eax, dword [esp + 0x10]
push eax
call fcn.1013db65
add esp, 4
mov eax, 0xfffff43d
jmp 0x100c4ae7
mov ebx, dword [esp + 0x10]
push edi
push ebx
push ebp
call fcn.1013fc90
mov ecx, dword [ebx + edi]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov dword [ebx], ecx
mov edx, dword [eax + edi + 4]
mov dword [ebx + 4], edx
mov ecx, dword [eax + edi + 8]
mov dword [ebx + 8], ecx
mov edx, dword [eax + edi + 0xc]
mov dword [ebx + 0xc], edx
mov eax, dword [eax + edi + 0x10]
push edi
push 0x14
mov dword [ebx + 0x10], eax
lea eax, [ebx + 0x14]
push ebx
push eax
call fcn.100c40f0
and byte [ebx + 0x14], 0x7f
lea ecx, [ebx + 0x14]
add esp, 0x1c
cmp edi, 1
jbe 0x100c4a2d
lea edx, [edi - 1]
lea eax, [ebp + 1]
sub ecx, ebp
mov dword [esp + 0x14], edx
jmp 0x100c4a20
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub dword [esp + 0x14], 1
jne 0x100c4a20
xor ecx, ecx
mov byte [ebp], 0
cmp byte [ebp], cl
jne 0x100c4a3f
inc ecx
cmp byte [ecx + ebp], 0
je 0x100c4a38
cmp byte [ecx + ebp], 1
jne 0x100c49a7
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov eax, dword [esp + 0xe0]
mov edx, dword [eax]
mov dword [esi + 8], edx
mov edx, dword [eax + 4]
mov dword [esi + 0xc], edx
mov edx, dword [eax + 8]
mov dword [esi + 0x10], edx
mov edx, dword [eax + 0xc]
sub edi, ecx
dec edi
mov dword [esi + 0x14], edx
mov eax, dword [eax + 0x10]
push edi
lea ecx, [ecx + ebp + 1]
push ecx
lea edx, [esi + 0x1c]
push edx
mov dword [esi + 0x18], eax
call fcn.1013fc90
lea eax, [esp + 0x2c]
push eax
call fcn.100c26b0
add edi, 0x1c
push edi
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.100c39b0
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.100c3ad0
lea ecx, [esp + 0xe0]
add esp, 0x24
xor eax, eax
sub ebx, ecx
nop
lea esi, [esp + eax + 0xbc]
mov dl, byte [ebx + esi]
cmp dl, byte [esi]
jne 0x100c49a7
inc eax
cmp eax, 0x14
jb 0x100c4ac0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.1013db65
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1013d581
add esp, 0xc4
ret