Function at 0x4d954c
Capabilities:
Check if file exists

Disassembly:
push 0x94
mov eax, 0x5ee762
call fcn.00593b07
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.00425cdd
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.004ced2c
mov edi, str._bkinfo_
mov byte [ebp - 4], 2
push edi
call fcn.005baec0
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.0041154e
pop ecx
mov byte [ebp - 4], 3
mov byte [ebp - 0x8d], bl
call fcn.0045e724
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d9641
cmp dword [ebp - 0x98], 1
je 0x4d9641
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
call ebx
test eax, eax
je 0x4d9641
push 0x227b
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.00413220
jmp 0x4d96a2
push 0x227f
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.0041154e
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 0x4d9696
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00413220
mov byte [ebp - 0x8d], 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040b67e
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push 0x2287
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.0041e238
add esp, 0x14
test eax, eax
jne 0x4d9716
cmp dword [ebp - 0x94], eax
jne 0x4d978e
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 0x4d978e
mov ecx, esi
call fcn.004d9ad8
test al, al
jne 0x4d978e
push 0x228f
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.0041e3bd
lea ecx, [ebp - 0x74]
call fcn.0040b67e
lea ecx, [ebp - 0x8c]
call fcn.0040b67e
lea ecx, [ebp - 0x44]
call fcn.0040b67e
mov eax, esi
call fcn.00593ab1
ret