Function at 0x1001fc70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f728
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10081708]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x1001fcb2
lock inc dword [ecx + 4]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
or ebx, 0xffffffff
mov dword [edi + 0x54], eax
mov esi, dword [edi + 0x58]
mov dword [edi + 0x58], ecx
test esi, esi
je 0x1001fce4
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1001fce4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1001fce4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
lea esi, [edi + 0x9c]
mov dword [edi + 0x3c], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1001fcfa
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001fd4b
cmp dword [esi + 0x14], 8
jb 0x1001fd0d
mov esi, dword [esi]
push 0x2010
push 0
push 0
push 1
push esi
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
push str._Taskbar__PathFileExists_suc
mov dword [0x10083988], eax
call fcn.100133d0
add esp, 4
cmp dword [0x10083988], 0
je 0x1001fd61
push str._Taskbar__LoadImageW_suc
call fcn.100133d0
add esp, 4
jmp 0x1001fd61
cmp dword [esi + 0x14], 8
jb 0x1001fd53
mov esi, dword [esi]
push esi
push str._Taskbar_hIcon_file_not_exist_path_s
call fcn.100133d0
add esp, 8
xorps xmm0, xmm0
mov dword [edi + 0x98], 0
movups xmmword [ebp - 0x20], xmm0
lea esi, [edi + 4]
call fcn.1001f420
cmp dword [eax + 0x30], 0
jne 0x1001fd8c
call fcn.1001f420
mov dword [eax + 0x30], 0
call fcn.1001f420
push dword [ebp - 0x28]
lea ecx, [esi + 0x20]
push ecx
push eax
push 0x1008001c
push 0x10083b9c
call fcn.10006150
movzx eax, ax
add esp, 0x14
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x1001fe77
call fcn.10025f1d
mov dword [esi + 0x14], eax
test eax, eax
jne 0x1001fe77
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, edi
call fcn.1001f5c0
call fcn.100144a0
mov ecx, dword [edi + 0x54]
push 1
mov edx, dword [eax]
push dword [ecx + 0x2c]
push eax
call dword [edx + 4]
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx + 0x30]
lea edx, [ecx + 0x30]
cmp dword [eax - 0xc], 0
je 0x1001fe09
mov ecx, dword [edi + 0x44]
push edx
call fcn.10008710
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx + 0x34]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jle 0x1001fe26
imul eax, eax, 0x3e8
push 0
push eax
push 2
push dword [edi + 8]
call esi
push 0
push 0x7d0
push 3
push dword [edi + 8]
call esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1001fe59
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1001fe59
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1001fe59
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002bf51
mov esp, ebp
pop ebp
ret 0xc
push 0
push 0
push eax
call fcn.1002601f
cmp word [ebp - 0x24], 0
je 0x1001fdd4
lea eax, [esi + 8]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1001ff07
test esi, esi
je 0x1001ff07
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [ebp - 0x28]
push 0x10080020
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x10080038]
mov dword [esi + 8], eax
push 0x10080020
mov dword [0x10080038], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 0
push dword [0x10083ba0]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x24]
push edx
push ecx
push SysReAllocString
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x1001fdd4
push 1
push 0xc0000005
call fcn.10010ed0
int3