Function at 0x458d10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x10]
call fcn.00413220
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x6b4]
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp - 4]
call fcn.0045a400
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x458d59
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x10]
call fcn.00413870
mov eax, dword [ebp - 0x1c]
jmp 0x4590c1
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.0044be00
mov ecx, eax
call fcn.005cb170
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d360
lea ecx, [ebp - 0x20]
call fcn.00413870
lea ecx, [ebp - 0x10]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x458e86
lea ecx, [ebp - 0x14]
call fcn.00413220
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.0044be00
mov ecx, eax
call fcn.005caa30
push eax
push 0x688b9c
lea eax, [ebp - 0x14]
push eax
call fcn.00422a10
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.0044be00
add eax, 0x18
mov ecx, eax
call fcn.0040d3c0
push eax
lea ecx, [ebp - 0x18]
call fcn.0044a380
push ecx
push esp
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.0044be00
mov ecx, eax
call fcn.005cb0c0
push ecx
mov ecx, esp
lea eax, [ebp - 0x18]
push eax
call fcn.00421650
push ecx
mov ecx, esp
lea edx, [ebp - 0x14]
push edx
call fcn.00421650
push ecx
push esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.0044be00
mov ecx, eax
call fcn.005cab00
lea ecx, [ebp - 0x10]
push ecx
call fcn.00441630
add esp, 0x14
push 0
push 0
push 0x2113
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x60c]
add ecx, 4
call fcn.00416590
lea ecx, [ebp - 0x10]
call fcn.0040d3c0
push eax
push 0x688bb0
call fcn.005564a0
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.00413870
lea ecx, [ebp - 0x14]
call fcn.00413870
jmp 0x4590a1
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.0044be00
mov ecx, eax
call fcn.005cac60
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x694
call fcn.0040d360
lea ecx, [ebp - 0x24]
call fcn.00413870
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.0044be00
add eax, 0x18
mov ecx, eax
call fcn.0040d3c0
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x698
call fcn.00421de0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.0044be00
mov ecx, eax
call fcn.005cb0c0
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x69c
call fcn.0040d360
lea ecx, [ebp - 0x28]
call fcn.00413870
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.00418cd0
push eax
mov eax, dword [ebp - 4]
add eax, 0x694
push eax
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.0042fc70
mov ecx, eax
call fcn.00413ab0
movzx edx, al
test edx, edx
je 0x4590a1
mov eax, dword [ebp - 4]
add eax, 0x694
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.0044bf60
mov dword [eax], 1
push 0x210e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x60c]
mov eax, dword [edx + 4]
push eax
push 0
push ecx
mov ecx, esp
lea edx, [ebp - 0x10]
push edx
call fcn.00421650
push ecx
mov ecx, esp
mov eax, dword [ebp - 4]
add eax, 0x694
push eax
call fcn.00421650
call fcn.004da4c0
add esp, 0x14
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0058fbf0
push eax
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x6a8
call fcn.0044beb0
mov ecx, eax
call fcn.0040d360
lea ecx, [ebp - 0x30]
call fcn.00413870
mov ecx, dword [ebp - 4]
add ecx, 0x694
call fcn.0040d3c0
push eax
push str.CWallPaperPreview::OnSetWallPaper
call fcn.005564a0
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.0044be00
mov ecx, eax
call fcn.005caa30
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6b8], eax
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 8]
call fcn.00590270
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x6bc
call fcn.0040d360
lea ecx, [ebp - 0x34]
call fcn.00413870
push 0x688ca4
mov eax, dword [ebp - 4]
add eax, 0x6bc
push eax
call fcn.00429e60
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x459070
push 0x688cac
mov edx, dword [ebp - 4]
add edx, 0x6bc
push edx
call fcn.00429e60
add esp, 8
movzx eax, al
test eax, eax
je 0x4590a1
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.0044be00
mov ecx, eax
call fcn.005cab00
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x6bc
call fcn.0040d360
lea ecx, [ebp - 0x38]
call fcn.00413870
push 0
push 1
push 0
mov ecx, dword [ebp - 4]
call fcn.004f91d0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x10]
call fcn.00413870
mov eax, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
ret 0x10