Function at 0x4742b7
Capabilities:
Check if file exists

Disassembly:
push 0x138
mov eax, 0x5e14c8
call fcn.00592017
mov bl, byte [ebp + 8]
mov edi, str.HealthMgr::SetDynamicWallpaper
test bl, bl
jne 0x4742f3
call fcn.00415137
test eax, eax
jne 0x4742f3
push 0xf29
push edi
push str.__s__d___HealthMgr_SetDynamicWallpaper
call fcn.0040a649
add esp, 0xc
call fcn.004d08b1
movzx eax, bl
push eax
push 0xf2d
push edi
push str.__s__d__SetDynamicWallpaper_from_init_:__d
call fcn.0040a649
add esp, 0x10
call fcn.0045e01e
test al, al
jne 0x47432b
push 0xf30
push edi
push str.__s__d__auto_SetDynamicWallpaper_system_not_support
call fcn.0040a649
add esp, 0xc
jmp 0x47461b
call fcn.0045de95
test eax, eax
jne 0x47461b
lea ecx, [ebp - 0xac]
call fcn.004cd264
mov esi, str.bkinfo_video_config
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.005b93d0
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 0x474610
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 0xf3c
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.0041e235
add esp, 0x14
test eax, eax
je 0x474605
cmp dword [ebp - 0x128], ebx
je 0x474605
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.00426802
pop ecx
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x474457
mov eax, dword [eax]
push eax
push 0xf41
push edi
push esi
call fcn.0040a649
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xdc]
call fcn.0040b67b
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.004368f0
pop ecx
lea ecx, [ebp - 0x144]
call fcn.004056d7
test al, al
je 0x4745f5
push 0x631e68
call fcn.00405401
lea edx, [ebp - 0x128]
mov ecx, eax
call fcn.00436e83
push 0x80
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.005a88e0
add esp, 0xc
lea eax, [ebp - 0x94]
push 0xa
push eax
push dword [ebp - 0x128]
call fcn.005b9895
add esp, 0xc
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x124]
push eax
call fcn.004045aa
push 0xf50
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 0x61ce3e
call fcn.004045aa
mov esi, 0xfde9
mov byte [ebp - 4], 6
push esi
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0x10c]
call fcn.00426886
pop ecx
lea edx, [ebp - 0xf4]
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.004166a1
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.004cd141
test al, al
je 0x4745ce
push esi
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0x10c]
call fcn.00426802
pop ecx
mov ecx, eax
call fcn.004c51cf
lea ecx, [ebp - 0x10c]
call fcn.0040b67b
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.0041e3ba
lea ecx, [ebp - 0xac]
call fcn.0040b67b
call fcn.00591fc1
ret 4