Function at 0x454b50
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4e9920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], ebx
xor esi, esi
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::CString
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 5
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea ecx, [esp + 0x20]
call fcn.0047d36c
push ebx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ebp, dword [esp + 0x40]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.0047d35a
lea ecx, [esp + 0x1c]
push 0x523958
lea edx, [esp + 0x44]
push ecx
push edx
call sub.MFC42.DLL_operator
mov ecx, dword [esp + 0x44]
push eax
mov byte [esp + 0x38], 6
call fcn.0047d35a
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 5
call fcn.0047d354
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x14]
push eax
call fcn.0047d35a
push ebx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [edi + 0x24]
cmp eax, ebx
jne 0x454cdb
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 8]
cmp eax, ebx
je 0x454e23
lea esi, [eax + 0x5e8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
push eax
lea ecx, [esp + 0x14]
call fcn.0047d36c
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 7
call fcn.0047d35a
lea ecx, [esp + 0x44]
mov byte [esp + 0x34], 5
call fcn.0047d354
mov eax, dword [esp + 0x18]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
jmp 0x454e8b
cmp eax, 1
jne 0x454e8b
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_1
mov edi, dword [edi + 8]
mov byte [esp + 0x34], 8
mov eax, dword [edi + 8]
mov edx, dword [edi]
cmp eax, ebx
mov dword [esp + 0x28], edx
je 0x454e15
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
lea esi, [eax + 0x5e8]
push esi
call edi
push eax
lea ecx, [esp + 0x14]
call fcn.0047d36c
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 9
call fcn.0047d35a
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 8
call fcn.0047d354
mov ecx, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
push ecx
push esi
call ebp
mov esi, eax
cmp esi, ebx
je 0x454e15
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x454e7d
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x454e15
lea esi, [eax + 0x5e8]
push esi
call edi
push eax
lea ecx, [esp + 0x14]
call fcn.0047d36c
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x14]
push 0x523958
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator
lea edx, [esp + 0x10]
mov byte [esp + 0x34], 0xa
push edx
push eax
lea eax, [esp + 0x30]
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0xb
call fcn.0047d35a
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 0xa
call fcn.0047d354
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 8
call fcn.0047d354
mov ecx, dword [esp + 0x18]
push ebx
push ecx
push esi
call ebp
mov esi, eax
cmp esi, ebx
jne 0x454e7d
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 5
call fcn.0047d354
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call fcn.0047d354
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 3
call fcn.0047d354
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 2
call fcn.0047d354
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call fcn.0047d354
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], bl
call fcn.0047d354
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call fcn.0047d354
xor eax, eax
jmp 0x454ee3
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 5
call fcn.0047d354
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call fcn.0047d354
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 3
call fcn.0047d354
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 2
call fcn.0047d354
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call fcn.0047d354
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], bl
call fcn.0047d354
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call fcn.0047d354
mov eax, esi
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc