Function at 0x4146b3
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423e6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x580
push edi
mov dword [ebp - 0x56c], ecx
mov dword [ebp - 0x550], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x444], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x443]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x54c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x54b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x340], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x33f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x23c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x23b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x114], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::CFileFind
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
jne 0x4147a1
jmp 0x414a14
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4147d5
jmp 0x414a14
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
push 0x4344fc
mov eax, dword [ebp + 0xc]
push eax
push 0x434500
lea ecx, [ebp - 0x340]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push 0
lea edx, [ebp - 0x340]
push edx
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::FindFile
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x448], 1
cmp dword [ebp - 0x118], 0
je 0x414a0a
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov dword [ebp - 0x118], eax
lea ecx, [ebp - 0x138]
call fcn.00418720
test eax, eax
jne 0x414a05
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x414a05
lea eax, [ebp - 0x554]
push eax
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::GetFileName
mov dword [ebp - 0x570], eax
mov ecx, dword [ebp - 0x570]
mov dword [ebp - 0x574], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x574]
call fcn.004040f0
push eax
mov edx, dword [ebp + 8]
push edx
push 0x434508
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x554]
call sub.MFC42.DLL_CString::CString
push 0x80
lea ecx, [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x558]
push eax
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::GetFilePath
mov dword [ebp - 0x578], eax
mov ecx, dword [ebp - 0x578]
mov dword [ebp - 0x57c], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x57c]
call fcn.004040f0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x558]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x11c], 0
jne 0x414a05
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x560]
push eax
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::GetFileName
mov dword [ebp - 0x580], eax
mov ecx, dword [ebp - 0x580]
mov dword [ebp - 0x584], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x584]
call fcn.00418740
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x55c], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x560]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x55c]
and edx, 0xff
test edx, edx
je 0x414a05
lea eax, [ebp - 0x564]
push eax
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::GetFilePath
mov dword [ebp - 0x588], eax
mov ecx, dword [ebp - 0x588]
mov dword [ebp - 0x58c], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x58c]
call fcn.004040f0
push eax
lea edx, [ebp - 0x23c]
push edx
call fcn.00406dc2
add esp, 8
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x564]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x11c], 0
jne 0x4149fc
jmp 0x414a14
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
jmp 0x414820
mov dword [ebp - 0x550], 1
cmp dword [ebp - 0x448], 0
je 0x414a28
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CFileFind::Close
mov ecx, dword [ebp - 0x550]
mov dword [ebp - 0x568], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.0042292c
mov eax, dword [ebp - 0x568]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0xc