Function at 0x4b7653
Capabilities:
Check if file exists

Disassembly:
push pe_nt_image_headers32
mov eax, 0x5ea0a6
call fcn.00593b07
mov edi, ecx
mov dword [ebp - 0x12c], edi
mov eax, dword [ebp + 0xc]
mov edx, str.Software360360huabao
mov esi, dword [ebp + 8]
mov ecx, reloc.WS2_32.dll_accept
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x120]
push eax
push str.loop_is_start
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x120], 1
call fcn.00426057
xor ebx, ebx
mov dword [ebp - 0x5c], 0xf
pop ecx
pop ecx
mov byte [ebp - 0x119], bl
mov dword [ebp - 0x60], ebx
mov byte [ebp - 0x70], bl
mov dword [ebp - 4], ebx
cmp dword [edi + 0x90], 4
jne 0x4b76f7
lea eax, [ebp - 0x119]
mov ecx, edi
push eax
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.004b7377
test al, al
jne 0x4b7724
push 0x22e
push str.PicLoopMgr::SetWallpaper
push str.__s__d___current_wallpaper_is_vip
call fcn.0040a649
add esp, 0xc
jmp 0x4b7a7f
cmp dword [edi + 0x1d8], 2
jne 0x4b7724
push 0x661230
lea ecx, [ebp - 0x28]
call fcn.004045aa
push ebx
xor dl, dl
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.0045e857
pop ecx
lea ecx, [ebp - 0x28]
call fcn.00404812
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 3
mov eax, dword [esi + 0xb8]
sub eax, dword [esi + 0xb4]
push 0x68
cdq
pop ecx
idiv ecx
test eax, eax
je 0x4b7922
lea ecx, [esi + 0x9c]
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x4b776b
mov eax, dword [ecx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4b78a8
mov ecx, dword [esi + 0xb8]
mov eax, dword [esi + 0xb4]
mov dword [ebp - 0x128], ecx
cmp eax, ecx
je 0x4b78a8
mov edi, eax
push edi
lea ecx, [ebp - 0xd8]
call fcn.004831cb
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4b787e
lea ecx, [ebp - 0x118]
call fcn.0040ba47
push 0x170
mov byte [ebp - 4], 5
call fcn.005926f7
pop ecx
mov dword [ebp - 0x120], eax
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0040b6b1
mov esi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0xd0]
mov ecx, esi
push eax
call fcn.0040b8cb
lea eax, [ebp - 0xa0]
mov ecx, esi
push eax
call fcn.0040b9f4
push 3
mov ecx, esi
call fcn.0040b8d4
push esi
call fcn.0040bde3
test eax, eax
je 0x4b7873
sub esp, 0x18
lea eax, [ebp - 0xa0]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404267
lea ecx, [ebp - 0x28]
call fcn.00430ab2
add esp, 0x18
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x4b7853
mov eax, dword [eax]
push eax
push 0x249
push str.PicLoopMgr::SetWallpaper
push str.__s__d___HttpDownloadSync_watermark:_s
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp - 0x118]
call fcn.0040ba62
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call fcn.0048546c
add edi, 0x68
cmp edi, dword [ebp - 0x128]
jne 0x4b7796
mov edi, dword [ebp - 0x12c]
mov esi, dword [ebp - 0x130]
lea ecx, [edi + 0xc0]
cmp dword [ecx + 0x14], 8
jb 0x4b78b6
mov ecx, dword [ecx]
xor edx, edx
inc edx
call fcn.00427db0
mov ecx, esi
call fcn.004b4eff
push 0xfde9
lea edx, [esi + 0x9c]
lea ecx, [ebp - 0x28]
call fcn.00426805
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0040b0ac
lea ecx, [ebp - 0x28]
call fcn.0040b67e
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b7922
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x40]
sub esp, 0x18
mov ecx, esp
call fcn.00423490
lea ecx, [ebp - 0x28]
call fcn.00430ab2
add esp, 0x18
jmp 0x4b7951
push 0xfde9
lea edx, [esi + 0x44]
lea ecx, [ebp - 0x28]
call fcn.00426805
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0040b0ac
lea ecx, [ebp - 0x28]
call fcn.0040b67e
push ebx
lea edx, [esi + 0x14]
lea ecx, [ebp - 0x28]
call fcn.00426805
pop ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.0040b0ac
lea ecx, [ebp - 0x28]
call fcn.0040b67e
mov eax, dword [esi + 4]
lea edx, [ebp - 0x144]
mov dword [ebp - 0x144], eax
mov ecx, 0xfbf
movzx eax, byte [esi + 0x94]
push 0x10
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x138], bl
mov dword [ebp - 0x13c], eax
call fcn.0045eeed
pop ecx
lea eax, [ebp - 0x70]
mov ecx, 0x6c8644
push eax
call fcn.00404698
movzx eax, byte [edi + 0x85]
lea edx, [ebp - 0x58]
push eax
push dword [ebp - 0x124]
lea ecx, [ebp - 0x40]
call fcn.004239f4
pop ecx
pop ecx
test al, al
je 0x4b7a31
push esi
lea ecx, [edi + 0xd8]
call fcn.004b64b4
call fcn.004c6303
push esi
mov ecx, edi
call fcn.004b88f8
cmp byte [edi + 0x86], 0
je 0x4b7a23
mov esi, 0x4c8
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push ebx
push dword [edi + 0x8c]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push dword [edi + 0x8c]
push 0x269
push str.PicLoopMgr::SetWallpaper
push str.__s__d___SetTimer:_d
call fcn.0040a649
add esp, 0x10
mov dword [edi + 0x1d8], 1
mov bl, 1
jmp 0x4b7a6f
push dword [edi + 0x50]
push 0x270
push str.PicLoopMgr::SetWallpaper
push str.__s__d___SetWallPaper_failed_m_nCurIndex___d
call fcn.0040a649
mov eax, dword [edi + 0x50]
mov edx, str.Software360360huabao
mov dword [ebp - 0x124], eax
mov ecx, reloc.WS2_32.dll_accept
lea eax, [ebp - 0x124]
push eax
push str.360huabao_loopindex
call fcn.00426057
add esp, 0x18
lea ecx, [ebp - 0x58]
call fcn.0040b67e
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x70]
call fcn.00404812
mov al, bl
call fcn.00593ab1
ret 8