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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f540
mov eax, dword fs:[0]
push eax
mov eax, 0x1098
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 esi, ecx
mov dword [ebp - 0x1098], esi
push ecx
xor edi, edi
lea ecx, [ebp - 0x1090]
push str.InstallIccProfile::CopyBacukUpICC
mov dword [ebp - 0x1094], edi
call fcn.0040a480
mov dword [ebp - 4], edi
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4558b3
test byte [ecx + 0x1c], 1
je 0x4558b3
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 + 0x21]
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 0x455d47
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x10a0], eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x10a4], ecx
mov byte [ebp - 4], 1
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
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455cb2
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455cb2
mov eax, dword [ebp - 0x1098]
mov esi, dword [esi + 4]
cmp esi, dword [eax + 8]
je 0x455cb2
nop word [eax + eax]
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], 2
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], 4
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 - 0x109c], edi
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x455a20
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 0x455a50
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 0x455a7c
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], 5
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 0x455af0
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 - 0x1010]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x455b20
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1040]
call fcn.0040dc80
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x455b4c
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 xmm0, xmmword [ebp - 0x1040]
mov edi, dword [ebp - 0x109c]
lea eax, [ebp - 0x1028]
and edi, 0xfffffffc
cmp dword [ebp - 0x1014], 8
movups xmmword [ebp - 0x1058], xmm0
cmovae eax, dword [ebp - 0x1028]
movq xmm0, qword [ebp - 0x1030]
push eax
movq qword [ebp - 0x1048], xmm0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455bfb
cmp dword [ebp - 0x1044], 8
lea ecx, [ebp - 0x1058]
push 1
cmovae ecx, dword [ebp - 0x1058]
lea eax, [ebp - 0x1028]
cmp dword [ebp - 0x1014], 8
push ecx
cmovae eax, dword [ebp - 0x1028]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp - 0x1044], 8
lea eax, [ebp - 0x1058]
push 0x20
cmovae eax, dword [ebp - 0x1058]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1014]
cmp edx, 8
jb 0x455c3f
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455c35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455d42
push edx
push ecx
call fcn.0056deb6
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1044]
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
cmp edx, 8
jb 0x455ca0
mov ecx, dword [ebp - 0x1058]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455c96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455d42
push edx
push ecx
call fcn.0056deb6
add esp, 8
mov eax, dword [ebp - 0x1098]
add esi, 0x18
cmp esi, dword [eax + 8]
jne 0x455980
mov byte [ebp - 0x108c], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x455cfb
test byte [ecx + 0x1c], 1
je 0x455cfb
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, 0x22
call fcn.004018a0
add esp, 0x10
mov edx, dword [ebp - 0x10a0]
or eax, 0xffffffff
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x455d1a
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