Function at 0x4213d0
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42b2f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 2
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x10]
push eax
push str._s.
push ecx
mov byte [esp + 0x68], 3
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x38]
push 0
push edx
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x1c]
mov edi, eax
call sub.MFC42.DLL_CString::CString_4
test edi, edi
mov byte [esp + 0x5c], 4
je 0x421673
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x421667
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x38]
push eax
call sub.MFC42.DLL_CFileFind::GetFileName
mov edx, dword [esp + 0x38]
push 0x10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x60], 5
call dword [edx + 0x40]
test eax, eax
je 0x42153d
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x6c]
push eax
push ebp
push edi
lea edx, [esp + 0x74]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
call sub.MFC42.DLL_operator
push ecx
mov byte [esp + 0x6c], 6
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4341bc
push eax
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x7c]
lea eax, [esp + 0x74]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x78], 7
call sub.MFC42.DLL_operator
push ecx
mov byte [esp + 0x70], 8
mov edx, esp
mov dword [esp + 0x40], esp
push 0x43206c
push eax
push edx
call sub.MFC42.DLL_operator_1
mov ecx, esi
mov byte [esp + 0x70], 9
call fcn.004213d0
test eax, eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 6
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 5
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x421742
jmp 0x421659
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x433a68
push edx
mov byte [esp + 0x6c], 0xa
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
push eax
push ecx
lea edx, [esp + 0x78]
push 0x433a68
push edx
mov byte [esp + 0x6c], 0xb
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esi + 4]
add esp, 0x10
lea eax, [esp + 0x6c]
push 1
push eax
push 0x7e9
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x68]
push edx
push ebp
push edi
call fcn.004225b0
push ecx
dec eax
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
push ecx
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::Left
push ecx
lea edx, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x74], 0xc
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
mov byte [esp + 0x78], 0xd
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x74], 0xb
call fcn.004217a0
and eax, 0xff
mov ebx, eax
je 0x421627
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 3
mov dword [esp + 0x18], eax
jl 0x4215af
mov ecx, dword [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x18], 3
je 0x4216df
lea ecx, [esp + 0x70]
mov byte [esp + 0x5c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6c]
mov byte [esp + 0x5c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x421459
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 1
call fcn.00427134
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret 0x14
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [0x434f3c]
push ebx
push edx
lea eax, [esp + 0x7c]
push str._s__d
push eax
mov byte [esp + 0x6c], 0xe
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x84]
add esp, 0x10
push 0
push 0
push ecx
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x74]
mov byte [esp + 0x5c], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
mov byte [esp + 0x5c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6c]
mov byte [esp + 0x5c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 1
call fcn.00427134
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov dword [esp + 0x5c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4216ca