Function at 0x474d27
Capabilities:
Check if file exists

Disassembly:
push pe_nt_image_headers32
mov eax, 0x5e30e2
call fcn.00593b07
mov bl, byte [ebp + 8]
mov edi, str.HealthMgr::SetDynamicWallpaper
test bl, bl
jne 0x474d63
call fcn.0041513a
test eax, eax
jne 0x474d63
push 0xf38
push edi
push str.__s__d___HealthMgr_SetDynamicWallpaper
call fcn.0040a649
add esp, 0xc
call fcn.004d2379
movzx eax, bl
push eax
push 0xf3c
push edi
push str.__s__d__SetDynamicWallpaper_from_init_:__d
call fcn.0040a649
add esp, 0x10
call fcn.0045e8cf
test al, al
jne 0x474d9b
push 0xf3f
push edi
push str.__s__d__auto_SetDynamicWallpaper_system_not_support
call fcn.0040a649
add esp, 0xc
jmp 0x47508b
call fcn.0045e724
test eax, eax
jne 0x47508b
lea ecx, [ebp - 0xac]
call fcn.004ced2c
mov esi, str.bkinfo_video_config
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0xac]
call fcn.0040b220
cmp dword [ebp - 0x98], 8
lea eax, [ebp - 0xac]
cmovae eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x475080
mov dword [ebp - method.CxAutoArray_unsigned_char_.virtual_0], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], ebx
mov byte [ebp - 4], 1
lea eax, [ebp - 0xac]
cmp dword [ebp - 0x98], 8
mov esi, str.__s__d__OnReadingConfig__s
mov dword [ebp - 0x128], ebx
cmovae eax, dword [ebp - 0xac]
push eax
push 0xf4b
push edi
push esi
call fcn.0040a649
cmp dword [ebp - 0x98], 8
lea eax, [ebp - 0x128]
lea ecx, [ebp - 0xac]
cmovae ecx, dword [ebp - 0xac]
lea edx, [ebp - 0x130]
push eax
call fcn.0041e238
add esp, 0x14
test eax, eax
je 0x475075
cmp dword [ebp - 0x128], ebx
je 0x475075
push dword [ebp - 0x128]
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xb4], ebx
push dword [ebp - 0x130]
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], bl
call fcn.0040464f
push ebx
lea edx, [ebp - 0xc4]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xdc]
call fcn.00426805
pop ecx
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x474ec7
mov eax, dword [eax]
push eax
push 0xf50
push edi
push esi
call fcn.0040a649
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xdc]
call fcn.0040b67e
or dword [ebp - 0x128], 0xffffffff
lea ecx, [ebp - 0x144]
push ebx
call fcn.00404ba6
mov byte [ebp - 4], 4
lea eax, [ebp - 0x144]
cmp dword [ebp - 0xb0], 0x10
lea ecx, [ebp - 0xc4]
mov edx, dword [ebp - 0xb4]
cmovae ecx, dword [ebp - 0xc4]
push eax
call fcn.004368f3
pop ecx
lea ecx, [ebp - 0x144]
call fcn.004056d7
test al, al
je 0x475065
push 0x633e58
call fcn.00405401
lea edx, [ebp - 0x128]
mov ecx, eax
call fcn.00436e86
push 0x80
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x94]
push 0xa
push eax
push dword [ebp - 0x128]
call fcn.005bb385
add esp, 0xc
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x124]
push eax
call fcn.004045aa
push 0xf5f
push edi
push str.__s__d__set_SetDynamicWallpaper_ok
mov byte [ebp - 4], 5
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0xf4]
push 0x61ee2e
call fcn.004045aa
mov esi, 0xfde9
mov byte [ebp - 4], 6
push esi
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0x10c]
call fcn.00426889
pop ecx
lea edx, [ebp - 0xf4]
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.004166a4
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 6
call fcn.00404812
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xdc]
push str.__windowworker___workershow___config
push eax
call fcn.004031ba
add esp, 0xc
mov cl, 1
mov byte [ebp - 4], 8
call fcn.004cec09
test al, al
je 0x47503e
push esi
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0x10c]
call fcn.00426805
pop ecx
mov ecx, eax
call fcn.004c6c97
lea ecx, [ebp - 0x10c]
call fcn.0040b67e
lea ecx, [ebp - 0xdc]
call fcn.00404812
lea ecx, [ebp - 0xf4]
call fcn.00404812
lea ecx, [ebp - 0x124]
call fcn.00404812
lea ecx, [ebp - 0x144]
call fcn.00404dbc
lea ecx, [ebp - 0xc4]
call fcn.00404812
lea ecx, [ebp - 0x134]
call fcn.0041e3bd
lea ecx, [ebp - 0xac]
call fcn.0040b67e
call fcn.00593ab1
ret 4