Function at 0x1400ce780
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x100
call fcn.1400d9eb0
sub rsp, rax
mov rax, qword [0x1401cee90]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, qword [rsp + 0x150]
mov rdi, rcx
lea rcx, [rsp + 0x58]
mov rsi, r9
mov rbp, r8
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], rdx
xor r14d, r14d
call fcn.1400a0d70
test rsi, rsi
mov rcx, rbp
cmove rsi, rbp
mov qword [rsp + 0x50], rsi
call fcn.1400978e0
mov ebp, eax
mov dword [rsp + 0x30], eax
test eax, eax
js 0x1400ceb25
mov esi, dword [rsp + 0x158]
cmp esi, 0xffffffff
jne 0x1400ce861
mov esi, eax
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0xe8], r15
call fcn.140079100
mov rcx, rdi
lea r13d, [rax - 1]
and r13d, 7
call fcn.140076100
mov r15d, 0xff
mov edx, r15d
mov ecx, r13d
mov edi, eax
shl edx, cl
test byte [rbx], dl
je 0x1400ce894
lea r9, [0x1401ccc70]
lea edx, [r15 - 0x6a]
lea r8d, [r15 - 0x7a]
mov ecx, 4
mov dword [rsp + 0x20], 0x74
call fcn.1400773e0
jmp 0x1400ceb15
cmp esi, 0xfffffffe
jne 0x1400ce868
jmp 0x1400ce7fe
cmp esi, 0xfffffffe
jge 0x1400ce7fe
mov edx, 0x95
lea r9, [0x1401ccc58]
mov ecx, 4
lea r8d, [rdx - 0xd]
mov dword [rsp + 0x20], 0x6c
call fcn.1400773e0
jmp 0x1400ceb25
test r13d, r13d
jne 0x1400ce89e
inc rbx
dec edi
lea eax, [rbp + rsi + 2]
cmp edi, eax
jge 0x1400ce8cd
mov edx, 0x95
lea r9, [0x1401ccc88]
mov ecx, 4
lea r8d, [rdx - 0x28]
mov dword [rsp + 0x20], 0x7e
call fcn.1400773e0
jmp 0x1400ceb15
movsxd rax, edi
cmp byte [rax + rbx - 1], 0xbc
je 0x1400ce8fe
mov edx, 0x95
lea r9, [0x1401ccca0]
mov ecx, 4
lea r8d, [rdx - 0xf]
mov dword [rsp + 0x20], 0x83
call fcn.1400773e0
jmp 0x1400ceb15
sub edi, ebp
mov qword [rsp + 0xf8], r12
lea rdx, [0x1401cccb8]
dec edi
mov r8d, 0x88
movsxd r12, edi
mov ecx, edi
lea rax, [r12 + rbx]
mov qword [rsp + 0x38], rax
call fcn.14007e780
mov rbp, rax
test rax, rax
jne 0x1400ce957
lea r9, [0x1401cccd0]
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
mov edx, 0x95
mov dword [rsp + 0x20], VariantChangeTypeEx
call fcn.1400773e0
jmp 0x1400ceb00
mov rax, qword [rsp + 0x50]
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov edx, edi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.14008fa40
test eax, eax
js 0x1400ceb00
test edi, edi
jle 0x1400ce9a0
mov rcx, rbp
sub rbx, rbp
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
xor byte [rcx - 1], al
sub r12, 1
jne 0x1400ce990
test r13d, r13d
je 0x1400ce9b4
mov ecx, 8
sub ecx, r13d
sar r15d, cl
and byte [rbp], r15b
mov ebx, r14d
cmp byte [rbp], bl
jne 0x1400ce9d0
lea ecx, [rdi - 1]
mov rax, rbp
cmp ebx, ecx
jge 0x1400ce9d0
inc rax
inc ebx
cmp byte [rax], r14b
je 0x1400ce9c2
movsxd rax, ebx
inc ebx
cmp byte [rax + rbp], 1
je 0x1400cea02
mov edx, 0x95
lea r9, [0x1401ccce8]
mov ecx, 4
lea r8d, [rdx - 0xe]
mov dword [rsp + 0x20], 0x97
call fcn.1400773e0
jmp 0x1400ceb00
test esi, esi
js 0x1400cea35
mov eax, edi
sub eax, ebx
cmp eax, esi
je 0x1400cea35
mov edx, 0x95
lea r9, [0x1401ccd00]
mov ecx, 4
lea r8d, [rdx - 0xd]
mov dword [rsp + 0x20], RegisterTypeLib
call fcn.1400773e0
jmp 0x1400ceb00
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
xor r8d, r8d
call fcn.1400a0de0
test eax, eax
je 0x1400ceb00
lea rdx, [0x140149aa0]
lea rcx, [rsp + 0x58]
mov r8d, 8
call fcn.1400a1030
test eax, eax
je 0x1400ceb00
movsxd rsi, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
mov r8, rsi
call fcn.1400a1030
test eax, eax
je 0x1400ceb00
sub edi, ebx
je 0x1400ceaa4
movsxd rdx, ebx
lea rcx, [rsp + 0x58]
movsxd r8, edi
add rdx, rbp
call fcn.1400a1030
test eax, eax
je 0x1400ceb00
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
xor r8d, r8d
call fcn.1400a1050
test eax, eax
je 0x1400ceb00
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x90]
mov r8, rsi
call fcn.1400da360
test eax, eax
je 0x1400ceafa
mov edx, 0x95
lea r9, [0x1401ccd18]
mov ecx, 4
lea r8d, [rdx - 0x2d]
mov dword [rsp + 0x20], 0xac
call fcn.1400773e0
jmp 0x1400ceb00
mov r14d, 1
mov r12, qword [rsp + 0xf8]
test rbp, rbp
je 0x1400ceb15
mov rcx, rbp
call fcn.14007ea10
mov r13, qword [rsp + 0xf0]
mov r15, qword [rsp + 0xe8]
lea rcx, [rsp + 0x58]
call fcn.1400a10f0
mov eax, r14d
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400d4e00
add rsp, 0x100
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret