Function at 0x41c671
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467ad9
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4921d8]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x4921d8]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
or dword [esp + 0x44], 0xffffffff
mov byte [esp + 0x16], 0xff
mov byte [esp + 0x15], 0xff
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x17], 0xff
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], vtable.FCEffectFillColor.0
mov dword [esp + 0x48], eax
push eax
lea edi, [esi + 0x3f0]
lea ebx, [esp + 0x40]
mov dword [esp + 0x104], eax
call fcn.0040383b
or dword [esp + 0x100], 0xffffffff
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00427d5e
xor edi, edi
lea eax, [esp + 0x6c]
inc edi
push eax
mov dword [esp + 0x104], edi
call fcn.00413c66
mov byte [esp + 0x100], 2
push dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c8ac
mov ecx, dword [esp + 0x30]
call fcn.00410ad1
cmp eax, 3
je 0x41c76e
cmp eax, edi
je 0x41c76e
cmp eax, 7
je 0x41c76e
cmp eax, 6
je 0x41c76e
cmp eax, 4
jne 0x41c8ac
push dword [esp + 0x30]
lea esi, [esp + 0x40]
call fcn.0040f253
mov byte [esp + 0x100], 3
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x44], edi
jne 0x41c895
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x44]
mov dword [esp + 0x3c], edi
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, edi
je 0x41c7af
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x34]
lea esi, [esp + 0x3c]
mov dword [esp + 0x14], ebx
call fcn.0040f7f4
mov dword [esp + 0x5c], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
mov dword [esp + 0x30], ebx
call fcn.0040f834
mov ebx, dword [esp + 0x3c]
mov eax, dword [ebx + 0x400]
mov ecx, dword [ebx + 0x3fc]
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
sub esp, 0xc
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov edi, esp
push dword [esp + 0x24]
lea esi, [esp + 0x60]
push dword [esp + 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x2c]
call fcn.004155bc
mov esi, eax
lea edi, [esp + 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0x18
lea eax, [esp + 0x5c]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [esp + 0x50]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_CopyRect]
push dword [ebx + 0x414]
lea esi, [esp + 0x18]
call fcn.00403128
push dword [esp + 0x14]
lea esi, [esp + 0x60]
call fcn.004165bb
mov esi, eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x48]
push dword [esp + 0x58]
call fcn.0041bebc
push dword [esp + 0x5c]
call sub.gdiplus.dll_GdipDeleteGraphics
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov byte [esp + 0x100], 2
push dword [esp + 0x40]
call sub.gdiplus.dll_GdipDisposeImage
mov esi, dword [esp + 0x38]
xor ebx, ebx
call fcn.0043259d
push eax
lea ecx, [esp + 0x18]
call fcn.00402df9
mov byte [esp + 0x100], 4
cmp dword [esp + 0x28], ebx
je 0x41c922
cmp dword [esp + 0x2c], ebx
je 0x41c922
push dword [esp + 0x2c]
lea eax, [esp + 0x18]
push dword [esp + 0x2c]
push str._d_x__d
push eax
call fcn.00403e2e
lea eax, [esp + 0x48]
push str.Size_:
push eax
lea ecx, [esp + 0x2c]
call fcn.00409df2
add esp, 0x18
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x104], 5
call fcn.00403de1
mov byte [esp + 0x100], 4
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
call fcn.00402ddf
push dword [esp + 0x14]
mov ecx, esi
push 0x4b0
call fcn.004260e4
push 0x47a1c0
lea ecx, [esp + 0x18]
call fcn.00403cec
cmp dword [esp + 0xd0], ebx
je 0x41c9b8
cmp dword [esp + 0xd4], 0x10
mov eax, dword [esp + 0xc0]
jae 0x41c961
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x2c]
call fcn.0041ca19
lea ecx, [esp + 0x34]
push str.Date_:
push ecx
mov ecx, eax
mov byte [esp + 0x108], 6
call fcn.00409df2
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x104], 7
call fcn.00403de1
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.00402ddf
mov byte [esp + 0x100], 4
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.00402ddf
mov edi, dword [esp + 0x14]
push edi
push 0x4ba
mov ecx, esi
call fcn.004260e4
push 1
push ebx
push dword [esi + 0x32c]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [edi - 0x10]
call fcn.00402ddf
lea ecx, [esp + 0x6c]
call fcn.00413c0a
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.00402ddf
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.00446969
mov esp, ebp
pop ebp
ret