Function at 0x1400cb300
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x14031f2d0]
xor rax, rsp
mov qword [rbp - 8], rax
mov r10, r8
mov edi, edx
mov r14, rcx
mov r12, qword [rbp + 0x68]
lea eax, [r9 - 0x10]
test eax, 0xffffffe7
jne 0x1400cb632
cmp r9d, 0x28
je 0x1400cb632
mov eax, edi
and eax, 0xfffffff0
add eax, 0x10
cmp dword [rbp + 0x70], eax
jae 0x1400cb370
mov eax, 3
jmp 0x1400cb637
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov r8d, r9d
mov rdx, r10
lea rcx, [rbp - 0x20]
call fcn.1400cad40
nop
mov r13d, edi
and r13d, 0xf
mov eax, InitCommonControls
sub al, r13b
mov byte [rbp - 0x60], al
cmp edi, 0x10
jb 0x1400cb3ab
movups xmm1, xmmword [r14]
jmp 0x1400cb3e0
movzx eax, al
movabs rcx, 0x101010101010101
mul rcx
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.14021eff0
movdqu xmm1, xmmword [rbp - 0x50]
nop word [rax + rax]
movdqu xmm0, xmmword [0x1402bea50]
pxor xmm1, xmm0
movdqu xmmword [rbp - 0x50], xmm1
mov r8, r12
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x20]
call fcn.1400cb090
mov r15d, edi
shr r15d, 4
cmp r15d, 1
jbe 0x1400cb4ce
mov ebx, InitCommonControls
lea esi, [r15 - 1]
nop dword [rax + rax]
movsxd rax, ebx
movups xmm0, xmmword [rax + r14]
movdqu xmmword [rbp - 0x50], xmm0
lea r8, [rax + r12]
movd eax, xmm0
xor al, byte [r8 - 0x10]
mov byte [rbp - 0x50], al
movzx eax, byte [r8 - 0xf]
xor byte [rbp - 0x4f], al
movzx eax, byte [r8 - 0xe]
xor byte [rbp - 0x4e], al
movzx eax, byte [r8 - 0xd]
xor byte [rbp - 0x4d], al
movzx eax, byte [r8 - 0xc]
xor byte [rbp - 0x4c], al
movzx eax, byte [r8 - 0xb]
xor byte [rbp - 0x4b], al
movzx eax, byte [r8 - 0xa]
xor byte [rbp - 0x4a], al
movzx eax, byte [r8 - 9]
xor byte [rbp - 0x49], al
movzx eax, byte [r8 - 8]
xor byte [rbp - 0x48], al
movzx eax, byte [r8 - 7]
xor byte [rbp - 0x47], al
movzx eax, byte [r8 - 6]
xor byte [rbp - 0x46], al
movzx eax, byte [r8 - 5]
xor byte [rbp - 0x45], al
movzx eax, byte [r8 - 4]
xor byte [rbp - 0x44], al
movzx eax, byte [r8 - 3]
xor byte [rbp - 0x43], al
movzx eax, byte [r8 - 2]
xor byte [rbp - 0x42], al
movzx eax, byte [r8 - 1]
xor byte [rbp - 0x41], al
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x20]
call fcn.1400cb090
add ebx, 0x10
sub rsi, 1
jne 0x1400cb420
cmp edi, 0x10
jb 0x1400cb60b
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea r8, [rbp - 0x60]
lea rcx, [rbp - 0x38]
call fcn.1400cc040
nop
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
lea edx, [rax + 0x10]
lea rcx, [rbp - 0x50]
call fcn.1400cc0a0
mov r8d, r13d
mov rdx, rdi
sub rdx, r8
add rdx, r14
mov rcx, qword [rbp - 0x38]
call fcn.14021eff0
mov rdx, qword [rbp - 0x38]
lea ecx, [r15 - 1]
shl ecx, 4
add rcx, r12
movzx eax, byte [rcx]
xor byte [rdx], al
movzx eax, byte [rcx + 1]
xor byte [rdx + 1], al
movzx eax, byte [rcx + 2]
xor byte [rdx + 2], al
movzx eax, byte [rcx + 3]
xor byte [rdx + 3], al
movzx eax, byte [rcx + 4]
xor byte [rdx + 4], al
movzx eax, byte [rcx + 5]
xor byte [rdx + 5], al
movzx eax, byte [rcx + 6]
xor byte [rdx + 6], al
movzx eax, byte [rcx + 7]
xor byte [rdx + 7], al
movzx eax, byte [rcx + 8]
xor byte [rdx + 8], al
movzx eax, byte [rcx + 9]
xor byte [rdx + 9], al
movzx eax, byte [rcx + 0xa]
xor byte [rdx + 0xa], al
movzx eax, byte [rcx + 0xb]
xor byte [rdx + 0xb], al
movzx eax, byte [rcx + 0xc]
xor byte [rdx + 0xc], al
movzx eax, byte [rcx + 0xd]
xor byte [rdx + 0xd], al
movzx eax, byte [rcx + 0xe]
xor byte [rdx + 0xe], al
movzx eax, byte [rcx + 0xf]
xor byte [rdx + 0xf], al
mov r8, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.1400cb090
sub edi, r13d
mov rax, qword [rbp - 0x50]
movups xmm0, xmmword [rax]
movups xmmword [rdi + r12], xmm0
lea rcx, [rbp - 0x50]
call fcn.140004b20
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400cb5ec
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
call fcn.140006c10
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 0
lea rcx, [rbp - 0x38]
call fcn.140004b20
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400cb60b
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
call fcn.140006c10
nop
lea rcx, [rbp - 0x20]
call fcn.140004b20
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400cb62e
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
call fcn.140006c10
nop
xor eax, eax
jmp 0x1400cb637
mov eax, 2
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14013a450
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret