Function at 0x4a2d87
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.InstallCompleteNofityLiebao_Dll_Install_Begin_r_n
push 0x55b31c
mov esi, ecx
call fcn.004a9913
push 0x10
xor ebx, ebx
call fcn.00481836
add esp, 0xc
test eax, eax
je 0x4a2dc9
mov ecx, eax
call fcn.0040e900
mov edi, eax
jmp 0x4a2dcb
xor edi, edi
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xa0], edi
call fcn.00408680
lea ecx, [ebp - 0x4c]
call fcn.00408680
push dword [esi + 0x20]
lea ecx, [ebp - 0x64]
call fcn.00406c40
and dword [ebp - 0xc], ebx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], bl
call fcn.004086d0
push eax
lea ecx, [ebp - 0x7c]
call fcn.00408750
lea ecx, [ebp - 0x34]
call fcn.00408720
push str.install_info.json
lea ecx, [ebp - 0x34]
call fcn.00406c40
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00408e30
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408750
lea ecx, [ebp - 0x94]
call fcn.00408720
xor esi, esi
lea ecx, [ebp - 0x34]
push esi
push 1
call fcn.00403650
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00412200
pop ecx
pop ecx
test al, al
jne 0x4a2e8d
push esi
push 1
lea ecx, [ebp - 0x1c]
call fcn.00403580
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.00403650
lea ecx, [ebp - 0x4c]
call fcn.00408720
jmp 0x4a2f23
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004124a0
mov esi, eax
pop ecx
test esi, esi
jne 0x4a2eca
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00403580
push 0
jmp 0x4a2e76
and dword [ebp - 0x98], ebx
lea ecx, [ebp - 0x98]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
test al, al
jne 0x4a2eec
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
jmp 0x4a2eba
push dword [ebp - 0x98]
lea ecx, [ebp - 0xa0]
call fcn.004a8f51
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00403580
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00403650
lea ecx, [ebp - 0x4c]
call fcn.00408720
mov edi, dword [ebp - 0xa0]
and dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x34]
push str.Local_State
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], bl
call fcn.00406c40
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00408e30
xor esi, esi
lea ecx, [ebp - 0x34]
push esi
push 1
call fcn.00403650
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x98], esi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00412200
pop ecx
pop ecx
test al, al
jne 0x4a2f81
lea ecx, [ebp - 0x4c]
call fcn.00408720
push esi
jmp 0x4a3124
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004124a0
mov esi, eax
pop ecx
test esi, esi
je 0x4a311a
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a2fe6
mov eax, dword [esi]
lea ecx, [ebp - 0x98]
push ecx
mov ecx, esi
call dword [eax + 0x28]
test al, al
je 0x4a3112
mov eax, dword [ebp - 0x98]
jmp 0x4a3003
push 0x10
call fcn.00481836
pop ecx
test eax, eax
je 0x4a2ffb
mov ecx, eax
call fcn.0040e900
jmp 0x4a2ffd
xor eax, eax
mov dword [ebp - 0x98], eax
test eax, eax
je 0x4a3112
and dword [ebp - 0x54], ebx
lea ecx, [ebp - 0x34]
push str.upinstall
mov byte [ebp - 0x99], bl
mov byte [ebp - 0x9a], bl
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], bl
call fcn.00402570
lea eax, [ebp - 0x99]
mov ecx, edi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040f020
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00403580
push str.defbrowserchecked
lea ecx, [ebp - 0x34]
call fcn.00402570
lea eax, [ebp - 0x9a]
mov ecx, edi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040f020
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00403580
push str.oldver
lea ecx, [ebp - 0x34]
call fcn.00402570
lea eax, [ebp - 0x64]
mov ecx, edi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040f080
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00403580
push str.safe.browserprotect
lea ecx, [ebp - 0x34]
call fcn.00402570
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x34]
push 1
push eax
call fcn.0040eca0
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00403580
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00403580
cmp dword [ebp - 0x98], ebx
je 0x4a3112
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x98]
call fcn.004124e0
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push dword [ebp - 0xc]
cmovae eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040ad70
xor ebx, ebx
add esp, 0x14
cmp eax, 0xffffffff
setne bl
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
lea ecx, [ebp - 0x4c]
call fcn.00408720
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00403580
push ebx
push str.InstallCompleteNofityLiebao_Dll_Install_End__bRet___d_r_n
push 0x55b31c
call fcn.004a9913
add esp, 0xc
lea ecx, [ebp - 0x7c]
call fcn.00408720
test edi, edi
je 0x4a3155
mov edx, dword [edi]
mov ecx, edi
push 1
call dword [edx]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret