Function at 0x4d7a84
Capabilities:
Check if file exists

Disassembly:
push 0x94
mov eax, 0x5ec92c
call fcn.00592017
mov esi, ecx
mov dword [ebp - 0x98], esi
lea eax, [ebp - 0x98]
mov dword [ebp - 0xa0], esi
xor ebx, ebx
mov edx, str.Software360360huabaoDynamicWallpaper
push eax
mov dword [ebp - 0x9c], ebx
mov ecx, reloc.WS2_32.dll_accept
push str.play_type
mov dword [ebp - 0x98], ebx
call fcn.00425cda
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 1
call fcn.004cd264
mov edi, str._bkinfo_
mov byte [ebp - 4], 2
push edi
call fcn.005b93d0
add esp, 0xc
lea ecx, [ebp - 0x8c]
push eax
push edi
call fcn.0040b220
push str.video_config
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x74]
call fcn.0041154b
pop ecx
mov byte [ebp - 4], 3
mov byte [ebp - 0x8d], bl
call fcn.0045de95
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d7b79
cmp dword [ebp - 0x98], 1
je 0x4d7b79
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
call ebx
test eax, eax
je 0x4d7b79
push 0x2227
mov edi, str.GetCurWallPaper
push edi
push str.__s__d___dyna_wallpaper
call fcn.0040a649
add esp, 0xc
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x44]
push eax
call fcn.0041321d
jmp 0x4d7bda
push 0x222b
mov edi, str.GetCurWallPaper
push edi
push str.__s__d___static_wallpaper
call fcn.0040a649
add esp, 0xc
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x2c]
push str.static_config
call fcn.0041154b
pop ecx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
test eax, eax
je 0x4d7bce
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.0041321d
mov byte [ebp - 0x8d], 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040b67b
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push 0x2233
push edi
push str.__s__d___wallpaper_path_s
call fcn.0040a649
xor ebx, ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x20], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
push eax
cmovae ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x94], ebx
call fcn.0041e235
add esp, 0x14
test eax, eax
jne 0x4d7c4e
cmp dword [ebp - 0x94], eax
jne 0x4d7cc6
push dword [ebp - 0x94]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], bl
call fcn.0040464f
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.00409145
lea ecx, [ebp - 0x5c]
call fcn.00404812
cmp byte [ebp - 0x8d], 0
je 0x4d7cc6
mov ecx, esi
call fcn.004d8010
test al, al
jne 0x4d7cc6
push 0x223b
push edi
push str.__s__d___is_different_wallpaper
call fcn.0040a649
add esp, 0xc
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x48], 0xf
mov ecx, esi
mov byte [ebp - 0x5c], bl
push eax
call fcn.00409145
lea ecx, [ebp - 0x5c]
call fcn.00404812
lea ecx, [ebp - 0x20]
call fcn.0041e3ba
lea ecx, [ebp - 0x74]
call fcn.0040b67b
lea ecx, [ebp - 0x8c]
call fcn.0040b67b
lea ecx, [ebp - 0x44]
call fcn.0040b67b
mov eax, esi
call fcn.00591fc1
ret