Function at 0x1000c920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1008f180]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add edx, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x40], eax
lea esi, [ebp - 0x13]
mov ecx, 4
nop dword [eax + eax]
movzx eax, byte [edx - 8]
lea edx, [edx + 1]
mov byte [esi - 1], al
lea esi, [esi + 4]
movzx eax, byte [edx - 5]
mov byte [esi - 4], al
movzx eax, byte [edx - 1]
mov byte [esi - 3], al
movzx eax, byte [edx + 3]
mov byte [esi - 2], al
sub ecx, 1
jne 0x1000c950
mov edi, dword [edi + 4]
mov esi, edi
shl esi, 4
add esi, dword [ebp + 0x10]
lea edx, [esi + 0xc]
movzx eax, byte [ebp + ecx*4 - 0x14]
lea edx, [edx + 1]
xor al, byte [esi + ecx]
mov byte [ebp + ecx*4 - 0x14], al
movzx eax, byte [esi + ecx + 4]
xor byte [ebp + ecx*4 - 0x13], al
movzx eax, byte [edx - 5]
xor byte [ebp + ecx*4 - 0x12], al
movzx eax, byte [edx - 1]
xor byte [ebp + ecx*4 - 0x11], al
inc ecx
cmp ecx, 4
jb 0x1000c985
push ebx
lea ebx, [edi - 1]
mov dword [ebp - 0x3c], ebx
cmp ebx, 1
jb 0x1000cb20
mov edi, ebx
lea esi, [ebp - 0x14]
shl edi, 4
add edi, dword [ebp + 0x10]
mov dword [ebp - 0x38], edi
lea eax, [ebp - 0x14]
push eax
call fcn.1000cf00
movzx eax, byte [ebp - 0xd]
lea ebx, [ebp - 0x12]
mov byte [ebp - 0x2c], al
xor edx, edx
movzx eax, byte [ebp - 0x10]
mov byte [ebp - 0x2b], al
movzx eax, byte [ebp - 0xf]
mov byte [ebp - 0x2a], al
movzx eax, byte [ebp - 0xe]
mov ecx, dword [ebp - 8]
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 0xa]
mov byte [ebp - 0x30], al
movzx eax, byte [ebp - 9]
mov byte [ebp - 0x2f], al
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x2e], al
movzx eax, byte [ebp - 0xb]
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp - 6]
mov byte [ebp - 0x27], al
movzx eax, byte [ebp - 5]
mov byte [ebp - 0x28], ch
mov byte [ebp - 0x25], cl
mov ecx, edi
mov byte [ebp - 0x26], al
lea edi, [ebp - 0x11]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
xor byte [esi + edx*4], al
movzx eax, byte [ecx + 3]
xor byte [ebp + edx*4 - 0x13], al
movzx eax, byte [ecx + 7]
xor byte [ebx + edx*4], al
movzx eax, byte [ecx + 0xb]
xor byte [edi + edx*4], al
inc edx
cmp edx, 4
jb 0x1000ca45
mov edi, dword [ebp - 0x38]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
xor esi, esi
mov cl, byte [ebp + esi - 0x22]
xor eax, eax
mov bl, byte [ebp + esi - 0x24]
mov bh, byte [ebp + esi - 0x23]
mov byte [ebp - 0x31], cl
mov cl, byte [ebp + esi - 0x21]
mov byte [ebp - 0x32], cl
nop
movzx edx, byte [esi + eax + 0x1007c330]
movzx ecx, byte [ebp + eax*4 - 0x14]
shl edx, 8
xor bl, byte [ecx + edx + 0x1007c350]
movzx ecx, byte [ebp + eax*4 - 0x13]
mov byte [ebp - 0x33], bl
mov bl, byte [ebp - 0x31]
xor bh, byte [ecx + edx + 0x1007c350]
movzx ecx, byte [ebp + eax*4 - 0x12]
xor bl, byte [ecx + edx + 0x1007c350]
movzx ecx, byte [ebp + eax*4 - 0x11]
inc eax
mov byte [ebp - 0x31], bl
mov bl, byte [ebp - 0x32]
xor bl, byte [ecx + edx + 0x1007c350]
mov byte [ebp - 0x32], bl
mov bl, byte [ebp - 0x33]
cmp eax, 4
jb 0x1000ca90
mov al, byte [ebp - 0x31]
mov cl, byte [ebp - 0x32]
mov byte [ebp + esi - 0x24], bl
mov byte [ebp + esi - 0x23], bh
mov byte [ebp + esi - 0x22], al
mov byte [ebp + esi - 0x21], cl
add esi, 4
cmp esi, 0x10
jb 0x1000ca76
movups xmm0, xmmword [ebp - 0x24]
sub edi, 0x10
lea esi, [ebp - 0x14]
sub dword [ebp - 0x3c], 1
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x38], edi
jne 0x1000c9d1
lea eax, [ebp - 0x14]
push eax
call fcn.1000cf00
movzx eax, byte [ebp - 0xd]
mov esi, 4
mov byte [ebp - 0x28], al
movzx eax, byte [ebp - 0x10]
mov byte [ebp - 0x27], al
movzx eax, byte [ebp - 0xf]
mov byte [ebp - 0x26], al
movzx eax, byte [ebp - 0xe]
mov ecx, dword [ebp - 8]
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
add edx, 8
movzx eax, byte [ebp - 0xa]
mov byte [ebp - 0x28], al
movzx eax, byte [ebp - 9]
mov byte [ebp - 0x27], al
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x26], al
movzx eax, byte [ebp - 0xb]
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp - 6]
mov byte [ebp - 0x27], al
movzx eax, byte [ebp - 5]
mov byte [ebp - 0x28], ch
mov byte [ebp - 0x25], cl
lea ecx, [ebp - 0x13]
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
pop ebx
nop dword [eax]
movzx eax, byte [edx - 8]
lea edx, [edx + 1]
xor byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
xor byte [ecx - 4], al
movzx eax, byte [edx - 1]
xor byte [ecx - 3], al
movzx eax, byte [edx + 3]
xor byte [ecx - 2], al
sub esi, 1
jne 0x1000cba0
mov edx, dword [ebp - 0x40]
xor ecx, ecx
pop edi
pop esi
nop
movzx eax, byte [ebp + ecx*4 - 0x14]
mov byte [edx + ecx], al
movzx eax, byte [ebp + ecx*4 - 0x13]
mov byte [edx + ecx + 4], al
movzx eax, byte [ebp + ecx*4 - 0x12]
mov byte [edx + ecx + 8], al
movzx eax, byte [ebp + ecx*4 - 0x11]
mov byte [edx + ecx + 0xc], al
inc ecx
cmp ecx, 4
jb 0x1000cbd0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004d713
mov esp, ebp
pop ebp
ret 0xc