Function at 0x425a79
Capabilities:
Check if file exists
Copy file

Disassembly:
push 0x288
mov eax, 0x54d7be
call fcn.0051d3dc
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push esi
push 0x11
mov dword [ebp - 0x294], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push eax
push 0x42d
push str.SetSystemScreen
push str.__s__d___SetSystemScreen__SPI_SETSCREENSAVEACTIVE_bRet___d_enable___d
call fcn.00402cc1
add esp, 0x14
push 2
pop edi
test esi, esi
je 0x425ad4
push 0x557bcc
lea ecx, [ebp - 0x230]
call fcn.00401b4a
mov dword [ebp - 4], ebx
inc ebx
jmp 0x425aed
push 0x557bb4
lea ecx, [ebp - 0x278]
call fcn.00401b4a
mov dword [ebp - 4], 1
mov ebx, edi
push eax
push str.ScreenSaveActive
push str.Control_PanelDesktop
push 0x80000001
mov dword [ebp - 0x294], ebx
call fcn.004385c4
add esp, 0x10
test bl, 2
je 0x425b1e
lea ecx, [ebp - 0x278]
and ebx, 0xfffffffd
call fcn.004036e0
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x425b32
lea ecx, [ebp - 0x230]
call fcn.004036e0
push str.360pic.exe
lea ecx, [ebp - 0x230]
call fcn.00401b4a
lea eax, [ebp - 0x230]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00421932
pop ecx
pop ecx
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.004036e0
push 0x55fdf0
lea ecx, [ebp - 0x278]
call fcn.00401b4a
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00421932
pop ecx
pop ecx
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 7
call fcn.004036e0
cmp dword [ebp - 0x24c], 8
lea edi, [ebp - 0x260]
lea esi, [ebp - 0x248]
cmovae edi, dword [ebp - 0x260]
cmp dword [ebp - 0x234], 8
cmovae esi, dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push esi
push 0x437
mov esi, str.SetSystemScreen
push esi
push str.__s__d___SetSystemScreen__strPicPath___s_strScrPath___s_error__d
call fcn.00402cc1
mov ebx, dword [ebp + 8]
add esp, 0x18
test ebx, ebx
je 0x425cfe
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425cfe
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x234], 8
cmovae eax, dword [ebp - 0x248]
xor edi, edi
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x425d33
xor eax, eax
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 8
push eax
push str.SCRNSAVE.EXE
mov esi, str.Control_PanelDesktop
push esi
push 0x80000001
call fcn.00437e0e
add esp, 0x10
cmp dword [ebp - 0x220], edi
jne 0x425cb1
lea eax, [ebp - 0x230]
push eax
push str.SCRNSAVEBAK.EXE
push esi
push 0x80000001
call fcn.004385c4
add esp, 0x10
lea eax, [ebp - 0x260]
push eax
push str.SCRNSAVE.EXE
push esi
push 0x80000001
call fcn.004385c4
add esp, 0x10
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push esi
push 0x444
push str.SetSystemScreen
push str.__s__d___SetSystemScreen__exepath_bRet___d_enable___d_error__d
call fcn.00402cc1
add esp, 0x18
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x230]
call fcn.004036e0
jmp 0x425d33
xor edi, edi
push edi
push str.SCRNSAVE.EXE
push str.Control_PanelDesktop
push 0x80000001
call fcn.00437038
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x44c
push esi
push str.__s__d___SetSystemScreen__DeleteRegItem_enable___d_error__d
call fcn.00402cc1
add esp, 0x14
test ebx, ebx
je 0x425dd1
push edi
push edi
push dword [ebp + 0xc]
push 0xf
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x208
mov esi, eax
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00520800
push dword [ebp + 0xc]
lea eax, [ebp - 0x218]
push 0x55d98c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x290]
push eax
call fcn.00401b4a
push eax
push str.ScreenSaveTimeOut
push str.Control_PanelDesktop
push 0x80000001
mov byte [ebp - 4], 9
call fcn.004385c4
add esp, 0x10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x290]
call fcn.004036e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push esi
push 0x45a
push str.SetSystemScreen
push str.__s__d___SetSystemScreen__timeout_bRet___d_enable___d_error__d
call fcn.00402cc1
add esp, 0x18
lea ecx, [ebp - 0x260]
call fcn.004036e0
lea ecx, [ebp - 0x248]
call fcn.004036e0
call fcn.0051d386
ret