Function at 0x140180190
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 0x1401801bc
mov r8, qword [rax + 8]
cmp byte [r8 + 0x19], 0
je 0x1401801cf
mov r8, qword [rax]
cmp byte [r8 + 0x19], 0
cmove rdx, r8
jmp 0x140180214
mov r10, rdx
nop
mov r8, r10
mov r10, qword [r10]
cmp byte [r10 + 0x19], 0
je 0x1401801c0
jmp 0x1401801fc
mov r10, rax
nop word cs:[rax + rax]
mov r11, r10
mov r10, r8
cmp r11, qword [r8 + 0x10]
jne 0x1401801f9
mov r8, qword [r10 + 8]
cmp byte [r8 + 0x19], 0
je 0x1401801e0
jmp 0x1401801fc
mov r8, r10
mov r10, qword [rax]
movzx r11d, byte [r10 + 0x19]
test r11b, r11b
cmove rdx, r10
or r9b, r11b
je 0x1401802c5
mov r9, qword [rax + 8]
cmp byte [rdx + 0x19], 0
jne 0x140180222
mov qword [rdx + 8], r9
mov r8, qword [rcx]
cmp qword [r8 + 8], rax
je 0x140180238
lea r8, [r9 + 0x10]
cmp qword [r9], rax
cmove r8, r9
jmp 0x14018023c
add r8, 8
mov qword [r8], rdx
mov r8, qword [rcx]
cmp qword [r8], rax
jne 0x140180270
movzx r11d, byte [0x140502394]
add r11b, 0xdc
mov r10, r9
cmp byte [rdx + 0x19], r11b
jne 0x14018026d
mov r11, rdx
nop
mov r10, r11
mov r11, qword [r11]
cmp byte [r11 + 0x19], 0
je 0x140180260
mov qword [r8], r10
mov r8, qword [rcx]
cmp byte [0x14055f580], 0
jne 0x140180282
cmp qword [r8 + 0x10], rax
jne 0x1401802b6
cmp byte [rdx + 0x19], 0
mov r10, r9
jne 0x1401802b2
mov r11, rdx
nop
mov r10, r11
mov r11, qword [r11 + 0x10]
movzx ebx, byte [0x140502394]
mov esi, ebx
xor sil, 0xdc
and bl, 0x5c
add bl, bl
add bl, sil
cmp byte [r11 + 0x19], bl
je 0x140180290
mov qword [r8 + 0x10], r10
cmp byte [rax + 0x18], 1
je 0x140180359
jmp 0x14018068a
mov rdx, qword [r8 + 0x10]
cmp r8, rax
je 0x140180214
mov qword [r10 + 8], r8
mov r9, qword [rax]
mov qword [r8], r9
mov r9, r8
cmp r8, qword [rax + 0x10]
je 0x140180306
mov r9, qword [r8 + 8]
cmp byte [rdx + 0x19], 0
jne 0x1401802f3
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 0x140180320
mov r11, qword [rax + 8]
lea r10, [r11 + 0x10]
cmp qword [r11], rax
cmove r10, r11
jmp 0x140180324
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 0x140180359
jmp 0x14018068a
mov byte [r9 + 0x18], 0
mov r9, qword [rdx + 8]
mov r8, qword [rcx]
cmp rdx, qword [r8 + 8]
je 0x140180686
mov r8, rdx
cmp byte [rdx + 0x18], 1
jne 0x140180683
mov rdx, r9
mov r9, qword [r9]
cmp r8, r9
je 0x1401803a0
movzx r10d, byte [r9 + 0x18]
add r10b, byte [0x14055f574]
je 0x140180410
cmp byte [r9 + 0x19], 0
jne 0x140180355
jmp 0x140180472
mov r9, qword [rdx + 0x10]
cmp byte [r9 + 0x18], 0
jne 0x1401804a6
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 [0x140502394]
add r11b, 0xdc
cmp byte [r10 + 0x19], r11b
jne 0x1401803dc
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 0x140180494
mov r11, qword [rdx + 8]
lea r10, [r11 + 0x10]
cmp qword [r11], rdx
cmove r10, r11
jmp 0x140180498
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 0x140180432
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 0x140180455
mov r11, qword [rdx + 8]
lea r10, [r11 + 0x10]
cmp qword [r11 + 0x10], rdx
cmovne r10, r11
jmp 0x140180459
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 0x140180355
mov r10, qword [r9 + 0x10]
cmp byte [r10 + 0x18], 1
jne 0x140180553
mov r11, qword [r9]
cmp byte [r11 + 0x18], 1
je 0x140180350
jmp 0x140180553
add r10, 8
mov qword [r10], r9
mov qword [r9], rdx
mov qword [rdx + 8], r9
mov r9, qword [rdx + 0x10]
movzx r10d, byte [0x140502394]
add r10b, 0xdc
cmp byte [r9 + 0x19], r10b
jne 0x140180355
mov r10, qword [r9]
cmp byte [r10 + 0x18], 1
jne 0x1401804d5
mov r11, qword [r9 + 0x10]
cmp byte [r11 + 0x18], 1
je 0x140180350
mov r11, qword [r9 + 0x10]
cmp byte [r11 + 0x18], 1
jne 0x140180624
movzx r11d, byte [0x140502394]
mov ebx, r11d
xor bl, 0xdd
and r11b, 0x5d
add r11b, r11b
add r11b, bl
mov byte [r10 + 0x18], r11b
movzx r10d, byte [0x140502394]
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 0x140180529
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 0x140180611
mov rsi, qword [r9 + 8]
lea r11, [rsi + 0x10]
cmp qword [rsi + 0x10], r9
cmovne r11, rsi
jmp 0x140180615
mov r11, qword [r9]
cmp byte [r11 + 0x18], 1
jne 0x1401805b3
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 0x140180580
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 0x1401805a2
mov rsi, qword [r9 + 8]
lea r11, [rsi + 0x10]
cmp qword [rsi], r9
cmove r11, rsi
jmp 0x1401805a6
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 0x1401805e1
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 0x140180604
mov r11, qword [rdx + 8]
lea r10, [r11 + 0x10]
cmp qword [r11 + 0x10], rdx
cmovne r10, r11
jmp 0x140180608
add r10, 8
mov qword [r10], r9
mov qword [r9 + 0x10], rdx
jmp 0x14018067f
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 0x140180653
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 0x140180675
mov r11, qword [rdx + 8]
lea r10, [r11 + 0x10]
cmp qword [r11], rdx
cmove r10, r11
jmp 0x140180679
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 [0x14055f568]
add rdx, qword [rcx + 8]
add rdx, qword [0x14055f578]
add rdx, qword [0x14055f158]
je 0x1401806bf
movabs r8, 0x7af0356252f5e3a4
mov r9, r8
not r9
add r9, r8
add r9, rdx
mov qword [rcx + 8], r9
pop rbx
pop rsi
ret