Function at 0x1400760d0
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 - 0x1020]
mov eax, 0x1120
call fcn.1401e33b0
sub rsp, rax
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x1010], rax
mov r14, rcx
mov qword [rsp + 0x38], rcx
xor r15d, r15d
lea rdx, str.InstallIccProfile::CopyBacukUpICC
lea rcx, [rbp - 0x40]
call fcn.14001abe0
nop
lea r13, [0x1402a8360]
lea rbx, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x140076171
test byte [rcx + 0x1c], 1
je 0x140076171
mov r9, rbx
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [r15 + 0x21]
lea r8, [0x140257ad8]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x810]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x10]
call fcn.1401e7e40
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x14007678f
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x30], rdi
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 + 0x810]
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 + 0x10]
lea rdx, str.COLOR_FOLDER
mov rcx, r9
call qword [case.0x1400136d6.0]
lea rcx, [rbp + 0x810]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov rsi, 0xffffffffffffffff
lea r12d, [rsi + 0xb]
test eax, eax
je 0x14007667d
lea rcx, [rbp + 0x10]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007667d
mov rbx, qword [r14 + 8]
cmp rbx, qword [r14 + 0x10]
je 0x140076676
nop dword [rax]
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
xor r8d, r8d
lea rdx, [0x140251dfc]
lea rcx, [rsp + 0x60]
call fcn.140005520
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
xor r8d, r8d
lea rdx, [0x140251dfc]
lea rcx, [rsp + 0x40]
call fcn.140005520
nop
lea rax, [rbp + 0x10]
mov rdi, rsi
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400762c5
mov r12, qword [rbx + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, rdi
jb 0x140076789
mov r13, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400762f9
mov r13, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
lea r15, [r12 + rdi]
mov esi, 7
lea r14, [rbp - 0x80]
cmp r15, rsi
jbe 0x14007636b
mov rsi, r15
or rsi, 7
cmp rsi, rcx
jbe 0x140076335
mov rsi, rcx
movabs rcx, 0x7fffffffffffffff
jmp 0x140076359
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14007679a
lfence
add rcx, rcx
call fcn.140006010
mov r14, rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], rsi
add rdi, rdi
mov r8, rdi
lea rdx, [rbp + 0x10]
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 + 0x58]
cmp rdx, 8
jb 0x1400763de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400763d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400767a0
call fcn.1400079c0
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x50], xmm1
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], si
lea rax, [rbp + 0x810]
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp word [rax + rdi*2], si
jne 0x140076410
mov r12, qword [rbx + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, rdi
jb 0x140076789
mov r13, rbx
cmp qword [rbx + 0x18], 8
jb 0x140076443
mov r13, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
lea r15, [r12 + rdi]
mov esi, 7
lea r14, [rbp - 0x60]
cmp r15, rsi
jbe 0x1400764b5
mov rsi, r15
or rsi, 7
cmp rsi, rcx
jbe 0x14007647f
mov rsi, rcx
movabs rcx, 0x7fffffffffffffff
jmp 0x1400764a3
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14007679a
lfence
add rcx, rcx
call fcn.140006010
mov r14, rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], rsi
add rdi, rdi
mov r8, rdi
lea rdx, [rbp + 0x810]
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 [rsp + 0x78]
cmp rdx, 8
jb 0x14007652b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076526
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400767a0
call fcn.1400079c0
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rsp + 0x70], xmm1
xor r15d, r15d
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400765b4
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
lea r8d, [r15 + 1]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
lea edx, [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400765f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400765f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400767a6
call fcn.1400079c0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14007664c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076647
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076783
call fcn.1400079c0
add rbx, 0x20
mov rax, qword [rsp + 0x38]
mov rsi, 0xffffffffffffffff
cmp rbx, qword [rax + 0x10]
jne 0x140076270
mov rdi, qword [rsp + 0x30]
lea r12d, [rsi + 0xb]
lea r13, [0x1402a8360]
lea rbx, [0x1402bbdb0]
mov byte [rbp - 0x38], 1
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x1400766c1
test byte [rcx + 0x1c], 1
je 0x1400766c1
mov r9, rbx
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x22
mov dword [rsp + 0x20], r15d
lea r8, [0x140257ad8]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400766e3
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 - 0x40], rax
cmp byte [rbp - 0x38], 0
jne 0x14007673f
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x14007673f
test byte [rcx + 0x1c], 1
je 0x14007673f
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
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 - 0x10]
call fcn.1400048a0
lea rcx, [rbp - 0x30]
call fcn.1400048a0
xor eax, eax
mov rcx, qword [rbp + 0x1010]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x1120]
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