Function at 0x4130a0
Capabilities:
Delete file
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x41ac7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x45c
push ebx
push ebp
push esi
push edi
push 0xa
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CStringList::CStringList
lea ecx, [esp + 0x10]
mov dword [esp + 0x474], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x474], 1
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x480]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x478], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
push 0x422610
lea edx, [esp + 0x1c]
push ecx
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x478], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x474], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x20]
mov byte [esp + 0x474], 4
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_3
push 0x8b
lea ecx, [esp + 0x24]
mov byte [esp + 0x478], 5
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_3
push 0x8c
lea ecx, [esp + 0x28]
mov byte [esp + 0x478], 6
call sub.MFC42.DLL_CString::LoadStringA
mov ebx, dword [esp + 0x484]
mov ebp, dword [esp + 0x47c]
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x4132f1
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], eax
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFileFind::GetFilePath
lea ecx, [esp + 0x34]
mov byte [esp + 0x474], 7
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x4132d4
mov edx, dword [esp + 0x34]
push 0x10
lea ecx, [esp + 0x38]
call dword [edx + 0x40]
test eax, eax
je 0x41321c
lea eax, [esp + 0x14]
lea ecx, [esp + 0x50]
push eax
call sub.MFC42.DLL_CStringList::AddHead
jmp 0x4132d4
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x6d]
mov byte [esp + 0x6c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x6c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x6c]
push ecx
call fcn.0040fbd0
add esp, 4
cmp ebx, eax
je 0x41326c
cmp ebx, 1
jne 0x4132d4
lea edx, [esp + 0x6c]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0
test eax, eax
mov eax, dword [ebp + 0xbc0]
push 0
lea ecx, [esp + 0x78]
push 0
lea esi, [ebp + 0xa0]
push ecx
push eax
push 3
mov ecx, esi
jle 0x4132b4
call sub.MFC42.DLL_CListCtrl::InsertItem
mov edx, dword [esp + 0x20]
jmp 0x4132bd
call sub.MFC42.DLL_CListCtrl::InsertItem
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0xbc0]
push edx
push 1
push eax
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItemText
inc dword [ebp + 0xbc0]
lea ecx, [esp + 0x14]
mov byte [esp + 0x474], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4131c4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x41336f
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CStringList::RemoveHead
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x478], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x474], 6
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x1c]
push str..
lea eax, [esp + 0x34]
push edx
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x478], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x474], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFileFind::Close
jmp 0x4131a4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
test eax, eax
setne bl
mov byte [esp + 0x474], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x474], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x474], 2
call fcn.0041904e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x474], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x474], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov dword [esp + 0x474], 0xffffffff
call fcn.00419048
mov ecx, dword [esp + 0x46c]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x468
ret