Function at 0x459ed0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474bdf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
mov dword [ebp - 0x94], ecx
push 0x84
call fcn.0046f848
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0
je 0x459f21
mov ecx, dword [ebp - 0x3c]
call fcn.0044b4e0
mov dword [ebp - 0x98], eax
jmp 0x459f2b
mov dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x10], ecx
push 0x21f
mov ecx, dword [ebp - 0x10]
call fcn.004538d0
push 0x4899d4
lea ecx, [ebp - 0x40]
call fcn.00402910
mov dword [ebp - 4], 1
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00463c00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402980
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0044c8b0
lea ecx, [ebp - 0x24]
call fcn.004028f0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004028f0
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 0xc]
call fcn.00418b30
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.ShowBuyOnline
call fcn.00402910
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x4899f4
call fcn.00402910
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
call fcn.004589b0
mov byte [ebp - 0x1a], 1
push str.false
lea ecx, [ebp - 0x24]
call fcn.004126d0
test eax, eax
jne 0x45a01f
mov byte [ebp - 0x1a], 0
movzx ecx, byte [ebp - 0x1a]
test ecx, ecx
je 0x45a28a
push 0x9c
call fcn.0046f848
add esp, 4
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x50], 0
je 0x45a055
mov ecx, dword [ebp - 0x50]
call fcn.0044d5d0
mov dword [ebp - 0xa8], eax
jmp 0x45a05f
mov dword [ebp - 0xa8], 0
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
call fcn.00403bf0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.Shopping
call fcn.00402910
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push str.Defaults
call fcn.00402910
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
call fcn.004589b0
lea ecx, [ebp - 0x24]
call fcn.00413020
movzx ecx, al
test ecx, ecx
jne 0x45a0f7
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x20], 3
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.004029a0
jmp 0x45a227
mov byte [ebp - 0x25], 0
cmp dword [ebp + 8], 0
je 0x45a1d5
mov ecx, dword [ebp + 8]
call fcn.00432630
movzx ecx, al
test ecx, ecx
je 0x45a1d5
mov ecx, dword [ebp + 8]
call fcn.0044ff30
movzx edx, al
test edx, edx
je 0x45a1d5
mov ecx, dword [ebp + 8]
call fcn.0044ff50
movzx eax, al
test eax, eax
jne 0x45a1d5
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x20], 0
push str._InstallDir__binhpqpprop.exe
lea ecx, [ebp - 0x2c]
call fcn.00402910
mov byte [ebp - 4], 7
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00465c10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.004029a0
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00405020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45a1bd
mov byte [ebp - 0x25], 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
push str._CtxId___s___tbx_tbx__silent__run__InkLevelPlugin___cmd__inkorder_
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00412d50
add esp, 0xc
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 8
call fcn.004029a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.00402980
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00402980
movzx eax, byte [ebp - 0x25]
test eax, eax
jne 0x45a227
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x20], 3
lea edx, [ebp - 0x5c]
push edx
call fcn.004106e0
add esp, 4
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xbc]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.004029a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00402980
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x1c], 1
push 0x222
mov ecx, dword [ebp - 0x18]
call fcn.0044de20
push 0x2dc
mov ecx, dword [ebp - 0x18]
call fcn.0044df40
push 0x222
mov ecx, dword [ebp - 0x18]
call fcn.0044e060
push 0x489b00
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004029c0
push 0x7e3
mov ecx, dword [ebp - 0x18]
call fcn.00453890
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0044c760
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0044c840
lea ecx, [ebp - 0x24]
call fcn.00403bf0
lea ecx, [ebp - 0x20]
call fcn.00403bf0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push str.CheckInkLevels
call fcn.00402910
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x489b50
call fcn.00402910
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
call fcn.004589b0
mov byte [ebp - 0xc9], al
mov cl, byte [ebp - 0xc9]
mov byte [ebp - 0x19], cl
movzx edx, byte [ebp - 0x19]
test edx, edx
je 0x45a3ca
push 0x9c
call fcn.0046f848
add esp, 4
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x6c], 0
je 0x45a336
mov ecx, dword [ebp - 0x6c]
call fcn.0044d5d0
mov dword [ebp - 0xd0], eax
jmp 0x45a340
mov dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x18], ecx
push 0x223
mov ecx, dword [ebp - 0x18]
call fcn.0044de20
push 0x2dd
mov ecx, dword [ebp - 0x18]
call fcn.0044df40
push 0x223
mov ecx, dword [ebp - 0x18]
call fcn.0044e060
push 0x489b64
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004029c0
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.004029a0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 8
call fcn.004029a0
push 0x7e4
mov ecx, dword [ebp - 0x18]
call fcn.00453890
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0044c760
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0044c840
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.ShowSuppliesAndAccessoriesLink
call fcn.00402910
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], ecx
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push 0x489bd4
call fcn.00402910
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
call fcn.004589b0
mov byte [ebp - 0xdd], al
mov dl, byte [ebp - 0xdd]
mov byte [ebp - 0x19], dl
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x45a5b7
push 0x489be8
lea ecx, [ebp - 0x24]
call fcn.004126d0
test eax, eax
jne 0x45a5b7
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.ProductSupportOID
call fcn.00402910
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 0xd
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.NewInTron
call fcn.00402910
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
call fcn.004589b0
mov byte [ebp - 0xed], al
mov cl, byte [ebp - 0xed]
mov byte [ebp - 0x19], cl
lea ecx, [ebp - 0x24]
call fcn.00413020
movzx edx, al
test edx, edx
jne 0x45a5b7
push 0x9c
call fcn.0046f848
add esp, 4
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x84], 0
je 0x45a4fa
mov ecx, dword [ebp - 0x84]
call fcn.0044d5d0
mov dword [ebp - 0xf4], eax
jmp 0x45a504
mov dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x18], ecx
push 0x3c0
mov ecx, dword [ebp - 0x18]
call fcn.0044de20
push 0x3c1
mov ecx, dword [ebp - 0x18]
call fcn.0044df40
push 0x3c0
mov ecx, dword [ebp - 0x18]
call fcn.0044e060
push 0x489c2c
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.004029c0
push str.http:__h20180.www2.hp.com_apps_Nav_h_pagetypec_002h_pagehpcomh_langenh_ccush_clientS_A_R295_1h_product
lea ecx, [ebp - 0x34]
call fcn.00402910
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x34]
call fcn.00412690
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.004029a0
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 8
call fcn.004029a0
push 0x7f2
mov ecx, dword [ebp - 0x18]
call fcn.00453890
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0044c760
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0044c840
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00402980
cmp dword [ebp - 0x10], 0
je 0x45a60d
mov ecx, dword [ebp - 0x10]
call fcn.0044c760
test eax, eax
jne 0x45a60d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x88], ecx
cmp dword [ebp - 0x88], 0
je 0x45a5fc
push 1
mov ecx, dword [ebp - 0x88]
call fcn.004171b0
mov dword [ebp - 0xf8], eax
jmp 0x45a606
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00402980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402980
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8