Function at 0x407d00
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41187c
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x41a014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x438], ecx
lea ecx, [ebp - 0x42c]
call fcn.00408420
mov dword [ebp - 0x43c], 1
lea eax, [ebp - 0x450]
push eax
mov ecx, dword [ebp - 0x438]
add ecx, 4
call fcn.004085b0
mov ecx, dword [eax]
mov dword [ebp - 0x42c], ecx
jmp 0x407d7b
push 0
lea edx, [ebp - 0x454]
push edx
lea ecx, [ebp - 0x42c]
call fcn.004083d0
lea eax, [ebp - 0x458]
push eax
mov ecx, dword [ebp - 0x438]
add ecx, 4
call fcn.00408550
push eax
lea ecx, [ebp - 0x42c]
call fcn.00408390
movzx ecx, al
test ecx, ecx
je 0x407f4a
lea ecx, [ebp - 0x42c]
call fcn.00408400
mov ecx, 0x104
mov esi, eax
lea edi, [ebp - 0x424]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [ebp - 0x424]
push edx
lea ecx, [ebp - 0x440]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov dword [ebp - 4], 0
push 0x41559c
lea ecx, [ebp - 0x428]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov byte [ebp - 4], 1
push 0x4155a0
lea ecx, [ebp - 0x434]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push eax
push 0x4155a4
lea ecx, [ebp - 0x434]
push ecx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
add esp, 0xc
push 0x4155ac
lea ecx, [ebp - 0x430]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov byte [ebp - 4], 3
lea edx, [ebp - 0x21c]
push edx
push 0x4155b0
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
add esp, 0xc
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x44c]
push eax
call fcn.00408790
add esp, 0xc
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x444]
mov dword [ebp - 0x448], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x448]
push edx
lea ecx, [ebp - 0x428]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0
lea ecx, [ebp - 0x428]
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
lea ecx, [ebp - 0x440]
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
je 0x407eee
mov eax, dword [ebp - 0x428]
push eax
push 0x4155b8
call fcn.00406d00
add esp, 8
jmp 0x407f02
mov ecx, dword [ebp - 0x428]
push ecx
push 0x4155cc
call fcn.00406d00
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x430]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x434]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x407d67
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x438]
call fcn.004082b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004102f6
mov esp, ebp
pop ebp
ret 8