Function at 0x401f70
Capabilities:
Copy file
Create directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x402850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x88], 1
call fcn.00402572
lea eax, [esp + 0x90]
push str..
lea ecx, [esp + 0x18]
mov ebx, 2
push eax
push ecx
mov byte [esp + 0x94], bl
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x90], 3
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x94]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test esi, esi
je 0x402367
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov dword [esp + 0x54], eax
mov al, byte [esp + 0x10]
test al, 1
mov dword [esp + 0x88], ebx
je 0x402040
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x58]
and al, 0xfe
mov dword [esp + 0x10], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x40235b
mov eax, dword [esp + 0x64]
push 0x10
lea ecx, [esp + 0x68]
call dword [eax + 0x40]
test eax, eax
je 0x4021c3
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CFileFind::GetFileName
mov esi, eax
lea edx, [esp + 0x94]
push 0x4050c4
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x94], 5
call sub.MFC42.DLL_operator_1
push esi
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x94], 6
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x64]
push edx
call sub.MFC42.DLL_CFileFind::GetFileName
mov esi, eax
lea eax, [esp + 0x94]
push 0x4050c4
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x94], 7
call sub.MFC42.DLL_operator_1
push ecx
mov byte [esp + 0x8c], 8
mov edx, esp
mov dword [esp + 0x60], esp
push esi
push eax
push edx
call sub.MFC42.DLL_operator
lea eax, [esp + 0x28]
lea ecx, [esp + 0x68]
push eax
mov byte [esp + 0x90], 9
call sub.MFC42.DLL_CFileFind::GetFileName
mov esi, eax
lea ecx, [esp + 0x94]
push 0x4050c4
lea edx, [esp + 0x28]
push ecx
push edx
mov byte [esp + 0x98], 0xa
call sub.MFC42.DLL_operator_1
push ecx
mov byte [esp + 0x90], 0xb
mov ecx, esp
mov dword [esp + 0x68], esp
push esi
push eax
push ecx
call sub.MFC42.DLL_operator
mov byte [esp + 0x90], 0xd
call fcn.00401f70
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x38]
lea ecx, [esp + 0x64]
push edx
call sub.MFC42.DLL_CFileFind::GetFileName
mov esi, eax
lea eax, [esp + 0x90]
push 0x4050c4
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x94], 0xe
call sub.MFC42.DLL_operator_1
push esi
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x94], 0xf
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0x80
push eax
call ebp
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x98]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x64]
push eax
call sub.MFC42.DLL_CFileFind::GetFileName
mov esi, eax
lea ecx, [esp + 0x94]
push 0x4050c4
lea edx, [esp + 0x50]
push ecx
push edx
mov byte [esp + 0x94], 0x10
call sub.MFC42.DLL_operator_1
push esi
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x90], 0x11
push eax
call sub.MFC42.DLL_operator
mov esi, dword [eax]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x8c], 0x12
call sub.MFC42.DLL_CFileFind::GetFileName
mov edi, eax
lea edx, [esp + 0x90]
push 0x4050c4
lea eax, [esp + 0x44]
push edx
push eax
mov byte [esp + 0x94], 0x13
call sub.MFC42.DLL_operator_1
push edi
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x94], 0x14
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x88], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x88], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x88], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x88], bl
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0xffffffffffffffff
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x98]
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x402011
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 0x64]
mov byte [esp + 0x88], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x90]
mov byte [esp + 0x88], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x94]
mov dword [esp + 0x88], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x7c
ret