Function at 0x477b1c
Capabilities:
Check if file exists

Disassembly:
push 0x74
mov eax, 0x5eb3c3
call fcn.0059bbd7
mov esi, ecx
mov bl, 1
test esi, esi
jne 0x477b37
xor al, al
jmp 0x477d9d
lea edi, [esi + 0x3c0]
mov eax, dword [edi + 4]
sub eax, dword [edi]
push 0x34
cdq
pop ecx
idiv ecx
test eax, eax
je 0x477b30
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 0x477b78
push dword [ebp - 0x74]
mov ecx, edx
push dword [edi + 4]
push dword [edi]
call fcn.0047fd9e
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 0x477c9f
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.00426ce7
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 0x477c53
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x28]
call fcn.004236f2
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push edi
push eax
call fcn.00423e8e
pop ecx
pop ecx
test al, al
je 0x477c79
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 0x633200
call fcn.005b69b0
pop ecx
push eax
push 0x633200
lea ecx, [ebp - 0x70]
call fcn.004043c3
lea ecx, [ebp - 0x58]
call fcn.00404812
jmp 0x477c55
xor bl, bl
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040b67e
add edi, 0x34
lea eax, [edi - 4]
cmp eax, dword [ebp - 0x7c]
je 0x477c97
jmp 0x477b96
lea ecx, [ebp - 0x58]
xor bl, bl
call fcn.00404812
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040b67e
test bl, bl
je 0x477d8b
push str.app_v_config.dat
lea edx, [esi + 0x35c]
lea ecx, [ebp - 0x40]
call fcn.00411559
pop ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
push 0xc41
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.005373c0
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.00537460
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.004261bf
add esp, 0x10
cmp dword [ebp - 0x74], 0
jne 0x477d41
mov esi, 0x627e3e
push esi
call fcn.005b69b0
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.00537e40
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00404812
lea ecx, [ebp - 0x58]
call fcn.00537400
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x70]
call fcn.00404812
lea ecx, [ebp - 0x80]
call fcn.0040c229
mov al, bl
call fcn.0059bb81
ret