Function at 0x47dc30
Capabilities:
Check if file exists
Create directory
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4f1851
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 0x1a
lea eax, [esp + 0x74]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, 7
xor ecx, ecx
lea eax, [esp + 0x6c]
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47dc97
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x70]
push edx
lea esi, [esp + 0x58]
call fcn.00401760
mov dword [esp + 0x280], ebx
xor eax, eax
mov word [esp + 0x38], ax
lea eax, [esp + 0x6c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47dcd2
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x70]
push ecx
lea esi, [esp + 0x3c]
call fcn.00401760
push 0x16
push str.DtlCalendarWallPaper
lea eax, [esp + 0x58]
mov byte [esp + 0x288], 1
call fcn.004088a0
push 0x17
push str.DtlWallPaperWallPaper
mov eax, esi
call fcn.004088a0
mov eax, dword [esp + 0x54]
mov ebp, 8
cmp dword [esp + 0x68], ebp
jae 0x47dd29
lea eax, [esp + 0x54]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x47dd5d
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], ebp
jae 0x47dd44
lea eax, [esp + 0x38]
push eax
call esi
test eax, eax
jne 0x47dd5d
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.0047da90
add esp, 8
lea ecx, [esp + 0x14]
push ecx
mov edi, 0x4feab8
call fcn.0047fc80
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x47dd79
mov eax, dword [eax + 4]
jmp 0x47dd7c
add eax, 4
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push eax
call esi
cmp dword [esp + 0x2c], ebp
jb 0x47dd99
mov edx, dword [esp + 0x18]
push edx
call fcn.004c8f17
add esp, 4
lea eax, [esp + 0x14]
push eax
mov edi, str.SmallIcon
call fcn.0047fc80
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x47ddb5
mov eax, dword [eax + 4]
jmp 0x47ddb8
add eax, 4
push ebx
push eax
call esi
cmp dword [esp + 0x2c], ebp
jb 0x47ddcf
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c8f17
add esp, 4
lea edx, [esp + 0x14]
push edx
mov edi, str.SmallIcon1
call fcn.0047fc80
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x47ddeb
mov eax, dword [eax + 4]
jmp 0x47ddee
add eax, 4
push ebx
push eax
call esi
cmp dword [esp + 0x2c], ebp
jb 0x47de05
mov eax, dword [esp + 0x18]
push eax
call fcn.004c8f17
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edi, str.SmallIcon2
call fcn.0047fc80
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x47de21
mov eax, dword [eax + 4]
jmp 0x47de24
add eax, 4
push ebx
push eax
call esi
cmp dword [esp + 0x2c], ebp
jb 0x47de3b
mov edx, dword [esp + 0x18]
push edx
call fcn.004c8f17
add esp, 4
lea eax, [esp + 0x14]
push eax
mov edi, str.BigIcon
call fcn.0047fc80
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x47de57
mov eax, dword [eax + 4]
jmp 0x47de5a
add eax, 4
push ebx
push eax
call esi
cmp dword [esp + 0x2c], ebp
jb 0x47de71
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c8f17
add esp, 4
lea edx, [esp + 0x14]
push edx
mov edi, str.Local
call fcn.0047fc80
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x47de8d
mov eax, dword [eax + 4]
jmp 0x47de90
add eax, 4
push ebx
push eax
call esi
cmp dword [esp + 0x2c], ebp
jb 0x47dea7
mov eax, dword [esp + 0x18]
push eax
call fcn.004c8f17
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edi, str.ScreenSaver
call fcn.0047fc80
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x47dec3
mov eax, dword [eax + 4]
jmp 0x47dec6
add eax, 4
push ebx
push eax
call esi
cmp dword [esp + 0x2c], ebp
jb 0x47dedd
mov edx, dword [esp + 0x18]
push edx
call fcn.004c8f17
add esp, 4
lea esi, [esp + 0x14]
call fcn.0047e6f0
mov byte [esp + 0x280], 2
cmp dword [eax + 0x18], ebp
jb 0x47def8
mov eax, dword [eax + 4]
jmp 0x47defb
add eax, 4
mov edx, eax
call fcn.004612d0
mov byte [esp + 0x280], 1
cmp dword [esp + 0x2c], ebp
jb 0x47df1d
mov eax, dword [esp + 0x18]
push eax
call fcn.004c8f17
add esp, 4
lea esi, [esp + 0x14]
call fcn.0047fd60
cmp dword [eax + 0x18], ebp
jb 0x47df30
mov esi, dword [eax + 4]
jmp 0x47df33
lea esi, [eax + 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47df57
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, ebx
je 0x47df57
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x2c], ebp
jb 0x47df6a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c8f17
add esp, 4
call fcn.0047e2b0
call fcn.0047d660
mov esi, eax
call fcn.00485560
test eax, eax
je 0x47dfea
call fcn.0047d660
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x47df9f
call eax
cmp eax, ebx
je 0x47df9f
call fcn.0047d660
mov eax, dword [eax + 0x14]
cmp eax, ebx
je 0x47df9f
call eax
call fcn.0047d660
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x47dfc1
call eax
cmp eax, ebx
je 0x47dfc1
call fcn.0047d660
mov eax, dword [eax + 0x10]
cmp eax, ebx
je 0x47dfc1
push 1
call eax
call fcn.0047d660
mov esi, eax
mov eax, dword [esi + 0x18]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
cmp eax, ebx
je 0x47dfea
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x18], ebx
call fcn.0047eec0
mov byte [esp + 0x30], al
mov edx, dword [esp + 0x30]
push edx
call fcn.0047ed70
add esp, 4
call fcn.0047e070
cmp dword [esp + 0x4c], ebp
jb 0x47e018
mov eax, dword [esp + 0x38]
push eax
call fcn.004c8f17
add esp, 4
xor ecx, ecx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
cmp dword [esp + 0x68], ebp
jb 0x47e03e
mov edx, dword [esp + 0x54]
push edx
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.004c8f08
add esp, 0x270
ret