Function at 0x472362
Capabilities:
Check if file exists

Disassembly:
push 0xa4
mov eax, 0x5e2c53
call fcn.00593b07
mov ebx, ecx
test ebx, ebx
je 0x4725f1
push 0xbcf
push str.HealthMgr::RealDownLoad
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, [ebx + 0x3a0]
cmp ecx, eax
je 0x4723d1
push dword [ebp - 0x9c]
push dword [eax + 4]
push dword [eax]
call fcn.00479a9e
mov esi, dword [ebp - 0xa8]
lea edi, [ebx + 0x35c]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4723e1
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4723ff
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4723f6
mov eax, dword [edi]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp esi, dword [ebp - 0xa4]
je 0x4725b2
add esi, 4
mov dword [ebp - 0x9c], esi
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
and dword [ebp - 0x14], 0
push edi
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 0x4724b0
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 0x4724ab
call fcn.00404812
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040b67e
jmp 0x47259a
call fcn.00404812
push 0xbf0
push str.HealthMgr::RealDownLoad
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 0x47256a
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 0x472414
mov ecx, ebx
call fcn.00472227
test al, al
je 0x4725e6
mov eax, dword [ebx + 0x38c]
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_lv
call fcn.00426057
pop ecx
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.0040c229
xor eax, eax
call fcn.00593ab1
ret