Function at 0x54d100
Capabilities:
Copy file
Create directory
Delete file
Get common file path
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x57da3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebp
mov dword [0x5c05c8], ebx
mov dword [0x5c05c0], ebx
call sub.MFC42.DLL_CString::CString_3
lea esi, [ebp + 0x1ac]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x110], ebx
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ecx
call edi
test eax, eax
jne 0x54d2b2
lea edx, [esp + 0x18]
lea eax, [esp + 0x20]
push edx
push 0x5bf2e4
push eax
call sub.MFC42.DLL_operator_2
push 0x5bf2c8
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x118], 1
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
push ebx
push 4
push eax
mov byte [esp + 0x118], 2
call sub.MFC42.DLL_AfxMessageBox_1
cmp eax, 6
lea ecx, [esp + 0x14]
sete bl
mov byte [esp + 0x10c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x10c], 0
call sub.MFC42.DLL_CString::CString
test bl, bl
push 0
je 0x54d26b
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x54d2b2
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push 0x5bf2c0
push ecx
call sub.MFC42.DLL_operator_2
push 0x5bf2b0
lea edx, [esp + 0x24]
mov bl, 3
push eax
push edx
mov byte [esp + 0x118], bl
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x118], 4
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x10c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x10c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x10c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x54d788
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xff00
push 0xb1
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push ecx
call edi
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetFocus
lea ecx, [esp + 0x18]
mov dword [esp + 0x10c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x54d788
lea edx, [esp + 0x18]
lea ecx, [ebp + 0x88]
push edx
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
push 0x64
lea ecx, [esp + 0x14]
mov byte [esp + 0x110], 5
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.wt_temp_
lea ecx, [esp + 0x14]
call fcn.00557276
mov eax, dword [esp + 0x10]
push eax
call edi
test eax, eax
jne 0x54d31c
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x54d46b
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebp
call fcn.0054d950
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::CFileFind
push 0
push 0x5bcca0
lea ecx, [esp + 0x38]
mov byte [esp + 0x114], 6
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x54d451
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov bl, 0xa
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x30]
mov edi, eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x54d449
mov eax, dword [esp + 0x30]
push 0x10
lea ecx, [esp + 0x34]
call dword [eax + 0x40]
test eax, eax
jne 0x54d449
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x118], 7
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x20]
mov byte [esp + 0x10c], 9
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
push ecx
call esi
test eax, eax
jne 0x54d438
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
push str.Delete_File
push eax
call sub.MFC42.DLL_operator_2
push str._Error_
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x118], bl
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x118], 0xb
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x10c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x10c], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x10c], 6
call sub.MFC42.DLL_CString::CString
test edi, edi
jne 0x54d365
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 0x30]
mov byte [esp + 0x10c], 5
call fcn.00557ea0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
lea edx, [esp + 0x1c]
lea ecx, [ebp + 0x1ec]
push edx
mov byte [esp + 0x110], 0xc
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea eax, [esp + 0x58]
lea ecx, [esp + 0x6c]
push eax
lea edx, [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x54]
push edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__splitpath]
lea edx, [esp + 0xb4]
lea eax, [esp + 0x60]
push edx
push eax
lea ecx, [esp + 0x38]
push 0x5bf21c
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebp + 0x24c]
add esp, 0x24
push 0
push 0
push 0x18b
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
mov dword [esp + 0x20], eax
test eax, eax
jle 0x54d59c
add ebp, 0x22c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
push edi
mov byte [esp + 0x114], 0xd
call sub.MFC42.DLL_CListBox::GetText
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call sub.MFC42.DLL_operator_3
mov esi, dword [eax]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x118], 0xe
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x10c], 0xd
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x54d654
lea ecx, [esp + 0x14]
mov byte [esp + 0x10c], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x54d4f7
mov ebp, dword [esp + 0x2c]
lea esi, [ebp + 0x84]
push 0x64
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
or ebx, 0xffffffff
mov ecx, esi
push ebx
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.WTSndTmp
mov ecx, esi
call fcn.00557276
mov ecx, dword [esi]
mov edx, dword [esp + 0x10]
push 1
push 0x5bf268
mov eax, dword [ecx - 8]
mov edi, dword [edx - 8]
push 0x1000
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
push edi
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.PubCFunc.dll_Ordinal_4]
test eax, eax
push ebx
mov ecx, esi
je 0x54d704
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0
push 0
push 0x5bf250
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x10c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x10c], ebx
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x54d788
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push 0x5bf244
push edx
call sub.MFC42.DLL_operator_2
push 0x5bf23c
push eax
lea eax, [esp + 0x34]
mov bl, 0xf
push eax
mov byte [esp + 0x118], bl
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x118], 0x10
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x10c], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x10c], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x10c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x10c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x54d788
call sub.MFC42.DLL_CString::ReleaseBuffer
push ebx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c02fc
lea eax, [esp + 0x2c]
push 0x5b6368
push eax
call sub.MFC42.DLL_operator_2
push eax
mov ecx, esi
mov byte [esp + 0x110], 0x11
call fcn.0055727c
lea ecx, [esp + 0x28]
mov byte [esp + 0x10c], 0xc
call sub.MFC42.DLL_CString::CString
push 0
mov ecx, ebp
call fcn.0054d7b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x10c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x10c], ebx
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x100
ret