Function at 0x1400ccce0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b8
mov rax, qword [0x1401b7030]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rdi, qword [rcx + 8]
mov r10, rcx
mov eax, dword [rcx + 0x34]
mov r14, rdx
mov rsi, qword [rcx + 0x38]
mov ebx, 1
mov dword [rsp + 0x2c], eax
mov r11d, r14d
mov eax, dword [r10 + 0x18]
sub r11d, edi
mov dword [rsp + 0x24], eax
mov r13d, r14d
sub r13d, edi
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x30], r11d
movabs r12, 0xcf1bbcdcbb000000
lea rdx, [rax + rdi]
mov qword [rsp + 0x88], r9
mov qword [rsp + 0x80], rdx
mov r9, r8
mov edx, ebx
mov qword [rsp + 0x40], r8
mov r8, qword [rcx + 0x70]
mov rcx, qword [rcx + 0x10]
add rax, rcx
mov qword [rsp + 0x70], rcx
mov ecx, dword [r10 + 0x100]
shl edx, cl
mov ecx, dword [r10 + 0x1c]
mov qword [rsp + 0x78], rax
mov eax, r11d
sub eax, ecx
mov qword [rsp + 0x90], r8
sub r11d, edx
mov qword [rsp + 0x50], rsi
cmp eax, edx
mov qword [rsp + 0x48], rdi
mov eax, dword [r10 + 0x10c]
cmovbe r11d, ecx
mov dword [rsp + 0x20], r13d
cmp dword [r10 + 0x28], 0
mov dword [rsp + 0x38], InitCommonControls
cmovne r11d, ecx
mov ecx, 4
cmp eax, ecx
mov dword [rsp + 0x58], r11d
cmovb ecx, eax
mov rax, qword [r10 + 0x60]
xor ebp, ebp
shl ebx, cl
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x28], ebx
lea r15d, [rbp + 3]
cmp dword [r10 + 0x12c], ebp
jne 0x1400cd0a5
mov r11d, dword [r10 + 0x2c]
mov eax, r13d
mov ecx, dword [rsp + 0x2c]
lea r13d, [rbp + 0x38]
sub eax, r11d
mov rdi, r8
mov edx, ecx
cmp eax, 0x180
jbe 0x1400ccf80
lea eax, [r11 + 0x60]
cmp r11d, eax
jae 0x1400ccee8
mov rsi, qword [rsp + 0x48]
mov r14d, r13d
mov r13, qword [rsp + 0x50]
sub r14d, ecx
add rsi, 8
mov edi, r11d
add rsi, r11
mov ebx, eax
mov r15, r8
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rsi]
mov ecx, r14d
imul rdx, r12
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r15 + rax*4]
prefetcht0 byte [rax + r13]
mov rax, rdi
lea rsi, [rsi + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, ebp
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r8 + r13]
lea rdx, [r8 + r13]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x38]
inc rdi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r15 + rax*4], r11d
inc r11d
cmp r11d, ebx
jb 0x1400cce50
mov rdi, qword [r10 + 0x70]
mov r15d, 3
mov rsi, qword [r10 + 0x38]
mov edx, dword [r10 + 0x34]
mov r14, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x28]
lea r13d, [r15 + 0x35]
mov r11d, dword [rsp + 0x20]
lea rax, [r14 + 1]
mov r9, qword [rsp + 0x48]
add r11d, 0xffffffe0
mov ecx, eax
mov r8d, r11d
sub ecx, r11d
add r9, r8
sub ecx, dword [rsp + 0x48]
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, ebp
cmp ecx, eax
cmova ecx, eax
lea eax, [r11 + rcx]
cmp r11d, eax
jae 0x1400ccf80
mov r15d, r13d
mov ebx, ecx
sub r15d, edx
nop dword [rax]
mov rdx, qword [r9]
mov ecx, r15d
imul rdx, r12
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rsi + rax]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub rbx, 1
jne 0x1400ccf30
mov rdi, qword [r10 + 0x70]
lea r15d, [rbx + 3]
mov ebx, dword [rsp + 0x28]
mov rsi, qword [r10 + 0x38]
mov edx, dword [r10 + 0x34]
mov eax, dword [rsp + 0x20]
mov rcx, qword [r10 + 8]
cmp r11d, eax
jae 0x1400cd03e
mov r14d, r13d
mov r15d, r11d
sub r14d, edx
lea rbx, [rcx + 8]
add rbx, r15
mov r13d, eax
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rbx]
mov ecx, r14d
imul rdx, r12
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rsi + rax]
mov rax, r15
lea rbx, [rbx + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, ebp
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r8 + rsi]
lea rdx, [r8 + rsi]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x38]
inc r15
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rdi + rax*4], r11d
inc r11d
cmp r11d, r13d
jb 0x1400ccfb0
mov r14, qword [rsp + 0x60]
mov r15d, 3
mov ebx, dword [rsp + 0x28]
mov eax, dword [rsp + 0x20]
lea r13d, [r15 + 0x35]
sub r13d, dword [rsp + 0x2c]
mov rdi, qword [rsp + 0x48]
movzx ecx, r13b
mov dword [r10 + 0x2c], eax
mov eax, dword [rsp + 0x30]
mov r8d, eax
mov rdx, qword [rax + rdi + 8]
imul rdx, r12
xor rdx, qword [rsp + 0x68]
shr rdx, cl
mov rcx, qword [rsp + 0x90]
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rcx + rax*4]
mov rcx, qword [rsp + 0x50]
prefetcht0 byte [rax + rcx]
mov r9, qword [rsp + 0x40]
and r8d, 7
mov r11d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
mov r8, qword [rsp + 0x90]
jmp 0x1400cd0c6
mov r11, qword [r14]
mov ecx, 0x38
sub ecx, dword [rsp + 0x2c]
imul r11, r12
xor r11, rax
mov eax, dword [rsp + 0x30]
shr r11, cl
mov rcx, rsi
mov dword [r10 + 0x2c], eax
add dword [r10 + 0x68], r11d
mov eax, r11d
shr rax, 4
mov r13, rbp
and eax, 0xffffff0
add rcx, rax
mov qword [rsp + 0x68], rcx
lea rsi, [r8 + rax*4]
movzx eax, byte [rcx]
movdqu xmm0, xmmword [rcx]
mov dword [rsp + 0x34], eax
and eax, 0xf
mov r12d, eax
movsx eax, r11b
mov ecx, r12d
neg ecx
and ecx, 0xf
movd xmm1, eax
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
movzx edx, ax
mov dword [rsp + 0x90], eax
movzx eax, dx
shl ax, cl
movzx ecx, r12b
movzx r8d, ax
mov eax, edx
shr rax, cl
or r8, rax
jbe 0x1400cd197
mov edx, dword [rsp + 0x24]
mov r9, qword [rsp + 0x70]
mov r14d, dword [rsp + 0x58]
nop dword [rax + rax]
test ebx, ebx
je 0x1400cd18d
bsf rcx, r8
add ecx, r12d
and ecx, 0xf
mov ecx, dword [rsi + rcx*4]
je 0x1400cd184
cmp ecx, r14d
jb 0x1400cd18d
cmp ecx, edx
jb 0x1400cd172
prefetcht0 byte [rcx + rdi]
jmp 0x1400cd177
prefetcht0 byte [rcx + r9]
mov dword [rsp + r13*4 + 0xa0], ecx
inc r13
dec ebx
lea rax, [r8 - 1]
and r8, rax
ja 0x1400cd150
mov r14, qword [rsp + 0x60]
mov r9, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x34]
mov eax, ebp
dec ecx
mov edx, InitCommonControls
and ecx, 0xf
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x68]
mov byte [rax], cl
mov byte [rcx + rax], r11b
mov eax, dword [r10 + 0x2c]
mov dword [rsi + rcx*4], eax
inc dword [r10 + 0x2c]
test r13, r13
je 0x1400cd2a7
mov ecx, dword [rsp + 0x24]
nop
mov esi, dword [rsp + rbp*4 + 0xa0]
cmp esi, ecx
jb 0x1400cd1ff
mov eax, dword [r15 + r14 - 3]
lea rdx, [rsi + rdi]
cmp dword [rdx + r15 - 3], eax
jne 0x1400cd295
mov r8, r9
mov rcx, r14
call fcn.1400c1680
mov rbx, rax
jmp 0x1400cd267
mov rdi, qword [rsp + 0x70]
mov eax, dword [r14]
add rdi, rsi
cmp dword [rdi], eax
jne 0x1400cd295
mov rcx, qword [rsp + 0x78]
lea r12, [r14 + 4]
add rdi, 4
mov r8, r9
mov rax, r12
mov rdx, rdi
sub rax, rdi
add rcx, rax
cmp rcx, r9
cmovb r8, rcx
mov rcx, r12
call fcn.1400c1680
mov rbx, rax
add rax, rdi
cmp rax, qword [rsp + 0x78]
jne 0x1400cd263
mov r8, qword [rsp + 0x40]
lea rcx, [r12 + rbx]
mov rdx, qword [rsp + 0x80]
call fcn.1400c1680
add rbx, rax
add rbx, 4
mov r9, qword [rsp + 0x40]
cmp rbx, r15
jbe 0x1400cd291
mov eax, dword [rsp + 0x30]
mov r15, rbx
mov rcx, qword [rsp + 0x88]
sub eax, esi
add eax, 3
mov qword [rcx], rax
lea rax, [rbx + r14]
cmp rax, r9
je 0x1400cd2a7
mov ecx, dword [rsp + 0x24]
inc rbp
cmp rbp, r13
jae 0x1400cd2a7
mov rdi, qword [rsp + 0x48]
jmp 0x1400cd1d0
mov rax, r15
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14011c340
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret