Function at 0x140026b60
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140026bbd
mov rsi, rdx
mov r8d, dword [rcx]
test r8, r8
je 0x140026bc4
mov edi, 0x100
and edi, dword [rcx + 4]
mov rax, qword [rcx + 8]
movzx r11d, byte [rax]
xor r9d, r9d
test r11b, r11b
mov edx, edi
cmove edx, r9d
sets r10b
cmp r8d, 1
cmovne edx, edi
test edx, edx
sete bl
je 0x140026bda
cmp r11b, 0x80
jbe 0x140026c7c
mov r10d, 1
mov r9b, 0xff
jmp 0x140026be1
xor edi, edi
jmp 0x140026c6f
test rsi, rsi
je 0x140026cbe
mov rax, qword [rsi]
mov edi, 1
jmp 0x140026c66
and bl, r10b
movzx r10d, bl
lea edi, [r10 + r8]
test rsi, rsi
je 0x140026c6f
mov rax, qword [rsi]
test r10d, r10d
je 0x140026bff
mov byte [rax], r9b
inc rax
mov r8d, dword [rcx]
test r8d, r8d
je 0x140026c66
test edx, edx
je 0x140026cc5
mov r9, qword [rcx + 8]
movsxd r10, r8d
lea rcx, [r10 + rax]
dec rcx
lea rdx, [r9 + r10]
dec rdx
movzx r9d, byte [r9 + r10 - 1]
test r9b, r9b
jne 0x140026cd6
cmp r8d, 2
jl 0x140026cd6
nop word [rax + rax]
mov byte [rcx], 0
dec rcx
lea eax, [r8 - 1]
movzx r9d, byte [rdx - 1]
dec rdx
test r9b, r9b
jne 0x140026cd9
cmp r8d, 2
mov r8d, eax
ja 0x140026c40
jmp 0x140026cd9
mov byte [rax], 0
movsxd rax, edi
add qword [rsi], rax
mov eax, edi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
xor r10d, r10d
cmp r11b, 0x80
jne 0x140026d1e
mov r9d, 0
cmp r8d, 2
jl 0x140026be1
mov r9d, 1
nop
cmp byte [rax + r9], 0
jne 0x140026bb2
inc r9
cmp r8, r9
jne 0x140026ca0
xor r10d, r10d
xor r9d, r9d
jmp 0x140026be1
mov edi, 1
jmp 0x140026c6f
mov r8d, r8d
mov rdx, qword [rcx + 8]
mov rcx, rax
call fcn.14027bf80
jmp 0x140026c69
mov eax, r8d
neg r9b
mov byte [rcx], r9b
cmp eax, 2
jl 0x140026c69
xor r8d, r8d
mov r9d, eax
sub r9d, 2
cmovb r9d, r8d
cmp r9d, 3
jb 0x140026e09
mov r8, rdx
sub r8, rcx
cmp r8, 0x10
jb 0x140026e09
lea r8d, [r9 + 1]
cmp r9d, 0xf
jae 0x140026d26
xor r9d, r9d
jmp 0x140026db9
xor r9d, r9d
jmp 0x140026be1
mov r9d, r8d
and r9d, 0xfffffff0
lea r11, [r8 - 0x10]
mov r10, r11
shr r10, 4
inc r10
cmp r11, 0x10
jae 0x140026d46
xor r11d, r11d
jmp 0x140026d85
mov rbx, r10
and rbx, 0xfffffffffffffffe
xor r11d, r11d
pcmpeqd xmm0, xmm0
movdqu xmm1, xmmword [rdx + r11 - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx + r11 - 0x10], xmm1
movdqu xmm1, xmmword [rdx + r11 - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx + r11 - 0x20], xmm1
add r11, 0xffffffffffffffe0
add rbx, 0xfffffffffffffffe
jne 0x140026d54
neg r11
test r10b, 1
je 0x140026daa
mov r10, rcx
sub r10, r11
mov rbx, rdx
sub rbx, r11
movdqu xmm0, xmmword [rbx - 0x10]
pcmpeqd xmm1, xmm1
pxor xmm1, xmm0
movdqu xmmword [r10 - 0x10], xmm1
cmp r9, r8
je 0x140026c69
test r8b, 0xc
je 0x140026e00
mov ebx, r8d
and ebx, 0xfffffffc
mov r14, rbx
neg r14
mov r10, rdx
sub r10, rbx
mov r11, rcx
sub r11, rbx
sub eax, ebx
neg r9
nop word cs:[rax + rax]
mov ebp, dword [rdx + r9 - 4]
not ebp
mov dword [rcx + r9 - 4], ebp
add r9, 0xfffffffffffffffc
cmp r14, r9
jne 0x140026de0
cmp rbx, r8
je 0x140026c69
jmp 0x140026e0f
sub eax, r9d
sub rcx, r9
sub rdx, r9
mov r10, rdx
mov r11, rcx
inc eax
xor ecx, ecx
nop word cs:[rax + rax]
movzx edx, byte [r10 + rcx - 1]
not dl
mov byte [r11 + rcx - 1], dl
dec rcx
lea edx, [rax + rcx]
cmp edx, 2
ja 0x140026e20
jmp 0x140026c69