Function at 0x47f772
Capabilities:
Check if file exists

Disassembly:
push 0x204
mov eax, 0x5e25e7
call fcn.00592017
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jne 0x47f791
xor al, al
jmp 0x4800e4
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.00430aaf
push ebx
mov edx, esi
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x28]
call fcn.00426802
add esp, 0x1c
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
cmp dword [eax + 0x14], 8
jb 0x47f7cc
mov eax, dword [eax]
push eax
push 0x910
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.0040b67b
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.00416758
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.004168ad
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.00430aaf
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 0x48009e
lea ecx, [ebp - 0x210]
call fcn.00405673
test al, al
jne 0x48009e
call fcn.004056d7
test al, al
je 0x48009e
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.00436f27
push str.soft_md5
lea ecx, [ebp - 0x210]
call fcn.00405401
lea edx, [ebp - 0x40]
mov ecx, eax
call fcn.00436f27
push str.r_p_cmd
lea ecx, [ebp - 0x210]
call fcn.00405401
lea edx, [ebp - 0xe8]
mov ecx, eax
call fcn.00436f27
cmp dword [ebp - 0x78], 0
je 0x48007c
cmp dword [ebp - 0x30], 0
je 0x48007c
and dword [ebp - 0xa8], 0
xor eax, eax
mov dword [ebp - 0xa4], esi
mov word [ebp - 0xb8], ax
push ecx
push 0x6493d0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xa
call fcn.004804af
cmp eax, 0xffffffff
je 0x47f9d6
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.0040b67b
jmp 0x47f9ef
mov esi, str.360_temp.exe
push esi
call fcn.005b93d0
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 0x931
push edi
push str.__s__d___DownLoadAndInstallApp__strUrl___s_strMd5___s
call fcn.0040a649
add esp, 0x14
lea ecx, [ebp - 0x88]
call fcn.0047f58f
test al, al
je 0x47fb49
push 0x934
push edi
push str.__s__d___CheckIsInstall360SE_is_true
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0xe8]
call fcn.0047f60c
test al, al
je 0x47fb49
push 0x936
push edi
push str.__s__d___CheckCanAutoRestoreSecore_is_true
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0xe8]
call fcn.0047f685
test al, al
je 0x47fb36
push 0x938
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, 0x63a8c0
push edi
call fcn.005b93d0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
push 0x64
pop edx
lea ecx, [ebp - 0x70]
call fcn.00420c6f
mov byte [ebp - 4], 0xc
mov ecx, eax
cmp dword [eax + 0x14], esi
jb 0x47fae8
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.0040b67b
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x93e
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.004c4bab
add esp, 0x18
lea ecx, [ebp - 0x28]
jmp 0x48006a
push 0x942
push edi
push str.__s__d___DoRestoreSecore_is_false
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.004250d3
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, 0x63a8c0
test eax, eax
je 0x47fc96
cmp dword [ebp - 0x44], esi
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
cmovae edx, dword [ebp - 0x58]
call fcn.0042348d
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.00426886
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.00426802
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 0x47fc31
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 0x950
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.0040b67b
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00423c0c
pop ecx
pop ecx
test al, al
je 0x47fcad
push 0x952
push str.DownLoadAndInstallApp
push str.__s__d___DownLoadAndInstallApp_file_md5_ok
call fcn.0040a649
add esp, 0xc
jmp 0x47feb2
push 0x958
push str.DownLoadAndInstallApp
push str.__s__d__DownLoadAndInstallApp_file_not_exist
call fcn.0040a649
add esp, 0xc
push 0x95c
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 0x960
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.004c4bab
add esp, 0x18
lea ecx, [ebp - 0x188]
call fcn.0040ba44
push 0x170
mov byte [ebp - 4], 0x12
call fcn.00590c07
pop ecx
mov dword [ebp - 0x1fc], eax
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.0040b6ae
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.00430a1c
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.0040b8c8
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.00430a1c
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0x15
call fcn.0040b9f1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x12
call fcn.00404812
push 0x12c
mov ecx, esi
call fcn.0040b8d1
push esi
call fcn.0040bde0
mov esi, eax
test esi, esi
je 0x47fdfa
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push 0x969
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.005b93d0
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.005b93d0
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 0x47fe55
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.0040b67b
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x970
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.004c4bab
add esp, 0x18
lea ecx, [ebp - 0x188]
call fcn.0040ba5f
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.0040b67b
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 0x480051
cmp dword [ebp - 0x44], esi
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
cmovae edx, dword [ebp - 0x58]
call fcn.0042348d
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.00426886
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.00426802
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 0x47ff3b
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 0x977
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.0040b67b
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00423c0c
pop ecx
pop ecx
test al, al
je 0x47ff9b
push ecx
push ecx
lea edx, [ebp - 0xe8]
lea ecx, [ebp - 0x58]
call fcn.004c3c52
pop ecx
pop ecx
mov esi, eax
jmp 0x47ffb1
push 0x97c
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.005b93d0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.00420c6f
mov byte [ebp - 4], 0x19
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x480002
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.0040b67b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x983
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.004c4bab
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.0040b67b
lea ecx, [ebp - 0xd0]
call fcn.00404812
lea ecx, [ebp - 0xa0]
call fcn.00404812
lea ecx, [ebp - 0x58]
call fcn.0040b67b
lea ecx, [ebp - 0xb8]
call fcn.0040b67b
jmp 0x48007e
xor bl, bl
lea ecx, [ebp - 0xe8]
call fcn.0040b67b
lea ecx, [ebp - 0x40]
call fcn.0040b67b
lea ecx, [ebp - 0x88]
call fcn.0040b67b
jmp 0x4800a0
xor bl, bl
lea ecx, [ebp - 0x130]
call fcn.0040b67b
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.0040b67b
mov al, bl
call fcn.00591fc1
ret