Function at 0x46c6e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x4eb664]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.InstallCompleteNofityLiebao_Dll_Install_Begin_r_n
push 0x4eee98
mov esi, ecx
call fcn.004738c9
push 0x10
xor ebx, ebx
call fcn.00449b05
add esp, 0xc
test eax, eax
je 0x46c722
mov ecx, eax
call fcn.0047be18
mov edi, eax
jmp 0x46c724
mov edi, ebx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xa0], edi
call fcn.0047a0eb
lea ecx, [ebp - 0x4c]
call fcn.0047a0eb
push dword [esi + 0x20]
lea ecx, [ebp - 0x64]
call fcn.0040513a
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], ebx
mov byte [ebp - 0x1c], bl
call fcn.0047a0b4
push eax
lea ecx, [ebp - 0x7c]
call fcn.0047a13d
lea ecx, [ebp - 0x34]
call fcn.0047a0fe
push str.install_info.json
lea ecx, [ebp - 0x34]
call fcn.0040513a
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0047a176
push eax
lea ecx, [ebp - 0x4c]
call fcn.0047a13d
lea ecx, [ebp - 0x94]
call fcn.0047a0fe
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00405ac5
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0047e315
pop ecx
pop ecx
test al, al
jne 0x46c7e1
lea ecx, [ebp - 0x1c]
call fcn.004073c4
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00405ac5
lea ecx, [ebp - 0x4c]
call fcn.0047a0fe
jmp 0x46c862
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.0047e3a0
mov esi, eax
pop ecx
test esi, esi
je 0x46c7c1
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], ebx
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x24]
test al, al
jne 0x46c830
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x46c7c1
push dword [ebp - 0x98]
lea ecx, [ebp - 0xa0]
call fcn.00472f44
lea ecx, [ebp - 0x1c]
call fcn.004073c4
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00405ac5
lea ecx, [ebp - 0x4c]
call fcn.0047a0fe
mov edi, dword [ebp - 0xa0]
push str.Local_State
lea ecx, [ebp - 0x34]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], ebx
mov byte [ebp - 0x1c], bl
call fcn.0040513a
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0047a176
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00405ac5
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x98], ebx
call fcn.0047e315
pop ecx
pop ecx
test al, al
je 0x46ca39
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.0047e3a0
mov esi, eax
pop ecx
test esi, esi
je 0x46ca39
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 0x46c919
mov eax, dword [esi]
lea ecx, [ebp - 0x98]
push ecx
mov ecx, esi
call dword [eax + 0x24]
test al, al
je 0x46ca31
mov eax, dword [ebp - 0x98]
jmp 0x46c936
push 0x10
call fcn.00449b05
pop ecx
test eax, eax
je 0x46c92e
mov ecx, eax
call fcn.0047be18
jmp 0x46c930
mov eax, ebx
mov dword [ebp - 0x98], eax
test eax, eax
je 0x46ca31
push str.upinstall
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x99], bl
mov byte [ebp - 0x9a], bl
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.00407395
lea eax, [ebp - 0x99]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
call fcn.0047c7ab
lea ecx, [ebp - 0x34]
call fcn.004073c4
push str.defbrowserchecked
lea ecx, [ebp - 0x34]
call fcn.00407395
lea eax, [ebp - 0x9a]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
call fcn.0047c7ab
lea ecx, [ebp - 0x34]
call fcn.004073c4
push str.oldver
lea ecx, [ebp - 0x34]
call fcn.00407395
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
call fcn.0047c85a
lea ecx, [ebp - 0x34]
call fcn.004073c4
push str.safe.browserprotect
lea ecx, [ebp - 0x34]
call fcn.00407395
mov ecx, dword [ebp - 0x98]
push 1
lea eax, [ebp - 0x34]
push eax
call fcn.0047cb7f
lea ecx, [ebp - 0x34]
call fcn.004073c4
lea ecx, [ebp - 0x64]
call fcn.004073c4
cmp dword [ebp - 0x98], ebx
je 0x46ca31
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x98]
call fcn.0047e94e
cmp dword [ebp - 8], 0x10
push dword [ebp - 0xc]
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0047b4f6
xor ebx, ebx
add esp, 0x14
cmp eax, 0xffffffff
setne bl
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea ecx, [ebp - 0x4c]
call fcn.0047a0fe
lea ecx, [ebp - 0x1c]
call fcn.004073c4
push ebx
push str.InstallCompleteNofityLiebao_Dll_Install_End__bRet___d_r_n
push 0x4eee98
call fcn.004738c9
add esp, 0xc
lea ecx, [ebp - 0x7c]
call fcn.0047a0fe
test edi, edi
je 0x46ca70
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0048f059
leave
ret