Function at 0x14000c560
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x4e0]
sub rsp, 0x5e0
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x620], rbx
mov rax, qword [0x1401d5e90]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov rbx, rdx
mov rsi, rcx
xor r14b, r14b
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x40], r15
cmp qword [rcx + 0xa8], r15
jne 0x14000c5f7
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000c5cd
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000c5de
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000cdbf
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000cdbf
lea rcx, [0x1401d59a8]
mov rax, qword [0x1401d59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x48]
mov rdx, rbx
call fcn.14000f970
test al, al
jne 0x14000c746
lea r8, [0x14015acc4]
lea rdx, [0x14015acf4]
lea rcx, [rsp + 0x50]
call fcn.140010530
lea rcx, [0x1401d59a8]
mov rax, qword [0x1401d59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, [0x14015ae80]
test rdx, 0xffffffffffff0000
jne 0x14000c6a2
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x14000c6ad
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002a60
jmp 0x14000c6ad
lea rcx, [rsp + 0x68]
call fcn.140003a70
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x50]
call fcn.1400109e0
nop
mov r8, qword [rsi]
mov rdx, rax
mov rcx, rsi
call qword [r8 + RegisterTypeLib]
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000c6eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000c705
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000c71f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000c730
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000c741
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000c5de
lea rcx, [rsi + 0xa0]
mov rdx, qword [rsp + 0x48]
call fcn.140010090
test al, al
jne 0x14000c79c
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000c775
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000c786
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000c797
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000c5de
mov qword [rsp + 0x60], r15
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
lea rdx, [0x1401516f8]
call qword [rax]
mov ebx, eax
mov r9d, dword [0x1401ddd80]
mov r8d, r9d
imul r8d, r9d
imul r8d, r9d
mov eax, 0x38e38e39
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea eax, [rdx + rdx*8]
add eax, eax
sub r8d, eax
cmp r8d, 0xf
jne 0x14000c88c
mov edx, r15d
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, r9d
mov eax, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r9d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r9d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r9d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r9d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r9d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r9d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r9d
sar ecx, 1
xor eax, ecx
add r9d, eax
inc edx
cmp edx, 0x100
jl 0x14000c7f2
mov dword [0x1401ddd80], r9d
cmp qword [rsp + 0x60], 0
jne 0x14000c940
lea rcx, [0x1401d59a8]
mov rax, qword [0x1401d59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x70], rax
mov r8d, ebx
lea rdx, str.QueryInterfacesForWinEx__d
lea rcx, [rbp - 0x70]
call fcn.140012d30
mov rax, qword [rsi]
lea rdx, [rbp - 0x70]
mov rcx, rsi
call qword [rax + RegisterTypeLib]
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000c8ee
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000c8ff
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000c919
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000c92a
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000c93b
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000c5de
mov rcx, qword [rsi + 0xa8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [rax + 0x38]
nop
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
mov edx, dword [rcx - 0x10]
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rdx, rax
test rax, rax
jne 0x14000c974
call fcn.140002950
int3
mov rax, qword [rbx]
lea r9, [rbp - 0x78]
mov r8d, 2
mov rcx, rbx
call qword [rax + 0x38]
mov ebx, eax
test eax, eax
jns 0x14000ca57
lea rcx, [0x1401d59a8]
mov rdx, qword [0x1401d59a8]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov r8d, ebx
lea rdx, str.GetDispID__d
lea rcx, [rsp + 0x78]
call fcn.140012d30
mov rax, qword [rsi]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call qword [rax + RegisterTypeLib]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000c9eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000ca05
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000ca16
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000ca30
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000ca41
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000ca52
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000c5de
mov dword [rbp - 0x74], 0xfffffffd
mov ecx, 0x18
call fcn.1400d68e8
mov qword [rbp - 0x68], rax
mov rcx, qword [rsi + 0xa8]
mov qword [rax + 8], rcx
mov r9d, dword [0x1401ddd80]
lea r8d, [r9 + 1]
mov ecx, r8d
imul ecx, r9d
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub ecx, edx
cmp ecx, 4
cmove r9d, r8d
mov dword [0x1401ddd80], r9d
mov ecx, 9
mov rax, qword [rbp - 0x68]
mov word [rax], cx
lea rax, [rbp - 0x74]
mov qword [rbp - 0x60], rax
call fcn.14000b1e0
test al, al
jne 0x14000cbe7
mov rbx, r15
mov edi, reloc.OLEAUT32.dll_RegisterTypeLib
call fcn.1400d7b94
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rbp + rbx*8 - 0x40], xmm0
inc rbx
cmp rbx, rdi
jb 0x14000cad8
mov r9, r15
mov r10d, reloc.OLEAUT32.dll_LoadRegTypeLib
nop dword [rax]
mov edx, reloc.OLEAUT32.dll_LoadRegTypeLib
cmp r9, rdx
jge 0x14000cbd8
cmp r10, 4
jl 0x14000cbad
lea rcx, [rbp + 0x4b8]
mov r8d, RegisterTypeLib
sub r8, r9
shr r8, 2
inc r8
lea rax, [r8*4]
sub rdx, rax
nop word [rax + rax]
movsd xmm0, qword [rcx + 0x10]
movsd xmm1, qword [rcx + 8]
comisd xmm0, xmm1
jbe 0x14000cb5a
movsd qword [rcx + 0x10], xmm1
movsd qword [rcx + 8], xmm0
movsd xmm0, qword [rcx + 8]
movsd xmm1, qword [rcx]
comisd xmm0, xmm1
jbe 0x14000cb72
movsd qword [rcx + 8], xmm1
movsd qword [rcx], xmm0
movsd xmm0, qword [rcx]
movsd xmm1, qword [rcx - 8]
comisd xmm0, xmm1
jbe 0x14000cb8a
movsd qword [rcx], xmm1
movsd qword [rcx - 8], xmm0
movsd xmm0, qword [rcx - 8]
movsd xmm1, qword [rcx - 0x10]
comisd xmm0, xmm1
jbe 0x14000cba4
movsd qword [rcx - 8], xmm1
movsd qword [rcx - 0x10], xmm0
sub rcx, 0x20
dec r8
jne 0x14000cb40
cmp rdx, r9
jle 0x14000cbd8
movsd xmm0, qword [rbp + rdx*8 - 0x40]
movsd xmm1, qword [rbp + rdx*8 - 0x48]
comisd xmm0, xmm1
jbe 0x14000cbd0
movsd qword [rbp + rdx*8 - 0x40], xmm1
movsd qword [rbp + rdx*8 - 0x48], xmm0
dec rdx
cmp rdx, r9
jg 0x14000cbb2
inc r9
dec r10
dec rdi
jne 0x14000cb00
mov dword [rbp - 0x58], 1
mov dword [rbp - 0x54], 1
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov r9d, 4
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rdx, [rbp - 0x68]
mov qword [rsp + 0x20], rdx
mov r8d, 0x400
mov edx, dword [rbp - 0x78]
call qword [rax + 0x40]
mov ebx, eax
mov rcx, qword [rbp - 0x68]
call fcn.1400d834c
mov r8d, dword [0x1401ddd80]
imul r8d, r8d
mov eax, 0x66666667
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea eax, [rdx + rdx*4]
add eax, eax
sub r8d, eax
cmp r8d, 3
jne 0x14000cc77
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov qword [rbp - 0x68], r15
test ebx, ebx
jns 0x14000cd45
lea rcx, [0x1401d59a8]
mov rax, qword [0x1401d59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x80], rax
mov r8d, ebx
lea rdx, str.InvokeEx__d
lea rcx, [rbp - 0x80]
call fcn.140012d30
mov rax, qword [rsi]
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [rax + RegisterTypeLib]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000ccd9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000ccf3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000cd04
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000cd1e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000cd2f
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000cd40
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000c5de
mov r14b, 1
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000cd62
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000cd73
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000cd8d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000cd9e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000cdaf
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000cdbf
mov rdx, qword [rcx]
call qword [rdx + 0x10]
movzx eax, r14b
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.1400d72a0
mov rbx, qword [rsp + 0x620]
add rsp, 0x5e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret