Function at 0x471893
Capabilities:
Check if file exists

Disassembly:
push 0xa4
mov eax, 0x5e102e
call fcn.00592017
mov ebx, ecx
test ebx, ebx
je 0x471b22
push 0xbcd
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 0x471902
push dword [ebp - 0x9c]
push dword [eax + 4]
push dword [eax]
call fcn.0047902a
mov esi, dword [ebp - 0xa8]
lea edi, [ebx + 0x35c]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x471912
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x471930
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x471927
mov eax, dword [edi]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp esi, dword [ebp - 0xa4]
je 0x471ae3
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.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 0x4719e1
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 0x4719dc
call fcn.00404812
lea ecx, [ebp - 0x40]
call fcn.0040b67b
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040b67b
jmp 0x471acb
call fcn.00404812
push 0xbee
push str.HealthMgr::RealDownLoad
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 0x471a9b
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 0x471945
mov ecx, ebx
call fcn.00471758
test al, al
je 0x471b17
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.00426054
pop ecx
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.0040c226
xor eax, eax
call fcn.00591fc1
ret