Function at 0x459e70
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d297
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4ae44c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x1c], edi
cmp byte [esi + 0x25], 0
jne 0x459ec7
push 0x482e5c
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [0x4824d0]
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], 1
jmp 0x45a019
lea ecx, [ebp - 0x18]
call dword [0x4824e8]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call dword [0x4824e8]
mov byte [ebp - 4], 2
push edi
call dword [sym.imp.MSVCR100.dll__time64]
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
push str._m_d_Y_I_M_S
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040c510
mov byte [ebp - 4], 3
push eax
push 0x4908dc
lea ecx, [ebp - 0x20]
push ecx
call fcn.0040c110
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov bl, 6
mov byte [ebp - 4], bl
lea ecx, [esi + 4]
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
mov edx, dword [edx + 0x20]
call edx
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x18]
call dword [0x4824d8]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
push edi
push edi
mov ecx, esi
call fcn.00459cb0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call dword [0x4824d8]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100u.dll_]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetLength]
sub eax, 4
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Insert]
push edi
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100u.dll_]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 4], 5
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_]
push eax
call dword [0x4ae27c]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [ebp - 0x14]
push ecx
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [0x4824cc]
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4