Function at 0x404e26
Capabilities:
Copy file
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov byte [ebp - 5], 0
jne 0x404e43
xor eax, eax
jmp 0x40507d
push 2
lea eax, [ebp - 0xdc]
push eax
push dword [ebp + 8]
call fcn.00403a65
push dword [ebp + 0x10]
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0xdc]
push eax
call fcn.00404ae4
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
test esi, esi
je 0x404ea0
push 1
push dword [ebp + 8]
mov ebx, esi
call fcn.004048cc
push 0
push esi
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x404e9c
push esi
call fcn.00405c44
xor esi, esi
test esi, esi
jne 0x404f14
lea eax, [ebp - 0xdc]
push eax
call fcn.00404bc8
mov esi, eax
test esi, esi
je 0x404ed6
push 1
push dword [ebp + 8]
mov ebx, esi
call fcn.004048cc
push 0
push esi
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x404ed2
push esi
call fcn.00405c44
xor esi, esi
test esi, esi
jne 0x404f14
lea eax, [ebp - 0xdc]
push eax
call fcn.00404c6d
mov esi, eax
test esi, esi
je 0x40507b
push 1
push dword [ebp + 8]
mov ebx, esi
call fcn.004048cc
push 0
push esi
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x404f0c
push esi
call fcn.00405c44
xor esi, esi
test esi, esi
je 0x40507b
push 8
pop ecx
push 0x1a8422
push dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x34]
lea ebx, [ebp - 0x34]
rep stosd dword es:[edi], eax
call fcn.0040394f
xor ebx, ebx
lea edi, [eax + 0x8d6b6]
mov dword [ebp - 0x10], ebx
cmp esi, ebx
jne 0x404f43
or dword [ebp + 0xc], 0xffffffff
jmp 0x404f56
push 2
push esi
call fcn.004047b2
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x405073
push ebx
push ebx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 5]
mov dword [ebp + 0x10], ebx
test eax, eax
je 0x404f80
push ebx
lea eax, [ebp + 0x10]
push eax
push 1
lea eax, [ebp - 5]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 8
pop ecx
push 4
push dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x58]
lea ebx, [ebp - 0x58]
rep stosd dword es:[edi], eax
call fcn.0040394f
movzx eax, ax
mov dword [ebp + 0x10], eax
test ax, ax
jne 0x404fbe
xor eax, eax
inc eax
cmp word [ebp - 0x1e], ax
jne 0x404fd3
cmp word [ebp - 0x22], ax
jne 0x404fc3
mov dword [ebp + 0x10], eax
push 0xc
pop edx
jmp 0x404fd7
mov eax, 0xffff
add word [ebp - 0x22], ax
push 0x1c
pop eax
mov word [ebp - 0x1e], ax
movzx edx, word [ebp - 0x22]
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
test edx, edx
je 0x404ff3
push edx
push dword [ebp + 8]
lea ebx, [ebp - 0x58]
call fcn.0040394f
jmp 0x404ff8
mov eax, dword [0x42d5f0]
inc eax
cmp word [ebp + 0x10], 0
movzx ebx, ax
mov dword [ebp - 0x38], ebx
jne 0x405013
cmp bx, word [ebp - 0x22]
jne 0x405013
movzx edx, word [ebp - 0x1e]
dec edx
jmp 0x405016
push 0x1c
pop edx
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
test edx, edx
je 0x405035
push edx
push dword [ebp + 8]
lea ebx, [ebp - 0x58]
call fcn.0040394f
mov ebx, dword [ebp - 0x38]
jmp 0x40503a
mov eax, dword [0x42d5f0]
inc eax
mov word [ebp - 0x1e], ax
mov ax, word [ebp + 0x10]
sub word [ebp - 0x24], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
mov word [ebp - 0x22], bx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x14]
push eax
push eax
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40507b
push esi
call fcn.00405c44
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc