Function at 0x471b7d
Capabilities:
Check if file exists

Disassembly:
push 0x74
mov eax, 0x5e1096
call fcn.00592017
mov esi, ecx
mov bl, 1
test esi, esi
jne 0x471b98
xor al, al
jmp 0x471dfe
lea edi, [esi + 0x3c0]
mov eax, dword [edi + 4]
sub eax, dword [edi]
push 0x34
cdq
pop ecx
idiv ecx
test eax, eax
je 0x471b91
xor eax, eax
xor ecx, ecx
and dword [ebp - 0x78], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
and dword [ebp - 4], ecx
lea edx, [ebp - 0x80]
cmp edx, edi
je 0x471bd9
push dword [ebp - 0x74]
mov ecx, edx
push dword [edi + 4]
push dword [edi]
call fcn.0047902a
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
and dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 1
cmp eax, ecx
je 0x471d00
lea edi, [eax + 4]
and dword [ebp - 0x18], 0
lea ecx, [esi + 0x35c]
and dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040b155
push 0xfde9
mov edx, edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00426802
pop ecx
mov byte [ebp - 4], 3
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 0x471cb4
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]
mov byte [ebp - 4], 4
push edi
push eax
call fcn.00423c0c
pop ecx
pop ecx
test al, al
je 0x471cda
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x70]
push eax
call fcn.004043c3
push 0x6280b8
call fcn.005acdf0
pop ecx
push eax
push 0x6280b8
lea ecx, [ebp - 0x70]
call fcn.004043c3
lea ecx, [ebp - 0x58]
call fcn.00404812
jmp 0x471cb6
xor bl, bl
lea ecx, [ebp - 0x40]
call fcn.0040b67b
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040b67b
add edi, 0x34
lea eax, [edi - 4]
cmp eax, dword [ebp - 0x7c]
je 0x471cf8
jmp 0x471bf7
lea ecx, [ebp - 0x58]
xor bl, bl
call fcn.00404812
lea ecx, [ebp - 0x40]
call fcn.0040b67b
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040b67b
test bl, bl
je 0x471dec
push str.app_v_config.dat
lea edx, [esi + 0x35c]
lea ecx, [ebp - 0x40]
call fcn.0041154b
pop ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
push 0xc3f
push str.HealthMgr::IsDownLoadAppVideoOk
push str.__s__d___update_app_video_config__s
call fcn.0040a649
add esp, 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
call fcn.0052db10
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0052dbb0
and dword [ebp - 0x74], 0
lea eax, [ebp - 0x74]
push eax
push str.request_ver_app_lv
mov edx, str.Software360360huabaohuabao
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425cda
add esp, 0x10
cmp dword [ebp - 0x74], 0
jne 0x471da2
mov esi, 0x61ce3e
push esi
call fcn.005acdf0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040464f
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x28]
push eax
call fcn.004043c3
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0052e590
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00404812
lea ecx, [ebp - 0x58]
call fcn.0052db50
lea ecx, [ebp - 0x40]
call fcn.0040b67b
lea ecx, [ebp - 0x70]
call fcn.00404812
lea ecx, [ebp - 0x80]
call fcn.0040c226
mov al, bl
call fcn.00591fc1
ret