Function at 0x100074e1
Capabilities:
Check if file exists
Copy file
Create directory
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000de5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.10009f70
test eax, eax
je 0x10007547
push 0x100ff948
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x3c]
jmp 0x10007816
lea ecx, [ebp + 0xc]
call fcn.10003420
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1000756b
push 0
lea ecx, [ebp + 0xc]
call fcn.10003420
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp + 8]
call fcn.10003490
sub eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.10009f30
movsx eax, al
cmp eax, 0x5c
je 0x10007591
push 0x5c
lea ecx, [ebp + 8]
call fcn.1000d05c
lea ecx, [ebp + 0xc]
call fcn.10003490
sub eax, 1
push eax
lea ecx, [ebp + 0xc]
call fcn.10009f30
movsx ecx, al
cmp ecx, 0x5c
je 0x100075b7
push 0x5c
lea ecx, [ebp + 0xc]
call fcn.1000d05c
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x30]
call fcn.1000d080
mov byte [ebp - 4], 2
push 0
push 0x100ff964
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x40]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x68]
call fcn.10003420
push eax
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFileFind::FindFile
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x14], 0
je 0x100077de
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov dword [ebp - 0x14], eax
push 0x100ff968
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFileFind::GetFileName
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.10003430
and eax, 0xff
test eax, eax
jne 0x1000769c
push 0x100ff96c
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFileFind::GetFileName
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.10003430
mov byte [ebp - 0x4c], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x4c]
and edx, 0xff
test edx, edx
jne 0x1000769c
mov dword [ebp - 0x7c], 0
jmp 0x100076a3
mov dword [ebp - 0x7c], 1
mov al, byte [ebp - 0x7c]
mov byte [ebp - 0x44], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x44]
and ecx, 0xff
test ecx, ecx
je 0x100076c7
jmp 0x1000760b
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFileFind::GetFilePath
mov byte [ebp - 4], 6
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 7
lea ecx, [ebp + 0xc]
call fcn.10003420
push eax
lea ecx, [ebp + 8]
call fcn.10003420
push eax
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::Replace
lea ecx, [ebp - 0x30]
call fcn.10009f50
test eax, eax
je 0x10007762
mov ecx, dword [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea edx, [ebp - 0x38]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp - 0x34]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 7
call fcn.100074e1
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x10], eax
jmp 0x100077c1
lea ecx, [ebp - 0x38]
call fcn.10003420
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x38]
call fcn.10003420
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x90], eax
call fcn.10003b38
add esp, 4
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jne 0x100077c1
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x38]
call fcn.10003420
push eax
lea ecx, [ebp - 0x34]
call fcn.10003420
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
jmp 0x1000760b
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFileFind::Close
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFileFind::CFileFind
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret