Function at 0x4297d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4e500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x244], ecx
mov ax, word [0x4da69c]
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00487cb0
add esp, 0xc
mov byte [ebp - 0x249], 0
mov byte [ebp - 0x24a], 0
xor edx, edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x210], edx
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp + 8]
push ecx
push str.CUNSvcLaunchUrNotice::QuitUrNotice_on_session___d_...
push 0x4e7f50
call fcn.00427440
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [ebp - 0x244]
call fcn.0042ac00
test eax, eax
jne 0x429898
push str.CUNSvcLaunchUrNotice::QuitUrNotice_failed_to_get_UNUpdObs.exe_path
push 0x4e7f50
call fcn.00427440
add esp, 8
xor al, al
jmp 0x429a72
lea eax, [ebp - 0x20c]
push eax
push 0x4da70c
push 0x4e7f50
call fcn.00427440
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4298db
push str.CUNSvcLaunchUrNotice::QuitUrNotice_failed
push 0x4e7f50
call fcn.00427440
add esp, 8
xor al, al
jmp 0x429a72
lea edx, [ebp - 0x20c]
push edx
push 0x4da814
push 0x4e7f50
call fcn.00427440
add esp, 0xc
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00426000
add esp, 8
test eax, eax
jne 0x429922
push 0x4da854
push 0x4e7f50
call fcn.00427440
add esp, 8
xor al, al
jmp 0x429a72
push 0x4da888
lea ecx, [ebp - 0x20c]
push ecx
push str.Launch_UNUpdObs___s__with___s___and_wait_until_exit.
push 0x4e7f50
call fcn.00427440
add esp, 0x10
mov dword [ebp - 0x248], 0
jmp 0x42995b
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x248]
cmp ecx, dword [eax]
ja 0x4299de
push str._quit_urnotice
lea edx, [ebp - 0x20c]
push edx
push 1
push 0
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x244]
call fcn.0042ade0
test eax, eax
je 0x429997
jmp 0x4299de
mov edx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x248]
cmp eax, dword [edx]
jae 0x4299b9
mov ecx, dword [ebp - 0x244]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4299d9
lea eax, [ebp - 0x20c]
push eax
push str.CUNSvcLaunchUrNotice::QuitUrNotice_failed_to_launch___s_
push 0x4e7f50
call fcn.00427440
add esp, 0xc
xor al, al
jmp 0x429a72
jmp 0x42994c
mov byte [ebp - 0x23d], 0
mov dword [ebp - 0x254], 0x2bf20
mov ecx, dword [ebp - 0x254]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0x102
je 0x429a1e
cmp dword [ebp - 0x250], 0xffffffff
jne 0x429a39
push str.QuitUrNotice_is_failed_or_timeout.
push 0x4e7f50
call fcn.00427440
add esp, 8
mov byte [ebp - 0x23d], 0
jmp 0x429a40
mov byte [ebp - 0x23d], 1
cmp dword [ebp - 0x238], 0
je 0x429a56
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x23c], 0
je 0x429a6c
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x23d]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a792
mov esp, ebp
pop ebp
ret 4