Function at 0x4802fe
Capabilities:
Check if file exists

Disassembly:
push 0x204
mov eax, 0x5e424d
call fcn.00593b07
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jne 0x48031d
xor al, al
jmp 0x480c70
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.00430ab2
push ebx
mov edx, esi
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x28]
call fcn.00426805
add esp, 0x1c
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
cmp dword [eax + 0x14], 8
jb 0x480358
mov eax, dword [eax]
push eax
push 0x925
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.0041675b
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.004168b0
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.00430ab2
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 0x480c2a
lea ecx, [ebp - 0x210]
call fcn.00405673
test al, al
jne 0x480c2a
call fcn.004056d7
test al, al
je 0x480c2a
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.00436f2a
push str.soft_md5
lea ecx, [ebp - 0x210]
call fcn.00405401
lea edx, [ebp - 0x40]
mov ecx, eax
call fcn.00436f2a
push str.r_p_cmd
lea ecx, [ebp - 0x210]
call fcn.00405401
lea edx, [ebp - 0xe8]
mov ecx, eax
call fcn.00436f2a
cmp dword [ebp - 0x78], 0
je 0x480c08
cmp dword [ebp - 0x30], 0
je 0x480c08
and dword [ebp - 0xa8], 0
xor eax, eax
mov dword [ebp - 0xa4], esi
mov word [ebp - 0xb8], ax
push ecx
push 0x64ba10
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xa
call fcn.0048103b
cmp eax, 0xffffffff
je 0x480562
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 0x48057b
mov esi, str.360_temp.exe
push esi
call fcn.005baec0
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 0x946
push edi
push str.__s__d___DownLoadAndInstallApp__strUrl___s_strMd5___s
call fcn.0040a649
add esp, 0x14
lea ecx, [ebp - 0x88]
call fcn.0048011b
test al, al
je 0x4806d5
push 0x949
push edi
push str.__s__d___CheckIsInstall360SE_is_true
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0xe8]
call fcn.00480198
test al, al
je 0x4806d5
push 0x94b
push edi
push str.__s__d___CheckCanAutoRestoreSecore_is_true
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0xe8]
call fcn.00480211
test al, al
je 0x4806c2
push 0x94d
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, 0x63cab0
push edi
call fcn.005baec0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
push 0x64
pop edx
lea ecx, [ebp - 0x70]
call fcn.00420c72
mov byte [ebp - 4], 0xc
mov ecx, eax
cmp dword [eax + 0x14], esi
jb 0x480674
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 0x953
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.004c6673
add esp, 0x18
lea ecx, [ebp - 0x28]
jmp 0x480bf6
push 0x957
push edi
push str.__s__d___DoRestoreSecore_is_false
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.004250d6
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, 0x63cab0
test eax, eax
je 0x480822
cmp dword [ebp - 0x44], esi
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
cmovae edx, dword [ebp - 0x58]
call fcn.00423490
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.00426889
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.00426805
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 0x4807bd
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 0x965
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.00423c0f
pop ecx
pop ecx
test al, al
je 0x480839
push 0x967
push str.DownLoadAndInstallApp
push str.__s__d___DownLoadAndInstallApp_file_md5_ok
call fcn.0040a649
add esp, 0xc
jmp 0x480a3e
push 0x96d
push str.DownLoadAndInstallApp
push str.__s__d__DownLoadAndInstallApp_file_not_exist
call fcn.0040a649
add esp, 0xc
push 0x971
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 0x975
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.004c6673
add esp, 0x18
lea ecx, [ebp - 0x188]
call fcn.0040ba47
push 0x170
mov byte [ebp - 4], 0x12
call fcn.005926f7
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.00430a1f
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.00430a1f
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 0x480986
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push 0x97e
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.005baec0
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.005baec0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.00456b2d
push 8
pop esi
mov byte [ebp - 4], 0x16
mov ecx, eax
cmp dword [eax + 0x14], esi
jb 0x4809e1
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 0x985
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.004c6673
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 0x480bdd
cmp dword [ebp - 0x44], esi
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
cmovae edx, dword [ebp - 0x58]
call fcn.00423490
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.00426889
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.00426805
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 0x480ac7
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 0x98c
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.00423c0f
pop ecx
pop ecx
test al, al
je 0x480b27
push ecx
push ecx
lea edx, [ebp - 0xe8]
lea ecx, [ebp - 0x58]
call fcn.004c5389
pop ecx
pop ecx
mov esi, eax
jmp 0x480b3d
push 0x991
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.005baec0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.00420c72
mov byte [ebp - 4], 0x19
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x480b8e
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 0x998
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.004c6673
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 0x480c0a
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 0x480c2c
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.00593ab1
ret