Function at 0x14017ad80
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
mov rax, rdx
mov rdx, qword [rdx + 0x10]
movzx r9d, byte [rdx + 0x19]
test r9b, r9b
je 0x14017adac
mov r8, qword [rax + 8]
cmp byte [r8 + 0x19], 0
je 0x14017adbf
mov r8, qword [rax]
cmp byte [r8 + 0x19], 0
cmove rdx, r8
jmp 0x14017ae04
mov r10, rdx
nop
mov r8, r10
mov r10, qword [r10]
cmp byte [r10 + 0x19], 0
je 0x14017adb0
jmp 0x14017adec
mov r10, rax
nop word cs:[rax + rax]
mov r11, r10
mov r10, r8
cmp r11, qword [r8 + 0x10]
jne 0x14017ade9
mov r8, qword [r10 + 8]
cmp byte [r8 + 0x19], 0
je 0x14017add0
jmp 0x14017adec
mov r8, r10
mov r10, qword [rax]
movzx r11d, byte [r10 + 0x19]
test r11b, r11b
cmove rdx, r10
or r9b, r11b
je 0x14017aeb5
mov r9, qword [rax + 8]
cmp byte [rdx + 0x19], 0
jne 0x14017ae12
mov qword [rdx + 8], r9
mov r8, qword [rcx]
cmp qword [r8 + 8], rax
je 0x14017ae28
lea r8, [r9 + 0x10]
cmp qword [r9], rax
cmove r8, r9
jmp 0x14017ae2c
add r8, 8
mov qword [r8], rdx
mov r8, qword [rcx]
cmp qword [r8], rax
jne 0x14017ae60
movzx r11d, byte [0x14052c484]
add r11b, 0xdc
mov r10, r9
cmp byte [rdx + 0x19], r11b
jne 0x14017ae5d
mov r11, rdx
nop
mov r10, r11
mov r11, qword [r11]
cmp byte [r11 + 0x19], 0
je 0x14017ae50
mov qword [r8], r10
mov r8, qword [rcx]
cmp byte [0x14058f418], 0
jne 0x14017ae72
cmp qword [r8 + 0x10], rax
jne 0x14017aea6
cmp byte [rdx + 0x19], 0
mov r10, r9
jne 0x14017aea2
mov r11, rdx
nop
mov r10, r11
mov r11, qword [r11 + 0x10]
movzx ebx, byte [0x14052c484]
mov esi, ebx
xor sil, 0xdc
and bl, 0x5c
add bl, bl
add bl, sil
cmp byte [r11 + 0x19], bl
je 0x14017ae80
mov qword [r8 + 0x10], r10
cmp byte [rax + 0x18], 1
je 0x14017af49
jmp 0x14017b27a
mov rdx, qword [r8 + 0x10]
cmp r8, rax
je 0x14017ae04
mov qword [r10 + 8], r8
mov r9, qword [rax]
mov qword [r8], r9
mov r9, r8
cmp r8, qword [rax + 0x10]
je 0x14017aef6
mov r9, qword [r8 + 8]
cmp byte [rdx + 0x19], 0
jne 0x14017aee3
mov qword [rdx + 8], r9
mov qword [r9], rdx
mov r10, qword [rax + 0x10]
mov qword [r8 + 0x10], r10
mov r10, qword [rax + 0x10]
mov qword [r10 + 8], r8
mov r10, qword [rcx]
cmp qword [r10 + 8], rax
je 0x14017af10
mov r11, qword [rax + 8]
lea r10, [r11 + 0x10]
cmp qword [r11], rax
cmove r10, r11
jmp 0x14017af14
add r10, 8
mov qword [r10], r8
mov r10, qword [rax + 8]
mov qword [r8 + 8], r10
movzx r10d, byte [r8 + 0x18]
movzx r11d, byte [rax + 0x18]
mov byte [r8 + 0x18], r11b
mov byte [rax + 0x18], r10b
cmp byte [rax + 0x18], 1
je 0x14017af49
jmp 0x14017b27a
mov byte [r9 + 0x18], 0
mov r9, qword [rdx + 8]
mov r8, qword [rcx]
cmp rdx, qword [r8 + 8]
je 0x14017b276
mov r8, rdx
cmp byte [rdx + 0x18], 1
jne 0x14017b273
mov rdx, r9
mov r9, qword [r9]
cmp r8, r9
je 0x14017af90
movzx r10d, byte [r9 + 0x18]
add r10b, byte [0x14058f40c]
je 0x14017b000
cmp byte [r9 + 0x19], 0
jne 0x14017af45
jmp 0x14017b062
mov r9, qword [rdx + 0x10]
cmp byte [r9 + 0x18], 0
jne 0x14017b096
mov byte [r9 + 0x18], 1
mov byte [rdx + 0x18], 0
mov r9, qword [rdx + 0x10]
mov r10, qword [r9]
mov qword [rdx + 0x10], r10
mov r10, qword [r9]
movzx r11d, byte [0x14052c484]
add r11b, 0xdc
cmp byte [r10 + 0x19], r11b
jne 0x14017afcc
mov qword [r10 + 8], rdx
mov r10, qword [rdx + 8]
mov qword [r9 + 8], r10
mov r10, qword [rcx]
cmp qword [r10 + 8], rdx
je 0x14017b084
mov r11, qword [rdx + 8]
lea r10, [r11 + 0x10]
cmp qword [r11], rdx
cmove r10, r11
jmp 0x14017b088
mov byte [r9 + 0x18], 1
mov byte [rdx + 0x18], 0
mov r9, qword [rdx]
mov r10, qword [r9 + 0x10]
mov qword [rdx], r10
mov r10, qword [r9 + 0x10]
cmp byte [r10 + 0x19], 0
jne 0x14017b022
mov qword [r10 + 8], rdx
mov r10, qword [rdx + 8]
mov qword [r9 + 8], r10
mov r10, qword [rcx]
cmp qword [r10 + 8], rdx
je 0x14017b045
mov r11, qword [rdx + 8]
lea r10, [r11 + 0x10]
cmp qword [r11 + 0x10], rdx
cmovne r10, r11
jmp 0x14017b049
add r10, 8
mov qword [r10], r9
mov qword [r9 + 0x10], rdx
mov qword [rdx + 8], r9
mov r9, qword [rdx]
cmp byte [r9 + 0x19], 0
jne 0x14017af45
mov r10, qword [r9 + 0x10]
cmp byte [r10 + 0x18], 1
jne 0x14017b143
mov r11, qword [r9]
cmp byte [r11 + 0x18], 1
je 0x14017af40
jmp 0x14017b143
add r10, 8
mov qword [r10], r9
mov qword [r9], rdx
mov qword [rdx + 8], r9
mov r9, qword [rdx + 0x10]
movzx r10d, byte [0x14052c484]
add r10b, 0xdc
cmp byte [r9 + 0x19], r10b
jne 0x14017af45
mov r10, qword [r9]
cmp byte [r10 + 0x18], 1
jne 0x14017b0c5
mov r11, qword [r9 + 0x10]
cmp byte [r11 + 0x18], 1
je 0x14017af40
mov r11, qword [r9 + 0x10]
cmp byte [r11 + 0x18], 1
jne 0x14017b214
movzx r11d, byte [0x14052c484]
mov ebx, r11d
xor bl, 0xdd
and r11b, 0x5d
add r11b, r11b
add r11b, bl
mov byte [r10 + 0x18], r11b
movzx r10d, byte [0x14052c484]
add r10b, 0xdc
mov byte [r9 + 0x18], r10b
mov r10, qword [r9]
mov r11, qword [r10 + 0x10]
mov qword [r9], r11
mov r11, qword [r10 + 0x10]
cmp byte [r11 + 0x19], 0
jne 0x14017b119
mov qword [r11 + 8], r9
mov r11, qword [r9 + 8]
mov qword [r10 + 8], r11
mov r11, qword [rcx]
cmp qword [r11 + 8], r9
je 0x14017b201
mov rsi, qword [r9 + 8]
lea r11, [rsi + 0x10]
cmp qword [rsi + 0x10], r9
cmovne r11, rsi
jmp 0x14017b205
mov r11, qword [r9]
cmp byte [r11 + 0x18], 1
jne 0x14017b1a3
mov byte [r10 + 0x18], 1
mov byte [r9 + 0x18], 0
mov r10, qword [r9 + 0x10]
mov r11, qword [r10]
mov qword [r9 + 0x10], r11
mov r11, qword [r10]
cmp byte [r11 + 0x19], 0
jne 0x14017b170
mov qword [r11 + 8], r9
mov r11, qword [r9 + 8]
mov qword [r10 + 8], r11
mov r11, qword [rcx]
cmp qword [r11 + 8], r9
je 0x14017b192
mov rsi, qword [r9 + 8]
lea r11, [rsi + 0x10]
cmp qword [rsi], r9
cmove r11, rsi
jmp 0x14017b196
add r11, 8
mov qword [r11], r10
mov qword [r10], r9
mov qword [r9 + 8], r10
mov r9, qword [rdx]
movzx r10d, byte [rdx + 0x18]
mov byte [r9 + 0x18], r10b
mov byte [rdx + 0x18], 1
mov r9, qword [r9]
mov byte [r9 + 0x18], 1
mov r9, qword [rdx]
mov r10, qword [r9 + 0x10]
mov qword [rdx], r10
mov r10, qword [r9 + 0x10]
cmp byte [r10 + 0x19], 0
jne 0x14017b1d1
mov qword [r10 + 8], rdx
mov r10, qword [rdx + 8]
mov qword [r9 + 8], r10
mov r10, qword [rcx]
cmp qword [r10 + 8], rdx
je 0x14017b1f4
mov r11, qword [rdx + 8]
lea r10, [r11 + 0x10]
cmp qword [r11 + 0x10], rdx
cmovne r10, r11
jmp 0x14017b1f8
add r10, 8
mov qword [r10], r9
mov qword [r9 + 0x10], rdx
jmp 0x14017b26f
add r11, 8
mov qword [r11], r10
mov qword [r10 + 0x10], r9
mov qword [r9 + 8], r10
mov r9, qword [rdx + 0x10]
movzx r10d, byte [rdx + 0x18]
mov byte [r9 + 0x18], r10b
mov byte [rdx + 0x18], 1
mov r9, qword [r9 + 0x10]
mov byte [r9 + 0x18], 1
mov r9, qword [rdx + 0x10]
mov r10, qword [r9]
mov qword [rdx + 0x10], r10
mov r10, qword [r9]
cmp byte [r10 + 0x19], 0
jne 0x14017b243
mov qword [r10 + 8], rdx
mov r10, qword [rdx + 8]
mov qword [r9 + 8], r10
mov r10, qword [rcx]
cmp qword [r10 + 8], rdx
je 0x14017b265
mov r11, qword [rdx + 8]
lea r10, [r11 + 0x10]
cmp qword [r11], rdx
cmove r10, r11
jmp 0x14017b269
add r10, 8
mov qword [r10], r9
mov qword [r9], rdx
mov qword [rdx + 8], r9
mov rdx, r8
mov byte [rdx + 0x18], 1
mov rdx, qword [0x14058f400]
add rdx, qword [rcx + 8]
add rdx, qword [0x14058f410]
add rdx, qword [0x14058eff0]
je 0x14017b2af
movabs r8, 0x7af0356252f5e3a4
mov r9, r8
not r9
add r9, r8
add r9, rdx
mov qword [rcx + 8], r9
pop rbx
pop rsi
ret