Function at 0x10036210
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a986f
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
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 dword [ebp - 0x48], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x58], eax
call fcn.100079d0
mov ecx, eax
test ecx, ecx
je 0x1003679a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
push esi
push ebx
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push str._Taskbar_CTaskbarWnd::SendThumbnail_begin__maxwidth_d__maxheight_d
push eax
call fcn.100078e0
add esp, 0x10
call fcn.1005dde0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov esi, dword [ebp - 0x50]
movzx eax, al
sub eax, 1
jne 0x100363c1
push 4
push str.FILE
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000c680
mov byte [ebp - 4], 2
call fcn.1005dde0
mov ebx, eax
lea ecx, [ebp - 0xf4]
push 0x1bc
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10009a70
mov edi, eax
test esi, esi
mov byte [ebp - 4], 3
mov ecx, 0x100ae9e4
cmovne ecx, esi
push ecx
push edi
call fcn.100092f0
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.1000a930
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x10036374
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003636a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100367a4
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 byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100363be
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100363b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100367a9
push edx
push ecx
call fcn.1005eced
add esp, 8
mov ebx, dword [ebp - 0x44]
mov edi, 0xc8
mov eax, 0x6c
cmp ebx, edi
cmovbe edi, ebx
cmp dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
cmovbe eax, dword [ebp - 0x4c]
add ebx, 0xb8
mov dword [ebp - 0x4c], eax
mov eax, ebx
mov dword [ebp - 0x44], ebx
cmp dword [ebx + 0x14], 8
jb 0x100363f0
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100364c4
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 0x1003675d
cmp dword [ebx + 0x14], 8
jb 0x10036426
mov ebx, dword [ebx]
mov dword [ebp - 0x44], 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 byte [ebp - 4], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000c680
mov byte [ebp - 4], 5
call fcn.1005dde0
mov ebx, eax
lea ecx, [ebp - 0xf4]
push 0x1c9
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10009a70
mov edi, eax
push str.Load_Thumbnail_faild_path
push edi
mov byte [ebp - 4], 6
call fcn.100092f0
mov eax, dword [ebp - 0x44]
mov ecx, 0x100ae9e4
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.100092f0
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
jmp 0x10036742
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x100364ce
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x48]
add ecx, 0x4c
push eax
call fcn.10020840
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x100365aa
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 0x1003675d
cmp dword [ebx + 0x14], 8
jb 0x1003650c
mov ebx, dword [ebx]
mov dword [ebp - 0x44], 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 byte [ebp - 4], 7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000c680
mov byte [ebp - 4], 8
call fcn.1005dde0
mov ebx, eax
lea ecx, [ebp - 0xf4]
push 0x1cf
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10009a70
mov edi, eax
mov byte [ebp - 4], 9
push str.LoadBitmapFromFile_Thumbnail_File_faild__path
push edi
call fcn.100092f0
mov eax, dword [ebp - 0x44]
mov ecx, 0x100ae9e4
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.100092f0
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
jmp 0x10036742
mov ecx, dword [ebp - 0x48]
push 1
push dword [ebp - 0x4c]
push edi
push eax
lea ecx, [ecx + 0x4c]
call fcn.10020890
mov edi, eax
test edi, edi
jne 0x10036661
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 0x1003675d
cmp dword [ebx + 0x14], 8
jb 0x100365ed
mov ebx, dword [ebx]
mov dword [ebp - 0x44], 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 byte [ebp - 4], 0xa
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000c680
mov byte [ebp - 4], 0xb
call fcn.1005dde0
mov ebx, eax
lea ecx, [ebp - 0xf4]
push 0x1d5
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10009a70
mov edi, eax
mov byte [ebp - 4], 0xc
jmp 0x1003657b
push 0xff000000
lea eax, [ebp - 0x54]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x10036679
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x48]
push 0
push dword [ebp - 0x54]
push dword [ebp - 0x58]
mov eax, dword [eax + 0x2f4]
call eax
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov ecx, dword [ebp - 0x5c]
push 1
mov eax, dword [ecx]
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 0x1003675d
push 4
push str.FILE
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000c680
mov byte [ebp - 4], 0xe
call fcn.1005dde0
mov ebx, eax
lea ecx, [ebp - 0xf4]
push 0x1e2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10009a70
mov edi, eax
push str._Taskbar_CTaskbarWnd::SendThumbnail_End
push edi
mov byte [ebp - 4], 0xf
call fcn.100092f0
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.1000a930
lea ecx, [ebp - 0x40]
call fcn.100074f0
lea ecx, [ebp - 0x28]
call fcn.100074f0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1003677c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
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.1005f06c
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.10007660
call fcn.10082829
call fcn.10082829
int3