Function at 0x457d20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x48e143
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4bb028]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
lea eax, [esp + 0x54]
mov edi, ecx
push eax
mov dword [esp + 0x1c], edi
call fcn.00454dc0
lea ebp, [edi + 0x7c]
mov ecx, ebp
mov dword [esp + 0xa0], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::clear_void_]
mov ecx, 0x4984d4
mov ebx, reloc.BootTime.dll_Ordinal_1
lea esi, [esp + 0x54]
call fcn.00454f70
test eax, eax
je 0x457ec3
mov ebx, str.Lastbackground
mov ecx, esi
call fcn.00455310
push eax
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
xor ebx, ebx
cmp dword [edi + 0x90], ebx
je 0x457e96
cmp dword [ebp + 0x18], 8
jb 0x457dca
mov eax, dword [ebp + 4]
jmp 0x457dcd
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457e96
push ebx
push 0x4a3ec0
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
cmp eax, 0xffffffff
jne 0x457ea3
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea edi, [esp + 0x38]
mov edx, str._APPDATA_GlarySoftGlary_Utilities_XCustomBkImage
mov byte [esp + 0xa0], 1
call fcn.0045b720
mov esi, edi
lea edi, [esp + 0x1c]
call fcn.0045b4b0
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push ebx
mov ecx, esi
push ecx
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_const]
cmp eax, 0xffffffff
jne 0x457e83
cmp dword [ebp + 0x18], 8
jb 0x457e42
mov eax, dword [ebp + 4]
jmp 0x457e45
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov ecx, dword [esp + 0x18]
call fcn.004568f0
push eax
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x4a3ec4
mov ecx, ebp
call dword [0x497354]
lea edx, [esp + 0x38]
push edx
mov ecx, ebp
call dword [0x497358]
lea ecx, [esp + 0x38]
mov byte [esp + 0xa0], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x457ea3
push 0x4987c8
mov ecx, ebp
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x457eb9
push eax
call dword [sym.imp.Config.dll_Ordinal_1_4]
add esp, 4
mov dword [esp + 0x74], ebx
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::clear_void_]
cmp dword [ebp + 0x18], 8
jb 0x457ece
mov ebp, dword [ebp + 4]
jmp 0x457ed1
add ebp, 4
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0xa4], 0xffffffff
call fcn.00454d00
mov eax, ebp
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0048a3f6
add esp, 0x90
ret