Function at 0x1003c570
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a07f7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x100d07a8]
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.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003c6de
push 0x57
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000a260
push 3
push 0x100a680c
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.1000a260
mov byte [ebp - 4], 1
call fcn.100689b0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0x1e7
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10004790
mov esi, eax
push str._Taskbar_CTaskbarWnd::SendPreview_begin
push esi
mov byte [ebp - 4], 2
call fcn.10003800
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.10005bc0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1003c68e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c684
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003cb57
push edx
push ecx
call fcn.1006a15b
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 0x1003c6db
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c6d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003cb5c
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov edi, dword [ebp - 0x78]
cmp dword [edi + 0xe4], 8
lea ebx, [edi + 0xd0]
mov eax, ebx
jb 0x1003c6f1
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003c7d8
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003cb39
cmp dword [ebx + 0x14], 8
jb 0x1003c724
mov ebx, dword [ebx]
push 0x57
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000a260
push 3
push 0x100a680c
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.1000a260
mov byte [ebp - 4], 4
call fcn.100689b0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0x1ec
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004790
mov esi, eax
mov byte [ebp - 4], 5
push str._Taskbar_Load_Preview_faild_path
push esi
call fcn.10003800
test ebx, ebx
mov ecx, 0x100a68c0
cmovne ecx, ebx
push ecx
push esi
call fcn.10003800
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.10005bc0
lea ecx, [ebp - 0x40]
call fcn.10002b00
lea ecx, [ebp - 0x28]
jmp 0x1003cb34
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x1003c7e2
mov eax, dword [ebx]
lea ecx, [edi + 0x4c]
push eax
mov dword [ebp - 0x98], ecx
call fcn.10024220
mov esi, eax
test esi, esi
jne 0x1003c89b
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003cb39
cmp dword [ebx + 0x14], 8
jb 0x1003c81f
mov ebx, dword [ebx]
push 0x57
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000a260
push 3
push 0x100a680c
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.1000a260
mov byte [ebp - 4], 7
call fcn.100689b0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0x1f2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004790
mov esi, eax
mov byte [ebp - 4], 8
push str._Taskbar_LoadBitmapFromFile_Preview_File_faild__path
jmp 0x1003c79b
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], 0x780
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x438
push eax
call fcn.1002ed80
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 0x1003c903
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x74], eax
ja 0x1003c967
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x1003c928
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x74], eax
ja 0x1003c967
mov ecx, esi
call fcn.1003ad50
mov ecx, esi
mov edi, eax
call fcn.1003ac90
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 0x1003c96e
mov edi, 1
mov ecx, edi
push 1
push ecx
mov ecx, dword [ebp - 0x98]
push edi
push esi
call fcn.10024270
mov edi, eax
test edi, edi
jne 0x1003ca28
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003cb39
cmp dword [ebx + 0x14], 8
jb 0x1003c9ac
mov ebx, dword [ebx]
push 0x57
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000a260
push 3
push 0x100a680c
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.1000a260
mov byte [ebp - 4], 0xa
call fcn.100689b0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0x20b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004790
mov esi, eax
mov byte [ebp - 4], 0xb
push str.ResizeBitmap_Preview_File_faild__path
jmp 0x1003c79b
push 0xff000000
lea eax, [ebp - 0x84]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x1003ca43
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.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003cb39
push 0x57
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppop_taskbarwnd.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.1000a260
push 3
push 0x100a680c
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.1000a260
mov byte [ebp - 4], 0xd
call fcn.100689b0
mov edi, eax
lea ecx, [ebp - 0x1cc]
push 0x21a
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10004790
mov esi, eax
push str._Taskbar_CTaskbarWnd::SendPreview_End
push esi
mov byte [ebp - 4], 0xe
call fcn.10003800
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1cc]
call fcn.10005bc0
lea ecx, [ebp - 0x58]
call fcn.10002b00
lea ecx, [ebp - 0x70]
call fcn.10002b00
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.1006a4da
mov esp, ebp
pop ebp
ret 4
call fcn.10078889
call fcn.10078889
int3