Function at 0x140172180
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0x30], rax
test r9, r9
je 0x140172474
mov rax, qword [rdx + 8]
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x5d000
jne 0x1401721e0
test r9, r9
jle 0x140172474
add rax, r8
add rax, 0xf
mov edx, dword [rcx]
test r9b, 1
jne 0x140172258
mov r8, r9
cmp r9, 1
jne 0x140172285
jmp 0x140172474
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x5f000
jne 0x14017221d
test r9, r9
jle 0x140172474
add r8, qword [rax + 0xf]
mov eax, dword [rcx]
test r9b, 1
jne 0x140172312
mov rdx, r9
cmp r9, 1
jne 0x140172339
jmp 0x140172474
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x5e000
jne 0x1401722d8
test r9, r9
jle 0x140172474
lea rax, [rax + r8*2]
add rax, 0xf
mov edx, dword [rcx]
test r9b, 1
jne 0x140172389
mov r8, r9
jmp 0x1401723ad
movzx r8d, byte [rax]
add edx, r8d
mov r8d, edx
shl r8d, 0xa
add r8d, edx
mov edx, r8d
shr edx, 6
xor edx, r8d
mov dword [rcx], edx
inc rax
lea r8, [r9 - 1]
cmp r9, 1
je 0x140172474
dec r8
nop dword [rax + rax]
movzx r9d, byte [rax]
add r9d, edx
mov edx, r9d
shl edx, 0xa
add edx, r9d
mov r9d, edx
shr r9d, 6
xor r9d, edx
mov dword [rcx], r9d
movzx edx, byte [rax + 1]
add edx, r9d
mov r9d, edx
shl r9d, 0xa
add r9d, edx
mov edx, r9d
shr edx, 6
xor edx, r9d
mov dword [rcx], edx
add rax, 2
add r8, 0xfffffffffffffffe
jb 0x140172290
jmp 0x140172474
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x5f000
jne 0x140172487
test r9, r9
jle 0x140172474
add r8, r8
add r8, qword [rax + 0xf]
mov eax, dword [rcx]
test r9b, 1
jne 0x140172405
mov rdx, r9
jmp 0x140172423
movzx edx, byte [r8]
add eax, edx
mov edx, eax
shl edx, 0xa
add edx, eax
mov eax, edx
shr eax, 6
xor eax, edx
mov dword [rcx], eax
inc r8
lea rdx, [r9 - 1]
cmp r9, 1
je 0x140172474
dec rdx
nop dword [rax]
movzx r9d, byte [r8]
add r9d, eax
mov eax, r9d
shl eax, 0xa
add eax, r9d
mov r9d, eax
shr r9d, 6
xor r9d, eax
mov dword [rcx], r9d
movzx eax, byte [r8 + 1]
add eax, r9d
mov r9d, eax
shl r9d, 0xa
add r9d, eax
mov eax, r9d
shr eax, 6
xor eax, r9d
mov dword [rcx], eax
add r8, 2
add rdx, 0xfffffffffffffffe
jb 0x140172340
jmp 0x140172474
movzx r8d, word [rax]
add edx, r8d
mov r8d, edx
shl r8d, 0xa
add r8d, edx
mov edx, r8d
shr edx, 6
xor edx, r8d
mov dword [rcx], edx
add rax, 2
lea r8, [r9 - 1]
cmp r9, 1
je 0x140172474
dec r8
nop word [rax + rax]
movzx r9d, word [rax]
add r9d, edx
mov edx, r9d
shl edx, 0xa
add edx, r9d
mov r9d, edx
shr r9d, 6
xor r9d, edx
mov dword [rcx], r9d
movzx edx, word [rax + 2]
add edx, r9d
mov r9d, edx
shl r9d, 0xa
add r9d, edx
mov edx, r9d
shr edx, 6
xor edx, r9d
mov dword [rcx], edx
add rax, 4
add r8, 0xfffffffffffffffe
jb 0x1401723c0
jmp 0x140172474
movzx edx, word [r8]
add eax, edx
mov edx, eax
shl edx, 0xa
add edx, eax
mov eax, edx
shr eax, 6
xor eax, edx
mov dword [rcx], eax
add r8, 2
lea rdx, [r9 - 1]
cmp r9, 1
je 0x140172474
dec rdx
nop dword [rax]
movzx r9d, word [r8]
add r9d, eax
mov eax, r9d
shl eax, 0xa
add eax, r9d
mov r9d, eax
shr r9d, 6
xor r9d, eax
mov dword [rcx], r9d
movzx eax, word [r8 + 2]
add eax, r9d
mov r9d, eax
shl r9d, 0xa
add r9d, eax
mov eax, r9d
shr eax, 6
xor eax, r9d
mov dword [rcx], eax
add r8, 4
add rdx, 0xfffffffffffffffe
jb 0x140172430
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140265fa0
nop
add rsp, 0x38
ret
lea rax, str..._.._runtime_vm_object.cc
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x5c6e
lea rdx, str.unreachable_code
lea rcx, [rsp + 0x20]
call fcn.140023be0
int3