Function at 0x1400defa0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov qword [rsp + 0x88], r9
mov rbx, rdx
mov rax, rcx
mov rcx, qword [0x14018e218]
xor rcx, rsp
mov qword [rsp + 0x190], rcx
mov rsi, qword [rax + 0x70]
mov r15, qword [rax + 0x38]
mov rdi, qword [rax + 8]
mov rbp, rdx
sub rbp, rdi
movzx ecx, byte [rax + 0x100]
mov r9d, 1
shl r9d, cl
mov ecx, dword [rax + 0x1c]
mov r10d, ebp
sub r10d, ecx
mov r13d, ebp
sub r13d, r9d
cmp r10d, r9d
cmovbe r13d, ecx
mov r11d, dword [rax + 0x34]
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x68], rdx
cmp dword [rax + 0x28], 0
mov r9d, 1
cmovne r13d, ecx
mov r10d, dword [rax + 0x10c]
cmp r10d, 4
mov ecx, 4
cmovb ecx, r10d
shl r9d, cl
mov ecx, dword [rax + 0x18]
mov qword [rsp + 0x70], rcx
mov rdx, qword [rax + 0x60]
cmp dword [rax + 0x12c], 0
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x80], r8
je 0x1400df079
imul r10d, dword [rbx], 0x9e3779b1
xor r10d, edx
mov cl, 0x18
sub cl, r11b
shr r10d, cl
mov dword [rax + 0x2c], ebp
jmp 0x1400df3b5
mov edi, dword [rax + 0x2c]
mov ecx, ebp
sub ecx, edi
cmp ecx, 0x181
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x60], rdx
jb 0x1400df1d7
mov r12, r15
mov r10, rsi
cmp edi, 0xffffff9f
mov r8, qword [rsp + 0x48]
ja 0x1400df177
lea r10, [rdi + 0x60]
mov ecx, 0x18
mov dword [rsp + 0x58], r11d
sub ecx, r11d
mov rsi, qword [rsp + 0x40]
mov r11, qword [rsp + 0x38]
nop word cs:[rax + rax]
imul r14d, dword [r8 + rdi + 8], 0x9e3779b1
xor r14d, dword [rax + 0x60]
shr r14d, cl
mov r15d, r14d
shr r15d, 4
and r15d, 0xfffffff0
prefetcht0 byte [rsi + r15*4]
prefetcht0 byte [r11 + r15]
mov r15d, edi
and r15d, 7
mov r12d, dword [rax + r15*4 + 0x40]
mov dword [rax + r15*4 + 0x40], r14d
mov r14, r12
shr r14, 4
and r14d, 0xffffff0
lea r15, [rsi + r14*4]
movzx r13d, byte [r11 + r14]
dec r13b
and r13b, 0xf
mov edx, 0
mov ebp, 0xf
cmove edx, ebp
lea rbp, [r11 + r14]
movzx r13d, r13b
add r13, rdx
mov byte [r11 + r14], r13b
mov byte [rbp + r13], r12b
mov dword [r15 + r13*4], edi
inc rdi
cmp r10, rdi
jne 0x1400df0e0
mov r12, qword [rax + 0x38]
mov r10, qword [rax + 0x70]
mov rbp, qword [rsp + 0x30]
mov r11d, dword [rsp + 0x58]
lea edi, [rbp - 0x20]
lea rcx, [rbx + 1]
lea rdx, [r8 + rdi]
mov ebp, ecx
sub ebp, edx
inc ebp
cmp ebp, 8
mov r14d, 8
cmovb r14d, ebp
mov rbp, qword [rsp + 0x30]
xor r15d, r15d
cmp rdx, rcx
cmovbe r15d, r14d
lea r13d, [r15 + rbp]
add r13d, 0xffffffe0
cmp r13d, edi
jbe 0x1400df2ab
mov ebp, dword [rax + 0x60]
mov ecx, 0x18
sub ecx, dword [rax + 0x34]
mov esi, r13d
sub r13d, edi
mov r15, rdi
not r15
test r13b, 1
jne 0x1400df1f6
mov r13, rdi
jmp 0x1400df227
mov r12, r15
mov r10, rsi
cmp edi, ebp
jb 0x1400df2c2
mov edi, ebp
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
jmp 0x1400df382
imul edx, dword [r8 + rdi], 0x9e3779b1
xor edx, ebp
shr edx, cl
mov r13d, edx
shr r13d, 4
and r13d, 0xfffffff0
prefetcht0 byte [r10 + r13*4]
prefetcht0 byte [r12 + r13]
mov r13d, edi
and r13d, 7
mov dword [rax + r13*4 + 0x40], edx
lea r13, [rdi + 1]
add r15, rsi
je 0x1400df2a6
mov r8, qword [rsp + 0x48]
nop word cs:[rax + rax]
imul edx, dword [r8 + r13], 0x9e3779b1
xor edx, ebp
shr edx, cl
mov r15d, edx
shr r15d, 4
and r15d, 0xfffffff0
prefetcht0 byte [r10 + r15*4]
prefetcht0 byte [r12 + r15]
mov r15d, r13d
and r15d, 7
mov dword [rax + r15*4 + 0x40], edx
lea edx, [r13 + 1]
imul r15d, dword [r8 + r13 + 1], 0x9e3779b1
xor r15d, ebp
shr r15d, cl
mov r14d, r15d
shr r14d, 4
and r14d, 0xfffffff0
prefetcht0 byte [r10 + r14*4]
prefetcht0 byte [r12 + r14]
and edx, 7
mov dword [rax + rdx*4 + 0x40], r15d
add r13, 2
cmp rsi, r13
jne 0x1400df240
mov rbp, qword [rsp + 0x30]
mov r13d, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x38]
cmp edi, ebp
jae 0x1400df1e5
mov dword [rsp + 0x58], r11d
mov ecx, 0x18
sub ecx, dword [rax + 0x34]
mov r14, qword [rax + 8]
mov r13d, edi
mov edi, ebp
nop dword [rax + rax]
imul edx, dword [r14 + r13 + 8], 0x9e3779b1
xor edx, dword [rax + 0x60]
shr edx, cl
mov r15d, edx
shr r15d, 4
and r15d, 0xfffffff0
prefetcht0 byte [r10 + r15*4]
prefetcht0 byte [r12 + r15]
mov r15d, r13d
and r15d, 7
mov esi, dword [rax + r15*4 + 0x40]
mov dword [rax + r15*4 + 0x40], edx
mov rdx, rsi
shr rdx, 4
and edx, 0xffffff0
lea r15, [r10 + rdx*4]
movzx r8d, byte [r12 + rdx]
dec r8b
and r8b, 0xf
mov ebp, 0
mov r11d, 0xf
cmove ebp, r11d
lea r11, [r12 + rdx]
movzx r8d, r8b
add r8, rbp
mov byte [r12 + rdx], r8b
mov byte [r11 + r8], sil
mov dword [r15 + r8*4], r13d
inc r13
cmp rdi, r13
jne 0x1400df2e0
mov rdx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x30]
mov r13d, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x38]
mov r11d, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov dword [rax + 0x2c], ebp
imul edx, dword [rdx + rdi + 8], 0x9e3779b1
xor edx, ecx
mov cl, 0x18
sub cl, r11b
shr edx, cl
mov ecx, edx
shr ecx, 4
and ecx, 0xfffffff0
prefetcht0 byte [rsi + rcx*4]
prefetcht0 byte [r15 + rcx]
mov ecx, ebp
and ecx, 7
mov r10d, dword [rax + rcx*4 + 0x40]
mov dword [rax + rcx*4 + 0x40], edx
add dword [rax + 0x68], r10d
mov edx, r10d
shr edx, 4
and edx, 0xfffffff0
lea r14, [r15 + rdx]
movzx ecx, byte [r15 + rdx]
movd xmm0, r10d
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqu xmm1, xmmword [r15 + rdx]
pcmpeqb xmm1, xmm0
pmovmskb edi, xmm1
lea r11, [rsi + rdx*4]
xor esi, esi
test edi, edi
je 0x1400df44a
ror di, cl
movzx r15d, di
xor edi, edi
nop
tzcnt r12, r15
add r12d, ecx
and r12d, 0xf
je 0x1400df43a
mov r12d, dword [r11 + r12*4]
cmp r12d, r13d
jb 0x1400df44c
cmp r12d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x48]
cmovb rdx, qword [rsp + 0x68]
prefetcht0 byte [rdx + r12]
mov dword [rsp + rdi*4 + 0x90], r12d
inc rdi
dec r9d
lea rdx, [r15 - 1]
and r15, rdx
je 0x1400df44c
test r9d, r9d
jne 0x1400df400
jmp 0x1400df44c
xor edi, edi
dec ecx
and ecx, 0xf
mov edx, 0xf
cmove esi, edx
add rsi, rcx
mov byte [r14], sil
mov byte [r14 + rsi], r10b
mov ecx, dword [rax + 0x2c]
lea edx, [rcx + 1]
mov dword [rax + 0x2c], edx
mov dword [r11 + rsi*4], ecx
test rdi, rdi
je 0x1400df63f
mov r10, qword [rsp + 0x48]
mov rax, qword [rsp + 0x70]
lea rcx, [r10 + rax]
mov qword [rsp + 0x40], rcx
mov r11, qword [rsp + 0x68]
add rax, r11
mov qword [rsp + 0x38], rax
mov r8, qword [rsp + 0x80]
lea r15, [r8 - 7]
lea rax, [r8 - 3]
mov qword [rsp + 0x50], rax
lea rax, [r8 - 1]
mov qword [rsp + 0x58], rax
lea rax, [rbx + 4]
mov qword [rsp + 0x60], rax
lea eax, [rbp + 3]
mov dword [rsp + 0x30], eax
lea rsi, [rbx + 8]
lea rax, [r10 + 8]
mov qword [rsp + 0x78], rax
mov r13d, 3
xor ebp, ebp
jmp 0x1400df4ef
inc rbp
mov r12, r13
cmp rbp, rdi
je 0x1400df645
mov r14d, dword [rsp + rbp*4 + 0x90]
cmp r14d, dword [rsp + 0x70]
jae 0x1400df550
mov eax, dword [r11 + r14]
cmp eax, dword [rbx]
jne 0x1400df4e0
lea rdx, [r11 + r14]
add rdx, 4
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x60]
mov r9, qword [rsp + 0x38]
mov r12, r8
call fcn.1400b81d0
mov r11, qword [rsp + 0x68]
mov r10, qword [rsp + 0x48]
mov r8, r12
mov r12, rax
add r12, 4
jmp 0x1400df612
lea rax, [r10 + r14]
mov ecx, dword [r13 + rax - 3]
cmp ecx, dword [rbx + r13 - 3]
jne 0x1400df4e0
cmp r15, rbx
jbe 0x1400df57b
mov rcx, qword [rbx]
xor rcx, qword [rax]
je 0x1400df597
tzcnt r12, rcx
shr r12, 3
jmp 0x1400df612
mov r12, rbx
cmp r12, qword [rsp + 0x50]
jae 0x1400df5e2
mov ecx, dword [rax]
cmp ecx, dword [r12]
jne 0x1400df5e2
add r12, 4
add rax, 4
jmp 0x1400df5e2
mov rax, qword [rsp + 0x78]
add rax, r14
xor ecx, ecx
nop word cs:[rax + rax]
lea r12, [rsi + rcx]
cmp r12, r15
jae 0x1400df5d8
mov r9, qword [r12]
lea rdx, [rcx + 8]
xor r9, qword [rax + rcx]
mov rcx, rdx
je 0x1400df5b0
tzcnt r12, r9
shr r12, 3
add r12, rdx
jmp 0x1400df612
add rax, rcx
cmp r12, qword [rsp + 0x50]
jb 0x1400df585
cmp r12, qword [rsp + 0x58]
jae 0x1400df5fb
movzx ecx, word [rax]
cmp cx, word [r12]
jne 0x1400df5fb
add r12, 2
add rax, 2
cmp r12, r8
jae 0x1400df60f
movzx eax, byte [rax]
xor ecx, ecx
cmp al, byte [r12]
sete cl
add r12, rcx
sub r12, rbx
cmp r12, r13
jbe 0x1400df4e0
mov eax, dword [rsp + 0x30]
sub eax, r14d
mov rcx, qword [rsp + 0x88]
mov qword [rcx], rax
lea rax, [rbx + r12]
mov r13, r12
cmp rax, r8
jne 0x1400df4e0
jmp 0x1400df645
mov r12d, 3
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14011fde0
mov rax, r12
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret