Function at 0x10c1070
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x48]
mov dword [esp + 4], 0x585b5a45
mov byte [esp + 8], 0
mov ebx, dword [esp + 0x2c]
xor eax, eax
xor ecx, ecx
movzx edx, byte [esp + ecx + 4]
mov esi, ecx
xor esi, 0xe43ac66f
add esi, eax
xor esi, edx
mov edx, esi
and edx, 1
xor esi, 1
lea edx, [esi + edx*2]
add dl, 0xd4
mov byte [esp + ecx + 4], dl
inc ecx
add eax, 2
cmp ecx, 5
jne 0x10c1090
mov esi, dword [esp + 4]
mov eax, dword [0x10ccdc4]
test eax, eax
je 0x10c111a
xor ecx, ecx
mov edx, dword [0x10ccdc8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x484ce391
je 0x10c10f0
inc ecx
cmp eax, ecx
jne 0x10c10e0
jmp 0x10c111a
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x10c111a
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push dword [esp + 0x38]
push 0x14
push eax
push dword [0x10ccdcc]
call fcn.010bdb70
add esp, 0x20
mov esi, eax
cmp esi, 0xc0000023
jne 0x10c1357
push dword [esp + 0x10]
call fcn.010bb2e0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0x585b5a45
mov byte [esp + 8], 0
xor edx, edx
xor esi, esi
nop
nop
movzx ecx, byte [esp + esi + 4]
mov edi, esi
xor edi, 0xe43ac66f
add edi, edx
xor edi, ecx
mov ecx, edi
and ecx, 1
xor edi, 1
lea ecx, [edi + ecx*2]
add cl, 0xd4
mov byte [esp + esi + 4], cl
inc esi
add edx, 2
cmp esi, 5
jne 0x10c1150
mov esi, dword [esp + 4]
mov edx, dword [0x10ccdc4]
test edx, edx
je 0x10c11e2
xor edi, edi
mov ecx, dword [0x10ccdc8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x484ce391
je 0x10c11b0
inc edi
cmp edx, edi
jne 0x10c11a0
jmp 0x10c11e2
mov edx, dword [ecx + edi*8 + 4]
cmp edx, esi
je 0x10c11e2
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x10]
push dword [esp + 8]
push 2
push dword [esp + 0x38]
push 0x14
push edx
push dword [0x10ccdcc]
mov edi, eax
call fcn.010bdb70
add esp, 0x20
mov esi, eax
mov eax, edi
test esi, esi
js 0x10c134c
cmp dword [esp + 0x30], 0
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
je 0x10c12f1
test ebx, ebx
je 0x10c12e3
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov ebp, dword [esp + 0x30]
mov ebp, dword [ebp]
cmp ebp, ecx
jb 0x10c121a
mov ebp, ecx
test ebp, ebp
je 0x10c12da
add eax, 0x2c
mov ecx, ebp
and ebp, 3
je 0x10c1270
mov dword [esp + 0xc], ecx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea eax, [eax + ecx*2]
mov word [ebx], dx
add ebx, 2
inc edi
cmp ebp, edi
jne 0x10c1240
mov ecx, dword [esp + 0xc]
mov ebp, ecx
sub ebp, edi
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
cmp ecx, 4
jae 0x10c1280
jmp 0x10c12da
mov ebp, ecx
cmp ecx, 4
jb 0x10c12da
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
add ebx, 8
lea eax, [edi + eax*2]
add ebp, 0xfffffffc
jne 0x10c1280
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov word [ebx], 0
mov ebp, dword [esp + 0x48]
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
shr eax, 1
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x10c1301
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
mov dword [ecx], eax
mov ebx, dword [esp + 0x38]
test ebx, ebx
mov ecx, dword [esp + 0x3c]
je 0x10c1317
mov eax, dword [esp]
mov eax, dword [eax + 0x18]
shr eax, 1
mov dword [ebx], eax
test ecx, ecx
je 0x10c1325
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
shr eax, 1
mov dword [ecx], eax
test edi, edi
je 0x10c1331
mov eax, dword [esp]
mov eax, dword [eax + 0x20]
mov dword [edi], eax
test edx, edx
je 0x10c133f
mov eax, dword [esp]
mov eax, dword [eax + 0x24]
shr eax, 1
mov dword [edx], eax
test ebp, ebp
je 0x10c134c
mov eax, dword [esp]
mov eax, dword [eax + 0x28]
mov dword [ebp], eax
push dword [esp]
call fcn.010bb380
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret