Function at 0x140172160
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 0x140172454
mov rax, qword [rdx + 8]
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x5d000
jne 0x1401721c0
test r9, r9
jle 0x140172454
add rax, r8
add rax, 0xf
mov edx, dword [rcx]
test r9b, 1
jne 0x140172238
mov r8, r9
cmp r9, 1
jne 0x140172265
jmp 0x140172454
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x5f000
jne 0x1401721fd
test r9, r9
jle 0x140172454
add r8, qword [rax + 0xf]
mov eax, dword [rcx]
test r9b, 1
jne 0x1401722f2
mov rdx, r9
cmp r9, 1
jne 0x140172319
jmp 0x140172454
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x5e000
jne 0x1401722b8
test r9, r9
jle 0x140172454
lea rax, [rax + r8*2]
add rax, 0xf
mov edx, dword [rcx]
test r9b, 1
jne 0x140172369
mov r8, r9
jmp 0x14017238d
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 0x140172454
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 0x140172270
jmp 0x140172454
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x5f000
jne 0x140172467
test r9, r9
jle 0x140172454
add r8, r8
add r8, qword [rax + 0xf]
mov eax, dword [rcx]
test r9b, 1
jne 0x1401723e5
mov rdx, r9
jmp 0x140172403
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 0x140172454
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 0x140172320
jmp 0x140172454
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 0x140172454
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 0x1401723a0
jmp 0x140172454
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 0x140172454
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 0x140172410
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140265f90
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