Function at 0x471e04
Capabilities:
Check if file exists

Disassembly:
push 0xa4
mov eax, 0x5e102e
call fcn.00592017
mov edi, ecx
test edi, edi
je 0x4720ae
push 0xc53
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 0x471e73
push dword [ebp - 0x9c]
push dword [eax + 4]
push dword [eax]
call fcn.0047902a
mov esi, dword [ebp - 0xa8]
lea ebx, [edi + 0x35c]
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x471e83
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x471ea1
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x471e98
mov eax, dword [ebx]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp esi, dword [ebp - 0xa4]
je 0x472054
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.00426802
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 0x471f52
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x28]
call fcn.0042348d
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00423c0c
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
test al, al
je 0x471f4d
call fcn.00404812
lea ecx, [ebp - 0x40]
call fcn.0040b67b
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040b67b
jmp 0x47203c
call fcn.00404812
push 0xc72
push str.HealthMgr::RealAppDownLoad
push str.__s__d___bNeedDown_begin
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x98]
call fcn.0040ba44
push 0x170
mov byte [ebp - 4], 3
call fcn.00590c07
pop ecx
mov dword [ebp - 0xac], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040b6ae
mov byte [ebp - 4], 3
mov esi, eax
mov ecx, dword [ebp - 0x9c]
add ecx, 0x18
push ecx
mov ecx, esi
call fcn.0040b8c8
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.00430a1c
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0040b9f1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00404812
push 0x12c
mov ecx, esi
call fcn.0040b8d1
push esi
call fcn.0040bde0
test eax, eax
jne 0x47200c
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.0040ba5f
lea ecx, [ebp - 0x40]
call fcn.0040b67b
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040b67b
mov esi, dword [ebp - 0x9c]
add esi, 0x34
mov dword [ebp - 0x9c], esi
lea eax, [esi - 4]
cmp eax, dword [ebp - 0xa4]
jne 0x471eb6
mov ecx, edi
call fcn.00471b7d
test al, al
je 0x4720a3
push dword [edi + 0x3ac]
push 0xc86
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.00426054
add esp, 0x18
lea ecx, [ebp - 0xa8]
call fcn.0040c226
xor eax, eax
call fcn.00591fc1
ret