Function at 0x1400767b0
Capabilities:
Check if file exists
Copy file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1030]
mov eax, 0x1130
call fcn.1401e33b0
sub rsp, rax
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x1020], rax
mov r14, rcx
mov qword [rsp + 0x38], rcx
xor r15d, r15d
lea rdx, str.InstallIccProfile::RestoreLatestICCForStandard
lea rcx, [rbp - 0x30]
call fcn.14001abe0
nop
lea r13, [0x1402a8360]
lea rbx, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x140076851
test byte [rcx + 0x1c], 1
je 0x140076851
mov r9, rbx
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [r15 + 0x23]
lea r8, [0x140257ad8]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x820]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x20]
call fcn.1401e7e40
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x140076e9a
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x30]
call fcn.140091e00
nop
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
lea r8, [rbp + 0x820]
lea rdx, str.RESTORE_COLOR_FOLDER
mov rcx, r9
call qword [case.0x1400136d6.0]
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
lea r8, [rbp + 0x20]
lea rdx, str.COLOR_FOLDER
mov rcx, r9
call qword [case.0x1400136d6.0]
lea rcx, [rbp + 0x820]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov rsi, 0xffffffffffffffff
lea r12d, [rsi + 0xb]
test eax, eax
je 0x140076d7d
lea rcx, [rbp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140076d7d
mov rbx, qword [r14 + 8]
cmp rbx, qword [r14 + 0x10]
je 0x140076d76
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
xor r8d, r8d
lea rdx, [0x140251dfc]
lea rcx, [rsp + 0x68]
call fcn.140005520
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
xor r8d, r8d
lea rdx, [0x140251dfc]
lea rcx, [rsp + 0x48]
call fcn.140005520
nop
lea rax, [rbp + 0x20]
mov rdi, rsi
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400769a4
mov r12, qword [rbx + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, rdi
jb 0x140076e94
mov r13, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400769d8
mov r13, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
lea r15, [r12 + rdi]
mov esi, 7
lea r14, [rbp - 0x78]
cmp r15, rsi
jbe 0x140076a4a
mov rsi, r15
or rsi, 7
cmp rsi, rcx
jbe 0x140076a14
mov rsi, rcx
movabs rcx, 0x7fffffffffffffff
jmp 0x140076a38
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140076ea5
lfence
add rcx, rcx
call fcn.140006010
mov r14, rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], rsi
add rdi, rdi
mov r8, rdi
lea rdx, [rbp + 0x20]
mov rcx, r14
call fcn.1401e7770
lea rcx, [rdi + r14]
lea r8, [r12 + r12]
mov rdx, r13
call fcn.1401e7770
xor esi, esi
mov word [r14 + r15*2], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140076abd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076ab8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076eab
call fcn.1400079c0
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rsp + 0x58], xmm1
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
lea rax, [rbp + 0x820]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], si
jne 0x140076af0
mov r12, qword [rbx + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, rdi
jb 0x140076e94
mov r13, rbx
cmp qword [rbx + 0x18], 8
jb 0x140076b23
mov r13, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
lea r15, [r12 + rdi]
mov esi, 7
lea r14, [rbp - 0x58]
cmp r15, rsi
jbe 0x140076b95
mov rsi, r15
or rsi, 7
cmp rsi, rcx
jbe 0x140076b5f
mov rsi, rcx
movabs rcx, 0x7fffffffffffffff
jmp 0x140076b83
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140076ea5
lfence
add rcx, rcx
call fcn.140006010
mov r14, rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], rsi
add rdi, rdi
mov r8, rdi
lea rdx, [rbp + 0x820]
mov rcx, r14
call fcn.1401e7770
lea rcx, [rdi + r14]
lea r8, [r12 + r12]
mov rdx, r13
call fcn.1401e7770
xor eax, eax
mov word [r14 + r15*2], ax
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140076c0a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076c05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076eab
call fcn.1400079c0
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rsp + 0x78], xmm1
xor r15d, r15d
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r15w
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x68]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 8
cmovae rdx, rcx
lea r9d, [r15 + 1]
lea rcx, [rsp + 0x30]
call fcn.1400948e0
cmp eax, 1
jne 0x140076cb5
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea edx, [rax + 0x1f]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140076cf7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076cf2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076eb1
call fcn.1400079c0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r15w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140076d4c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076d47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076e8e
call fcn.1400079c0
add rbx, 0x20
mov rax, qword [rsp + 0x38]
mov rsi, 0xffffffffffffffff
cmp rbx, qword [rax + 0x10]
jne 0x140076950
mov rdi, qword [rsp + 0x40]
lea r12d, [rsi + 0xb]
lea r13, [0x1402a8360]
lea rbx, [0x1402bbdb0]
mov byte [rbp - 0x28], 1
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x140076dc1
test byte [rcx + 0x1c], 1
je 0x140076dc1
mov r9, rbx
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x24
mov dword [rsp + 0x20], r15d
lea r8, [0x140257ad8]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
nop
lea rcx, [rsp + 0x30]
call fcn.140091f70
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140076dee
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
nop
lea rax, vtable.WppTrace.0
mov qword [rbp - 0x30], rax
cmp byte [rbp - 0x28], 0
jne 0x140076e4a
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x140076e4a
test byte [rcx + 0x1c], 1
je 0x140076e4a
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rax, qword [rbp - 0x20]
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
mov edx, r12d
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rbp]
call fcn.1400048a0
lea rcx, [rbp - 0x20]
call fcn.1400048a0
xor eax, eax
mov rcx, qword [rbp + 0x1020]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x1130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1401ec41c
nop
call fcn.140001a90
nop
mov ecx, 0x80004005
call fcn.140001470
nop
call fcn.1400019f0
int3
call fcn.1401ec41c
nop
call fcn.1401ec41c
int3