Function at 0x14008edb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov eax, dword [rcx]
lea rbx, [0x140000000]
xchg rbp, rbp
xchg rdx, r10
mov rdx, r10
xchg r10, rdx
xchg rcx, r11
mov rcx, r11
xchg rcx, r11
cmp r8, 7
ja case.default.0x14008edeb
mov rsp, rsp
mov r9d, dword [rbx + r8*4 + 0x8f0ef]
add r9, rbx
jmp r9
mov rcx, r10
and ecx, 3
sub r8, rcx
xchg rdi, rdi
sub rcx, 1
je 0x14008ee66
sub rcx, 1
je 0x14008ee40
mov rbp, rbp
cmp rcx, 1
jne 0x14008ee8a
movzx edx, byte [r10]
mov ecx, eax
mov dword [rsp - 0xc], edi
xor rdx, rcx
shr eax, 5
shr eax, 2
shr eax, 1
movzx ecx, dl
xor eax, dword [rbx + rcx*4 + 0x142c20]
xchg r11, r11
inc r10
movzx edx, byte [r10]
mov ecx, eax
mov dword [rsp - 0x28], esi
xor rdx, rcx
shr eax, 4
shr eax, 2
shr eax, 2
movzx ecx, dl
mov rdx, rdx
xor eax, dword [rbx + rcx*4 + 0x142c20]
inc r10
movzx edx, byte [r10]
mov ecx, eax
mov dword [rsp - 0x34], 0x2dab88a7
xor rdx, rcx
shr eax, 8
movzx ecx, dl
xchg r14, r14
xor eax, dword [rbx + rcx*4 + 0x142c20]
inc r10
xchg r9, r15
mov r15, r8
xchg r15, r9
shr r9, 1
shr r9, 2
test r9, r9
je 0x14008ef80
mov dword [rsp - 0x30], edi
nop word [rax + rax]
xor eax, dword [r10]
movzx edx, al
shr eax, 5
shr eax, 2
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x142c20]
movzx edx, al
shr eax, 3
shr eax, 2
shr eax, 2
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x142c20]
mov dword [rsp - 0xc], 0x376bb185
movzx edx, al
shr eax, 2
shr eax, 2
shr eax, 1
shr eax, 2
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x142c20]
mov dword [rsp - 0x28], edx
movzx edx, al
shr eax, 6
shr eax, 1
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x142c20]
mov dword [rsp - 0x34], 0x5f55709a
xor eax, dword [r10 + 4]
nop
add r10, 0x5aa40b1
sub r10, 0x5aa40a9
movzx edx, al
mov dword [rsp - 0x18], ebp
shr eax, 3
shr eax, 4
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x142c20]
xchg r14, r14
movzx edx, al
shr eax, 6
shr eax, 1
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x142c20]
mov dword [rsp - 0x40], ecx
movzx edx, al
shr eax, 8
xor eax, dword [rbx + rdx*4 + 0x142c20]
movzx edx, al
mov dword [rsp - 0x14], esi
shr eax, 8
xor eax, dword [rbx + rdx*4 + 0x142c20]
sub r9, 1
jne 0x14008eead
mov dword [rsp - 0x38], ecx
and r8d, 7
jmp 0x14008edd3
movzx edx, byte [r10]
mov ecx, eax
mov dword [rsp - 0xc], ecx
xor rdx, rcx
shr eax, 3
shr eax, 2
shr eax, 1
shr eax, 1
shr eax, 1
movzx ecx, dl
xor eax, dword [rbx + rcx*4 + 0x142c20]
mov dword [rsp - 0x28], ebp
inc r10
movzx edx, byte [r10]
mov ecx, eax
xchg rdi, rdi
xor rdx, rcx
shr eax, 2
shr eax, 1
shr eax, 1
shr eax, 1
shr eax, 1
shr eax, 1
shr eax, 1
movzx ecx, dl
xor eax, dword [rbx + rcx*4 + 0x142c20]
inc r10
mov rsi, rsi
movzx edx, byte [r10]
mov ecx, eax
xor rdx, rcx
xchg r11, r11
shr eax, 3
shr eax, 4
shr eax, 1
movzx ecx, dl
xor eax, dword [rbx + rcx*4 + 0x142c20]
inc r10
mov dword [rsp - 0x38], 0x5f8eeef3
xor eax, dword [r10]
movzx edx, al
shr eax, 6
shr eax, 1
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x142c20]
xchg rsi, rsi
movzx edx, al
shr eax, 3
shr eax, 3
shr eax, 1
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x142c20]
mov dword [rsp - 0x18], esi
movzx edx, al
shr eax, 6
shr eax, 1
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x142c20]
movzx edx, al
shr eax, 3
shr eax, 1
shr eax, 4
xor eax, dword [rbx + rdx*4 + 0x142c20]
mov dword [r11], eax
mov dword [rsp - 0x28], ecx
xchg r9, rbx
mov r9, qword [rsp + 8]
xchg rbx, r9
ret
movzx edx, byte [r10]
mov ecx, eax
xor rdx, rcx
mov rsp, rsp
shr eax, 2
shr eax, 4
shr eax, 1
shr eax, 1
movzx ecx, dl
xor eax, dword [rbx + rcx*4 + 0x142c20]
mov r15, r15
inc r10
movzx edx, byte [r10]
mov ecx, eax
mov dword [rsp - 0x40], edi
xor rdx, rcx
shr eax, 3
shr eax, 5
movzx ecx, dl
xor eax, dword [rbx + rcx*4 + 0x142c20]
mov dword [rsp - 0x38], 0x2d298b15
inc r10
movzx edx, byte [r10]
mov ecx, eax
mov dword [rsp - 0x24], edi
xor rdx, rcx
shr eax, 1
shr eax, 1
shr eax, 1
shr eax, 4
shr eax, 1
movzx ecx, dl
mov dword [rsp - 0x28], 0x770e6e96
xor eax, dword [rbx + rcx*4 + 0x142c20]
mov rbx, qword [rsp + 8]
mov dword [r11], eax
ret