Function at 0x4014b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x435390]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c]
push edi
lea ecx, [esi + 0x5c]
push 0x42f30c
xor edi, edi
mov dword [ebp - 0x18], esi
call fcn.00401c80
test eax, eax
jne 0x4014ed
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e68e
mov esp, ebp
pop ebp
ret
mov eax, esi
lea esi, [ebx + 0x24]
call fcn.00401730
lea ecx, [ebx + 0x9c]
push ebx
call fcn.00401ae0
test eax, eax
jne 0x4016af
lea edi, [ebx + 0x48]
lea esi, [eax + 8]
cmp byte [ebx + 0x24], al
je 0x40157d
cmp dword [edi + 0x14], esi
jb 0x40151f
mov eax, dword [edi]
jmp 0x401521
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401552
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
test eax, eax
je 0x4015b6
cmp dword [edi + 0x14], esi
jb 0x40153f
mov edi, dword [edi]
push edi
mov esi, eax
call fcn.00402200
mov dword [ebx + 0xb8], eax
jmp 0x4015eb
push 0x83
call fcn.004010f0
mov dword [ebx + 0xb8], eax
mov eax, 0xc8
add esp, 4
mov dword [ebx + 0x28], 0x24
mov dword [ebx + 0x2c], 0x32
mov dword [ebx + 0x30], eax
jmp 0x4015e8
cmp dword [edi + 0x14], esi
jb 0x401586
mov eax, dword [edi]
jmp 0x401588
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4015c0
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
test eax, eax
je 0x4015b6
cmp dword [edi + 0x14], esi
jb 0x4015a6
mov edi, dword [edi]
push edi
mov esi, eax
call fcn.00402200
mov dword [ebx + 0xb8], eax
jmp 0x4015eb
xor eax, eax
mov dword [ebx + 0xb8], eax
jmp 0x4015eb
push 0x81
call fcn.004010f0
add esp, 4
mov esi, eax
mov dword [ebx + 0xb8], eax
call fcn.004021d0
mov esi, dword [ebx + 0xb8]
mov dword [ebx + 0x30], eax
call fcn.004021a0
mov dword [ebx + 0x34], eax
mov edi, dword [ebp - 0x18]
add edi, 0x40
cmp dword [edi + 0x14], 8
jb 0x4015fb
mov eax, dword [edi]
jmp 0x4015fd
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40164a
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x401640
cmp dword [edi + 0x14], 8
jb 0x40161e
mov edi, dword [edi]
lea eax, [esi + 4]
push eax
push edi
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromFile]
mov dword [esi + 8], eax
mov dword [ebx + 0xbc], esi
jmp 0x4016af
xor esi, esi
mov dword [ebx + 0xbc], esi
jmp 0x4016af
push 0x82
call fcn.004010f0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x18]
mov dword [ebx + 0xbc], esi
mov ecx, dword [esi + 4]
push eax
xor edi, edi
push ecx
mov dword [ebp - 0x18], edi
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
cmp eax, edi
je 0x401679
mov dword [esi + 8], eax
mov edx, dword [ebp - 0x18]
mov esi, dword [ebx + 0xbc]
lea eax, [ebp - 0x18]
mov dword [ebx + 0x40], edx
mov ecx, dword [esi + 4]
push eax
push ecx
mov dword [ebp - 0x18], edi
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
cmp eax, edi
je 0x40169d
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x30]
sub eax, dword [ebx + 0x40]
mov edx, dword [ebp - 0x18]
mov dword [ebx + 0x44], edx
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edi
xor eax, eax
push eax
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x30
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, esi
sub ecx, dword [ebx + 0x30]
mov eax, edx
sub eax, dword [ebx + 0x34]
mov dword [ebx + 0xc0], ecx
mov dword [ebx + 0xc4], eax
mov dword [ebx + 0xc8], esi
mov dword [ebx + 0xcc], edx
mov ecx, dword [ebx + 0x40]
mov eax, dword [ebx + 0x30]
sub eax, ecx
lea esi, [ecx + eax]
xor edx, edx
mov dword [ebx + 0xd0], eax
mov dword [ebx + 0xd4], edx
mov dword [ebx + 0xd8], esi
mov dword [ebx + 0xdc], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
lea eax, [edx + 1]
pop esi
call fcn.0040e68e
mov esp, ebp
pop ebp
ret