Function at 0x100eac50
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10164378
push eax
mov al, byte [0x10195720]
mov dword fs:[0], esp
sub esp, 0x50
test al, 1
push ebx
push ebp
push esi
push edi
jne 0x100eacc7
mov cl, al
push 4
or cl, 1
mov byte [0x10195720], cl
call fcn.1013c2df
add esp, 4
mov ecx, 0x10195724
mov dword [0x10195724], eax
push 0x49
push 0x34
call fcn.100a8ee0
mov ecx, dword [0x10195724]
add eax, 0x49
xor eax, 0x34
xor ebp, ebp
mov word [ecx], ax
mov edx, dword [0x10195724]
push 0x100eaf40
mov word [edx + 2], bp
call fcn.1013c36b
add esp, 4
jmp 0x100eacc9
xor ebp, ebp
mov esi, dword [0x10195724]
mov al, byte [esp + 0x70]
push esi
mov byte [esp + 0x34], al
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x30]
push eax
push esi
call fcn.1000bf40
mov al, byte [0x10195728]
mov dword [esp + 0x68], ebp
test al, 1
mov word [esp + 0x10], 0x4b
mov word [esp + 0x12], 0x18
mov word [esp + 0x14], 0x15
mov word [esp + 0x16], 0x29
mov ebx, 2
jne 0x100ead90
or al, 1
push 0xa
mov byte [0x10195728], al
call fcn.1013c2df
add esp, 4
mov dword [0x1019572c], eax
mov edi, 0x30
xor esi, esi
mov bp, word [esp + esi + 0x10]
push edi
mov ecx, ebp
and ecx, 0xffff
push ecx
mov ecx, 0x1019572c
call fcn.1004a650
mov edx, dword [0x1019572c]
xor eax, ebp
xor eax, edi
xor edi, edi
mov word [esi + edx], ax
mov eax, dword [0x1019572c]
mov di, word [esi + eax]
add esi, ebx
cmp esi, 8
jb 0x100ead42
push 0x100eaf30
mov word [eax + 8], 0
call fcn.1013c36b
add esp, 4
xor ebp, ebp
mov esi, dword [0x1019572c]
mov al, byte [esp + 0x70]
push esi
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x20]
push eax
push esi
call fcn.1000bf40
mov edi, dword [esp + 0x70]
xor esi, esi
mov byte [esp + 0x68], 1
mov eax, dword [edi + 8]
cmp eax, ebp
jbe 0x100eaec7
jmp 0x100eadd8
xor ebp, ebp
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x100eade5
mov eax, 0x1016a1d8
mov ecx, dword [esp + 0x28]
push ecx
push esi
push eax
mov ecx, edi
call fcn.10023f20
cmp eax, 0xffffffff
je 0x100eaec7
mov edx, dword [esp + 0x28]
lea esi, [edx + eax]
mov eax, dword [edi + 8]
cmp esi, eax
jae 0x100eaec7
mov eax, dword [esp + 0x34]
cmp eax, ebp
jne 0x100eae1b
mov eax, 0x1016a1d8
mov ecx, dword [esp + 0x38]
push ecx
push esi
push eax
mov ecx, edi
call fcn.10023f20
mov ebp, eax
cmp ebp, 0xffffffff
je 0x100eaec5
mov edx, ebp
lea eax, [esp + 0x40]
sub edx, esi
mov ecx, edi
push edx
push esi
push eax
call fcn.10015220
lea ecx, [esp + 0x40]
lea edx, [esp + 0x50]
push ecx
push edx
mov byte [esp + 0x70], bl
call fcn.100eaaa0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 3
call fcn.10023d70
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x6c], 5
call fcn.1000bc70
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
sub esi, edx
lea eax, [esp + 0x10]
sub ecx, esi
push eax
add ecx, ebp
push ecx
push esi
mov ecx, edi
call fcn.10067360
mov edx, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x14]
add esi, edx
mov byte [esp + 0x6c], bl
call fcn.1000bc70
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 1
call fcn.1000bc70
cmp esi, dword [edi + 8]
jb 0x100eadd6
xor ebp, ebp
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 0
call fcn.1000bc70
mov ecx, dword [esp + 0x34]
pop edi
pop esi
cmp ecx, ebp
pop ebp
mov dword [esp + 0x5c], 0xffffffff
pop ebx
je 0x100eaf16
mov al, byte [ecx - 1]
test al, al
je 0x100eaf0a
cmp al, 0xff
je 0x100eaf0a
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret