Function at 0x45ea04
Capabilities:
Check if file exists

Disassembly:
push 0x174
mov eax, 0x5e0591
call fcn.00593b07
mov byte [ebp - 0x15d], cl
lea ecx, [ebp - 0xbc]
call fcn.004ced2c
mov esi, str._bkinfo_
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0xbc]
call fcn.0040b220
push str.video_config
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0x2c]
call fcn.0041154e
pop ecx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45eb6c
call fcn.004d8935
test al, al
je 0x45eb3f
push str.mouse_set_config
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0x74]
call fcn.0041154e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
mov dword [esp], 0x61ee2e
call fcn.004045aa
push 0xfde9
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00426889
pop ecx
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.004166a4
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00404812
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xa4]
push str.__windowworker___workershow___config___engine
push eax
call fcn.004031ba
sub esp, 0xc
mov byte [ebp - 4], 5
mov ecx, esp
lea eax, [ebp - 0xa4]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404267
lea ecx, [ebp - 0x5c]
call fcn.00430ab2
add esp, 0x18
mov ecx, eax
call fcn.004c6c97
lea ecx, [ebp - 0x5c]
call fcn.0040b67e
lea ecx, [ebp - 0xa4]
call fcn.00404812
lea ecx, [ebp - 0x44]
call fcn.00404812
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.0040b67e
call fcn.00458e10
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0xdf
push str.WallpaperHelper::RestoreWallpaper
push str.__s__d___video_config_file_not_exit:__ws
call fcn.0040a649
add esp, 0x10
jmp 0x45eed4
cmp byte [ebp - 0x15d], 0
je 0x45eed4
mov dword [ebp - method.CxAutoArray_unsigned_char_.virtual_0], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x178], ebx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x164]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push eax
cmovae ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x17c]
mov dword [ebp - 0x164], ebx
call fcn.0041e238
pop ecx
test eax, eax
je 0x45eec9
cmp dword [ebp - 0x164], 0
je 0x45eec9
push dword [ebp - 0x164]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x17c]
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], bl
call fcn.0040464f
push ebx
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 7
call fcn.00404ba6
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 8
call fcn.00401c84
push 1
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00401d1d
test al, al
je 0x45eeab
lea ecx, [ebp - 0x174]
call fcn.00405673
test al, al
jne 0x45eeab
call fcn.004056d7
test al, al
je 0x45eeab
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], bl
mov esi, str.down_url
mov byte [ebp - 4], 0xa
push esi
call fcn.00405597
test al, al
je 0x45ecb1
push esi
lea ecx, [ebp - 0x174]
call fcn.00405401
mov ecx, eax
call fcn.004056be
test al, al
je 0x45ecb1
lea eax, [ebp - 0x5c]
push eax
push ecx
push esi
lea ecx, [ebp - 0x174]
call fcn.00405401
pop ecx
mov ecx, eax
call fcn.00404f93
push eax
lea ecx, [ebp - 0x74]
call fcn.00409145
lea ecx, [ebp - 0x5c]
call fcn.00404812
mov edi, str.kind
lea ecx, [ebp - 0x174]
push edi
mov esi, ebx
call fcn.00405597
test al, al
je 0x45ecf4
push edi
lea ecx, [ebp - 0x174]
call fcn.00405401
mov ecx, eax
call fcn.00405683
test al, al
je 0x45ecf4
push edi
lea ecx, [ebp - 0x174]
call fcn.00405401
mov ecx, eax
call fcn.00405002
mov esi, eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], bl
mov edi, str.down_file_md5
mov byte [ebp - 4], 0xb
push edi
lea ecx, [ebp - 0x174]
call fcn.00405597
test al, al
je 0x45ed61
push edi
lea ecx, [ebp - 0x174]
call fcn.00405401
mov ecx, eax
call fcn.004056be
test al, al
je 0x45ed61
lea eax, [ebp - 0x5c]
push eax
push ecx
push edi
lea ecx, [ebp - 0x174]
call fcn.00405401
pop ecx
mov ecx, eax
call fcn.00404f93
push eax
lea ecx, [ebp - 0x8c]
call fcn.00409145
lea ecx, [ebp - 0x5c]
call fcn.00404812
mov edi, 0x633e58
lea ecx, [ebp - 0x174]
push edi
call fcn.00405597
test al, al
je 0x45edd3
push edi
lea ecx, [ebp - 0x174]
call fcn.00405401
mov ecx, eax
call fcn.00405683
test al, al
je 0x45edd3
push edi
lea ecx, [ebp - 0x174]
call fcn.00405401
mov ecx, eax
call fcn.00405002
mov ebx, eax
test ebx, ebx
jle 0x45edd3
cmp dword [ebp - 0x64], 0
je 0x45edb7
cmp esi, 2
jne 0x45edb7
cmp dword [ebp - 0x7c], 0
jne 0x45edd3
push 0x108
push str.WallpaperHelper::RestoreWallpaper
push str.__s__d___video_config_data_error_
call fcn.0040a649
add esp, 0xc
jmp 0x45ee98
mov edx, ebx
lea ecx, [ebp - 0xec]
call fcn.00429b84
mov cl, 1
mov byte [ebp - 4], 0xc
call fcn.004cec09
test al, al
je 0x45ee8d
push 0x61ee2e
lea ecx, [ebp - 0xa4]
call fcn.004045aa
mov esi, 0xfde9
mov byte [ebp - 4], 0xd
push esi
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0xd4]
call fcn.00426889
pop ecx
lea edx, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
mov ecx, eax
call fcn.004166a4
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xd
call fcn.00404812
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x5c]
push str.__windowworker___workershow___config
push eax
call fcn.004031ba
add esp, 0xc
push esi
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xd4]
call fcn.00426805
pop ecx
mov ecx, eax
call fcn.004c6c97
lea ecx, [ebp - 0xd4]
call fcn.0040b67e
lea ecx, [ebp - 0x5c]
call fcn.00404812
lea ecx, [ebp - 0xa4]
call fcn.00404812
lea ecx, [ebp - 0xec]
call fcn.00404812
lea ecx, [ebp - 0x8c]
call fcn.00404812
lea ecx, [ebp - 0x74]
call fcn.00404812
lea ecx, [ebp - 0x15c]
call fcn.00402bc3
lea ecx, [ebp - 0x174]
call fcn.00404dbc
lea ecx, [ebp - 0x44]
call fcn.00404812
lea ecx, [ebp - 0x180]
call fcn.0041e3bd
lea ecx, [ebp - 0x2c]
call fcn.0040b67e
lea ecx, [ebp - 0xbc]
call fcn.0040b67e
call fcn.00593ab1
ret