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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10d, dword [rdx]
lea rsi, [0x1800a5dd0]
mov eax, dword [rdx + 4]
mov r11d, 0xc6ef3720
mov r9d, r11d
mov rbx, rdx
mov edi, 2
nop dword [rax]
shr r9, 0xb
mov ecx, r10d
shl ecx, 4
and r9d, 3
mov edx, r10d
shr edx, 5
xor edx, ecx
mov ecx, dword [rsi + r9*4]
add edx, r10d
add ecx, r11d
add r11d, 0x61c88647
xor edx, ecx
mov r9d, r11d
sub eax, edx
shr r9, 0xb
and r9d, 3
mov ecx, eax
shl ecx, 4
mov r8d, eax
shr r8d, 5
xor r8d, ecx
mov ecx, r11d
and ecx, 3
add r8d, eax
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
mov ecx, r10d
mov edx, r10d
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, dword [rsi + r9*4]
add ecx, r11d
add edx, r10d
xor edx, ecx
add r11d, 0x61c88647
sub eax, edx
mov r9d, r11d
shr r9, 0xb
mov ecx, eax
shl ecx, 4
and r9d, 3
mov r8d, eax
shr r8d, 5
xor r8d, ecx
mov ecx, r11d
and ecx, 3
add r8d, eax
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
mov ecx, r10d
mov edx, r10d
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, dword [rsi + r9*4]
add ecx, r11d
add edx, r10d
xor edx, ecx
add r11d, 0x61c88647
sub eax, edx
mov r9d, r11d
mov ecx, eax
mov r8d, eax
shl ecx, 4
shr r8d, 5
xor r8d, ecx
mov ecx, r11d
and ecx, 3
add r8d, eax
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
mov edx, r10d
mov ecx, r10d
shr edx, 5
shl ecx, 4
xor edx, ecx
shr r9, 0xb
add edx, r10d
and r9d, 3
mov ecx, dword [rsi + r9*4]
add ecx, r11d
add r11d, 0x61c88647
xor edx, ecx
mov r9d, r11d
sub eax, edx
shr r9, 0xb
and r9d, 3
mov ecx, eax
shl ecx, 4
mov r8d, eax
shr r8d, 5
xor r8d, ecx
mov ecx, r11d
and ecx, 3
add r8d, eax
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
mov ecx, r10d
mov edx, r10d
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, dword [rsi + r9*4]
add ecx, r11d
add edx, r10d
xor edx, ecx
add r11d, 0x61c88647
sub eax, edx
mov r9d, r11d
shr r9, 0xb
mov ecx, eax
shl ecx, 4
and r9d, 3
mov r8d, eax
shr r8d, 5
xor r8d, ecx
mov ecx, r11d
and ecx, 3
add r8d, eax
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
mov ecx, r10d
mov edx, r10d
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, dword [rsi + r9*4]
add ecx, r11d
add edx, r10d
xor edx, ecx
add r11d, 0x61c88647
sub eax, edx
mov r9d, r11d
mov ecx, eax
mov r8d, eax
shl ecx, 4
shr r8d, 5
xor r8d, ecx
mov ecx, r11d
and ecx, 3
add r8d, eax
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
mov edx, r10d
mov ecx, r10d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r10d
shr r9, 0xb
and r9d, 3
mov ecx, dword [rsi + r9*4]
add ecx, r11d
add r11d, 0x61c88647
xor edx, ecx
mov r9d, r11d
sub eax, edx
shr r9, 0xb
and r9d, 3
mov ecx, eax
shl ecx, 4
mov r8d, eax
shr r8d, 5
xor r8d, ecx
mov ecx, r11d
and ecx, 3
add r8d, eax
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
mov ecx, r10d
mov edx, r10d
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, dword [rsi + r9*4]
add ecx, r11d
add edx, r10d
xor edx, ecx
add r11d, 0x61c88647
sub eax, edx
mov r9d, r11d
shr r9, 0xb
mov ecx, eax
shl ecx, 4
and r9d, 3
mov r8d, eax
shr r8d, 5
xor r8d, ecx
mov ecx, r11d
and ecx, 3
add r8d, eax
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
mov ecx, r10d
mov edx, r10d
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, dword [rsi + r9*4]
add ecx, r11d
add edx, r10d
xor edx, ecx
add r11d, 0x61c88647
sub eax, edx
mov r9d, r11d
mov ecx, eax
shr r9, 0xb
shl ecx, 4
mov r8d, eax
shr r8d, 5
xor r8d, ecx
mov ecx, r11d
and ecx, 3
add r8d, eax
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
mov edx, r10d
mov ecx, r10d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r10d
and r9d, 3
mov ecx, dword [rsi + r9*4]
add ecx, r11d
add r11d, 0x61c88647
xor edx, ecx
mov r9d, r11d
sub eax, edx
shr r9, 0xb
and r9d, 3
mov ecx, eax
shl ecx, 4
mov r8d, eax
shr r8d, 5
xor r8d, ecx
mov ecx, r11d
and ecx, 3
add r8d, eax
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
mov ecx, r10d
mov edx, r10d
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, dword [rsi + r9*4]
add ecx, r11d
add edx, r10d
xor edx, ecx
add r11d, 0x61c88647
sub eax, edx
mov r9d, r11d
shr r9, 0xb
mov ecx, eax
shl ecx, 4
and r9d, 3
mov r8d, eax
shr r8d, 5
xor r8d, ecx
mov ecx, r11d
and ecx, 3
add r8d, eax
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
mov ecx, r10d
mov edx, r10d
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, dword [rsi + r9*4]
add ecx, r11d
add edx, r10d
xor edx, ecx
add r11d, 0x61c88647
sub eax, edx
mov r9d, r11d
mov ecx, eax
shr r9, 0xb
shl ecx, 4
mov r8d, eax
shr r8d, 5
and r9d, 3
xor r8d, ecx
mov ecx, r11d
and ecx, 3
add r8d, eax
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
mov edx, r10d
mov ecx, r10d
shr edx, 5
shl ecx, 4
xor edx, ecx
mov ecx, dword [rsi + r9*4]
add ecx, r11d
add edx, r10d
xor edx, ecx
sub eax, edx
add r11d, 0x61c88647
mov ecx, eax
shl ecx, 4
mov r8d, eax
shr r8d, 5
xor r8d, ecx
mov r9d, r11d
add r8d, eax
shr r9, 0xb
and r9d, 3
mov ecx, r11d
and ecx, 3
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
mov ecx, r10d
mov edx, r10d
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, dword [rsi + r9*4]
add ecx, r11d
add edx, r10d
xor edx, ecx
add r11d, 0x61c88647
sub eax, edx
mov r9d, r11d
shr r9, 0xb
mov ecx, eax
shl ecx, 4
and r9d, 3
mov r8d, eax
shr r8d, 5
xor r8d, ecx
mov ecx, r11d
and ecx, 3
add r8d, eax
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
mov ecx, r10d
mov edx, r10d
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, dword [rsi + r9*4]
add ecx, r11d
add edx, r10d
xor edx, ecx
add r11d, 0x61c88647
sub eax, edx
mov r9d, r11d
shr r9, 0xb
mov ecx, eax
shl ecx, 4
and r9d, 3
mov r8d, eax
shr r8d, 5
xor r8d, ecx
mov ecx, r11d
and ecx, 3
add r8d, eax
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
mov edx, r10d
mov ecx, r10d
shr edx, 5
shl ecx, 4
xor edx, ecx
mov ecx, dword [rsi + r9*4]
add ecx, r11d
add edx, r10d
xor edx, ecx
sub eax, edx
add r11d, 0x61c88647
mov r8d, eax
mov r9d, r11d
shr r8d, 5
mov ecx, eax
shl ecx, 4
xor r8d, ecx
mov ecx, r11d
and ecx, 3
add r8d, eax
mov edx, dword [rsi + rcx*4]
add edx, r11d
xor r8d, edx
sub r10d, r8d
sub rdi, 1
jne 0x1800145a0
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov dword [rbx], r10d
mov dword [rbx + 4], eax
mov rbx, qword [rsp + 8]
ret