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

Disassembly:
push 0xffffffffffffffff
push 0x4093f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x88]
push 0x40e138
lea ecx, [esp + 0x30]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x8c], edi
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x2c]
call fcn.00408cfe
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call sub.MFC42.DLL_CString::CString
mov esi, dword [sym.imp.MSVCRT.dll_fopen]
push 0x40e134
push str.tmp1.txt
mov byte [esp + 0x88], 2
call esi
push 0x40e134
push str.tmp2.txt
mov dword [esp + 0x2c], eax
call esi
push 0x40e118
push str.diff.txt
mov dword [esp + 0x38], eax
call esi
mov ebp, eax
push 0x40e108
push str.diff.tmp
mov dword [esp + 0x4c], ebp
call esi
mov esi, eax
add esp, 0x20
test esi, esi
mov dword [esp + 0x58], esi
je 0x402069
test ebp, ebp
je 0x402069
push 0x40e878
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
push 0x40e878
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 3
call sub.MFC42.DLL_CString::CString_2
mov al, byte [esi + 0xc]
mov byte [esp + 0x80], 4
test al, 0x10
jne 0x40200b
lea edx, [esp + 0x28]
push 0
lea eax, [esp + 0x1c]
push edx
push eax
push esi
call fcn.00401620
add esp, 0x10
test eax, eax
je 0x401fbf
push fcn.00408cfe
push sub.MFC42.DLL_CString::CString
push 6
lea ecx, [esp + 0x6c]
push 4
push ecx
call fcn.00408f43
mov eax, dword [esp + 0x18]
xor esi, esi
mov byte [esp + 0x80], 5
mov ebx, dword [eax - 8]
test ebx, ebx
jle 0x401b01
lea ebp, [esp + 0x60]
jmp 0x401adf
mov eax, dword [esp + 0x18]
cmp byte [esi + eax], 0x5d
jne 0x401ae9
add ebp, 4
inc esi
mov dl, byte [esi + eax]
mov ecx, ebp
mov byte [esp + 0x30], dl
mov eax, dword [esp + 0x30]
push eax
call fcn.00408d34
inc esi
cmp esi, ebx
jl 0x401adb
push 0x40e878
lea ecx, [esp + 0x1c]
call fcn.00408d52
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov eax, dword [ecx - 8]
mov ecx, dword [esp + 0x64]
mov esi, dword [edx - 8]
mov edx, dword [esp + 0x60]
mov ebp, dword [ecx - 8]
push eax
mov ebx, dword [edx - 8]
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebp
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebx
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::GetBuffer
mov ebp, dword [sym.imp.MSVCRT.dll_fprintf]
push eax
mov eax, dword [esp + 0x3c]
push str._s__s__s__s_n
push eax
call ebp
mov ecx, dword [esp + 0x3c]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x40e878
push ecx
call esi
add esp, 0x20
test eax, eax
jne 0x401d56
mov edx, dword [esp + 0x10]
push 0x40e878
push edx
call esi
add esp, 8
test eax, eax
jne 0x401d56
lea eax, [esp + 0x60]
lea ecx, [esp + 0x24]
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x88]
push str.change_
lea eax, [esp + 0x40]
push edx
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x24]
lea edx, [esp + 0x38]
push ecx
push eax
push edx
mov byte [esp + 0x8c], 6
call sub.MFC42.DLL_operator
push str..zip
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x88], 7
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
mov byte [esp + 0x88], 8
call fcn.00408a00
add esp, 8
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], eax
mov byte [esp + 0x80], 7
call fcn.00408cfe
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], 6
call fcn.00408cfe
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 5
call fcn.00408cfe
lea ecx, [esp + 0x88]
push str.change_
lea edx, [esp + 0x4c]
push ecx
push edx
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x10]
lea edx, [esp + 0x44]
push ecx
push eax
push edx
mov byte [esp + 0x8c], 9
call sub.MFC42.DLL_operator
push str..zip
push eax
lea eax, [esp + 0x48]
mov byte [esp + 0x88], 0xa
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
mov byte [esp + 0x88], 0xb
call fcn.00408a00
add esp, 8
lea ecx, [esp + 0x40]
mov edi, eax
mov byte [esp + 0x80], 0xa
call fcn.00408cfe
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 9
call fcn.00408cfe
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 5
call fcn.00408cfe
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x68]
push 0x40e0d4
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x401ea3
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ebx
call fcn.004020c0
add esp, 8
test eax, eax
jne 0x401ea3
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00408a70
mov eax, dword [esp + 0x78]
add esp, 0xc
lea ecx, [esp + 0x6c]
mov eax, dword [eax - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x40e0d0
push ebx
jmp 0x401f97
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
push ecx
push edx
call esi
add esp, 8
test eax, eax
jne 0x401cdd
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov esi, dword [esp + 0x14]
push esi
call fcn.00404560
add esp, 4
test al, al
push esi
je 0x401da2
call fcn.004044d0
jmp 0x401da7
call fcn.00408a90
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [esp + 0x14], edi
push edx
call esi
mov eax, dword [esp + 0x24]
push eax
call esi
add esp, 8
push str.tmp1.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.tmp1.txt
push str.tmp2.txt
call dword [sym.imp.MSVCRT.dll_rename]
mov esi, dword [sym.imp.MSVCRT.dll_fopen]
push 0x40e0cc
push str.tmp1.txt
call esi
mov ebx, eax
push 0x40e134
push str.tmp2.txt
mov dword [esp + 0x34], ebx
call esi
add esp, 0x18
lea ecx, [esp + 0x88]
lea edx, [esp + 0x54]
mov esi, eax
push str.change_
push ecx
push edx
mov dword [esp + 0x2c], esi
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x10]
lea edx, [esp + 0x50]
push ecx
push eax
push edx
mov byte [esp + 0x8c], 0xc
call sub.MFC42.DLL_operator
push str..zip
push eax
lea eax, [esp + 0x54]
mov byte [esp + 0x88], 0xd
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
mov byte [esp + 0x88], 0xe
call fcn.00408a00
add esp, 8
lea ecx, [esp + 0x4c]
mov edi, eax
mov byte [esp + 0x80], 0xd
call fcn.00408cfe
lea ecx, [esp + 0x50]
mov byte [esp + 0x80], 0xc
call fcn.00408cfe
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 5
call fcn.00408cfe
jmp 0x401ce5
mov ecx, dword [esp + 0x68]
push 0x40e0c8
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x401ee1
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push esi
call fcn.004020c0
add esp, 8
test eax, eax
jne 0x401ee1
mov eax, dword [esp + 0x70]
jmp 0x401f70
mov eax, dword [esp + 0x68]
push 0x40e0c4
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x401f9c
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ebx
call fcn.004020c0
add esp, 8
test eax, eax
jne 0x401f4e
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.00408a70
mov eax, dword [esp + 0x78]
add esp, 0xc
lea ecx, [esp + 0x6c]
mov eax, dword [eax - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x40e0d0
push ebx
call ebp
add esp, 0xc
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push esi
call fcn.004020c0
add esp, 8
test eax, eax
jne 0x401f9c
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
push eax
push ecx
push edi
call fcn.00408a70
mov edx, dword [esp + 0x78]
add esp, 0xc
lea ecx, [esp + 0x6c]
mov eax, dword [edx - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x40e0d0
push esi
call ebp
add esp, 0xc
push fcn.00408cfe
push 6
lea eax, [esp + 0x68]
push 4
push eax
mov byte [esp + 0x90], 4
call fcn.00408e4f
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x58]
test byte [esi + 0xc], 0x10
je 0x401a8b
test ebx, ebx
je 0x401fea
push ebx
call fcn.00404560
add esp, 4
test al, al
push ebx
je 0x401fe2
call fcn.004044d0
jmp 0x401fe7
call fcn.00408a90
add esp, 4
test edi, edi
je 0x40200b
push edi
call fcn.00404560
add esp, 4
test al, al
push edi
je 0x402003
call fcn.004044d0
jmp 0x402008
call fcn.00408a90
add esp, 4
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fclose]
call esi
mov ecx, dword [esp + 0x30]
push ecx
call esi
mov edx, dword [esp + 0x24]
push edx
call esi
mov eax, dword [esp + 0x2c]
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x10
push str.tmp1.txt
call esi
push str.tmp2.txt
call esi
push str.diff.tmp
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 3
call fcn.00408cfe
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 2
call fcn.00408cfe
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call fcn.00408cfe
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 0
call fcn.00408cfe
lea ecx, [esp + 0x88]
mov dword [esp + 0x80], 0xffffffff
call fcn.00408cfe
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret