Function at 0x14001cb30
Capabilities:
Delete file
Get common file path

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa90
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14027bbd0]
xor rax, rsp
mov qword [rsp + 0xa80], rax
mov r13, rcx
xor r8d, r8d
lea rdx, str.Tool_UninstallColorProfile
lea rcx, [rsp + 0x38]
call fcn.140017fc0
nop
xor ebx, ebx
mov r12d, ebx
lea rcx, str.MSCMS.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r14, rax
call fcn.140054cb8
test r14, r14
je 0x14001cda3
lea rdx, str.UninstallColorProfileW
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
je 0x14001cd9a
mov word [rsp + 0x50], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.140192cb0
mov word [rsp + 0x260], bx
xor edx, edx
mov r8d, 0x81e
lea rcx, [rsp + 0x262]
call fcn.140192cb0
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, str.SpoolDriversCOLOR
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.140196d54
lea r12d, [rbx + 1]
mov ebp, ebx
mov rcx, qword [r13 + 0x10]
mov esi, ebx
test rcx, rcx
jle 0x14001cd9a
test rsi, rsi
js 0x14001cd94
cmp rsi, rcx
jge 0x14001cd94
mov rax, qword [r13 + 8]
mov rcx, qword [rax + rsi*8]
sub rcx, 0x18
call fcn.140001950
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
movsxd rdi, dword [rbx - 0x10]
test edi, edi
js 0x14001cd89
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14001cc8a
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1400018f0
mov rbx, qword [rsp + 0x30]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.140196380
cmp edi, dword [rbx - 0xc]
jg 0x14001cd7e
mov dword [rbx - 0x10], edi
xor ecx, ecx
mov word [rbx + rdi*2], cx
cmp dword [rbx - 0x10], ecx
jl 0x14001cd4c
lea rdx, [0x1401cde20]
mov rcx, rbx
call fcn.140195de8
test rax, rax
je 0x14001cd4c
sub rax, rbx
sar rax, 1
test eax, eax
jne 0x14001cd4c
mov rdx, rbx
xor ecx, ecx
call fcn.14001a500
test eax, eax
je 0x14001cd2e
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x50]
lea r8, str._s_s
mov edx, 0x410
lea rcx, [rsp + 0x260]
call fcn.140196100
mov r8d, 1
lea rdx, [rsp + 0x260]
xor ecx, ecx
call r15
test eax, eax
jne 0x14001cd2e
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r12d, eax
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14001cd67
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
jmp 0x14001cd67
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001cd67
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc ebp
inc rsi
mov rcx, qword [r13 + 0x10]
movsxd rax, ebp
cmp rax, rcx
jl 0x14001cc30
jmp 0x14001cd9a
mov ecx, 0x80070057
call fcn.140001010
int3
mov ecx, 0x80070057
call fcn.140001010
nop
call fcn.140050fc8
int3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r9d, r12d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x38]
call fcn.140017c80
nop
lea rcx, [rsp + 0x38]
call fcn.140018150
mov eax, r12d
mov rcx, qword [rsp + 0xa80]
xor rcx, rsp
call fcn.1401945b0
lea r11, [rsp + 0xa90]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret