Function at 0x10033fd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a2c7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x100bb758]
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.10054f50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003413e
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.1000afb0
push 3
push 0x1008ea34
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.1000afb0
mov byte [ebp - 4], 1
call fcn.10054f50
mov edi, eax
lea ecx, [ebp - 0x134]
push 0x1e7
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100083a0
mov esi, eax
push str._Taskbar_CTaskbarWnd::SendPreview_begin
push esi
mov byte [ebp - 4], 2
call fcn.10007c20
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.10009260
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100340ee
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100340e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100345b7
push edx
push ecx
call fcn.10055e5d
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 0x1003413b
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10034131
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100345bc
push edx
push ecx
call fcn.10055e5d
add esp, 8
mov edi, dword [ebp - 0x78]
cmp dword [edi + 0xe4], 8
lea ebx, [edi + 0xd0]
mov eax, ebx
jb 0x10034151
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10034238
call fcn.10054f50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10034599
cmp dword [ebx + 0x14], 8
jb 0x10034184
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.1000afb0
push 3
push 0x1008ea34
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.1000afb0
mov byte [ebp - 4], 4
call fcn.10054f50
mov edi, eax
lea ecx, [ebp - 0x134]
push 0x1ec
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100083a0
mov esi, eax
mov byte [ebp - 4], 5
push str._Taskbar_Load_Preview_faild_path
push esi
call fcn.10007c20
test ebx, ebx
mov ecx, 0x1008e984
cmovne ecx, ebx
push ecx
push esi
call fcn.10007c20
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.10009260
lea ecx, [ebp - 0x40]
call fcn.10005f50
lea ecx, [ebp - 0x28]
jmp 0x10034594
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x10034242
mov eax, dword [ebx]
lea ecx, [edi + 0x4c]
push eax
mov dword [ebp - 0x98], ecx
call fcn.1001dfe0
mov esi, eax
test esi, esi
jne 0x100342fb
call fcn.10054f50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10034599
cmp dword [ebx + 0x14], 8
jb 0x1003427f
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.1000afb0
push 3
push 0x1008ea34
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.1000afb0
mov byte [ebp - 4], 7
call fcn.10054f50
mov edi, eax
lea ecx, [ebp - 0x134]
push 0x1f2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100083a0
mov esi, eax
mov byte [ebp - 4], 8
push str._Taskbar_LoadBitmapFromFile_Preview_File_faild__path
jmp 0x100341fb
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], 0x780
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x438
push eax
call fcn.10035870
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 0x10034363
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x74], eax
ja 0x100343c7
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x10034388
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x74], eax
ja 0x100343c7
mov ecx, esi
call fcn.100327c0
mov ecx, esi
mov edi, eax
call fcn.10032680
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 0x100343ce
mov edi, 1
mov ecx, edi
push 1
push ecx
mov ecx, dword [ebp - 0x98]
push edi
push esi
call fcn.1001e030
mov edi, eax
test edi, edi
jne 0x10034488
call fcn.10054f50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10034599
cmp dword [ebx + 0x14], 8
jb 0x1003440c
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.1000afb0
push 3
push 0x1008ea34
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.1000afb0
mov byte [ebp - 4], 0xa
call fcn.10054f50
mov edi, eax
lea ecx, [ebp - 0x134]
push 0x20b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100083a0
mov esi, eax
mov byte [ebp - 4], 0xb
push str.ResizeBitmap_Preview_File_faild__path
jmp 0x100341fb
push 0xff000000
lea eax, [ebp - 0x84]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x100344a3
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.10054f50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10034599
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.1000afb0
push 3
push 0x1008ea34
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.1000afb0
mov byte [ebp - 4], 0xd
call fcn.10054f50
mov edi, eax
lea ecx, [ebp - 0x1cc]
push 0x21a
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100083a0
mov esi, eax
push str._Taskbar_CTaskbarWnd::SendPreview_End
push esi
mov byte [ebp - 4], 0xe
call fcn.10007c20
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1cc]
call fcn.10009260
lea ecx, [ebp - 0x58]
call fcn.10005f50
lea ecx, [ebp - 0x70]
call fcn.10005f50
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.100561dc
mov esp, ebp
pop ebp
ret 4
call fcn.10063ae9
call fcn.10063ae9
int3