Function at 0x4728d3
Capabilities:
Check if file exists

Disassembly:
push 0xa4
mov eax, 0x5e2c53
call fcn.00593b07
mov edi, ecx
test edi, edi
je 0x472b7d
push 0xc55
push str.HealthMgr::RealAppDownLoad
push str.__s__d___lphealth_begin
call fcn.0040a649
xor eax, eax
add esp, 0xc
mov esi, eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xa8]
lea eax, [edi + 0x3c0]
cmp ecx, eax
je 0x472942
push dword [ebp - 0x9c]
push dword [eax + 4]
push dword [eax]
call fcn.00479a9e
mov esi, dword [ebp - 0xa8]
lea ebx, [edi + 0x35c]
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x472952
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x472970
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x472967
mov eax, dword [ebx]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp esi, dword [ebp - 0xa4]
je 0x472b23
add esi, 4
mov dword [ebp - 0x9c], esi
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
and dword [ebp - 0x14], 0
push ebx
call fcn.0040b155
push 0
mov edx, esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00426805
pop ecx
mov byte [ebp - 4], 2
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
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x472a21
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x28]
call fcn.00423490
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00423c0f
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
test al, al
je 0x472a1c
call fcn.00404812
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040b67e
jmp 0x472b0b
call fcn.00404812
push 0xc74
push str.HealthMgr::RealAppDownLoad
push str.__s__d___bNeedDown_begin
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x98]
call fcn.0040ba47
push 0x170
mov byte [ebp - 4], 3
call fcn.005926f7
pop ecx
mov dword [ebp - 0xac], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040b6b1
mov byte [ebp - 4], 3
mov esi, eax
mov ecx, dword [ebp - 0x9c]
add ecx, 0x18
push ecx
mov ecx, esi
call fcn.0040b8cb
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.0040b155
lea ecx, [ebp - 0x58]
call fcn.00430a1f
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0040b9f4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00404812
push 0x12c
mov ecx, esi
call fcn.0040b8d4
push esi
call fcn.0040bde3
test eax, eax
jne 0x472adb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x98]
call fcn.0040ba62
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040b67e
mov esi, dword [ebp - 0x9c]
add esi, 0x34
mov dword [ebp - 0x9c], esi
lea eax, [esi - 4]
cmp eax, dword [ebp - 0xa4]
jne 0x472985
mov ecx, edi
call fcn.0047264c
test al, al
je 0x472b72
push dword [edi + 0x3ac]
push 0xc88
push str.HealthMgr::RealAppDownLoad
push str.__s__d___IsDownLoadAppVideoOk_ok__d
call fcn.0040a649
mov eax, dword [edi + 0x3ac]
mov edx, str.Software360360huabaohuabao
mov dword [ebp - 0x9c], eax
mov ecx, reloc.WS2_32.dll_accept
lea eax, [ebp - 0x9c]
push eax
push str.request_ver_app_lv
call fcn.00426057
add esp, 0x18
lea ecx, [ebp - 0xa8]
call fcn.0040c229
xor eax, eax
call fcn.00593ab1
ret