Function at 0x10091be0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x2cb8]
mov dword [esi + 0x2cb0], edi
cmp eax, 2
jne 0x10091c23
push 1
call fcn.10092c70
test eax, eax
je 0x10091c1d
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x7c]
push eax
push ecx
mov ecx, esi
call fcn.10091a30
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [esi + 0x2cb8], edi
mov eax, dword [esi + 0x38]
mov ecx, 8
sub ecx, eax
mov eax, dword [esi + 0x3c]
shr eax, cl
mov ecx, dword [esi + 0x2ca0]
shr eax, 0x10
and eax, 0xff
cmp ecx, 0x25
mov ecx, dword [esi + 0x2cac]
jae 0x10091c60
cmp ecx, edi
mov ebx, 0x100c67fc
jne 0x10091c59
mov ebx, 0x100c67ec
mov edx, 0x100c682c
jmp 0x10091c73
cmp ecx, edi
mov ebx, 0x100c681c
jne 0x10091c6e
mov ebx, 0x100c680c
mov edx, 0x100c6868
mov cl, byte [ebx]
mov ebp, 0xff
sar ebp, cl
mov ecx, dword [edx]
xor ecx, eax
not ebp
test ecx, ebp
je 0x10091c9f
mov cl, byte [edi + ebx + 1]
inc edi
mov ebp, 0xff
add edx, 4
sar ebp, cl
mov ecx, eax
xor ecx, dword [edx]
not ebp
test ecx, ebp
jne 0x10091c86
mov ecx, dword [esi + 0x38]
xor edx, edx
mov dl, byte [edi + ebx]
add ecx, edx
mov eax, ecx
mov dword [esi + 0x38], ecx
cmp eax, 8
jb 0x10091cfd
lea ebx, [esi + 0x40]
mov ebp, 0xfffffff8
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp eax, ecx
jb 0x10091cd1
mov ecx, ebx
call fcn.10006369
mov byte [esp + 0x10], al
jmp 0x10091cda
mov cl, byte [eax]
inc eax
mov byte [esp + 0x10], cl
mov dword [ebx], eax
mov edx, dword [esi + 0x3c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x38]
and eax, 0xff
shl edx, 8
add ecx, ebp
or edx, eax
mov eax, ecx
mov dword [esi + 0x3c], edx
cmp eax, 8
mov dword [esi + 0x38], ecx
jae 0x10091cbb
cmp edi, 9
jb 0x10091dce
jne 0x10091d2d
mov edi, dword [esi + 0x2cb8]
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x7c]
inc edi
push ecx
push edx
mov ecx, esi
mov dword [esi + 0x2cb8], edi
call fcn.10091a30
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp edi, 0xe
mov dword [esi + 0x2cb8], 0
jne 0x10091d73
push 0x100c66a8
mov ecx, esi
call fcn.10091b10
mov edi, eax
push 0xf
mov ecx, esi
add edi, 5
call fcn.10092c70
add eax, 0x7fff
push edi
push eax
mov ecx, esi
mov dword [esi + 0x80], edi
mov dword [esi + 0x7c], eax
call fcn.10091a30
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x78]
push 0x100c6670
sub eax, edi
mov ecx, esi
inc eax
mov ebp, edi
and eax, 3
mov ebx, dword [esi + eax*4 + 0x68]
call fcn.10091b10
add eax, 2
mov edi, eax
cmp edi, 0x101
jne 0x10091db7
cmp ebp, 0xa
jne 0x10091db7
mov eax, dword [esi + 0x2cac]
pop edi
xor eax, 1
mov dword [esi + 0x2cac], eax
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
cmp ebx, 0x100
jb 0x10091dc0
inc edi
mov ecx, dword [esi + 0x2cc8]
dec ecx
cmp ebx, ecx
jb 0x10091e42
inc edi
jmp 0x10091e42
mov edx, dword [esi + 0x2ca0]
push 0x100c6750
mov dword [esi + 0x2cb8], 0
lea eax, [edx + edi]
mov ecx, eax
shr ecx, 4
sub eax, ecx
mov ecx, esi
mov dword [esi + 0x2ca0], eax
call fcn.10091b10
and eax, 0xff
mov ebx, dword [esi + eax*4 + 0x494]
dec eax
cmp eax, 0xffffffff
je 0x10091e3f
mov ebp, dword [esi + ebx*4 + 0x1494]
dec ebp
mov dword [esi + ebx*4 + 0x1494], ebp
mov ecx, dword [esi + eax*4 + 0x494]
mov edx, dword [esi + ecx*4 + 0x1494]
inc edx
mov dword [esi + ecx*4 + 0x1494], edx
mov dword [esi + eax*4 + 0x498], ecx
mov dword [esi + eax*4 + 0x494], ebx
add edi, 2
mov edx, dword [esi + 0x78]
push edi
push ebx
mov ecx, esi
mov dword [esi + edx*4 + 0x68], ebx
mov eax, dword [esi + 0x78]
inc eax
mov dword [esi + 0x80], edi
and eax, 3
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], eax
call fcn.10091a30
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret