Function at 0x10c0db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, dword [esp + 0x30]
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx]
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], dl
inc ecx
add eax, 2
cmp ecx, 5
jne 0x10c0dd0
mov esi, dword [esp]
mov eax, dword [0x10ccdc4]
test eax, eax
je 0x10c0e4e
xor ecx, ecx
mov edx, dword [0x10ccdc8]
nop
nop
cmp dword [edx + ecx*8], 0x3052ea03
je 0x10c0e20
inc ecx
cmp eax, ecx
jne 0x10c0e10
jmp 0x10c0e4e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x10c0e4e
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push eax
push dword [0x10ccdcc]
call fcn.010bdb70
add esp, 0x24
mov esi, eax
mov dword [esp], 0xe1262759
mov word [esp + 4], 0
xor ecx, ecx
mov eax, ecx
mov edx, ecx
add dl, 9
xor dl, byte [esp + ecx]
add dl, 0xd3
mov byte [esp + ecx], dl
mov edx, ecx
xor eax, 1
add eax, ecx
and ecx, 1
and edx, 6
sub eax, edx
add eax, ecx
mov ecx, eax
cmp eax, 6
jb 0x10c0e60
cmp esi, dword [esp]
jne 0x10c105f
push dword [esp + 0x10]
call fcn.010bb2e0
add esp, 4
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor edx, edx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + esi]
mov ebp, esi
xor ebp, 0xe43ac66f
add ebp, edx
xor ebp, edi
mov edi, ebp
and edi, 1
xor ebp, 1
lea ecx, [edi*2]
add ecx, ebp
add cl, 0xd4
mov byte [esp + esi], cl
inc esi
add edx, 2
cmp esi, 5
jne 0x10c0ec0
mov esi, dword [esp]
mov edx, dword [0x10ccdc4]
test edx, edx
je 0x10c0f23
xor edi, edi
mov ebp, dword [0x10ccdc8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edi*8], 0x3052ea03
je 0x10c0fa1
inc edi
cmp edx, edi
jne 0x10c0f10
mov ebp, dword [esp + 8]
mov edx, dword [esp + 0x34]
test edx, edx
je 0x10c1056
test esi, esi
js 0x10c1056
test ebx, ebx
je 0x10c104f
mov ecx, dword [ebp + 0xc]
shr ecx, 1
mov edi, dword [edx]
cmp edi, ecx
jb 0x10c0f50
mov edi, ecx
test edi, edi
je 0x10c1046
add eax, 0x10
mov ecx, edi
and ecx, 3
je 0x10c0fe1
mov dword [esp + 0xc], edi
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [ebx], bp
add ebx, 2
inc edi
cmp ecx, edi
jne 0x10c0f70
mov ecx, dword [esp + 0xc]
mov ebp, ecx
sub ebp, edi
mov edi, ecx
mov edx, dword [esp + 0x34]
cmp edi, 4
jae 0x10c0ff0
jmp 0x10c1046
mov edx, dword [ebp + edi*8 + 4]
cmp edx, esi
mov ebp, dword [esp + 8]
je 0x10c0f27
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x10]
push ebp
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push edx
push dword [0x10ccdcc]
mov edi, eax
call fcn.010bdb70
add esp, 0x24
mov esi, eax
mov eax, edi
jmp 0x10c0f27
mov ebp, edi
cmp edi, 4
jb 0x10c1046
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 0x10c0ff0
mov edx, dword [esp + 0x34]
mov word [ebx], 0
mov ebp, dword [esp + 8]
mov eax, dword [ebp + 0xc]
shr eax, 1
mov dword [edx], eax
push ebp
call fcn.010bb380
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret