Function at 0x441f70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3213
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x64a070]
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 esi, ecx
mov ebx, fcn.00440ae0
test ebx, ebx
je 0x441fcc
push str.Setting_application_Mode
push 0x5f8398
push 0x5f8398
push str.ApplicationContext
push 0x5f8398
push 0x1e
call fcn.00440ae0
add esp, 0x18
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xa0]
push 8
push str.pipename
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], eax
mov word [ebp - 0xa0], ax
call fcn.00408a10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [esi + 8]
call fcn.0052ffe0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x442045
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00409510
cmp dword [ebp - 0x18], 0
sete al
test al, al
jne 0x4421c3
test ebx, ebx
je 0x44207b
push str.ESD_Helper_mode_set.
push 0x5f8398
push 0x5f8398
push str.ApplicationContext
push 0x5f8398
push 0x1e
call fcn.00440ae0
add esp, 0x18
xor eax, eax
mov dword [esi + 4], 3
mov byte [esi], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
push str.sourcePath
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.00408810
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [esi + 8]
call fcn.0052ffe0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x4420e6
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00409510
push str.esdSourcePath
lea ecx, [ebp - 0x88]
call fcn.00408810
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
mov ecx, dword [esi + 0x18]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00426310
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x40]
add ecx, 0x28
cmp ecx, eax
je 0x44212a
push 0xffffffffffffffff
push 0
push eax
call fcn.00408f10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x442149
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00409510
test ebx, ebx
je 0x44217c
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push str.sourcePath_for_parent_ESD__s
push 0x5f8398
push 0x5f8398
push str.ApplicationContext
push 0x5f8398
push 0x1e
call fcn.00440ae0
add esp, 0x1c
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x442191
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x442571
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409510
jmp 0x442571
push str.uninstall
lea ecx, [ebp - 0x88]
call fcn.00408810
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [esi + 8]
call fcn.0052ffe0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x442209
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00409510
cmp dword [ebp - 0x18], 0
sete al
test al, al
jne 0x442263
test ebx, ebx
je 0x44223b
push str.ESD_Uninstall_mode_set.
push 0x5f8398
push 0x5f8398
push str.ApplicationContext
push 0x5f8398
push 0x1e
call fcn.00440ae0
add esp, 0x18
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], 1
mov byte [esi], 1
cmp eax, 8
jb 0x442571
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409510
jmp 0x442571
push str.update
lea ecx, [ebp - 0x88]
call fcn.00408810
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [esi + 8]
call fcn.0052ffe0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x4422a9
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00409510
cmp dword [ebp - 0x18], 0
sete al
test al, al
jne 0x4422ea
test ebx, ebx
je 0x4422db
push str.ESD_Update_mode_set.
push 0x5f8398
push 0x5f8398
push str.ApplicationContext
push 0x5f8398
push 0x1e
call fcn.00440ae0
add esp, 0x18
mov dword [esi + 4], 2
mov byte [esi], 1
jmp 0x442569
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.0051d620
test al, al
jne 0x44235b
test ebx, ebx
je 0x442335
push str.Failed_to_get_current_application_directory_path.
push 0x5f8398
push 0x5f8398
push str.ApplicationContext
push 0x5f8398
push 0x32
call fcn.00440ae0
add esp, 0x18
push 0x646644
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], vtable.std::exception.0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x90], xmm0
call fcn.0058f513
push str.products
lea ecx, [ebp - 0x88]
call fcn.00408810
push ecx
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
call fcn.0051de40
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.004087d0
push str.SuiteInfo.xml
lea ecx, [ebp - 0x88]
call fcn.00408810
push ecx
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x58]
call fcn.0051de40
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.004087d0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442411
test ebx, ebx
je 0x442402
push str.ESD_Suite_mode_set.
push 0x5f8398
push 0x5f8398
push str.ApplicationContext
push 0x5f8398
push 0x1e
call fcn.00440ae0
add esp, 0x18
mov dword [esi + 4], 4
mov byte [esi], 1
jmp 0x442561
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
call fcn.0051d620
test al, al
jne 0x442482
test ebx, ebx
je 0x44245c
push str.Failed_to_get_current_application_directory_path.
push 0x5f8398
push 0x5f8398
push str.ApplicationContext
push 0x5f8398
push 0x32
call fcn.00440ae0
add esp, 0x18
push 0x646644
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], vtable.std::exception.0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x90], xmm0
call fcn.0058f513
push str.products
lea ecx, [ebp - 0x88]
call fcn.00408810
push ecx
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.0051de40
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x88]
call fcn.004087d0
push str.Driver.xml
lea ecx, [ebp - 0x88]
call fcn.00408810
push ecx
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x70]
call fcn.0051de40
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x88]
call fcn.004087d0
lea ecx, [ebp - 0x70]
call fcn.0051def0
test al, al
je 0x442528
test ebx, ebx
je 0x44251f
push str.ESD_Product_mode_set.
push 0x5f8398
push 0x5f8398
push str.ApplicationContext
push 0x5f8398
push 0x1e
call fcn.00440ae0
add esp, 0x18
mov dword [esi + 4], 0
jmp 0x442556
test ebx, ebx
je 0x44254f
push str.WAM_Install_mode_set.
push 0x5f8398
push 0x5f8398
push str.ApplicationContext
push 0x5f8398
push 0x1e
call fcn.00440ae0
add esp, 0x18
mov dword [esi + 4], 5
lea ecx, [ebp - 0x70]
mov byte [esi], 1
call fcn.004087d0
lea ecx, [ebp - 0x58]
call fcn.004087d0
lea ecx, [ebp - 0x28]
call fcn.004087d0
mov al, 1
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.0057608a
mov esp, ebp
pop ebp
ret