Function at 0x10002410
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1000c0f8
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x100112ac]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100112ac]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
mov esi, dword [esp + 0x174]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esp + 0x18]
mov dword [esp + 0x16c], 0
call dword [sym.imp.mfc90.dll_Ordinal_316]
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 1
call dword [sym.imp.mfc90.dll_Ordinal_820]
push str..
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_945]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x100024cd
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
jmp 0x10002621
mov edi, dword [esp + 0x17c]
mov ebp, dword [esp + 0x178]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 0x4c]
push 0x1000d9a0
push ecx
call dword [sym.imp.MSVCR90.dll__mbscmp]
add esp, 8
test eax, eax
je 0x100025e5
lea edx, [esp + 0x4c]
push 0x1000d99c
push edx
call dword [sym.imp.MSVCR90.dll__mbscmp]
add esp, 8
test eax, eax
je 0x100025e5
test ebp, ebp
jne 0x10002536
lea eax, [esp + 0x4c]
push str.desktop.ini
push eax
call dword [sym.imp.MSVCR90.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x100025e5
push esi
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x5c
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_942]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_945]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call ebx
test al, 1
je 0x10002582
and eax, 0xfffffffe
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x20], 0x10
je 0x100025ae
push edi
push ebp
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call fcn.10002410
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x100025e5
test edi, edi
je 0x100025d4
lea edx, [esp + 0x4c]
push str.index.dat
push edx
call dword [sym.imp.MSVCR90.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x100025d4
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.10001bc0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100024e1
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, 1
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.1000b2cc
add esp, 0x15c
ret 0xc