Function at 0x413500
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f530
mov eax, dword fs:[0]
push eax
sub esp, 0x8ec
mov eax, dword [0x4d61d4]
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 edi, ecx
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 0x860], 0
push 0
push eax
call fcn.004693b0
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.004263e0
add esp, 0x14
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413955
lea ecx, [ebp - 0x859]
call fcn.004130c0
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 4], 0
xor eax, eax
push eax
mov dword [ebp - 0x848], 0
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x844], 0
push 0x4a9998
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 7
mov word [ebp - 0x858], ax
call fcn.004077e0
mov dword [ebp - 0x860], 1
call fcn.00438dc0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x413709
push 0x5e
mov dword [ebp - 0x830], eax
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x82c], eax
push str.d:jenkins.jenkinsworkspacemaster_luhome_installerhome_installer_srcpages_finish_page.cc
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x82c], 0xf
mov byte [ebp - 0x840], al
call fcn.004076f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
push 3
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
push 0x4a9c6c
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0xf
mov byte [ebp - 0x828], 0
call fcn.004076f0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x840]
push 0x50
push eax
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x8f8]
call fcn.00409020
mov esi, eax
mov byte [ebp - 4], 3
push str.launch_tray_cmd
push esi
call fcn.00404940
cmp dword [ebp - 0x844], 8
lea ecx, [ebp - 0x858]
mov eax, 0x4a9a78
cmovae ecx, dword [ebp - 0x858]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00402c30
add esp, 0x10
call fcn.00438dc0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8f8]
call fcn.00404eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.004041a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x840]
call fcn.004041a0
cmp dword [ebp - 0x844], 8
lea edx, [ebp - 0x858]
mov dword [ebp - 0x818], 0
cmovae edx, dword [ebp - 0x858]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413753
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.004077e0
mov byte [ebp - 4], 5
xor eax, eax
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4137b0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x840]
call fcn.004077e0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x828]
push 1
push 0x1388
push 1
push 1
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.00430460
add esp, 0x18
mov bl, al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x840]
call fcn.00404220
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x828]
call fcn.00404220
test bl, bl
je 0x41392f
call fcn.00438dc0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x41392f
push 0x5e
mov dword [ebp - 0x818], eax
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], eax
push str.d:jenkins.jenkinsworkspacemaster_luhome_installerhome_installer_srcpages_finish_page.cc
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], 0xf
mov byte [ebp - 0x828], al
call fcn.004076f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x840]
push 3
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0
push 0x4a9c6c
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0xf
mov byte [ebp - 0x840], 0
call fcn.004076f0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x828]
push 0x52
push eax
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x8f8]
call fcn.00409020
mov esi, eax
mov byte [ebp - 4], 9
push str.launch_fail__error
push esi
call fcn.00404940
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00409460
call fcn.00438dc0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8f8]
call fcn.00404eb0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x840]
call fcn.004041a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x828]
call fcn.004041a0
mov eax, 1
mov dword [ebp - 0x860], eax
and eax, 0xfffffffe
mov dword [ebp - 0x860], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x858]
call fcn.00404220
mov eax, dword [edi + 0x78]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor eax, eax
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.0043a373
mov esp, ebp
pop ebp
ret 0x10