Function at 0x48662f
Capabilities:
Check if file exists

Disassembly:
push 0x204
mov eax, 0x5ecbd0
call fcn.0059bbd7
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jne 0x48664e
xor al, al
jmp 0x486fa1
sub esp, 0x18
mov ecx, esp
push esi
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404267
lea ecx, [ebp - 0x148]
call fcn.00435b82
push ebx
mov edx, esi
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x28]
call fcn.00426ce7
add esp, 0x1c
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
cmp dword [eax + 0x14], 8
jb 0x486689
mov eax, dword [eax]
push eax
push 0x926
mov edi, str.DownLoadAndInstallApp
push edi
push str.__s__d___DownLoadAndInstallApp__config___s
call fcn.0040a649
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp - 0x1f8]
call fcn.00401c84
push 0
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 2
call fcn.00404ba6
and dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0xf
mov byte [ebp - 0x118], 0
lea edx, [ebp - 0x118]
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.00416984
and dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x118]
mov ecx, str.0aa4efce
call fcn.00416ad9
sub esp, 0x14
lea eax, [ebp - 0x100]
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.00404267
lea ecx, [ebp - 0x130]
call fcn.00435b82
add esp, 0x18
push ebx
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.00401d1d
test al, al
je 0x486f5b
lea ecx, [ebp - 0x210]
call fcn.00405673
test al, al
jne 0x486f5b
call fcn.004056d7
test al, al
je 0x486f5b
push 7
xor ecx, ecx
xor eax, eax
pop esi
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], esi
mov word [ebp - 0x88], ax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x40], ax
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd4], esi
mov word [ebp - 0xe8], ax
push str.soft_url
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 9
call fcn.00405401
lea edx, [ebp - 0x88]
mov ecx, eax
call fcn.0043bffa
push str.soft_md5
lea ecx, [ebp - 0x210]
call fcn.00405401
lea edx, [ebp - 0x40]
mov ecx, eax
call fcn.0043bffa
push str.r_p_cmd
lea ecx, [ebp - 0x210]
call fcn.00405401
lea edx, [ebp - 0xe8]
mov ecx, eax
call fcn.0043bffa
cmp dword [ebp - 0x78], 0
je 0x486f39
cmp dword [ebp - 0x30], 0
je 0x486f39
and dword [ebp - 0xa8], 0
xor eax, eax
mov dword [ebp - 0xa4], esi
mov word [ebp - 0xb8], ax
push ecx
push 0x655890
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xa
call fcn.0048736c
cmp eax, 0xffffffff
je 0x486893
lea ecx, [ebp - 0x1fd]
inc eax
push ecx
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b1d0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040b0ac
lea ecx, [ebp - 0x28]
call fcn.0040b67e
jmp 0x4868ac
mov esi, str.360_temp.exe
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0xb8]
call fcn.0040b566
push 8
pop esi
cmp dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x88]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x74], esi
push ecx
cmovae eax, dword [ebp - 0x88]
push eax
push 0x947
push edi
push str.__s__d___DownLoadAndInstallApp__strUrl___s_strMd5___s
call fcn.0040a649
add esp, 0x14
lea ecx, [ebp - 0x88]
call fcn.0048644c
test al, al
je 0x486a06
push 0x94a
push edi
push str.__s__d___CheckIsInstall360SE_is_true
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0xe8]
call fcn.004864c9
test al, al
je 0x486a06
push 0x94c
push edi
push str.__s__d___CheckCanAutoRestoreSecore_is_true
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0xe8]
call fcn.00486542
test al, al
je 0x4869f3
push 0x94e
push edi
push str.__s__d___DoRestoreSecore_is_true
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x28]
push str.https:__dd.browser.360.cn_static_a_1360.2280.gif__referer
call fcn.0040b0d5
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040b220
mov edi, 0x646898
push edi
call fcn.005c2f90
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
push 0x64
pop edx
lea ecx, [ebp - 0x70]
call fcn.00420ed4
mov byte [ebp - 4], 0xc
mov ecx, eax
cmp dword [eax + 0x14], esi
jb 0x4869a5
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040b220
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xb
call fcn.0040b67e
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x954
push str.DownLoadAndInstallApp
push str.__s__d___stat_download_end:_s
call fcn.0040a649
push ebx
push ebx
mov dl, bl
lea ecx, [ebp - 0x28]
call fcn.004ce396
add esp, 0x18
lea ecx, [ebp - 0x28]
jmp 0x486f27
push 0x958
push edi
push str.__s__d___DoRestoreSecore_is_false
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.00425588
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], esi
lea ecx, [ebp - 0x58]
push dword [ebp - 0xa8]
cmovae eax, dword [ebp - 0xb8]
push eax
call fcn.0040b220
push 0xf
xor eax, eax
pop ecx
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 0xa0], al
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 0xd0], al
mov byte [ebp - 4], cl
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], esi
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, 0x646898
test eax, eax
je 0x486b53
cmp dword [ebp - 0x44], esi
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
cmovae edx, dword [ebp - 0x58]
call fcn.004236f2
push eax
lea ecx, [ebp - 0xa0]
call fcn.00409145
lea ecx, [ebp - 0x70]
call fcn.00404812
push 0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x70]
call fcn.00426d6b
pop ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.00409145
lea ecx, [ebp - 0x70]
call fcn.00404812
push 0
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x70]
call fcn.00426ce7
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], esi
cmovae edx, dword [ebp - 0x40]
cmp dword [ecx + 0x14], esi
jb 0x486aee
mov ecx, dword [ecx]
cmp dword [ebp - 0x44], esi
lea eax, [ebp - 0x58]
push edx
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
push 0x966
push str.DownLoadAndInstallApp
push str.__s__d___DownLoadAndInstallApp_strFile__s_strFileMd5___s_strMd5___s
call fcn.0040a649
add esp, 0x18
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x70]
call fcn.0040b67e
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00423e8e
pop ecx
pop ecx
test al, al
je 0x486b6a
push 0x968
push str.DownLoadAndInstallApp
push str.__s__d___DownLoadAndInstallApp_file_md5_ok
call fcn.0040a649
add esp, 0xc
jmp 0x486d6f
push 0x96e
push str.DownLoadAndInstallApp
push str.__s__d__DownLoadAndInstallApp_file_not_exist
call fcn.0040a649
add esp, 0xc
push 0x972
push str.DownLoadAndInstallApp
push str.__s__d___DownLoadAndInstallApp_download__begin
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x28]
push str.https:__dd.browser.360.cn_static_a_1360.8435.gif__referer
call fcn.0040b0d5
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040b220
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x976
push str.DownLoadAndInstallApp
push str.__s__d___stat_download_start:_s
call fcn.0040a649
push ebx
push ebx
mov dl, bl
lea ecx, [ebp - 0x28]
call fcn.004ce396
add esp, 0x18
lea ecx, [ebp - 0x188]
call fcn.0040ba47
push 0x170
mov byte [ebp - 4], 0x12
call fcn.0059a7c1
pop ecx
mov dword [ebp - 0x1fc], eax
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.0040b6b1
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
mov esi, eax
lea eax, [ebp - 0x88]
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.0040b155
lea ecx, [ebp - 0x70]
call fcn.00435a2c
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.0040b8cb
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x12
call fcn.00404812
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.0040b155
lea ecx, [ebp - 0x70]
call fcn.00435a2c
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0x15
call fcn.0040b9f4
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x12
call fcn.00404812
push 0x12c
mov ecx, esi
call fcn.0040b8d4
push esi
call fcn.0040bde3
mov esi, eax
test esi, esi
je 0x486cb7
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push 0x97f
push str.DownLoadAndInstallApp
push str.__s__d___HttpDownloadSync_watermark:_s
call fcn.0040a649
add esp, 0x10
push str.https:__dd.browser.360.cn_static_a_1360.800.gif__referer
call fcn.005c2f90
pop ecx
push eax
push str.https:__dd.browser.360.cn_static_a_1360.800.gif__referer
lea ecx, [ebp - 0x28]
call fcn.0040b566
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040b220
push edi
call fcn.005c2f90
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.0045bbd2
push 8
pop esi
mov byte [ebp - 4], 0x16
mov ecx, eax
cmp dword [eax + 0x14], esi
jb 0x486d12
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040b220
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x12
call fcn.0040b67e
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x986
push str.DownLoadAndInstallApp
push str.__s__d___stat_download_end:_s
call fcn.0040a649
push ebx
push ebx
mov dl, bl
lea ecx, [ebp - 0x28]
call fcn.004ce396
add esp, 0x18
lea ecx, [ebp - 0x188]
call fcn.0040ba62
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.0040b67e
cmp dword [ebp - 0x44], esi
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486f0e
cmp dword [ebp - 0x44], esi
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
cmovae edx, dword [ebp - 0x58]
call fcn.004236f2
push eax
lea ecx, [ebp - 0xa0]
call fcn.00409145
lea ecx, [ebp - 0x70]
call fcn.00404812
push 0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x70]
call fcn.00426d6b
pop ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.00409145
lea ecx, [ebp - 0x70]
call fcn.00404812
push 0
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x70]
call fcn.00426ce7
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], esi
cmovae edx, dword [ebp - 0x40]
cmp dword [ecx + 0x14], esi
jb 0x486df8
mov ecx, dword [ecx]
cmp dword [ebp - 0x44], esi
lea eax, [ebp - 0x58]
push edx
cmovae eax, dword [ebp - 0x58]
mov esi, str.DownLoadAndInstallApp
push ecx
push eax
push 0x98d
push esi
push str.__s__d___DownLoadAndInstallApp_strFile__s_strFileMd5___s_strMd5___s
call fcn.0040a649
add esp, 0x18
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x70]
call fcn.0040b67e
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00423e8e
pop ecx
pop ecx
test al, al
je 0x486e58
push ecx
push ecx
lea edx, [ebp - 0xe8]
lea ecx, [ebp - 0x58]
call fcn.004ccec1
pop ecx
pop ecx
mov esi, eax
jmp 0x486e6e
push 0x992
push esi
push str.__s__d___DownLoadAndInstallApp_ad_download_error
call fcn.0040a649
add esp, 0xc
push 2
pop esi
push str.https:__dd.browser.360.cn_static_a_1360.2280.gif__referer
lea ecx, [ebp - 0x28]
call fcn.0040b0d5
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040b220
push edi
call fcn.005c2f90
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.00420ed4
mov byte [ebp - 4], 0x19
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x486ebf
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040b220
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x18
call fcn.0040b67e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x999
push str.DownLoadAndInstallApp
push str.__s__d___stat_download_end:_s
call fcn.0040a649
push ebx
push ebx
mov dl, bl
lea ecx, [ebp - 0x28]
call fcn.004ce396
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp - 0xd0]
call fcn.00404812
lea ecx, [ebp - 0xa0]
call fcn.00404812
lea ecx, [ebp - 0x58]
call fcn.0040b67e
lea ecx, [ebp - 0xb8]
call fcn.0040b67e
jmp 0x486f3b
xor bl, bl
lea ecx, [ebp - 0xe8]
call fcn.0040b67e
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x88]
call fcn.0040b67e
jmp 0x486f5d
xor bl, bl
lea ecx, [ebp - 0x130]
call fcn.0040b67e
lea ecx, [ebp - 0x100]
call fcn.00404812
lea ecx, [ebp - 0x118]
call fcn.00404812
lea ecx, [ebp - 0x210]
call fcn.00404dbc
lea ecx, [ebp - 0x1f8]
call fcn.00402bc3
lea ecx, [ebp - 0x148]
call fcn.0040b67e
mov al, bl
call fcn.0059bb81
ret