Function at 0x410bb0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4184b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9a4
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ebx
call sub.MFC42u.DLL_CFileFind::CFileFind
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, 6
mov esi, str.Desktop.ini
lea edi, [ebp - 0xa0]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 9
lea edi, [ebp - 0x86]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x17
mov esi, str._.ShellClassInfo__r_nIconFile_s_r_nIconIndex1_r_n
lea edi, [ebp - 0x1a0]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov ecx, 0x29
lea edi, [ebp - 0x144]
push esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x5b0]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x18], 1
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea ecx, [ebp - 0xa0]
lea edx, [ebp - 0x5b0]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0x10
lea ecx, [ebp - 0x1c]
push esi
call sub.MFC42u.DLL_CString::CString_4
push str..
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::operator_1
mov eax, dword [ebp - 0x1c]
push 0
push eax
lea ecx, [ebp - 0x4c]
call sub.MFC42u.DLL_CFileFind::FindFile
test eax, eax
je 0x410dd5
lea ecx, [ebp - 0x4c]
call sub.MFC42u.DLL_CFileFind::FindNextFileW
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xb38]
test eax, eax
jne 0x410e9a
lea ecx, [ebp - 0x4c]
call sub.MFC42u.DLL_CFileFind::IsDots
test eax, eax
jne 0x410dca
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x4c]
call sub.MFC42u.DLL_CFileFind::GetFilePath
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004117b8
mov edx, dword [ebp - 0x4c]
push 0x10
lea ecx, [ebp - 0x4c]
call dword [edx + 0x40]
test eax, eax
je 0x410d06
mov eax, dword [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00410bb0
jmp 0x410db0
mov ecx, dword [ebp - 0x14]
lea esi, [ebx + 0x724]
push ecx
push esi
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 6
jne 0x410dbd
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
add esp, 4
cmp edi, 5
jl 0x410d54
lea edx, [ebx + edi*2 + 0x71c]
push 0x41dbb0
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x410d59
mov eax, 1
mov ecx, dword [ebx + 0xfc]
test ecx, ecx
jne 0x410d89
test eax, eax
je 0x410db3
push 0x41dbb0
push esi
call dword [sym.imp.MSVCRT.dll_wcscat]
mov eax, dword [ebp - 0x14]
lea ecx, [ebx + 0x314]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 0x10
jmp 0x410da9
test eax, eax
jne 0x410db3
mov word [ebx + edi*2 + 0x71c], ax
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x314]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov ecx, ebx
call fcn.00411290
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x410f90
push 0x538ef0
lea ecx, [ebp - 0x14]
call fcn.00411872
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x410c99
lea ecx, [ebp - 0x4c]
call sub.MFC42u.DLL_CFileFind::Close
mov eax, dword [ebx + 0xfc]
test eax, eax
jne 0x410f5b
lea ecx, [ebp - 0x30]
call sub.MFC42u.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
lea ecx, [ebp - 0x5b0]
mov byte [ebp - 4], 5
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x410e1c
test al, 6
je 0x410e1c
lea edx, [ebp - 0x5b0]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x5b0]
push 0x1001
push eax
lea ecx, [ebp - 0x60]
call sub.MFC42u.DLL_CFile::CFile
add ebx, 0x10c
lea ecx, [ebp - 0x1a0]
push ebx
lea edx, [ebp - 0x9b0]
push ecx
push edx
mov byte [ebp - 4], 6
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x9b0]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x10
lea ecx, [eax + eax]
lea edx, [ebp - 0x9b0]
push ecx
push edx
lea ecx, [ebp - 0x60]
call sub.MFC42u.DLL_CFile::Write
lea ecx, [ebp - 0x60]
call sub.MFC42u.DLL_CFile::Close
lea eax, [ebp - 0x5b0]
push 6
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.00411b42
jmp 0x410f30
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004117b8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004117b8
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.00411ab8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, 2
mov dword [ebp - 4], esi
call sub.MFC42u.DLL_AfxTryCleanup
lea ecx, [ebp - 0x30]
call sub.MFC42u.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
mov ecx, dword [ebp + 8]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 4], esi
call sub.MFC42u.DLL_AfxTryCleanup
jmp 0x410f90
lea edx, [ebp - 0x5b0]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x410f80
test al, 6
je 0x410f80
lea eax, [ebp - 0x5b0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x5b0]
push ecx
call dword [sym.imp.MSVCRT.dll__wremove]
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004117b8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004117b8
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.00411ab8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4