Function at 0x1400c9ab0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x198
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r12, qword [rcx + 8]
mov r10, rcx
mov r15, qword [rcx + 0x38]
mov r13d, edx
mov r11d, dword [rcx + 0x34]
sub r13d, r12d
mov r14, rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x70], r8
mov ebp, 1
mov r8d, edx
mov qword [rsp + 0x68], r9
mov r9, qword [rcx + 0x70]
sub r8d, r12d
mov ecx, dword [rcx + 0x100]
mov edx, ebp
shl edx, cl
mov ebx, r8d
mov ecx, dword [r10 + 0x1c]
sub ebx, edx
mov eax, r8d
mov qword [rsp + 0x50], r9
sub eax, ecx
mov qword [rsp + 0x48], r15
cmp eax, edx
mov dword [rsp + 0x2c], r11d
mov eax, dword [r10 + 0x10c]
mov edi, 3
mov rdx, qword [r10 + 0x60]
cmovbe ebx, ecx
cmp dword [r10 + 0x28], 0
mov qword [rsp + 0x58], r12
cmovne ebx, ecx
mov dword [rsp + 0x20], r13d
mov ecx, 5
mov dword [rsp + 0x38], ebx
cmp eax, ecx
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x60], rdx
cmovb ecx, eax
mov dword [rsp + 0x28], 0x1f
shl ebp, cl
xor ebx, ebx
mov dword [rsp + 0x24], ebp
cmp dword [r10 + 0x12c], ebx
jne 0x1400c9e68
mov r11d, dword [r10 + 0x2c]
mov eax, r13d
mov ecx, dword [rsp + 0x2c]
lea r13d, [rdi + 0x35]
sub eax, r11d
mov rsi, r9
mov edx, ecx
cmp eax, 0x180
jbe 0x1400c9d3c
lea eax, [r11 + 0x60]
cmp r11d, eax
jae 0x1400c9c92
mov r15d, r13d
lea r14, [r12 + 8]
mov r13, qword [rsp + 0x48]
sub r15d, ecx
add r14, r11
mov esi, r11d
movabs rdi, 0xcf1bbcdcbf9b0000
mov ebp, eax
mov r12, r9
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [r14]
mov ecx, r15d
imul rdx, rdi
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [r12 + rax*4 + 0x40]
prefetcht0 byte [rax + r13]
mov rax, rsi
lea r14, [r14 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, ebx
shr r8, 3
and r8d, 0x1fffffe0
movzx ecx, byte [r8 + r13]
lea rdx, [r8 + r13]
dec ecx
and ecx, 0x1f
cmove eax, dword [rsp + 0x28]
inc rsi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r12 + rax*4], r11d
inc r11d
cmp r11d, ebp
jb 0x1400c9bf0
mov rsi, qword [r10 + 0x70]
mov edi, 3
mov r15, qword [r10 + 0x38]
mov edx, dword [r10 + 0x34]
mov ebp, dword [rsp + 0x24]
mov r14, qword [rsp + 0x40]
lea r13d, [rdi + 0x35]
mov r12, qword [rsp + 0x58]
mov r11d, dword [rsp + 0x20]
lea rax, [r14 + 1]
add r11d, 0xffffffe0
mov ecx, eax
sub ecx, r11d
mov r8d, r11d
sub ecx, r12d
inc ecx
lea r9, [r11 + r12]
cmp r9, rax
mov eax, 8
cmova ecx, ebx
cmp ecx, eax
cmova ecx, eax
lea eax, [r11 + rcx]
cmp r11d, eax
jae 0x1400c9d3c
mov r14d, r13d
mov edi, ecx
sub r14d, edx
movabs rbp, 0xcf1bbcdcbf9b0000
nop dword [rax + rax]
mov rdx, qword [r9]
mov ecx, r14d
imul rdx, rbp
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rsi + rax*4 + 0x40]
prefetcht0 byte [r15 + rax]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub rdi, 1
jne 0x1400c9ce0
mov rsi, qword [r10 + 0x70]
mov edi, 3
mov r15, qword [r10 + 0x38]
mov edx, dword [r10 + 0x34]
mov ebp, dword [rsp + 0x24]
mov r14, qword [rsp + 0x40]
mov rax, qword [r10 + 8]
cmp r11d, dword [rsp + 0x20]
jae 0x1400c9e04
mov r12d, r13d
mov edi, r11d
mov r13d, dword [rsp + 0x20]
lea r14, [rax + 8]
sub r12d, edx
movabs rbp, 0xcf1bbcdcbf9b0000
add r14, rdi
nop word [rax + rax]
mov rdx, qword [r14]
mov ecx, r12d
imul rdx, rbp
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rsi + rax*4 + 0x40]
prefetcht0 byte [r15 + rax]
mov rax, rdi
lea r14, [r14 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, ebx
shr r8, 3
and r8d, 0x1fffffe0
movzx ecx, byte [r8 + r15]
lea rdx, [r8 + r15]
dec ecx
and ecx, 0x1f
cmove eax, dword [rsp + 0x28]
inc rdi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rsi + rax*4], r11d
inc r11d
cmp r11d, r13d
jb 0x1400c9d70
mov ebp, dword [rsp + 0x24]
mov edi, 3
mov r14, qword [rsp + 0x40]
mov r12, qword [rsp + 0x58]
lea r13d, [rdi + 0x35]
mov eax, dword [rsp + 0x20]
sub r13d, dword [rsp + 0x2c]
mov r8d, dword [rsp + 0x30]
movzx ecx, r13b
mov dword [r10 + 0x2c], eax
movabs rax, 0xcf1bbcdcbf9b0000
mov rdx, qword [r8 + r12 + 8]
imul rdx, rax
xor rdx, qword [rsp + 0x60]
shr rdx, cl
mov rcx, qword [rsp + 0x50]
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rcx + rax*4]
prefetcht0 byte [rcx + rax*4 + 0x40]
mov r15, qword [rsp + 0x48]
prefetcht0 byte [rax + r15]
and r8d, 7
mov r9d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
jmp 0x1400c9e90
mov r9, qword [r14]
mov ecx, 0x38
sub ecx, r11d
mov dword [r10 + 0x2c], r8d
movabs rax, 0xcf1bbcdcbf9b0000
imul r9, rax
xor r9, rdx
shr r9, cl
mov rcx, qword [rsp + 0x50]
add dword [r10 + 0x68], r9d
mov eax, r9d
shr rax, 3
mov rsi, rbx
and eax, 0x1fffffe0
movdqu xmm0, xmmword [rax + r15]
lea r13, [rax + r15]
movzx r15d, byte [rax + r15]
lea r11, [rcx + rax*4]
and r15d, 0x1f
movsx eax, r9b
mov ecx, r15d
neg ecx
and ecx, 0x1f
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [r13 + 0x10]
pmovmskb eax, xmm1
pcmpeqb xmm0, xmm2
pmovmskb edx, xmm0
shl edx, 0x10
or edx, eax
mov r8d, edx
mov eax, edx
shl r8d, cl
mov ecx, r15d
shr rax, cl
or r8, rax
jbe 0x1400c9f42
mov edx, dword [rsp + 0x38]
nop dword [rax]
test ebp, ebp
je 0x1400c9f42
bsf rcx, r8
add ecx, r15d
and ecx, 0x1f
je 0x1400c9f39
mov ecx, dword [r11 + rcx*4]
cmp ecx, edx
jb 0x1400c9f42
prefetcht0 byte [rcx + r12]
mov dword [rsp + rsi*4 + 0x80], ecx
inc rsi
dec ebp
lea rax, [r8 - 1]
and r8, rax
ja 0x1400c9f10
movzx ecx, byte [r13]
mov eax, ebx
dec ecx
mov edx, 0x1f
and ecx, 0x1f
cmove eax, edx
add ecx, eax
mov byte [r13], cl
mov byte [rcx + r13], r9b
mov eax, dword [r10 + 0x2c]
mov dword [r11 + rcx*4], eax
inc dword [r10 + 0x2c]
test rsi, rsi
je 0x1400c9fcf
mov r13, qword [rsp + 0x68]
nop word [rax + rax]
mov ebp, dword [rsp + rbx*4 + 0x80]
mov eax, dword [r14 + rdi - 3]
lea rdx, [r12 + rbp]
cmp dword [rdx + rdi - 3], eax
jne 0x1400c9fc7
mov r15, qword [rsp + 0x70]
mov rcx, r14
mov r8, r15
call fcn.1400c02e0
mov rcx, rax
cmp rax, rdi
jbe 0x1400c9fc7
mov rdi, rax
mov eax, dword [rsp + 0x30]
sub eax, ebp
add eax, 3
mov qword [r13], rax
lea rax, [rcx + r14]
cmp rax, r15
je 0x1400c9fcf
inc rbx
cmp rbx, rsi
jb 0x1400c9f80
mov rax, rdi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14011b0c0
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret