Function at 0x100c7420
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x20
call fcn.10135be0
push ebp
mov ebp, dword [esp + 0x34]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0x170]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x174]
mov dword [esp + 0x18], eax
mov eax, ebp
add eax, dword [esi + 0x38]
adc ecx, dword [esi + 0x3c]
cmp ecx, 0xf
ja 0x100c77b4
jb 0x100c7466
cmp eax, 0xffffffe0
ja 0x100c77b4
cmp dword [esi + 0x16c], 0
lea edx, [esi + 0x40]
mov dword [esi + 0x3c], ecx
mov ecx, dword [esi + 0x168]
mov dword [esi + 0x38], eax
mov dword [esp + 8], ecx
mov dword [esp + 0x14], edx
je 0x100c74df
test ebp, ebp
jne 0x100c74a5
lea eax, [esi + 0x60]
push eax
push edx
call fcn.100c89c0
add esp, 8
mov dword [esi + 0x16c], ebp
xor eax, eax
pop esi
pop ebp
add esp, 0x20
ret
movups xmm0, xmmword [edx]
mov ecx, 0x10
mov dword [esp + 8], ecx
movups xmmword [esi + 0x178], xmm0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x16c], 0
jmp 0x100c74e3
mov dword [esp + 0x14], edx
movzx eax, byte [esi + 0xd]
mov edx, ecx
push ebx
movzx ebx, byte [esi + 0xc]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xe]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xf]
shl ebx, 8
or ebx, eax
and edx, 0xf
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x18], edx
je 0x100c75a5
mov edx, dword [esp + 0x3c]
lea eax, [esi + 0x178]
add eax, ecx
mov dword [esp + 0x40], eax
test ebp, ebp
je 0x100c7595
mov cl, byte [edi]
dec ebp
mov byte [eax], cl
inc edi
mov eax, dword [esp + 0x18]
mov al, byte [eax + esi + 0x10]
mov esi, dword [esp + 0x18]
xor al, cl
mov ecx, dword [esp + 0x10]
inc esi
mov byte [edx], al
inc ecx
mov eax, dword [esp + 0x40]
inc edx
inc eax
mov dword [esp + 0x14], edx
and esi, 0xf
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x40], eax
jne 0x100c7527
push dword [esp + 0x10]
lea eax, [esi + 0x178]
push eax
lea edx, [esi + 0x60]
lea ecx, [esi + 0x40]
push edx
push ecx
call fcn.100c8790
mov eax, dword [esp + 0x28]
add esp, 0x10
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x40], ebp
jmp 0x100c75ad
pop edi
pop ebx
mov dword [esi + 0x168], ecx
xor eax, eax
pop esi
pop ebp
add esp, 0x20
ret
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
lea edx, [esi + 0x60]
cmp ebp, 0x10
jb 0x100c75d6
test ecx, ecx
je 0x100c75d6
push ecx
lea eax, [esi + 0x178]
push eax
push edx
push dword [esp + 0x28]
call fcn.100c8790
add esp, 0x10
mov dword [esp + 0x10], 0
cmp ebp, 0xc00
jb 0x100c768b
mov eax, 0xaaaaaaab
mul ebp
shr edx, 0xb
mov dword [esp + 0x2c], edx
push 0xc00
push edi
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x28]
call fcn.100c8790
mov ebp, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x28], 0xc0
push dword [esp + 0x20]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x30]
inc ebx
add esp, 0xc
mov eax, ebx
mov byte [esi + 0xf], bl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [edi]
xor eax, dword [esi + 0x10]
mov dword [ebp], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ebp + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ebp + 0xc], eax
add ebp, 0x10
sub dword [esp + 0x28], 1
jne 0x100c7612
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x40]
sub ebp, 0xc00
sub dword [esp + 0x2c], 1
mov dword [esp + 0x40], ebp
jne 0x100c75f0
mov eax, ebp
and eax, 0xfffffff0
je 0x100c7726
push eax
push edi
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x28]
call fcn.100c8790
add esp, 0x10
cmp ebp, 0x10
jb 0x100c7726
mov eax, ebp
lea ecx, [esi + 0x10]
shr eax, 4
mov dword [esp + 0x40], eax
nop dword [eax]
push dword [esp + 0x20]
push ecx
push esi
call dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
inc ebx
mov eax, ebx
mov byte [esi + 0xf], bl
shr eax, 0x18
add esp, 0xc
mov byte [esi + 0xc], al
sub ebp, 0x10
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [esi + 0xe], al
mov eax, dword [edi]
xor eax, dword [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x18]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esi + 0x1c]
mov dword [ecx + 0xc], eax
add ecx, 0x10
sub dword [esp + 0x40], 1
mov dword [esp + 0x14], ecx
lea ecx, [esi + 0x10]
jne 0x100c76c0
test ebp, ebp
je 0x100c77a0
push dword [esp + 0x20]
lea eax, [esi + 0x10]
push eax
push esi
call dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
inc ebx
mov eax, ebx
mov byte [esi + 0xf], bl
shr eax, 0x18
add esp, 0xc
mov byte [esi + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ebx
shr eax, 8
lea ebx, [ecx + 0x10]
mov byte [esi + 0xe], al
add ebx, esi
mov eax, dword [esp + 0x14]
sub edi, eax
lea edx, [ecx + eax]
mov ecx, dword [esp + 0x10]
add ecx, 0x178
add ecx, esi
add dword [esp + 0x10], ebp
mov dword [esp + 0x40], ecx
mov esi, ecx
nop
mov cl, byte [edi + edx]
lea esi, [esi + 1]
mov byte [esi - 1], cl
lea ebx, [ebx + 1]
mov al, byte [ebx - 1]
lea edx, [edx + 1]
xor al, cl
mov byte [edx - 1], al
sub ebp, 1
jne 0x100c7780
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
pop edi
pop ebx
mov dword [esi + 0x168], eax
xor eax, eax
pop esi
pop ebp
add esp, 0x20
ret
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x20
ret