Function at 0x140170790
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1403a6f08]
xor rax, rsp
mov qword [rsp + 0x30], rax
test r9, r9
je 0x140170a84
mov rax, qword [rdx + 8]
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x5d000
jne 0x1401707f0
test r9, r9
jle 0x140170a84
add rax, r8
add rax, 0xf
mov edx, dword [rcx]
test r9b, 1
jne 0x140170868
mov r8, r9
cmp r9, 1
jne 0x140170895
jmp 0x140170a84
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x5f000
jne 0x14017082d
test r9, r9
jle 0x140170a84
add r8, qword [rax + 0xf]
mov eax, dword [rcx]
test r9b, 1
jne 0x140170922
mov rdx, r9
cmp r9, 1
jne 0x140170949
jmp 0x140170a84
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x5e000
jne 0x1401708e8
test r9, r9
jle 0x140170a84
lea rax, [rax + r8*2]
add rax, 0xf
mov edx, dword [rcx]
test r9b, 1
jne 0x140170999
mov r8, r9
jmp 0x1401709bd
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 0x140170a84
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 0x1401708a0
jmp 0x140170a84
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x5f000
jne 0x140170a97
test r9, r9
jle 0x140170a84
add r8, r8
add r8, qword [rax + 0xf]
mov eax, dword [rcx]
test r9b, 1
jne 0x140170a15
mov rdx, r9
jmp 0x140170a33
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 0x140170a84
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 0x140170950
jmp 0x140170a84
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 0x140170a84
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 0x1401709d0
jmp 0x140170a84
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 0x140170a84
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 0x140170a40
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140263800
nop
add rsp, 0x38
ret
lea rax, str..._.._runtime_vm_object.cc
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x5bd0
lea rdx, str.unreachable_code
lea rcx, [rsp + 0x20]
call fcn.140023910
int3