Function at 0x10090910
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea esi, [eax - 1]
mov ebx, dword [esp + 0x20]
mov dword [esp], esi
test edx, edx
jne 0x10090acc
test eax, eax
je 0x100909da
lea esi, [esi]
lea esi, [esi]
nop
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x100909e0
mov edi, dword [ebx]
xor edx, edx
mov dword [esp + 0x1c], ebp
mov esi, dword [ebx + 4]
mov dword [esp + 0x20], ebx
lea esi, [esi]
nop
mov eax, esi
mov ebp, esi
shr ebp, 5
shl eax, 4
xor eax, ebp
mov ebp, edx
and ebp, 3
add eax, esi
mov ebx, dword [ecx + ebp*4]
add ebx, edx
sub edx, 0x61c88647
xor eax, ebx
add edi, eax
mov eax, edi
mov ebp, edi
shr ebp, 5
shl eax, 4
xor eax, ebp
mov ebp, edx
shr ebp, 0xb
add eax, edi
and ebp, 3
mov ebx, dword [ecx + ebp*4]
add ebx, edx
xor eax, ebx
add esi, eax
cmp edx, 0xc6ef3720
jne 0x10090970
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [ebp], edi
mov dword [ebp + 4], esi
dec dword [esp]
add ebx, 8
add ebp, 8
mov eax, dword [esp]
inc eax
jne 0x10090950
pop eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], ebp
movzx edx, byte [ebx]
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x28]
movzx eax, byte [eax]
xor al, dl
mov byte [ebp], al
movzx edx, byte [edi + 1]
movzx eax, byte [ebx + 1]
xor al, dl
mov byte [ebp + 1], al
movzx edx, byte [edi + 2]
movzx eax, byte [ebx + 2]
xor al, dl
mov byte [ebp + 2], al
movzx edx, byte [edi + 3]
movzx eax, byte [ebx + 3]
xor al, dl
mov byte [ebp + 3], al
movzx eax, byte [edi + 4]
movzx edx, byte [ebx + 4]
mov esi, dword [ebp]
xor al, dl
mov byte [ebp + 4], al
movzx edx, byte [edi + 5]
movzx eax, byte [ebx + 5]
xor al, dl
mov byte [ebp + 5], al
movzx edx, byte [edi + 6]
movzx eax, byte [ebx + 6]
xor al, dl
mov byte [ebp + 6], al
movzx edx, byte [edi + 7]
movzx eax, byte [ebx + 7]
xor al, dl
xor edx, edx
mov byte [ebp + 7], al
mov edi, dword [ebp + 4]
nop
mov eax, edi
mov ebp, edi
shr ebp, 5
shl eax, 4
xor eax, ebp
mov ebp, edx
and ebp, 3
add eax, edi
mov ebx, dword [ecx + ebp*4]
add ebx, edx
sub edx, 0x61c88647
xor eax, ebx
add esi, eax
mov eax, esi
mov ebp, esi
shr ebp, 5
shl eax, 4
xor eax, ebp
mov ebp, edx
shr ebp, 0xb
add eax, esi
and ebp, 3
mov ebx, dword [ecx + ebp*4]
add ebx, edx
xor eax, ebx
add edi, eax
cmp edx, 0xc6ef3720
jne 0x10090a60
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x28]
mov dword [ebp], esi
mov dword [eax], esi
mov eax, dword [ebp + 4]
mov dword [edi + 4], eax
jmp 0x100909c7
test eax, eax
je 0x100909da
lea esi, [esi]
lea esi, [esi]
nop
mov edi, dword [ebx]
mov edx, 0xc6ef3720
mov dword [esp + 0x1c], ebp
mov esi, dword [ebx + 4]
mov dword [esp + 0x20], ebx
lea esi, [esi]
lea esi, [esi]
mov eax, edi
mov ebp, edi
shr ebp, 5
shl eax, 4
xor eax, ebp
mov ebp, edx
shr ebp, 0xb
add eax, edi
and ebp, 3
mov ebx, dword [ecx + ebp*4]
add ebx, edx
add edx, 0x61c88647
xor eax, ebx
sub esi, eax
mov eax, esi
mov ebp, esi
shr ebp, 5
shl eax, 4
xor eax, ebp
mov ebp, edx
and ebp, 3
add eax, esi
mov ebx, dword [ecx + ebp*4]
add ebx, edx
xor eax, ebx
sub edi, eax
test edx, edx
jne 0x10090b00
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x10090b70
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
xor edi, edx
mov edx, dword [eax + 4]
mov eax, dword [ebx]
xor esi, edx
mov edx, dword [esp + 0x28]
mov dword [edx], eax
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
dec dword [esp]
add ebx, 8
add ebp, 8
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
mov eax, dword [esp]
inc eax
jne 0x10090ae0
pop eax
pop ebx
pop esi
pop edi
pop ebp
ret