Function at 0x4057bd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push str.ProgramPath
lea eax, [ebp - 0xc]
call fcn.00423484
push str.SOFTWAREcmcmkdesk
lea eax, [ebp - 8]
call fcn.00423484
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
lea ebx, [ebp - 4]
call fcn.00405524
mov eax, dword [ebp - 8]
pop ecx
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [ebp - 4]
xor esi, esi
cmp dword [eax - 0xc], esi
jne 0x40581f
add eax, 0xfffffff0
call fcn.00401023
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 4]
push eax
call fcn.00472a8e
lea eax, [ebp - 0xc]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [esp], str.kwallpaper.exe
call fcn.00423484
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
call fcn.00406ef0
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
push str.kdesk.exe
lea eax, [ebp - 0xc]
call fcn.00423484
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
call fcn.00406ef0
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
push str.kdesk64.exe
lea eax, [ebp - 0xc]
call fcn.00423484
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
call fcn.00406ef0
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
push str.kdeskcollator.dll
lea eax, [ebp - 0xc]
call fcn.00423484
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
call fcn.00406ef0
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
push str.kdeskcollator64.dll
lea eax, [ebp - 0xc]
call fcn.00423484
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
call fcn.00406ef0
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
push str.kdeskmenu.dll
lea eax, [ebp - 0xc]
call fcn.00423484
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
call fcn.00406ef0
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
push str.kdeskmenu64.dll
lea eax, [ebp - 0xc]
call fcn.00423484
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
call fcn.00406ef0
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
push str.kdeskcore.exe
lea eax, [ebp - 0xc]
call fcn.00423484
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
call fcn.00406ef0
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [0x509500]
mov ecx, 0x509500
call dword [eax + 0xc]
mov esi, dword [ebp - 0x28]
mov ebx, eax
add ebx, 0x10
cmp esi, dword [ebp - 0x24]
mov dword [ebp - 0xc], ebx
jbe 0x405975
call fcn.00484b94
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x24]
cmp dword [ebp - 0x28], esi
jbe 0x40598e
call fcn.00484b94
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0x14]
call fcn.00471785
test al, al
je 0x4059fe
call fcn.00475541
push eax
lea eax, [ebp - 4]
lea ecx, [ebp - 8]
call fcn.00414f25
pop ecx
lea edi, [ebp - 0xc]
call fcn.0042454d
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
mov ebx, dword [ebp - 0xc]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4059da
call fcn.00406f77
jmp 0x405981
xor edi, edi
lea eax, [ebx - 0x10]
call fcn.00401023
lea esi, [ebp - 0x2c]
call fcn.00406e9e
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401023
mov eax, edi
jmp 0x40581a
xor edi, edi
inc edi
jmp 0x4059dc