Function at 0x1401d3e20
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 0x1401d3e4c
mov r8, qword [rax + 8]
cmp byte [r8 + 0x19], 0
je 0x1401d3e5f
mov r8, qword [rax]
cmp byte [r8 + 0x19], 0
cmove rdx, r8
jmp 0x1401d3eae
mov r10, rdx
nop
mov r8, r10
mov r10, qword [r10]
cmp byte [r10 + 0x19], 0
je 0x1401d3e50
jmp 0x1401d3e8c
mov r10, rax
nop word cs:[rax + rax]
mov r11, r10
mov r10, r8
cmp r11, qword [r8 + 0x10]
jne 0x1401d3e89
mov r8, qword [r10 + 8]
cmp byte [r8 + 0x19], 0
je 0x1401d3e70
jmp 0x1401d3e8c
mov r8, r10
mov r10, qword [rax]
movzx r11d, byte [r10 + 0x19]
movzx ebx, byte [0x1405aee88]
add bl, 0x7f
cmp r11b, bl
cmove rdx, r10
or r9b, r11b
je 0x1401d3f62
mov r9, qword [rax + 8]
cmp byte [rdx + 0x19], 0
jne 0x1401d3ebc
mov qword [rdx + 8], r9
mov r8, qword [rcx]
cmp qword [r8 + 8], rax
je 0x1401d3ed2
lea r8, [r9 + 0x10]
cmp qword [r9], rax
cmove r8, r9
jmp 0x1401d3ed6
add r8, 8
mov qword [r8], rdx
mov r8, qword [rcx]
cmp qword [r8], rax
jne 0x1401d3f10
movzx r11d, byte [0x1405aee88]
add r11b, 0x7f
mov r10, r9
cmp byte [rdx + 0x19], r11b
jne 0x1401d3f0d
mov r11, rdx
nop dword [rax]
mov r10, r11
mov r11, qword [r11]
cmp byte [r11 + 0x19], 0
je 0x1401d3f00
mov qword [r8], r10
mov r8, qword [rcx]
cmp qword [r8 + 0x10], rax
jne 0x1401d3f53
cmp byte [rdx + 0x19], 0
mov r10, r9
jne 0x1401d3f4f
mov r11, rdx
nop word cs:[rax + rax]
mov r10, r11
mov r11, qword [r11 + 0x10]
movzx ebx, byte [0x1405aee88]
mov esi, ebx
xor sil, 0x7f
add bl, bl
add bl, sil
cmp byte [r11 + 0x19], bl
je 0x1401d3f30
mov qword [r8 + 0x10], r10
cmp byte [rax + 0x18], 1
je 0x1401d4039
jmp 0x1401d4392
mov rdx, qword [r8 + 0x10]
cmp r8, rax
sete r9b
movzx ebx, byte [0x1406127e8]
xor r9b, bl
mov r11d, r9d
xor r11b, 1
and r11b, bl
mov ebx, r11d
and bl, r9b
test bl, 1
jne 0x1401d3eae
xor r11b, r9b
test r11b, 1
jne 0x1401d3eae
mov qword [r10 + 8], r8
mov r9, qword [rax]
mov qword [r8], r9
mov r9, r8
cmp r8, qword [rax + 0x10]
je 0x1401d3fdd
mov r9, qword [r8 + 8]
movzx r10d, byte [0x1405aee88]
add r10b, 0x7f
cmp byte [rdx + 0x19], r10b
jne 0x1401d3fca
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 0x1401d3ff7
mov r11, qword [rax + 8]
lea r10, [r11 + 0x10]
cmp qword [r11], rax
cmove r10, r11
jmp 0x1401d3ffb
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 0x1401d4039
jmp 0x1401d4392
mov byte [r9 + 0x18], 0
mov r9, qword [rdx + 8]
mov r8, qword [rcx]
cmp rdx, qword [r8 + 8]
je 0x1401d4382
mov r8, rdx
cmp byte [rdx + 0x18], 1
jne 0x1401d437f
mov rdx, r9
mov r9, qword [r9]
cmp r8, r9
je 0x1401d4080
cmp byte [r9 + 0x18], 0
je 0x1401d4100
cmp byte [r9 + 0x19], 0
jne 0x1401d4035
jmp 0x1401d4162
mov r9, qword [rdx + 0x10]
movzx r10d, byte [r9 + 0x18]
add r10b, byte [0x140612abb]
add r10b, byte [0x140612aba]
jne 0x1401d4196
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]
cmp byte [r10 + 0x19], 0
sete r11b
movzx ebx, byte [0x140612ab9]
test bl, r11b
jne 0x1401d40ce
xor bl, r11b
je 0x1401d40d2
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 0x1401d4184
mov r11, qword [rdx + 8]
lea r10, [r11 + 0x10]
cmp qword [r11], rdx
cmove r10, r11
jmp 0x1401d4188
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 0x1401d4122
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 0x1401d4145
mov r11, qword [rdx + 8]
lea r10, [r11 + 0x10]
cmp qword [r11 + 0x10], rdx
cmovne r10, r11
jmp 0x1401d4149
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 0x1401d4035
mov r10, qword [r9 + 0x10]
cmp byte [r10 + 0x18], 1
jne 0x1401d423d
mov r11, qword [r9]
cmp byte [r11 + 0x18], 1
je 0x1401d4030
jmp 0x1401d423d
add r10, 8
mov qword [r10], r9
mov qword [r9], rdx
mov qword [rdx + 8], r9
mov r9, qword [rdx + 0x10]
movzx r10d, byte [0x1405aee88]
add r10b, 0x73
mov r11d, r10d
xor r11b, 0xc
and r10b, 0xc
add r10b, r10b
add r10b, r11b
cmp byte [r9 + 0x19], r10b
jne 0x1401d4035
mov r10, qword [r9]
cmp byte [r10 + 0x18], 1
jne 0x1401d41d6
mov r11, qword [r9 + 0x10]
cmp byte [r11 + 0x18], 1
je 0x1401d4030
mov r11, qword [r9 + 0x10]
cmp byte [r11 + 0x18], 1
jne 0x1401d4319
movzx r11d, byte [0x1405aee88]
add r11b, 0x80
mov byte [r10 + 0x18], r11b
mov byte [r9 + 0x18], 0
mov r10, qword [r9]
mov r11, qword [r10 + 0x10]
mov qword [r9], r11
mov r11, qword [r10 + 0x10]
cmp byte [r11 + 0x19], 0
jne 0x1401d4213
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 0x1401d4306
mov rsi, qword [r9 + 8]
lea r11, [rsi + 0x10]
cmp qword [rsi + 0x10], r9
cmovne r11, rsi
jmp 0x1401d430a
mov r11, qword [r9]
cmp byte [r11 + 0x18], 1
jne 0x1401d42a8
movzx r11d, byte [0x1405aee88]
add r11b, 0x80
mov byte [r10 + 0x18], r11b
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 0x1401d4275
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 0x1401d4297
mov rsi, qword [r9 + 8]
lea r11, [rsi + 0x10]
cmp qword [rsi], r9
cmove r11, rsi
jmp 0x1401d429b
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 0x1401d42d6
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 0x1401d42f9
mov r11, qword [rdx + 8]
lea r10, [r11 + 0x10]
cmp qword [r11 + 0x10], rdx
cmovne r10, r11
jmp 0x1401d42fd
add r10, 8
mov qword [r10], r9
mov qword [r9 + 0x10], rdx
jmp 0x1401d437b
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 0x1401d4348
mov qword [r10 + 8], rdx
mov r10, qword [rdx + 8]
mov qword [r9 + 8], r10
mov r11, qword [rcx]
lea r10, [r11 + 8]
cmp byte [0x140612ab8], 0
jne 0x1401d4375
cmp qword [r11 + 8], rdx
je 0x1401d4375
mov r11, qword [rdx + 8]
lea r10, [r11 + 0x10]
cmp qword [r11], rdx
cmove r10, r11
mov qword [r10], r9
mov qword [r9], rdx
mov qword [rdx + 8], r9
mov rdx, r8
movzx r8d, byte [0x1405aee88]
add r8b, 0x80
mov byte [rdx + 0x18], r8b
mov rdx, qword [0x140612688]
add rdx, qword [rcx + 8]
je 0x1401d43ca
movabs r8, 0xc83de7f35883281c
movabs r9, 0x41fbdff5aa72d59b
add rdx, r8
add rdx, r9
sub r9, rdx
lea rdx, [r8 + r9]
inc rdx
neg rdx
mov qword [rcx + 8], rdx
pop rbx
pop rsi
ret