Function at 0x487790
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b77c3
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x7e500c]
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 - 0xa0], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x18], xmm0
push 0x40
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00650ded
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov byte [ebp - 4], 2
call fcn.00432610
mov ecx, dword [eax + 0x190]
lea eax, [ebp - 0x3c]
push eax
call fcn.00467390
test al, al
je 0x487d3b
call fcn.00432610
mov ecx, dword [eax + 0x190]
lea eax, [ebp - 0x6c]
push eax
call fcn.00467ac0
test al, al
je 0x487d3b
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x3c]
cmp esi, dword [ebp - 0x38]
je 0x487b29
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
nop dword [eax]
lea edx, [ebp - 0x54]
mov ecx, esi
call fcn.00430500
test al, al
je 0x487aef
push 0x71a27c
lea ecx, [ebp - 0x54]
call fcn.00430760
test al, al
jne 0x487aef
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00427050
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
push 0xc
xor eax, eax
mov dword [ebp - 0x74], 0
push str._INSTALLDIR_
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.004271d0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x30]
call fcn.005d5940
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
call fcn.00427170
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x54]
cmovae ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x40], 8
push ecx
cmovae eax, dword [ebp - 0x54]
push eax
push str.Inside_isProductAlreadyInstalled__InstallDir_is__s_and_launchPath_is__s
push 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.00432560
add esp, 0x20
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
cmovae eax, dword [ebp - 0x30]
push eax
call ebx
test eax, eax
je 0x487990
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call edi
test eax, eax
setne al
test al, al
je 0x487b3a
push 0x10
xor eax, eax
mov dword [ebp - 0x74], 0
push str.event.error_type
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.004271d0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.00438090
push 0x12
push str.launchpath_invalid
mov ecx, eax
call fcn.004271d0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.00427170
push 0x10
xor eax, eax
mov dword [ebp - 0x74], 0
push str.event.error_desc
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.004271d0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x18]
call fcn.00438090
lea ecx, [ebp - 0x30]
cmp eax, ecx
je 0x487a3f
cmp dword [ebp - 0x1c], 8
push dword [ebp - 0x20]
cmovae ecx, dword [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.004271d0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.00427170
push 0xb
xor eax, eax
mov dword [ebp - 0x74], 0
push str.event.build
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.004271d0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x18]
call fcn.00438090
cmp eax, esi
je 0x487aa3
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x487a98
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.004271d0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.00427170
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push str.Inside_isProductAlreadyInstalled__launchPath_invalid__s
push 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.00432560
add esp, 0x1c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00427170
jmp 0x487b1d
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x487af9
mov eax, dword [esi]
push eax
push str.Inside_isProductAlreadyInstalled__msicode__s_not_detected_on_machine
push 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0xa
call fcn.00432560
add esp, 0x1c
add esi, 0x18
cmp esi, dword [ebp - 0x38]
jne 0x4878a0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00427170
jmp 0x487e60
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x30]
add ecx, 0x4b0
cmp ecx, eax
je 0x487b5e
cmp dword [ebp - 0x1c], 8
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.004271d0
push 0xb
xor eax, eax
mov dword [ebp - 0x74], 0
push str.event.build
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.004271d0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x18]
call fcn.00438090
cmp eax, esi
je 0x487bb3
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x487ba8
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.004271d0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.00427170
push 3
xor eax, eax
mov dword [ebp - 0x8c], 0
push 0x729794
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
call fcn.004271d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
push 0xf
xor eax, eax
mov dword [ebp - 0xd8], 0
push str.non_ccd_install
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
call fcn.004271d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd0]
push 6
xor eax, eax
mov dword [ebp - 0xc0], 0
push str.detect
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
call fcn.004271d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb8]
push 0xa
xor eax, eax
mov dword [ebp - 0xa8], 0
push str.Boot_Strap
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
call fcn.004271d0
xor eax, eax
mov byte [ebp - 4], 0xa
push eax
push 0x71a27c
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.004271d0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004502d0
mov ecx, eax
call fcn.00452a60
lea ecx, [ebp - 0x84]
call fcn.00427170
lea ecx, [ebp - 0xb8]
call fcn.00427170
lea ecx, [ebp - 0xd0]
call fcn.00427170
lea ecx, [ebp - 0xe8]
call fcn.00427170
lea ecx, [ebp - 0x9c]
call fcn.00427170
lea ecx, [ebp - 0x30]
call fcn.00427170
lea ecx, [ebp - 0x54]
call fcn.00427170
mov bl, 1
jmp 0x487fc4
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x38]
jne 0x487dc9
push 0x10
xor eax, eax
mov dword [ebp - 0x8c], 0
push str.event.error_type
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
call fcn.004271d0
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x18]
call fcn.00438090
push 0x11
push str.msicodelist_empty
mov ecx, eax
call fcn.004271d0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00427170
push str.Inside_isProductAlreadyInstalled__msiCodeList_is_EMPTY
push 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.00432560
add esp, 0x18
push 0x71a27c
lea ecx, [ebp - 0x6c]
call fcn.00430760
test al, al
je 0x487e60
push 0x10
xor eax, eax
mov dword [ebp - 0x8c], 0
push str.event.error_type
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
call fcn.004271d0
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x18]
call fcn.00438090
push 0x19
push str.parameterLaunchPath_empty
mov ecx, eax
call fcn.004271d0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00427170
push str.Inside_isProductAlreadyInstalled__parameterLaunchPath_is_EMPTY
push 0x71a27c
push 0x71a27c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.00432560
add esp, 0x18
push 2
xor eax, eax
mov dword [ebp - 0x74], 0
push 0x7296a4
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.004271d0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xb8]
push 0xf
xor eax, eax
mov dword [ebp - 0xa8], 0
push str.non_ccd_install
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
call fcn.004271d0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xd0]
push 6
xor eax, eax
mov dword [ebp - 0xc0], 0
push str.detect
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
call fcn.004271d0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xe8]
push 0xa
xor eax, eax
mov dword [ebp - 0xd8], 0
push str.Boot_Strap
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
call fcn.004271d0
xor eax, eax
mov byte [ebp - 4], 0x14
push eax
push 0x71a27c
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
call fcn.004271d0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004502d0
mov ecx, eax
call fcn.00452a60
lea ecx, [ebp - 0x9c]
call fcn.00427170
lea ecx, [ebp - 0xe8]
call fcn.00427170
lea ecx, [ebp - 0xd0]
call fcn.00427170
lea ecx, [ebp - 0xb8]
call fcn.00427170
lea ecx, [ebp - 0x84]
call fcn.00427170
xor bl, bl
lea ecx, [ebp - 0x6c]
call fcn.00427170
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.004393c0
push 0x40
push dword [ebp - 0x18]
call fcn.0065106e
add esp, 8
lea ecx, [ebp - 0x3c]
call fcn.0043f150
mov al, bl
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.00650ddc
mov esp, ebp
pop ebp
ret