Function at 0x140178290
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x30], rax
test r9, r9
je 0x140178584
mov rax, qword [rdx + 8]
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x5e000
jne 0x1401782f0
test r9, r9
jle 0x140178584
add rax, r8
add rax, 0xf
mov edx, dword [rcx]
test r9b, 1
jne 0x140178368
mov r8, r9
cmp r9, 1
jne 0x140178395
jmp 0x140178584
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x60000
jne 0x14017832d
test r9, r9
jle 0x140178584
add r8, qword [rax + 0xf]
mov eax, dword [rcx]
test r9b, 1
jne 0x140178422
mov rdx, r9
cmp r9, 1
jne 0x140178449
jmp 0x140178584
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x5f000
jne 0x1401783e8
test r9, r9
jle 0x140178584
lea rax, [rax + r8*2]
add rax, 0xf
mov edx, dword [rcx]
test r9b, 1
jne 0x140178499
mov r8, r9
jmp 0x1401784bd
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 0x140178584
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 0x1401783a0
jmp 0x140178584
mov rdx, qword [rax - 1]
and edx, 0xfffff000
cmp edx, 0x60000
jne 0x140178597
test r9, r9
jle 0x140178584
add r8, r8
add r8, qword [rax + 0xf]
mov eax, dword [rcx]
test r9b, 1
jne 0x140178515
mov rdx, r9
jmp 0x140178533
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 0x140178584
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 0x140178450
jmp 0x140178584
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 0x140178584
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 0x1401784d0
jmp 0x140178584
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 0x140178584
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 0x140178540
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140265fe0
nop
add rsp, 0x38
ret
lea rax, str..._.._runtime_vm_object.cc
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x5cf3
lea rdx, str.unreachable_code
lea rcx, [rsp + 0x20]
call fcn.1400235e0
int3