Function at 0x4078f0
Capabilities:
Copy file
Create directory
Delete file
Move file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x40fca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x50]
mov dword [esp + 0x74], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea eax, [esp + 0x7c]
push str..
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x80], 2
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x7c], 3
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x74], 2
call fcn.0040f288
test esi, esi
je 0x407c5f
mov ebp, dword [esp + 0x84]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x407c53
mov edx, dword [esp + 0x50]
push 0x10
lea ecx, [esp + 0x54]
call dword [edx + 0x40]
test eax, eax
je 0x407aeb
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x50]
push eax
call sub.MFC42.DLL_CFileFind::GetFileName
mov esi, eax
lea ecx, [esp + 0x80]
push 0x4143b4
lea edx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x80], 4
call sub.MFC42.DLL_operator
push esi
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x7c], 5
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
call edi
lea ecx, [esp + 0x14]
call fcn.0040f288
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 4
call fcn.0040f288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 2
call fcn.0040f288
lea ecx, [esp + 0x2c]
push 0
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFileFind::GetFileName
mov esi, eax
lea edx, [esp + 0x84]
push 0x4143b4
lea eax, [esp + 0x30]
push edx
push eax
mov byte [esp + 0x84], 6
call sub.MFC42.DLL_operator
push ecx
mov byte [esp + 0x7c], 7
mov ecx, esp
mov dword [esp + 0x50], esp
push esi
push eax
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x58]
push edx
mov byte [esp + 0x80], 8
call sub.MFC42.DLL_CFileFind::GetFileName
mov esi, eax
lea eax, [esp + 0x84]
push 0x4143b4
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x88], 9
call sub.MFC42.DLL_operator
push ecx
mov byte [esp + 0x80], 0xa
mov edx, esp
mov dword [esp + 0x58], esp
push esi
push eax
push edx
call sub.MFC42.DLL_operator_1
mov byte [esp + 0x80], 0xc
call fcn.004078f0
add esp, 0xc
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 0xb
call fcn.0040f288
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 7
call fcn.0040f288
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 6
call fcn.0040f288
mov byte [esp + 0x74], 2
lea ecx, [esp + 0x2c]
jmp 0x407c4e
lea eax, [esp + 0x34]
lea ecx, [esp + 0x50]
push eax
call sub.MFC42.DLL_CFileFind::GetFileName
mov esi, eax
lea ecx, [esp + 0x80]
push 0x4143b4
lea edx, [esp + 0x34]
push ecx
push edx
mov byte [esp + 0x80], 0xd
call sub.MFC42.DLL_operator
push esi
push eax
lea eax, [esp + 0x8c]
mov byte [esp + 0x7c], 0xe
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 0x11
call fcn.0040f288
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 0x10
call fcn.0040f288
mov ecx, dword [esp + 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x80]
push 0
push edx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
jne 0x407bc4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
push 0
mov byte [esp + 0x78], 0x12
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x88]
push eax
push str._s._d
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x94]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 0x18
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 0x10
call fcn.0040f288
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFileFind::GetFileName
mov esi, eax
lea edx, [esp + 0x7c]
push 0x4143b4
lea eax, [esp + 0x40]
push edx
push eax
mov byte [esp + 0x80], 0x13
call sub.MFC42.DLL_operator
push esi
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x80], 0x14
call sub.MFC42.DLL_operator_1
mov edx, dword [esp + 0x84]
mov eax, dword [eax]
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
lea ecx, [esp + 0x38]
sete bl
call fcn.0040f288
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 0x13
call fcn.0040f288
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 0x10
call fcn.0040f288
test bl, bl
mov byte [esp + 0x74], 2
lea ecx, [esp + 0x84]
call fcn.0040f288
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x407971
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 1
call fcn.0040f2be
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 0
call fcn.0040f288
lea ecx, [esp + 0x80]
mov dword [esp + 0x74], 0xffffffff
call fcn.0040f288
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret