Function at 0x14026f710
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x178
mov rax, qword [0x1403d2e00]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r12, qword [rcx + 0x70]
mov rsi, rcx
mov rbp, qword [rcx + 0x38]
mov rbx, r8
mov r13d, dword [rcx + 0x34]
mov r8d, edx
mov r15d, 1
mov qword [rsp + 0x40], rdx
mov r10, rdx
mov qword [rsp + 0x50], r9
mov r9, qword [rcx + 8]
mov edx, r15d
mov ecx, dword [rcx + 0x100]
sub r8d, r9d
shl edx, cl
mov eax, r8d
mov ecx, dword [rsi + 0x1c]
mov r11d, r8d
sub eax, ecx
mov qword [rsp + 0x20], rbx
sub r11d, edx
mov qword [rsp + 0x48], r12
cmp eax, edx
mov qword [rsp + 0x30], rbp
mov eax, dword [rsi + 0x10c]
mov edi, 3
cmovbe r11d, ecx
mov dword [rsp + 4], r13d
cmp dword [rsi + 0x28], 0
mov qword [rsp + 0x18], r9
cmovne r11d, ecx
mov dword [rsp], r8d
mov ecx, 4
mov dword [rsp + 0x28], r11d
cmp eax, ecx
mov dword [rsp + 0xc], 0xf
cmovb ecx, eax
mov rax, qword [rsi + 0x60]
shl r15d, cl
xor r11d, r11d
mov ecx, 0x38
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x10], r15d
cmp dword [rsi + 0x12c], r11d
jne 0x14026fa80
mov r14d, dword [rsi + 0x2c]
mov eax, r8d
mov edx, dword [rsp + 4]
sub eax, r14d
mov r13, rbp
movabs rbp, 0xcf1bbcdcbb000000
cmp eax, 0x180
jbe 0x14026f972
lea eax, [r14 + 0x60]
cmp r14d, eax
jae 0x14026f8d8
mov r10, qword [rsp + 0x48]
lea r13, [r9 + 8]
mov rdi, qword [rsp + 0x30]
mov ebx, ecx
sub ebx, edx
mov r12d, r14d
add r13, r14
mov r15d, eax
nop
mov rdx, qword [r13]
mov ecx, ebx
imul rdx, rbp
xor rdx, qword [rsi + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [r10 + rax*4]
prefetcht0 byte [rax + rdi]
mov rax, r12
lea r13, [r13 + 1]
and eax, 7
mov r9d, dword [rsi + rax*4 + 0x40]
mov dword [rsi + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 4
and eax, 0xffffff0
movzx ecx, byte [rdi + rax]
lea rdx, [rdi + rax]
dec ecx
mov r8d, eax
and ecx, 0xf
mov eax, r11d
cmove eax, dword [rsp + 0xc]
inc r12
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r10 + rax*4], r14d
inc r14d
cmp r14d, r15d
jb 0x14026f840
mov r10, qword [rsp + 0x40]
mov edi, 3
mov rbx, qword [rsp + 0x20]
mov ecx, 0x38
mov r15d, dword [rsp + 0x10]
mov r8d, dword [rsp]
mov r9, qword [rsp + 0x18]
mov edx, dword [rsi + 0x34]
lea r14d, [r8 - 0x20]
mov r12, qword [rsi + 0x70]
lea rax, [r10 + 1]
mov r13, qword [rsi + 0x38]
mov dword [rsp + 8], edx
mov edx, eax
sub edx, dword [rsp + 0x18]
sub edx, r14d
mov r8d, r14d
inc edx
add r9, r8
cmp r9, rax
mov eax, 8
cmova edx, r11d
cmp edx, eax
cmova edx, eax
lea eax, [r14 + rdx]
cmp r14d, eax
jae 0x14026f966
sub ecx, dword [rsp + 8]
mov ebx, edx
mov rdx, qword [r9]
imul rdx, rbp
xor rdx, qword [rsi + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [rax + r13]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [rsi + rax*4 + 0x40], edx
sub rbx, 1
jne 0x14026f920
mov r12, qword [rsi + 0x70]
mov r13, qword [rsi + 0x38]
mov rbx, qword [rsp + 0x20]
mov edx, dword [rsi + 0x34]
mov ecx, 0x38
mov r8d, dword [rsp]
mov rax, qword [rsi + 8]
cmp r14d, r8d
jae 0x14026fa30
mov r15d, dword [rsp]
lea rdi, [rax + 8]
mov r10d, ecx
mov ebx, r14d
sub r10d, edx
add rdi, rbx
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rdi]
mov ecx, r10d
imul rdx, rbp
xor rdx, qword [rsi + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [rax + r13]
mov rax, rbx
lea rdi, [rdi + 1]
and eax, 7
mov r9d, dword [rsi + rax*4 + 0x40]
mov dword [rsi + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 4
and eax, 0xffffff0
movzx ecx, byte [rax + r13]
lea rdx, [rax + r13]
dec ecx
mov r8d, eax
and ecx, 0xf
mov eax, r11d
cmove eax, dword [rsp + 0xc]
inc rbx
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r12 + rax*4], r14d
inc r14d
cmp r14d, r15d
jb 0x14026f9a0
mov r10, qword [rsp + 0x40]
mov edi, 3
mov rbx, qword [rsp + 0x20]
mov r15d, dword [rsp + 0x10]
mov r8d, dword [rsp]
mov rax, qword [rsp + 0x18]
mov ecx, 0x38
sub ecx, dword [rsp + 4]
mov r12, qword [rsp + 0x48]
mov dword [rsi + 0x2c], r8d
mov rdx, qword [r8 + rax + 8]
imul rdx, rbp
xor rdx, qword [rsp + 0x38]
shr rdx, cl
mov eax, edx
shr eax, 4
and eax, 0xffffff0
prefetcht0 byte [r12 + rax*4]
mov rcx, qword [rsp + 0x30]
prefetcht0 byte [rax + rcx]
and r8d, 7
mov r14d, dword [rsi + r8*4 + 0x40]
mov dword [rsi + r8*4 + 0x40], edx
jmp 0x14026faa3
mov r14, qword [r10]
sub ecx, r13d
movabs rbp, 0xcf1bbcdcbb000000
mov dword [rsi + 0x2c], r8d
imul r14, rbp
xor r14, rax
shr r14, cl
mov rcx, qword [rsp + 0x30]
add dword [rsi + 0x68], r14d
mov eax, r14d
shr eax, 4
mov rbp, r11
and eax, 0xffffff0
add rcx, rax
mov qword [rsp + 0x38], rcx
lea r12, [r12 + rax*4]
movsx eax, r14b
movzx r13d, byte [rcx]
movdqu xmm0, xmmword [rcx]
movd xmm1, eax
mov eax, r13d
and eax, 0xf
punpcklbw xmm1, xmm1
mov ecx, eax
punpcklwd xmm1, xmm1
mov edx, eax
pshufd xmm1, xmm1, 0
neg ecx
pcmpeqb xmm0, xmm1
and ecx, 0xf
pmovmskb r8d, xmm0
movzx eax, r8w
shl ax, cl
movzx ecx, dl
movzx r9d, ax
movzx eax, r8w
shr rax, cl
or r9, rax
jbe 0x14026fb55
mov rbx, qword [rsp + 0x18]
mov edx, dword [rsp + 0x28]
nop dword [rax]
test r15d, r15d
je 0x14026fb50
bsf rcx, r9
add ecx, r13d
and ecx, 0xf
mov ecx, dword [r12 + rcx*4]
je 0x14026fb47
cmp ecx, edx
jb 0x14026fb50
prefetcht0 byte [rcx + rbx]
mov dword [rsp + rbp*4 + 0x60], ecx
inc rbp
dec r15d
lea rax, [r9 - 1]
and r9, rax
ja 0x14026fb20
mov rbx, qword [rsp + 0x20]
lea ecx, [r13 - 1]
mov eax, r11d
and ecx, 0xf
mov edx, 0xf
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x38]
mov byte [rax], cl
mov byte [rcx + rax], r14b
mov eax, dword [rsi + 0x2c]
mov dword [r12 + rcx*4], eax
inc dword [rsi + 0x2c]
test rbp, rbp
je 0x14026fc66
mov esi, dword [rsp]
mov r14, qword [rsp + 0x50]
nop
mov r9d, dword [rsp + r11*4 + 0x60]
mov eax, dword [rdi + r10 - 3]
mov edx, r9d
add rdx, qword [rsp + 0x18]
cmp dword [rdx + rdi - 3], eax
jne 0x14026fc5a
lea r8, [rbx - 7]
mov rax, r10
cmp r10, r8
jae 0x14026fbf9
mov rcx, qword [rdx]
xor rcx, qword [r10]
je 0x14026fbca
bsf rcx, rcx
shr rcx, 3
jmp 0x14026fc3e
add rax, 8
add rdx, 8
cmp rax, r8
jae 0x14026fbf9
nop word [rax + rax]
mov rcx, qword [rax]
xor rcx, qword [rdx]
jne 0x14026fc8d
add rax, 8
add rdx, 8
cmp rax, r8
jb 0x14026fbe0
lea rcx, [rbx - 3]
cmp rax, rcx
jae 0x14026fc10
mov ecx, dword [rax]
cmp dword [rdx], ecx
jne 0x14026fc10
add rax, 4
add rdx, 4
lea rcx, [rbx - 1]
cmp rax, rcx
jae 0x14026fc29
movzx ecx, word [rax]
cmp word [rdx], cx
jne 0x14026fc29
add rax, 2
add rdx, 2
cmp rax, rbx
jae 0x14026fc38
movzx ecx, byte [rax]
cmp byte [rdx], cl
jne 0x14026fc38
inc rax
mov rcx, rax
sub rcx, r10
cmp rcx, rdi
jbe 0x14026fc5a
mov eax, esi
mov rdi, rcx
sub eax, r9d
add eax, 3
mov qword [r14], rax
lea rax, [rcx + r10]
cmp rax, rbx
je 0x14026fc66
inc r11
cmp r11, rbp
jb 0x14026fb90
mov rax, rdi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140291370
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
bsf rcx, rcx
shr rcx, 3
sub rcx, r10
add rcx, rax
jmp 0x14026fc3e