Function at 0x403bf0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4066c8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov ebp, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or ebx, 0xffffffff
cmp eax, ebx
je 0x403ea4
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
push eax
lea eax, [esp + 0x14]
push 0x40a3dc
push eax
mov dword [esp + 0x40], 0
call sub.MFC42.DLL_operator_1
push str._...
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x40], 1
call sub.MFC42.DLL_operator
push 1
push 0
mov ecx, eax
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.00402220
add esp, 8
mov ecx, ebp
push eax
push 0x3ed
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call fcn.00405ac6
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0
call fcn.00405ac6
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], ebx
call fcn.00405ac6
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x403e3f
push 0x40a3c8
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
push esi
lea edx, [esp + 0x20]
push eax
push edx
mov dword [esp + 0x40], 3
call sub.MFC42.DLL_operator
push 0x40a394
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x3c], 4
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
mov ecx, dword [ebp + 0x20]
push 0x15
push 0x40a38c
push eax
push ecx
mov byte [esp + 0x44], 5
call fcn.00402470
add esp, 0x10
lea ecx, [esp + 0x18]
mov edi, eax
mov byte [esp + 0x34], 4
call fcn.00405ac6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 3
call fcn.00405ac6
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], ebx
call fcn.00405ac6
cmp edi, 4
jne 0x403d62
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, ebx
jne 0x403c24
jmp 0x403ea4
mov edx, dword [esp + 0x40]
cmp dword [edx], 0
jle 0x403de8
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x3c]
lea ecx, [ebp + 0x60]
push eax
push 0
mov dword [esp + 0x3c], 6
call sub.MFC42.DLL_CListBox::GetText
mov edi, 0x40a318
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x40]
push 0x40a318
push ecx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x403ddb
push 1
push str.
call fcn.00402220
mov edx, dword [ebp + 0x80]
add esp, 8
push eax
push 0
push 0x181
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x40]
inc dword [eax]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], ebx
call fcn.00405ac6
push 1
push 0x40a330
call fcn.00402220
add esp, 8
lea ecx, [esp + 0x20]
push eax
call sub.MFC42.DLL_CString::CString
push esi
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x3c], 7
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
mov ecx, dword [ebp + 0x80]
push eax
push 0
push 0x181
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x3c]
call fcn.00405ac6
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x20]
jmp 0x403e99
push 1
push 0x40a324
call fcn.00402220
add esp, 8
lea ecx, [esp + 0x28]
push eax
call sub.MFC42.DLL_CString::CString
push esi
lea edx, [esp + 0x28]
push eax
push edx
mov dword [esp + 0x40], 8
call sub.MFC42.DLL_operator
mov ecx, dword [esp + 0x40]
mov eax, dword [eax]
mov edx, dword [ebp + 0x80]
push eax
mov ecx, dword [ecx]
push ecx
push 0x181
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x24]
call fcn.00405ac6
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x28]
call fcn.00405ac6
mov eax, dword [esp + 0x40]
inc dword [eax]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8