Function at 0x40a74c
Capabilities:
Contain obfuscated stackstrings
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40948e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push str.LoadLibraryA
push 0x410cf4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x178], eax
push 0x410d04
call dword [ebp - 0x178]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
call fcn.0040900a
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x164]
call fcn.0040900a
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x164]
call fcn.0040902e
push str..
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 0x174], 0x46
mov byte [ebp - 0x173], 0x69
mov byte [ebp - 0x172], 0x6e
mov byte [ebp - 0x171], 0x64
mov byte [ebp - 0x170], 0x46
mov byte [ebp - 0x16f], 0x69
mov byte [ebp - 0x16e], 0x72
mov byte [ebp - 0x16d], 0x73
mov byte [ebp - 0x16c], 0x74
mov byte [ebp - 0x16b], 0x46
mov byte [ebp - 0x16a], 0x69
mov byte [ebp - 0x169], 0x6c
mov byte [ebp - 0x168], 0x65
mov byte [ebp - 0x167], 0x41
mov byte [ebp - 0x166], 0
lea ecx, [ebp - 0x174]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x164]
call fcn.00403770
push eax
call dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40a8a8
mov dword [ebp - 0x180], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x180]
jmp 0x40aa3d
push 0x410d1c
lea ecx, [ebp - 0x134]
push ecx
call fcn.00403830
add esp, 8
test eax, eax
je 0x40a8f6
push 0x410d20
lea edx, [ebp - 0x134]
push edx
call fcn.00403830
add esp, 8
test eax, eax
je 0x40a8f6
cmp dword [ebp + 0xc], 0
jne 0x40a8fb
push str.desktop.ini
lea eax, [ebp - 0x134]
push eax
call fcn.00403850
add esp, 8
test eax, eax
jne 0x40a8fb
jmp 0x40a9ec
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040902e
push 0x5c
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator
lea edx, [ebp - 0x134]
push edx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x20]
call fcn.00403770
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
and eax, 1
test eax, eax
je 0x40a975
mov ecx, dword [ebp - 0x14]
and ecx, 0xfffffffe
mov dword [ebp - 0x14], ecx
push str.SetFileAttributesA
push 0x410d44
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x20]
call fcn.00403770
push eax
call dword [ebp - 0x17c]
mov eax, dword [ebp - 0x160]
and eax, 0x10
test eax, eax
je 0x40a9ac
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x20]
call fcn.00403770
push eax
call fcn.0040a74c
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00403770
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x40a9ec
cmp dword [ebp + 0x10], 0
je 0x40a9dd
push str.index.dat
lea eax, [ebp - 0x134]
push eax
call fcn.00403850
add esp, 8
test eax, eax
jne 0x40a9dd
lea ecx, [ebp - 0x134]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040a56b
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00403770
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40a8a8
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x184], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret