Function at 0x449080
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x10]
call fcn.004028f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004028f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004028f0
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
call fcn.00403bf0
push str.HKEY_LOCAL_MACHINESOFTWAREHewlett_PackardImage_Zone_ExpressDirectory
lea ecx, [ebp - 0x10]
call fcn.004381d0
push str.HKEY_LOCAL_MACHINESOFTWAREHewlett_PackardImage_Zone_ExpressVersion
lea ecx, [ebp - 0x18]
call fcn.004381d0
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00402a80
mov dword [ebp - 0x2c], eax
call fcn.00410c30
add esp, 8
mov byte [ebp - 0x2d], al
movzx eax, byte [ebp - 0x2d]
test eax, eax
jne 0x44912c
mov ecx, dword [ebp - 0x10]
push ecx
push 0x484360
push 0x49d444
call fcn.00441600
add esp, 0xc
jmp 0x449224
lea ecx, [ebp - 0x1c]
call fcn.00413020
movzx edx, al
test edx, edx
jne 0x44920e
lea eax, [ebp - 0x1c]
push eax
call fcn.00412410
add esp, 4
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00412690
lea ecx, [ebp - 0x1c]
call fcn.00403bf0
lea edx, [ebp - 0x1c]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x18]
push eax
call fcn.00402a80
mov dword [ebp - 0x34], eax
call fcn.00410c30
add esp, 8
mov byte [ebp - 0x35], al
movzx ecx, byte [ebp - 0x35]
test ecx, ecx
jne 0x4491ad
mov edx, dword [ebp - 0x18]
push edx
push 0x4843a8
push 0x49d444
call fcn.00441600
add esp, 0xc
push 0x4843ec
mov ecx, dword [ebp + 8]
call fcn.004126b0
jmp 0x44920c
lea ecx, [ebp - 0x1c]
call fcn.00413020
movzx eax, al
test eax, eax
jne 0x4491ee
push 0
push str.1.0.
lea ecx, [ebp - 0x1c]
call fcn.004129f0
cmp eax, 0xffffffff
je 0x4491df
push str.HP_Image_Zone_Express.exe
mov ecx, dword [ebp + 8]
call fcn.004126b0
jmp 0x4491ec
push str.HP_IZE.exe
mov ecx, dword [ebp + 8]
call fcn.004126b0
jmp 0x44920c
mov ecx, dword [ebp - 0x18]
push ecx
push 0x484460
push 0x49d444
call fcn.00441600
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.00403bf0
jmp 0x449224
mov edx, dword [ebp - 0x10]
push edx
push 0x4844a8
push 0x49d444
call fcn.00441600
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.00413020
movzx eax, al
test eax, eax
jne 0x449266
mov ecx, dword [ebp + 8]
call fcn.00405020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44924c
mov byte [ebp - 0x11], 1
jmp 0x449264
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push str.Path:__s_for_HP_Image_Zone_Express_does_not_exist
push 0x49d444
call fcn.00441600
add esp, 0xc
jmp 0x449286
push str.Unable_to_get_path_for_Image_Zone_Express
push str.bool___cdecl_GetImageZoneExpressPath_class_ATL::CStringT_unsigned_short_class_ATL::StrTraitATL_unsigned_short_class_ATL::ChTraitsCRT_unsigned_short_______
push 0xd1
push str..InstalledSW.cpp
push 0
mov ecx, 0x49d444
call fcn.00441760
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x25], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00402980
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402980
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret