Function at 0x100091a9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, eax
mov esi, edx
movzx edx, byte [ebx + 5]
shl edx, 8
cmp dword [ebp + 0x10], 0
push edi
mov edi, ecx
je 0x100093b8
movzx eax, byte [ebx + 1]
movzx ecx, byte [ebx]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [ebx + 4]
or eax, edx
movzx edx, byte [ebx + 6]
shl edx, 0x10
or eax, edx
movzx edx, byte [ebx + 7]
shl edx, 0x18
or eax, edx
mov edx, dword [ebp + 8]
add edx, 0xfffffff8
mov dword [ebp - 4], ecx
mov dword [ebp + 0x10], eax
js 0x100092cc
lea eax, [edx + 8]
shr eax, 3
mov dword [ebp - 0xc], eax
imul eax, eax, 0xfffffff8
add edx, eax
mov dword [ebp + 8], edx
movzx ecx, byte [esi + 1]
movzx eax, byte [esi]
movzx edx, byte [esi + 5]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 2]
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [esi + 3]
shl ecx, 0x18
or eax, ecx
movzx ecx, byte [esi + 4]
xor eax, dword [ebp - 4]
shl edx, 8
or ecx, edx
movzx edx, byte [esi + 6]
shl edx, 0x10
or ecx, edx
movzx edx, byte [esi + 7]
shl edx, 0x18
or ecx, edx
xor ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
add esi, 8
mov dword [ebp - 0x14], ecx
call fcn.10009609
mov eax, dword [ebp - 0x18]
mov byte [edi], al
mov edx, eax
shr edx, 8
mov byte [edi + 1], dl
mov edx, eax
shr edx, 0x10
mov byte [edi + 2], dl
pop ecx
mov ecx, eax
shr eax, 0x18
mov byte [edi + 3], al
mov eax, dword [ebp - 0x14]
mov byte [edi + 4], al
mov edx, eax
shr edx, 8
mov byte [edi + 5], dl
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x10], eax
shr eax, 0x18
mov byte [edi + 6], dl
mov byte [edi + 7], al
add edi, 8
dec dword [ebp - 0xc]
mov dword [ebp - 4], ecx
jne 0x10009222
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
cmp edx, 0xfffffff8
je 0x10009382
lea ecx, [esi + edx + 8]
add edx, 7
xor esi, esi
xor eax, eax
cmp edx, 7
ja case.default.0x100092e5
jmp dword [edx*4 + 0x100095c9]
dec ecx
movzx esi, byte [ecx]
shl esi, 0x18
dec ecx
movzx eax, byte [ecx]
shl eax, 0x10
or esi, eax
dec ecx
movzx eax, byte [ecx]
shl eax, 8
or esi, eax
dec ecx
movzx eax, byte [ecx]
or esi, eax
dec ecx
movzx eax, byte [ecx]
shl eax, 0x18
dec ecx
movzx edx, byte [ecx]
shl edx, 0x10
or eax, edx
dec ecx
movzx edx, byte [ecx]
shl edx, 8
or eax, edx
movzx ecx, byte [ecx - 1]
or eax, ecx
xor eax, dword [ebp - 4]
xor esi, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
call fcn.10009609
mov eax, dword [ebp - 0x18]
mov byte [edi], al
mov edx, eax
shr edx, 8
mov byte [edi + 1], dl
mov edx, eax
shr edx, 0x10
mov byte [edi + 2], dl
pop ecx
mov ecx, eax
shr eax, 0x18
mov byte [edi + 3], al
mov eax, dword [ebp - 0x14]
mov edx, eax
mov byte [edi + 4], al
shr edx, 8
mov byte [edi + 5], dl
mov edx, eax
mov dword [ebp + 0x10], eax
shr edx, 0x10
shr eax, 0x18
mov byte [edi + 6], dl
mov byte [edi + 7], al
mov eax, dword [ebp + 0x10]
mov byte [ebx], cl
mov edx, ecx
shr edx, 8
mov byte [ebx + 1], dl
mov edx, ecx
shr ecx, 0x18
shr edx, 0x10
mov byte [ebx + 2], dl
mov byte [ebx + 3], cl
mov ecx, eax
shr ecx, 8
mov byte [ebx + 4], al
mov byte [ebx + 5], cl
mov ecx, eax
shr ecx, 0x10
shr eax, 0x18
mov byte [ebx + 6], cl
mov byte [ebx + 7], al
jmp 0x100095c3
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx]
shl ecx, 8
or eax, ecx
movzx ecx, byte [ebx + 2]
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [ebx + 3]
shl ecx, 0x18
or eax, ecx
movzx ecx, byte [ebx + 4]
or ecx, edx
movzx edx, byte [ebx + 6]
shl edx, 0x10
or ecx, edx
movzx edx, byte [ebx + 7]
shl edx, 0x18
or ecx, edx
mov edx, dword [ebp + 8]
add edx, 0xfffffff8
mov dword [ebp + 0x10], eax
mov dword [ebp - 4], ecx
mov dword [ebp + 8], edx
js 0x100094c8
lea eax, [edx + 8]
shr eax, 3
mov dword [ebp - 0x10], eax
imul eax, eax, 0xfffffff8
add edx, eax
mov dword [ebp + 8], edx
movzx ecx, byte [esi + 1]
movzx eax, byte [esi]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 2]
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [esi + 3]
shl ecx, 0x18
or eax, ecx
movzx ecx, byte [esi + 5]
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], eax
movzx eax, byte [esi + 4]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 6]
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [esi + 7]
shl ecx, 0x18
or eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
add esi, 8
call fcn.1000982e
mov eax, dword [ebp + 0x10]
xor eax, dword [ebp - 0x18]
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 0x14]
mov byte [edi], al
mov edx, eax
shr edx, 8
mov byte [edi + 1], dl
mov edx, eax
shr eax, 0x18
shr edx, 0x10
mov byte [edi + 2], dl
mov byte [edi + 3], al
mov byte [edi + 4], cl
mov eax, ecx
shr eax, 8
mov byte [edi + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 6], al
mov eax, dword [ebp - 8]
shr ecx, 0x18
mov byte [edi + 7], cl
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0xc]
add edi, 8
dec dword [ebp - 0x10]
mov dword [ebp - 4], eax
jne 0x10009414
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
cmp dword [ebp + 8], 0xfffffff8
je 0x10009592
movzx ecx, byte [esi + 1]
movzx eax, byte [esi]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 2]
movzx edx, byte [esi + 6]
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [esi + 3]
shl ecx, 0x18
or eax, ecx
movzx ecx, byte [esi + 5]
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], eax
movzx eax, byte [esi + 4]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 7]
shl ecx, 8
or ecx, edx
shl ecx, 0x10
or eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
call fcn.1000982e
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
xor eax, dword [ebp - 0x18]
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 0x14]
lea edi, [edi + edx + 8]
add edx, 7
cmp edx, 7
ja case.default.0x10009543
jmp dword [edx*4 + 0x100095e9]
dec edi
mov edx, ecx
shr edx, 0x18
mov byte [edi], dl
dec edi
mov edx, ecx
shr edx, 0x10
mov byte [edi], dl
dec edi
mov edx, ecx
shr edx, 8
mov byte [edi], dl
dec edi
mov byte [edi], cl
dec edi
mov ecx, eax
shr ecx, 0x18
mov byte [edi], cl
dec edi
mov ecx, eax
shr ecx, 0x10
mov byte [edi], cl
dec edi
mov ecx, eax
shr ecx, 8
mov byte [edi], cl
mov byte [edi - 1], al
mov eax, dword [ebp - 8]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov byte [ebx], al
mov edx, eax
shr edx, 8
mov byte [ebx + 1], dl
mov edx, eax
shr eax, 0x18
shr edx, 0x10
mov byte [ebx + 2], dl
mov byte [ebx + 3], al
mov eax, ecx
shr eax, 8
mov byte [ebx + 4], cl
mov byte [ebx + 5], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [ebx + 6], al
mov byte [ebx + 7], cl
pop edi
pop esi
pop ebx
leave
ret