Function at 0x406e00
Capabilities:
Create directory
Delete file
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x414d68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, ecx
push ecx
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov dword [esp + 0x58], 0
call fcn.00413b2c
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.0040e0f0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x54], 1
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 0
call sub.MFC42u.DLL_CString::CString
push 0x2a
lea ecx, [esp + 0x5c]
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x407042
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 2
call fcn.00413970
mov bl, 3
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], bl
call fcn.00413970
lea edx, [esp + 0x58]
lea eax, [esp + 0x18]
push edx
push 0x41b730
push eax
mov byte [esp + 0x5c], 4
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 5
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x58]
lea edx, [esp + 0x18]
push ecx
push 0x41b030
push edx
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 6
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 4
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea esi, [edi + 0x7c]
push eax
mov ebp, 1
push 0
push ebp
mov ecx, esi
call sub.MFC42u.DLL_CListCtrl::InsertItem
mov ecx, dword [esp + 0x10]
push 0
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_CFileFind::FindFile
test eax, eax
je 0x407001
push ebp
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00413b2c
mov ecx, edi
call fcn.0040dd30
mov eax, dword [esp + 0x10]
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x406f80
push ecx
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00413b2c
mov ecx, edi
call fcn.0040df70
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x406fbe
mov eax, dword [edi + 0x60]
push 4
cmp eax, ebp
push 0
jne 0x406fa1
mov ecx, dword [esp + 0x60]
push ecx
jmp 0x406fa6
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
test eax, eax
je 0x406fb7
push str._T_Rd
jmp 0x407006
push 0x41b924
jmp 0x407006
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x406fd2
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov eax, dword [edi + 0x60]
push 4
cmp eax, ebp
push 0
jne 0x406fef
mov ecx, dword [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
push 0x41b91c
jmp 0x407006
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
push 0x41b91c
jmp 0x407006
push 0x41bbc4
push ebp
push 0
mov ecx, esi
call sub.MFC42u.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CFileFind::Close
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 2
call sub.MFC42u.DLL_CString::CString
mov byte [esp + 0x50], 0
lea ecx, [esp + 0x2c]
jmp 0x407251
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0x58]
push 0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 7
call sub.MFC42u.DLL_CFileFind::FindFile
test eax, eax
je 0x40723f
mov bl, 0xa
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CFileFind::FindNextFileW
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], eax
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CFileFind::GetFilePath
mov edx, dword [esp + 0x2c]
push 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 8
call dword [edx + 0x40]
test eax, eax
je 0x4070a9
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CFileFind::IsDots
jmp 0x407225
lea ecx, [esp + 0x10]
call fcn.00413970
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 9
call fcn.00413970
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push 0x41b730
push ecx
mov byte [esp + 0x5c], bl
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 0xb
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], bl
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push 0x41b030
push eax
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 0xc
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], bl
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
lea esi, [edi + 0x7c]
push ecx
mov ebp, 1
push 0
push ebp
mov ecx, esi
call sub.MFC42u.DLL_CListCtrl::InsertItem
push ebp
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00413b2c
mov ecx, edi
call fcn.0040dd30
mov eax, dword [esp + 0x10]
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x40718b
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00413b2c
mov ecx, edi
call fcn.0040df70
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x4071c9
mov eax, dword [edi + 0x60]
push 4
cmp eax, ebp
push 0
jne 0x4071ac
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x4071b1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
test eax, eax
je 0x4071c2
push str._T_Rd
jmp 0x4071ff
push 0x41b924
jmp 0x4071ff
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x4071dd
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov eax, dword [edi + 0x60]
push 4
cmp eax, ebp
push 0
jne 0x4071ef
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x4071f4
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
push 0x41b91c
push ebp
push 0
mov ecx, esi
call sub.MFC42u.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 8
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 7
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x40706a
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CFileFind::Close
mov byte [esp + 0x50], 0
lea ecx, [esp + 0x2c]
call fcn.00413b32
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret 4