Function at 0x454f40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f4a3
mov eax, dword fs:[0]
push eax
sub esp, 0x8a4
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 - 0x87c], ecx
push ecx
push str.InstallIccProfile::EnumBacukUpICC
lea ecx, [ebp - 0x878]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x454fcb
test byte [ecx + 0x1c], 1
je 0x454fcb
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cd1c0
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x1f
call fcn.00401840
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x898], esi
mov dword [ebp - 0x894], esi
mov dword [ebp - 0x890], esi
lea ecx, [ebp - 0x8b0]
mov byte [ebp - 4], 1
call fcn.0055b16f
mov byte [ebp - 4], 2
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x455805
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x888], edi
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x5c6930
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x830], esi
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
call fcn.004035d0
push 0xffffffffffffffff
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8b0]
push esi
mov dword [ebp - 0x88c], esi
mov dword [ebp - 0x894], esi
call fcn.0055b63e
xor ecx, ecx
mov dword [ebp - 0x880], ecx
mov eax, ecx
sub eax, 0
je 0x45507e
sub eax, 1
jne 0x45508b
mov eax, 3
mov dword [ebp - 0x88c], eax
jmp 0x455091
mov eax, 1
mov dword [ebp - 0x88c], eax
jmp 0x455091
mov eax, dword [ebp - 0x88c]
mov ecx, dword [0x6184f0]
push eax
mov ecx, dword [ecx + 4]
call fcn.004feca0
mov dword [ebp - 0x884], eax
test eax, eax
je 0x455438
nop
cmp esi, dword [ebp - 0x894]
je 0x45512b
nop dword [eax + eax]
lea eax, [ebp - 0x840]
cmp eax, esi
je 0x4550e3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4550d4
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x840]
push eax
call fcn.004035d0
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
cmovae eax, dword [ebp - 0x840]
push eax
mov eax, dword [ebp - 0x884]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x455119
add esi, 0x18
cmp esi, dword [ebp - 0x894]
jne 0x4550c0
jmp 0x455125
cmp esi, dword [ebp - 0x894]
jne 0x455416
mov eax, dword [ebp - 0x884]
lea esi, [eax + 8]
mov dword [ebp - 0x818], 0
mov ecx, esi
mov dword [ebp - 0x814], 7
xor eax, eax
mov word [ebp - 0x828], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x455150
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x828]
call fcn.004035d0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x894]
cmp dword [ebp - 0x890], ecx
je 0x4551bc
movups xmm0, xmmword [ebp - 0x828]
mov dword [ecx + 0x10], 0
xor edx, edx
mov dword [ecx + 0x14], 0
mov eax, 7
movups xmmword [ecx], xmm0
mov word [ebp - 0x828], dx
movq xmm0, qword [ebp - 0x818]
movq qword [ecx + 0x10], xmm0
add ecx, 0x18
mov dword [ebp - 0x894], ecx
jmp 0x4551d5
lea eax, [ebp - 0x828]
push eax
push ecx
lea ecx, [ebp - 0x898]
call fcn.00404650
mov eax, dword [ebp - 0x814]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x455213
mov ecx, dword [ebp - 0x828]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455209
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455814
push edx
push ecx
call fcn.0056deb6
add esp, 8
lea eax, [ebp - 0x8b0]
mov ecx, 0x618568
push eax
push esi
call fcn.00449d80
xor ecx, ecx
mov dword [ebp - 0x884], ecx
cmp dword [ebp - 0x8a8], ecx
jle 0x455416
nop dword [eax]
test ecx, ecx
js 0x45580f
cmp ecx, dword [ebp - 0x8a8]
jge 0x45580f
mov eax, dword [ebp - 0x8ac]
lea esi, [edi - 0x10]
mov edx, dword [eax + ecx*4]
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x4552bb
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4552a6
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4552a6
call fcn.00403af0
mov dword [ebp - 0x89c], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x45529b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x89c]
lea edi, [eax + 0x10]
mov dword [ebp - 0x888], edi
jmp 0x4552bb
push dword [edx - 0xc]
lea ecx, [ebp - 0x888]
push edx
call fcn.00403bb0
mov edi, dword [ebp - 0x888]
mov eax, dword [ebp - 0x87c]
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x45532a
nop dword [eax]
lea eax, [ebp - 0x840]
cmp eax, esi
je 0x4552f3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4552e4
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x840]
push eax
call fcn.004035d0
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
cmovae eax, dword [ebp - 0x840]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov eax, dword [ebp - 0x87c]
je 0x455321
add esi, 0x18
cmp esi, dword [eax + 8]
jne 0x4552d0
cmp esi, dword [eax + 8]
jne 0x4553fd
xor eax, eax
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
mov eax, edi
mov dword [ebp - 0x814], 7
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x455350
sub eax, edx
lea ecx, [ebp - 0x828]
sar eax, 1
push eax
push edi
call fcn.004035d0
mov ecx, dword [ebp - 0x87c]
add ecx, 4
mov byte [ebp - 4], 6
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x4553ac
movups xmm0, xmmword [ebp - 0x828]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x818]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ecx + 4], 0x18
mov word [ebp - 0x828], ax
jmp 0x4553bf
lea edx, [ebp - 0x828]
push edx
push eax
call fcn.00404650
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x4553fd
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4553f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455814
push edx
push ecx
call fcn.0056deb6
add esp, 8
mov ecx, dword [ebp - 0x884]
inc ecx
mov dword [ebp - 0x884], ecx
cmp ecx, dword [ebp - 0x8a8]
jl 0x455240
mov ecx, dword [0x6184f0]
mov ecx, dword [ecx + 4]
call fcn.004fee60
mov esi, dword [ebp - 0x898]
mov dword [ebp - 0x884], eax
test eax, eax
jne 0x4550b0
mov ecx, dword [ebp - 0x880]
inc ecx
mov dword [ebp - 0x880], ecx
cmp ecx, 2
jl 0x455065
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x880]
push eax
mov dword [ebp - 0x880], 0
mov ecx, dword [ecx + 0x2c]
call fcn.004f8d40
cmp dword [0x618528], 0
je 0x455701
cmp dword [ebp - 0x880], 0xa
jb 0x455701
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea ecx, [ebp - 0x8b0]
push 0xffffffffffffffff
push 0
call fcn.0055b63e
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x810]
push eax
push str.RESTORE_COLOR_FOLDER
mov ecx, dword [ecx + 0x1c]
call fcn.004f65f0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455701
lea ecx, [ebp - 0x88c]
call fcn.0046a2f0
push 0
lea eax, [ebp - 0x8b0]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x88c]
call fcn.0046bb90
xor ecx, ecx
mov dword [ebp - 0x880], ecx
cmp dword [ebp - 0x8a8], ecx
jle 0x4556f6
nop dword [eax]
test ecx, ecx
js 0x45580f
cmp ecx, dword [ebp - 0x8a8]
jge 0x45580f
mov eax, dword [ebp - 0x8ac]
lea esi, [edi - 0x10]
mov edx, dword [eax + ecx*4]
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x45559b
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x455586
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x455586
call fcn.00403af0
mov dword [ebp - 0x89c], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x45557b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x89c]
lea edi, [eax + 0x10]
mov dword [ebp - 0x888], edi
jmp 0x45559b
push dword [edx - 0xc]
lea ecx, [ebp - 0x888]
push edx
call fcn.00403bb0
mov edi, dword [ebp - 0x888]
mov eax, dword [ebp - 0x87c]
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x45560a
nop dword [eax]
lea eax, [ebp - 0x840]
cmp eax, esi
je 0x4555d3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4555c4
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x840]
push eax
call fcn.004035d0
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
cmovae eax, dword [ebp - 0x840]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov eax, dword [ebp - 0x87c]
je 0x455601
add esi, 0x18
cmp esi, dword [eax + 8]
jne 0x4555b0
cmp esi, dword [eax + 8]
jne 0x4556dd
mov ecx, edi
mov dword [ebp - 0x818], 0
xor eax, eax
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x455630
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x828]
call fcn.004035d0
mov ecx, dword [ebp - 0x87c]
add ecx, 4
mov byte [ebp - 4], 8
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x45568c
movups xmm0, xmmword [ebp - 0x828]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x818]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ecx + 4], 0x18
mov word [ebp - 0x828], ax
jmp 0x45569f
lea edx, [ebp - 0x828]
push edx
push eax
call fcn.00404650
mov edx, dword [ebp - 0x814]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x4556dd
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4556d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455814
push edx
push ecx
call fcn.0056deb6
add esp, 8
mov ecx, dword [ebp - 0x880]
inc ecx
mov dword [ebp - 0x880], ecx
cmp ecx, dword [ebp - 0x8a8]
jl 0x455520
lea ecx, [ebp - 0x88c]
call fcn.0046a3c0
mov byte [ebp - 0x874], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x45574a
test byte [ecx + 0x1c], 1
je 0x45574a
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, 0x20
call fcn.004018a0
add esp, 0x10
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x82c]
cmp edx, 8
jb 0x45578e
mov ecx, dword [ebp - 0x840]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455784
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455814
push edx
push ecx
call fcn.0056deb6
add esp, 8
xor eax, eax
mov dword [ebp - 0x830], 0
mov word [ebp - 0x840], ax
add edi, 0xfffffff0
mov dword [ebp - 0x82c], 7
or eax, 0xffffffff
mov byte [ebp - 4], 2
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4557c7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x8b0]
call fcn.0055b186
lea ecx, [ebp - 0x898]
call fcn.00409b00
lea ecx, [ebp - 0x878]
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
push 0x80004005
call fcn.004013a0
call fcn.005511b9
call fcn.00574908
int3