Function at 0x49d180
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dee4b
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x82d084]
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 - 0x88], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 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.0067ba12
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
mov byte [ebp - 4], 1
call fcn.0043b1a0
mov ecx, dword [eax + 0x1a0]
lea eax, [ebp - 0x24]
push eax
call fcn.00478140
test al, al
je 0x49d6cf
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
cmp edi, eax
je 0x49d6cf
xor ecx, ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], cx
mov byte [ebp - 4], 2
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
nop dword [eax]
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x49d4d0
nop dword [eax + eax]
lea edx, [ebp - 0x54]
mov ecx, esi
call fcn.004390a0
test al, al
je 0x49d493
push 0x75b10c
lea ecx, [ebp - 0x54]
call fcn.004392e0
test al, al
jne 0x49d493
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0042fc50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
push 0xc
xor eax, eax
mov dword [ebp - 0x5c], 0
push str._INSTALLDIR_
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
call fcn.0042fe00
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
call fcn.00617ec0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.0042fd70
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x54]
cmovae ecx, dword [ebp - 0x3c]
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 0x75b10c
push 0x75b10c
push str.WorkflowManager
push str.WAMB
push 0x1e
call fcn.0043b0f0
add esp, 0x20
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49d358
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
call ebx
test eax, eax
setne al
test al, al
je 0x49d4ec
push 0x10
xor eax, eax
mov dword [ebp - 0x5c], 0
push 0x765864
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
call fcn.0042fe00
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x18]
call fcn.00440a30
push 0x12
push str.launchpath_invalid
mov ecx, eax
call fcn.0042fe00
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.0042fd70
push 0x10
xor eax, eax
mov dword [ebp - 0x5c], 0
push str.event.error_desc
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
call fcn.0042fe00
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.00440a30
lea ecx, [ebp - 0x3c]
cmp eax, ecx
je 0x49d3f2
cmp dword [ebp - 0x28], 8
push dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.0042fe00
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.0042fd70
push 0xb
xor eax, eax
mov dword [ebp - 0x5c], 0
push str.event.build
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
call fcn.0042fe00
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x18]
call fcn.00440a30
cmp eax, esi
je 0x49d44a
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x49d43f
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.0042fe00
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.0042fd70
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
push str.Inside_isProductAlreadyInstalled__launchPath_invalid__s
push 0x75b10c
push 0x75b10c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.0043b0f0
add esp, 0x1c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.0042fd70
jmp 0x49d4c1
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x49d49d
mov eax, dword [esi]
push eax
push str.Inside_isProductAlreadyInstalled__msicode__s_not_detected_on_machine
push 0x75b10c
push 0x75b10c
push str.WorkflowManager
push str.WAMB
push 0xa
call fcn.0043b0f0
add esp, 0x1c
add esi, 0x18
cmp esi, dword [edi + 4]
jne 0x49d270
mov eax, dword [ebp - 0x20]
add edi, 0x24
cmp edi, eax
jne 0x49d260
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.0042fd70
jmp 0x49d74b
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x3c]
add ecx, 0x4b0
cmp ecx, eax
je 0x49d510
cmp dword [ebp - 0x28], 8
push dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.0042fe00
push 0xb
xor eax, eax
mov dword [ebp - 0x5c], 0
push str.event.build
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
call fcn.0042fe00
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x18]
call fcn.00440a30
cmp eax, esi
je 0x49d55c
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x49d551
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.0042fe00
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.0042fd70
push 3
xor eax, eax
mov dword [ebp - 0x74], 0
push 0x76cdc4
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.0042fe00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd0]
push 0xf
xor eax, eax
mov dword [ebp - 0xc0], 0
push str.non_ccd_install
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
call fcn.0042fe00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb8]
push 6
xor eax, eax
mov dword [ebp - 0xa8], 0
push str.detect
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
call fcn.0042fe00
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa0]
push 0xa
xor eax, eax
mov dword [ebp - 0x90], 0
push str.Boot_Strap
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.0042fe00
xor eax, eax
mov byte [ebp - 4], 9
push eax
push 0x75b10c
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
call fcn.0042fe00
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0045b840
mov ecx, eax
call fcn.0045e0e0
lea ecx, [ebp - 0x6c]
call fcn.0042fd70
lea ecx, [ebp - 0xa0]
call fcn.0042fd70
lea ecx, [ebp - 0xb8]
call fcn.0042fd70
lea ecx, [ebp - 0xd0]
call fcn.0042fd70
lea ecx, [ebp - 0x84]
call fcn.0042fd70
lea ecx, [ebp - 0x3c]
call fcn.0042fd70
lea ecx, [ebp - 0x54]
call fcn.0042fd70
mov bl, 1
jmp 0x49d89d
push 0x10
xor eax, eax
mov dword [ebp - 0x74], 0
push 0x765864
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.0042fe00
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x18]
call fcn.00440a30
push 0x11
push str.msicodelist_empty
mov ecx, eax
call fcn.0042fe00
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.0042fd70
push str.Inside_isProductAlreadyInstalled__msiCodeList_is_EMPTY
push 0x75b10c
push 0x75b10c
push str.WorkflowManager
push str.WAMB
push 0x32
call fcn.0043b0f0
add esp, 0x18
push 2
xor eax, eax
mov dword [ebp - 0x5c], 0
push 0x76ccd4
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
call fcn.0042fe00
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa0]
push 0xf
xor eax, eax
mov dword [ebp - 0x90], 0
push str.non_ccd_install
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.0042fe00
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xb8]
push 6
xor eax, eax
mov dword [ebp - 0xa8], 0
push str.detect
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
call fcn.0042fe00
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xd0]
push 0xa
xor eax, eax
mov dword [ebp - 0xc0], 0
push str.Boot_Strap
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
call fcn.0042fe00
xor eax, eax
mov byte [ebp - 4], 0x12
push eax
push 0x75b10c
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.0042fe00
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0045b840
mov ecx, eax
call fcn.0045e0e0
lea ecx, [ebp - 0x84]
call fcn.0042fd70
lea ecx, [ebp - 0xd0]
call fcn.0042fd70
lea ecx, [ebp - 0xb8]
call fcn.0042fd70
lea ecx, [ebp - 0xa0]
call fcn.0042fd70
lea ecx, [ebp - 0x6c]
call fcn.0042fd70
xor bl, bl
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00441e30
push 0x40
push dword [ebp - 0x18]
call fcn.0067bc93
mov esi, dword [ebp - 0x24]
add esp, 8
test esi, esi
je 0x49d929
mov edi, dword [ebp - 0x20]
cmp esi, edi
je 0x49d8e9
nop dword [eax]
lea ecx, [esi + 0xc]
call fcn.0042fd70
mov ecx, esi
call fcn.00448080
add esi, 0x24
cmp esi, edi
jne 0x49d8d0
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov eax, 0x38e38e39
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*8]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x49d91f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d947
push ecx
push esi
call fcn.0067bc93
add esp, 8
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.0067ba01
mov esp, ebp
pop ebp
ret
call fcn.00691015
int3