Function at 0x4d59d7
Capabilities:
Check if file exists

Disassembly:
push 0x9c
mov eax, 0x534cc5
call fcn.004f2332
mov edi, ecx
push str.InstallCompleteNofityLiebao_Dll_Install_Begin_r_n
push 0x5aea00
call fcn.004de360
push 0x10
xor ebx, ebx
call fcn.004b2155
add esp, 0xc
mov dword [ebp - 0x98], eax
and dword [ebp - 4], ebx
test eax, eax
je 0x4d5a1b
mov ecx, eax
call fcn.0041f010
mov esi, eax
jmp 0x4d5a1d
xor esi, esi
mov dword [ebp - 0x98], esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 1
call fcn.00419580
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00419580
push dword [edi + 0x20]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00417260
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push ecx
push ecx
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
mov ecx, esp
push eax
call fcn.0041a660
lea ecx, [ebp - 0x58]
call fcn.004195a0
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
call fcn.00419650
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00419620
push ecx
push ecx
mov edi, esp
mov eax, str.install_info.json
push eax
mov dword [edi], eax
call fcn.00416680
pop ecx
mov dword [edi + 4], eax
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0x58]
push eax
call fcn.00419c30
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00419650
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00419620
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00421780
pop ecx
pop ecx
test al, al
jne 0x4d5b0d
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004178d0
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.00417d20
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00419620
jmp 0x4d5bc8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00421610
pop ecx
pop ecx
mov ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x4d5ae4
xor edi, edi
lea edx, [ebp - 0x8c]
mov dword [ebp - 0x8c], edi
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
test al, al
jne 0x4d5b87
mov ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x4d5b76
mov eax, dword [ecx]
push 1
call dword [eax]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.004178d0
push edi
jmp 0x4d5af2
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x98]
call fcn.00420ae0
and dword [ebp - 0x90], edi
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004178d0
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.00417d20
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00419620
mov esi, dword [ebp - 0x98]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push ecx
push ecx
mov edi, esp
mov byte [ebp - 4], 9
mov eax, str.Local_State
push eax
mov dword [edi], eax
call fcn.00416680
pop ecx
mov dword [edi + 4], eax
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0x40]
push eax
call fcn.00419c30
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x40]
xor edi, edi
push eax
mov dword [ebp - 0x8c], edi
call fcn.00421780
pop ecx
pop ecx
test al, al
je 0x4d5e06
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00421610
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x90], edi
je 0x4d5e06
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d5c99
mov ecx, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
test al, al
je 0x4d5df2
mov eax, dword [ebp - 0x8c]
jmp 0x4d5cc0
push 0x10
call fcn.004b2155
pop ecx
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4d5cb8
mov ecx, eax
call fcn.0041f010
jmp 0x4d5cba
mov eax, edi
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x4d5df2
xor eax, eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x91], al
mov byte [ebp - 0x92], al
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x70], al
push str.upinstall
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.004170e0
lea eax, [ebp - 0x91]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.0041f8a0
xor edi, edi
mov byte [ebp - 4], 0xd
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.004178d0
push str.defbrowserchecked
lea ecx, [ebp - 0x58]
call fcn.004170e0
lea eax, [ebp - 0x92]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.0041f8a0
push edi
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.004178d0
push str.oldver
lea ecx, [ebp - 0x58]
call fcn.004170e0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.0041f940
push edi
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.004178d0
push str.safe.browserprotect
lea ecx, [ebp - 0x58]
call fcn.004170e0
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x58]
push 1
push eax
mov byte [ebp - 4], 0x11
call fcn.0041f3f0
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.004178d0
push edi
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xb
call fcn.004178d0
cmp dword [ebp - 0x8c], edi
je 0x4d5df2
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x8c]
call fcn.00427f60
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041bf40
xor ebx, ebx
add esp, 0x14
cmp eax, 0xffffffff
setne bl
mov ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x4d5e06
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.00419620
push edi
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004178d0
push ebx
push str.InstallCompleteNofityLiebao_Dll_Install_End__bRet___d_r_n
push 0x5aea00
call fcn.004de360
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00419620
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4d5e53
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov eax, ebx
call fcn.004f22e1
ret