Function at 0x100c4270
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xd8
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xe0]
push ebx
mov ebx, dword [esp + 0xec]
push esi
lea edx, [ebx*4]
push edi
lea esi, [ebx - 0x15]
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], esi
call fcn.1013fbbd
mov edi, eax
add esp, 4
test edi, edi
jne 0x100c42e2
pop edi
pop esi
mov eax, 0xfffff447
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.1013d581
add esp, 0xd8
ret
lea eax, [ebx + edi]
mov dword [esp + 0x1c], eax
add eax, esi
push ebp
lea ebp, [eax + esi]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], ebp
add ebp, esi
lea ebx, [ebp + 0x14]
push eax
lea esi, [ebx + 0x14]
call fcn.100c01b0
mov eax, dword [esp + 0xf8]
add esp, 4
cmp eax, 0x2b67
jne 0x100c4593
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
add eax, eax
add eax, eax
lea ecx, [eax - 1]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0xc]
mov edx, ecx
and ecx, 3
add ecx, ecx
shr edx, 2
mov edx, dword [eax + edx*4]
add ecx, ecx
add ecx, ecx
shr edx, cl
test dl, dl
jne 0x100c4375
mov ecx, dword [esp + 0x14]
dec ecx
jmp 0x100c4355
mov ecx, dword [esp + 0x24]
dec dword [esp + 0x14]
dec ecx
mov edx, ecx
mov dword [esp + 0x24], ecx
and ecx, 3
add ecx, ecx
shr edx, 2
mov edx, dword [eax + edx*4]
add ecx, ecx
add ecx, ecx
shr edx, cl
test dl, dl
je 0x100c4351
mov eax, dword [esp + 0x28]
lea ecx, [eax - 0x2a]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jb 0x100c4397
push edi
call fcn.1013db65
add esp, 4
mov eax, 0xfffff444
jmp 0x100c473f
push eax
call fcn.1013fbbd
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
jne 0x100c43bb
push edi
call fcn.1013db65
add esp, 4
mov eax, 0xfffff447
jmp 0x100c473f
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.100c0150
mov ecx, dword [esp + 0x34]
shr ecx, 1
inc ecx
push ecx
call fcn.100c0290
push 0xa0
push eax
mov dword [esp + 0x28], eax
call fcn.100c0370
mov edx, dword [esp + 0x28]
push ebp
push 0x14
push edx
call fcn.100c0150
mov eax, dword [esp + 0x34]
add esp, 0x24
test eax, eax
je 0x100c4408
push eax
call fcn.1013db65
add esp, 4
lea eax, [esp + 0x34]
push eax
call fcn.100c26b0
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.100c3ad0
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
add eax, 0xffffffd6
push eax
mov eax, dword [esp + 0x30]
add eax, 0x14
push 0
push eax
call fcn.1013f910
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
mov byte [eax + ecx - 0x16], 1
push edx
lea eax, [eax + ecx - 0x15]
push eax
call fcn.1013fc90
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push 0x14
push ebp
push edx
call fcn.100c40f0
add esp, 0x34
cmp dword [esp + 0x1c], 0
jbe 0x100c44b5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov dword [esp + 0x18], edx
lea esp, [esp]
mov edx, dword [esp + 0x10]
mov dl, byte [edx + eax]
xor dl, byte [eax]
inc eax
sub dword [esp + 0x18], 1
mov byte [ecx + eax - 1], dl
jne 0x100c44a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
push 0x14
push eax
push ecx
push ebx
call fcn.100c40f0
lea edx, [ebx + 3]
mov dword [esp + 0x20], edx
mov edx, ebx
sub edx, ebp
mov dword [esp + 0x30], edx
mov edx, esi
sub edx, ebp
add esp, 0x10
sub ebx, esi
mov eax, ebp
mov ebp, dword [esp + 0x10]
lea ecx, [esi + 1]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 4
mov ebx, dword [esp + 0x20]
movzx ebx, byte [ebx + eax]
xor bl, byte [eax]
add eax, 5
mov byte [edx + eax - 5], bl
mov ebx, dword [esp + 0x14]
movzx ebx, byte [ebx + ecx]
xor bl, byte [eax - 4]
add ecx, 5
mov byte [ecx - 5], bl
movzx ebx, byte [eax - 3]
xor bl, byte [ebp - 1]
add ebp, 5
mov byte [ecx - 4], bl
movzx ebx, byte [eax - 2]
xor bl, byte [ebp - 5]
mov byte [ecx - 3], bl
movzx ebx, byte [eax - 1]
xor bl, byte [ebp - 4]
sub dword [esp + 0x18], 1
mov byte [ecx - 2], bl
jne 0x100c44f4
mov byte [edi], 0
mov eax, dword [esi]
mov dword [edi + 1], eax
mov ecx, dword [esi + 4]
mov dword [edi + 5], ecx
mov edx, dword [esi + 8]
mov dword [edi + 9], edx
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [edi + 0xd], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esp + 0x2c]
push edx
mov dword [edi + 0x11], ecx
push eax
lea ecx, [edi + 0x15]
push ecx
call fcn.1013fc90
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
push edx
push eax
push edi
call fcn.100c1a70
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1013db65
add esp, 0x1c
jmp 0x100c4734
cmp eax, 0x2b68
jne 0x100c4734
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push edi
push edx
push eax
call fcn.100c0150
add esp, 0xc
cmp byte [edi], 0
jne 0x100c470e
mov ecx, dword [edi + 1]
mov dword [esi], ecx
mov edx, dword [edi + 5]
mov dword [esi + 4], edx
mov eax, dword [edi + 9]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0xd]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x11]
push eax
lea ecx, [edi + 0x15]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x30]
push ecx
push edx
call fcn.1013fc90
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push 0x14
push eax
push ecx
push ebx
call fcn.100c40f0
lea edx, [esi + 3]
mov dword [esp + 0x2c], edx
mov edx, esi
sub edx, ebx
mov dword [esp + 0x44], edx
mov edx, ebp
add esp, 0x1c
sub edx, ebx
sub esi, ebp
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x10]
lea ecx, [ebp + 1]
mov eax, ebx
mov dword [esp + 0x24], 4
lea esp, [esp]
mov ebx, dword [esp + 0x28]
movzx ebx, byte [ebx + eax]
xor bl, byte [eax]
add eax, 5
mov byte [edx + eax - 5], bl
mov ebx, dword [esp + 0x14]
movzx ebx, byte [ebx + ecx]
xor bl, byte [eax - 4]
add ecx, 5
mov byte [ecx - 5], bl
movzx ebx, byte [eax - 3]
xor bl, byte [esi - 1]
add esi, 5
mov byte [ecx - 4], bl
movzx ebx, byte [eax - 2]
xor bl, byte [esi - 5]
mov byte [ecx - 3], bl
movzx ebx, byte [eax - 1]
xor bl, byte [esi - 4]
sub dword [esp + 0x24], 1
mov byte [ecx - 2], bl
jne 0x100c4630
mov ebx, dword [esp + 0x1c]
push ebx
push 0x14
push ebp
mov ebp, dword [esp + 0x24]
push ebp
call fcn.100c40f0
add esp, 0x10
test ebx, ebx
jbe 0x100c46b2
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
sub ecx, ebp
mov eax, ebp
sub esi, ebp
mov ebp, ebx
mov dl, byte [ecx + eax]
xor dl, byte [eax]
inc eax
sub ebp, 1
mov byte [esi + eax - 1], dl
jne 0x100c46a3
lea eax, [esp + 0x34]
push eax
call fcn.100c26b0
lea ecx, [esp + 0xd4]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.100c3ad0
mov esi, dword [esp + 0x2c]
mov ebp, esi
lea ecx, [esp + 0xdc]
add esp, 0xc
xor eax, eax
sub ebp, ecx
mov cl, byte [esp + eax + 0xd0]
lea edx, [eax + ebp]
cmp cl, byte [esp + edx + 0xd0]
jne 0x100c470e
inc eax
cmp eax, 0x14
jb 0x100c46e2
cmp byte [eax + esi], 0
jne 0x100c4708
inc eax
cmp byte [eax + esi], 0
je 0x100c4701
cmp byte [eax + esi], 1
je 0x100c471e
push edi
call fcn.1013db65
add esp, 4
mov eax, 0xfffff445
jmp 0x100c473f
mov edx, dword [esp + 0x30]
sub ebx, eax
push edx
dec ebx
lea eax, [eax + esi + 1]
push ebx
push eax
call fcn.100c1a70
add esp, 0xc
push edi
call fcn.1013db65
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xe4]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1013d581
add esp, 0xd8
ret