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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f5eb
mov eax, dword fs:[0]
push eax
mov eax, 0x109c
call fcn.0056e430
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1098], ecx
push ecx
xor edi, edi
lea ecx, [ebp - 0x1090]
push str.InstallIccProfile::RestoreLatestICCForStandard
mov dword [ebp - 0x1094], edi
call fcn.0040a480
mov dword [ebp - 4], edi
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x455df1
test byte [ecx + 0x1c], 1
je 0x455df1
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cd1c0
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
lea ecx, [edi + 0x23]
call fcn.00401840
add esp, 0xc
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.00571c00
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00571c00
add esp, 0x18
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x4562b3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x10a4], eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x10a8], ecx
lea ecx, [ebp - 0x109c]
mov byte [ebp - 4], 1
call fcn.0046a2f0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1010]
mov ecx, dword [0x6184f0]
push eax
push str.RESTORE_COLOR_FOLDER
mov ecx, dword [ecx + 0x1c]
call fcn.004f65f0
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x810]
push eax
push str.COLOR_FOLDER
mov ecx, dword [ecx + 0x1c]
call fcn.004f65f0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x1010]
push eax
call esi
test eax, eax
je 0x456213
lea eax, [ebp - 0x810]
push eax
call esi
test eax, eax
je 0x456213
mov eax, dword [ebp - 0x1098]
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x456213
xor eax, eax
mov dword [ebp - 0x1048], 0
push eax
push 0x5c6930
lea ecx, [ebp - 0x1058]
mov dword [ebp - 0x1044], 7
mov word [ebp - 0x1058], ax
call fcn.004035d0
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x5c6930
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
call fcn.004035d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x810]
xor eax, eax
mov dword [ebp - 0x1030], 0
or edi, 1
mov dword [ebp - 0x102c], 7
mov word [ebp - 0x1040], ax
lea edx, [ecx + 2]
mov dword [ebp - 0x1094], edi
mov dword [ebp - 0x10a0], edi
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x455f60
mov eax, dword [esi + 0x10]
sub ecx, edx
sar ecx, 1
add eax, ecx
lea ecx, [ebp - 0x1040]
push eax
call fcn.0040e140
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x455f90
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1040]
call fcn.0040dc80
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x455fbc
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x1040]
push eax
call fcn.0040dc80
lea ecx, [ebp - 0x1028]
call fcn.00403570
movups xmm0, xmmword [ebp - 0x1040]
and edi, 0xfffffffe
movups xmmword [ebp - 0x1028], xmm0
movq xmm0, qword [ebp - 0x1030]
movq qword [ebp - 0x1018], xmm0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1010]
xor eax, eax
mov dword [ebp - 0x1030], 0
or edi, 2
mov dword [ebp - 0x102c], 7
mov word [ebp - 0x1040], ax
lea edx, [ecx + 2]
mov dword [ebp - 0x1094], edi
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456030
mov eax, dword [esi + 0x10]
sub ecx, edx
sar ecx, 1
add eax, ecx
lea ecx, [ebp - 0x1040]
push eax
call fcn.0040e140
lea eax, [ebp - 0x1010]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x456060
sub eax, edx
lea ecx, [ebp - 0x1040]
sar eax, 1
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.0040dc80
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45608c
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x1040]
push eax
call fcn.0040dc80
lea ecx, [ebp - 0x1058]
call fcn.00403570
movups xmm1, xmmword [ebp - 0x1040]
lea edx, [ebp - 0x1028]
mov edi, dword [ebp - 0x10a0]
movq xmm0, qword [ebp - 0x1030]
lea ecx, [ebp - 0x1058]
mov byte [ebp - 4], 4
and edi, 0xfffffffc
cmp dword [ebp - 0x1014], 8
movd eax, xmm1
cmovae edx, dword [ebp - 0x1028]
cmp dword [ebp - 0x102c], 8
push 1
cmovae ecx, eax
movq qword [ebp - 0x1048], xmm0
push edx
push ecx
lea ecx, [ebp - 0x109c]
movups xmmword [ebp - 0x1058], xmm1
call fcn.0046c620
cmp eax, 1
jne 0x45615c
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
push 0x20
cmovae eax, dword [ebp - 0x1028]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x1028]
push 0
cmovae ecx, dword [ebp - 0x1028]
lea eax, [ebp - 0x1058]
cmp dword [ebp - 0x1044], 8
push ecx
cmovae eax, dword [ebp - 0x1058]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1014]
cmp edx, 8
jb 0x4561a0
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456196
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4562ae
push edx
push ecx
call fcn.0056deb6
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1044]
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
cmp edx, 8
jb 0x456201
mov ecx, dword [ebp - 0x1058]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4561f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4562ae
push edx
push ecx
call fcn.0056deb6
add esp, 8
mov eax, dword [ebp - 0x1098]
add esi, 0x18
cmp esi, dword [eax + 8]
jne 0x455ec0
mov byte [ebp - 0x108c], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x45625c
test byte [ecx + 0x1c], 1
je 0x45625c
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5cd1c0
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x24
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x109c]
call fcn.0046a3c0
mov edx, dword [ebp - 0x10a4]
or eax, 0xffffffff
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x456286
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x1090]
call fcn.0040a570
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret
call fcn.00574908
push 0x80004005
call fcn.004013a0
int3