Function at 0x1400894d0
Capabilities:
Encode data using xor

Disassembly:
xchg rbx, r12
mov qword [rsp + 0x18], r12
xchg rbx, r12
nop
mov qword [rsp - 8], rdi
sub rsp, 8
movzx eax, byte [rdx + 1]
mov rsp, rsp
mov rbx, r8
movzx r11d, byte [rdx]
xchg r8, rsp
mov rsp, rcx
xchg r8, rsp
movzx ecx, byte [rdx + 5]
mov dword [rsp - 0x10], edi
shl r11d, 3
shl r11d, 5
or r11d, eax
movzx eax, byte [rdx + 2]
xchg rcx, rcx
shl r11d, 5
shl r11d, 3
or r11d, eax
movzx eax, byte [rdx + 3]
mov dword [rsp - 0x3c], ebx
shl r11d, 1
shl r11d, 2
shl r11d, 2
shl r11d, 2
shl r11d, 1
or r11d, eax
movzx eax, byte [rdx + 4]
xchg rcx, rcx
shl eax, 2
shl eax, 3
shl eax, 1
shl eax, 1
shl eax, 1
or eax, ecx
movzx ecx, byte [rdx + 6]
xchg rdx, rdx
shl eax, 1
shl eax, 1
shl eax, 2
shl eax, 1
shl eax, 2
shl eax, 1
or eax, ecx
mov r12, r12
movzx ecx, byte [rdx + 7]
shl eax, 2
shl eax, 3
shl eax, 1
shl eax, 1
shl eax, 1
or eax, ecx
mov ecx, dword [r8 + 4]
mov rdx, rdx
dec ecx
movsxd rdi, ecx
test ecx, ecx
mov r12, r12
jle 0x1400895f2
mov rdx, qword [r8 + 8]
mov qword [rsp + 0x10], rsi
lea rsi, [rdi - 1]
mov rdx, rdx
lea rsi, [rdi + rsi*2]
xchg r14, r12
mov qword [rsp + 0x18], r12
xchg r12, r14
dec rdi
lea r14, [0x1404a1560]
xchg r12, r12
shr rdi, 1
lea rsi, [rdx + rsi*4]
inc rdi
mov rbp, rbp
nop dword [rax + rax]
mov r10d, dword [rsi + 0xc]
lea rsi, [rsi - 0x18]
mov edx, eax
mov dword [rsp - 0x3c], 0x253314d3
mov r9d, eax
and edx, 0x3ff00
ror r9d, 9
ror r9d, 2
ror r9d, 1
ror r9d, 1
ror r9d, 1
shl edx, 1
shl edx, 1
and r9d, 0xffc00
xchg rbp, rbp
mov ecx, eax
shr ecx, 0xf
shr ecx, 1
and ecx, 0x3ff
xchg rdi, rdi
or r9d, ecx
mov ecx, eax
and ecx, 0x3ff
mov dword [rsp - 0xc], 0x33d7dfd0
or edx, ecx
mov r8d, edx
xor edx, r9d
and edx, dword [rsi + 0x28]
mov dword [rsp - 0x20], 0x442b1bfa
xor r10, r8
mov r8d, dword [rsi + 0x20]
xor r10, rdx
mov dword [rsp - 0x1c], 0x2c4e7f6f
xor r8, r9
mov r9d, dword [rsi + 0x14]
xor r8, rdx
mov rsi, rsi
xchg r8, rcx
mov r8, rcx
xchg rcx, r8
and r8d, 0x3ff
shr rcx, 2
shr rcx, 1
shr rcx, 6
shr rcx, 1
mov edx, dword [r14 + rcx*4]
xchg r10, rcx
mov r10, rcx
xchg r10, rcx
shr rcx, 9
shr rcx, 1
xor edx, 0xaa7337
xchg r15, r15
and r10d, 0x3ff
mov ecx, dword [r14 + rcx*4 + 0x2000]
xor ecx, 0xaa7337
or edx, ecx
mov dword [rsp - 0x44], edx
mov ecx, dword [r14 + r8*4 + 0x1000]
xor ecx, 0xaa7337
or edx, ecx
mov ecx, dword [r14 + r10*4 + 0x3000]
xchg rbx, rbx
xor ecx, 0xaa7337
or edx, ecx
xor r11d, edx
mov edx, r11d
mov r15, r15
mov r8d, r11d
ror r8d, 2
ror r8d, 9
ror r8d, 2
ror r8d, 1
and edx, 0x3ff00
mov rbp, rbp
and r8d, 0xffc00
shl edx, 1
shl edx, 1
mov ecx, r11d
shr ecx, 0xf
shr ecx, 1
and ecx, 0x3ff
mov dword [rsp - 0x44], 0x45ade788
or r8d, ecx
mov ecx, r11d
and ecx, 0x3ff
xor r9, r8
mov rcx, rcx
or edx, ecx
mov ecx, dword [rsi + 0x18]
mov r10d, edx
xchg r9, r9
xor edx, r8d
and edx, dword [rsi + 0x1c]
xor r10, rcx
mov r14, r14
xor r10, rdx
xor r9, rdx
xchg rcx, r10
mov r10, rcx
xchg r10, rcx
and r10d, 0x3ff
shr rcx, 9
shr rcx, 1
mov r8d, dword [r14 + rcx*4 + 0x2000]
mov dword [rsp - 0x38], edx
xchg r9, rcx
mov r9, rcx
xchg rcx, r9
shr rcx, 7
shr rcx, 2
shr rcx, 1
xor r8d, 0xaa7337
and r9d, 0x3ff
mov edx, dword [r14 + rcx*4]
mov dword [rsp - 0x38], ebx
mov ecx, dword [r14 + r10*4 + 0x3000]
xor edx, 0xaa7337
xor ecx, 0xaa7337
mov r10, r10
or r8d, edx
or r8d, ecx
mov ecx, dword [r14 + r9*4 + 0x1000]
xchg r15, r15
xor ecx, 0xaa7337
or r8d, ecx
xor eax, r8d
xchg rsi, rsi
sub rdi, 1
jne 0x1400893d4
mov r14, qword [rsp + 0x18]
xchg rsi, rcx
mov rcx, qword [rsp + 0x10]
xchg rcx, rsi
nop dword [rax]
mov byte [rbx + 3], al
mov dword [rsp - 0x40], edi
mov byte [rbx + 7], r11b
shr eax, 1
shr eax, 3
shr eax, 3
shr eax, 1
mov byte [rbx + 2], al
mov dword [rsp - 0x24], ebp
shr r11d, 5
shr r11d, 3
mov byte [rbx + 6], r11b
xchg r12, r12
shr eax, 1
shr eax, 3
shr eax, 4
mov byte [rbx + 1], al
mov dword [rsp - 0xc], 0x670ab7bb
shr r11d, 4
shr r11d, 1
shr r11d, 1
shr r11d, 1
shr r11d, 1
mov byte [rbx + 5], r11b
shr eax, 5
shr eax, 2
shr eax, 1
mov byte [rbx], al
xchg r11, r11
shr r11d, 6
shr r11d, 1
shr r11d, 1
mov byte [rbx + 4], r11b
mov rbx, qword [rsp + 0x20]
nop
add rsp, 8
mov rdi, qword [rsp - 8]
ret