Function at 0x10035c10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a97b7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x100d5688]
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 dword [ebp - 0x78], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
call fcn.1005dde0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10035d7e
push 4
push str.FILE
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000c680
mov byte [ebp - 4], 1
call fcn.1005dde0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0x1e7
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10009a70
mov esi, eax
push str._Taskbar_CTaskbarWnd::SendPreview_begin
push esi
mov byte [ebp - 4], 2
call fcn.100092f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.1000a930
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10035d2e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10035d24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100361f7
push edx
push ecx
call fcn.1005eced
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10035d7b
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10035d71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100361fc
push edx
push ecx
call fcn.1005eced
add esp, 8
mov edi, dword [ebp - 0x78]
cmp dword [edi + 0xe4], 8
lea ebx, [edi + 0xd0]
mov eax, ebx
jb 0x10035d91
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10035e78
call fcn.1005dde0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100361d9
cmp dword [ebx + 0x14], 8
jb 0x10035dc4
mov ebx, dword [ebx]
push 4
push str.FILE
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 3
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000c680
mov byte [ebp - 4], 4
call fcn.1005dde0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0x1ec
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10009a70
mov esi, eax
mov byte [ebp - 4], 5
push str._Taskbar_Load_Preview_faild_path
push esi
call fcn.100092f0
test ebx, ebx
mov ecx, 0x100ae9e4
cmovne ecx, ebx
push ecx
push esi
call fcn.100092f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.1000a930
lea ecx, [ebp - 0x40]
call fcn.100074f0
lea ecx, [ebp - 0x28]
jmp 0x100361d4
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x10035e82
mov eax, dword [ebx]
lea ecx, [edi + 0x4c]
push eax
mov dword [ebp - 0x98], ecx
call fcn.10020840
mov esi, eax
test esi, esi
jne 0x10035f3b
call fcn.1005dde0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100361d9
cmp dword [ebx + 0x14], 8
jb 0x10035ebf
mov ebx, dword [ebx]
push 4
push str.FILE
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 6
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000c680
mov byte [ebp - 4], 7
call fcn.1005dde0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0x1f2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10009a70
mov esi, eax
mov byte [ebp - 4], 8
push str._Taskbar_LoadBitmapFromFile_Preview_File_faild__path
jmp 0x10035e3b
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], 0x780
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x438
push eax
call fcn.100206e0
mov eax, dword [edi + 0x6c]
add esp, 8
sub eax, dword [edi + 0x64]
mov dword [ebp - 0x90], eax
mov eax, dword [edi + 0x70]
mov ecx, eax
sub eax, dword [edi + 0x80]
sub ecx, dword [edi + 0x68]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x8c], 0
push dword [esi + 4]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x74], 0
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x10035fa3
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x74], eax
ja 0x10036007
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x10035fc8
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x74], eax
ja 0x10036007
mov ecx, esi
call fcn.10034400
mov ecx, esi
mov edi, eax
call fcn.10034310
mov ecx, eax
mov eax, dword [ebp - 0x7c]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x80]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x88], eax
jmp 0x1003600e
mov edi, 1
mov ecx, edi
push 1
push ecx
mov ecx, dword [ebp - 0x98]
push edi
push esi
call fcn.10020890
mov edi, eax
test edi, edi
jne 0x100360c8
call fcn.1005dde0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100361d9
cmp dword [ebx + 0x14], 8
jb 0x1003604c
mov ebx, dword [ebx]
push 4
push str.FILE
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 9
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000c680
mov byte [ebp - 4], 0xa
call fcn.1005dde0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0x20b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10009a70
mov esi, eax
mov byte [ebp - 4], 0xb
push str.ResizeBitmap_Preview_File_faild__path
jmp 0x10035e3b
push 0xff000000
lea eax, [ebp - 0x84]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x100360e3
mov dword [edi + 8], eax
push 0
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x84]
mov eax, dword [ebp - 0x78]
push dword [ebp - 0x9c]
mov eax, dword [eax + 0x2f8]
call eax
push dword [ebp - 0x84]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
call fcn.1005dde0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100361d9
push 4
push str.FILE
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1000c680
mov byte [ebp - 4], 0xd
call fcn.1005dde0
mov edi, eax
lea ecx, [ebp - 0x1cc]
push 0x21a
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10009a70
mov esi, eax
push str._Taskbar_CTaskbarWnd::SendPreview_End
push esi
mov byte [ebp - 4], 0xe
call fcn.100092f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1cc]
call fcn.1000a930
lea ecx, [ebp - 0x58]
call fcn.100074f0
lea ecx, [ebp - 0x70]
call fcn.100074f0
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.1005f06c
mov esp, ebp
pop ebp
ret 4
call fcn.10082829
call fcn.10082829
int3