Function at 0x140081670
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov eax, dword [rcx]
mov rbp, rbp
lea rbx, [0x140000000]
xchg rdx, r15
mov r10, r15
xchg rdx, r15
xchg r11, rbp
mov rbp, rcx
xchg rbp, r11
cmp r8, 7
ja case.default.0x1400816b0
mov r9d, dword [rbx + r8*4 + 0x819a8]
mov dword [rsp - 0x14], 0x16cf4d12
add r9, rbx
jmp r9
xchg rdi, r10
mov rcx, rdi
xchg r10, rdi
and ecx, 3
sub r8, rcx
sub rcx, 1
mov dword [rsp - 0x3c], 0x6a8295ff
je 0x140081736
sub rcx, 1
je 0x14008170f
xchg rsp, rsp
cmp rcx, 1
jne 0x140081761
movzx edx, byte [r10]
xchg r13, r13
mov ecx, eax
xor rdx, rcx
shr eax, 5
shr eax, 2
shr eax, 1
movzx ecx, dl
xchg rbx, rbx
xor eax, dword [rbx + rcx*4 + 0x4a10c0]
inc r10
movzx edx, byte [r10]
mov ecx, eax
mov dword [rsp - 0x3c], 0x5e7fbad7
xor rdx, rcx
shr eax, 7
shr eax, 1
movzx ecx, dl
mov dword [rsp - 0x14], edi
xor eax, dword [rbx + rcx*4 + 0x4a10c0]
inc r10
movzx edx, byte [r10]
mov r8, r8
mov ecx, eax
xor rdx, rcx
shr eax, 3
shr eax, 1
shr eax, 3
shr eax, 1
movzx ecx, dl
mov dword [rsp - 0x30], 0x7954f431
xor eax, dword [rbx + rcx*4 + 0x4a10c0]
inc r10
xchg r9, r8
mov r8, r9
xchg r8, r9
shr r9, 1
shr r9, 2
test r9, r9
mov r14, r14
je 0x14008184c
nop word [rax + rax]
xor eax, dword [r10]
mov dword [rsp - 0x2c], esi
movzx edx, al
shr eax, 8
xor eax, dword [rbx + rdx*4 + 0x4a10c0]
movzx edx, al
mov rdi, rdi
shr eax, 6
shr eax, 1
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x4a10c0]
movzx edx, al
xchg rsp, rsp
shr eax, 2
shr eax, 3
shr eax, 2
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x4a10c0]
mov r11, r11
movzx edx, al
shr eax, 8
xor eax, dword [rbx + rdx*4 + 0x4a10c0]
mov dword [rsp - 0x38], 0x35564735
xor eax, dword [r10 + 4]
nop
add r10, 0x18bdbf32
sub r10, 0x18bdbf2a
movzx edx, al
shr eax, 4
shr eax, 2
shr eax, 1
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x4a10c0]
mov dword [rsp - 0x44], 0x1b8ae77d
movzx edx, al
shr eax, 8
xor eax, dword [rbx + rdx*4 + 0x4a10c0]
movzx edx, al
mov dword [rsp - 0x3c], ebp
shr eax, 3
shr eax, 3
shr eax, 1
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x4a10c0]
movzx edx, al
xchg r13, r13
shr eax, 8
xor eax, dword [rbx + rdx*4 + 0x4a10c0]
sub r9, 1
mov rsi, rsi
jne 0x140081783
and r8d, 7
jmp 0x140081693
movzx edx, byte [r10]
mov ecx, eax
xor rdx, rcx
mov dword [rsp - 0x34], 0x75b807b1
shr eax, 4
shr eax, 3
shr eax, 1
movzx ecx, dl
xor eax, dword [rbx + rcx*4 + 0x4a10c0]
mov dword [rsp - 0x44], 0x562484f6
inc r10
movzx edx, byte [r10]
mov ecx, eax
mov r10, r10
xor rdx, rcx
shr eax, 7
shr eax, 1
movzx ecx, dl
mov dword [rsp - 0x20], 0x4ce1281e
xor eax, dword [rbx + rcx*4 + 0x4a10c0]
inc r10
movzx edx, byte [r10]
mov rcx, rcx
mov ecx, eax
xor rdx, rcx
shr eax, 8
movzx ecx, dl
mov r11, r11
xor eax, dword [rbx + rcx*4 + 0x4a10c0]
inc r10
xor eax, dword [r10]
mov rdx, rdx
movzx edx, al
shr eax, 6
shr eax, 1
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x4a10c0]
movzx edx, al
shr eax, 7
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x4a10c0]
movzx edx, al
xchg rdx, rdx
shr eax, 4
shr eax, 1
shr eax, 1
shr eax, 1
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x4a10c0]
movzx edx, al
mov dword [rsp - 0xc], 0x726664c9
shr eax, 1
shr eax, 3
shr eax, 1
shr eax, 1
shr eax, 1
shr eax, 1
xor eax, dword [rbx + rdx*4 + 0x4a10c0]
mov dword [rsp - 0x2c], esp
mov dword [r11], eax
xchg rsi, rbx
mov rsi, qword [rsp + 8]
xchg rsi, rbx
ret
movzx edx, byte [r10]
xchg r8, r8
mov ecx, eax
xor rdx, rcx
shr eax, 7
shr eax, 1
movzx ecx, dl
xor eax, dword [rbx + rcx*4 + 0x4a10c0]
xchg r11, r11
inc r10
movzx edx, byte [r10]
mov ecx, eax
xchg r15, r15
xor rdx, rcx
shr eax, 5
shr eax, 3
movzx ecx, dl
xor eax, dword [rbx + rcx*4 + 0x4a10c0]
inc r10
mov rbp, rbp
movzx edx, byte [r10]
mov ecx, eax
xor rdx, rcx
shr eax, 8
mov dword [rsp - 0xc], esi
movzx ecx, dl
xor eax, dword [rbx + rcx*4 + 0x4a10c0]
mov rbx, qword [rsp + 8]
mov dword [r11], eax
mov dword [rsp - 0x28], 0x4c36c972
ret