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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov byte [ebp - 1], 0
jne 0x404168
xor eax, eax
jmp 0x4043a3
push 2
lea eax, [ebp - 0xd8]
push eax
push dword [ebp + 8]
call fcn.004032d3
push str..exe
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0xd8]
push eax
call fcn.00403e04
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
test esi, esi
je 0x4041c7
push 1
push dword [ebp + 8]
mov edi, esi
call fcn.00403d77
push 0
push esi
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x4041c3
push esi
call fcn.00404f1a
xor esi, esi
test esi, esi
jne 0x40423b
lea eax, [ebp - 0xd8]
push eax
call fcn.00403ee8
mov esi, eax
test esi, esi
je 0x4041fd
push 1
push dword [ebp + 8]
mov edi, esi
call fcn.00403d77
push 0
push esi
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x4041f9
push esi
call fcn.00404f1a
xor esi, esi
test esi, esi
jne 0x40423b
lea eax, [ebp - 0xd8]
push eax
call fcn.00403f8d
mov esi, eax
test esi, esi
je 0x4043a1
push 1
push dword [ebp + 8]
mov edi, esi
call fcn.00403d77
push 0
push esi
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x404233
push esi
call fcn.00404f1a
xor esi, esi
test esi, esi
je 0x4043a1
push 8
pop ecx
push 0x183a32
push dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x30]
lea ebx, [ebp - 0x30]
rep stosd dword es:[edi], eax
call fcn.004031c9
mov edi, eax
xor ebx, ebx
add edi, 0x81366
mov dword [ebp - 0xc], ebx
cmp esi, ebx
jne 0x40426c
or dword [ebp + 0xc], 0xffffffff
jmp 0x40427f
push 2
push esi
call fcn.00403c72
mov dword [ebp + 0xc], eax
cmp eax, ebx
je 0x404399
push edi
push dword [ebp + 0xc]
call fcn.00403d02
lea eax, [ebp - 1]
mov dword [ebp - 8], ebx
test eax, eax
je 0x4042a6
push ebx
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x20]
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 - 0x54]
lea ebx, [ebp - 0x54]
rep stosd dword es:[edi], eax
call fcn.004031c9
movzx eax, ax
mov dword [ebp - 8], eax
test ax, ax
jne 0x4042e4
xor eax, eax
inc eax
cmp word [ebp - 0x1a], ax
jne 0x4042f9
cmp word [ebp - 0x1e], ax
jne 0x4042e9
mov dword [ebp - 8], eax
push 0xc
pop edx
jmp 0x4042fd
mov eax, 0xffff
add word [ebp - 0x1e], ax
push 0x1c
pop eax
mov word [ebp - 0x1a], ax
movzx edx, word [ebp - 0x1e]
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
test edx, edx
je 0x404319
push edx
push dword [ebp + 8]
lea ebx, [ebp - 0x54]
call fcn.004031c9
jmp 0x40431e
mov eax, dword [0x4214a4]
inc eax
cmp word [ebp - 8], 0
movzx ebx, ax
mov dword [ebp - 0x34], ebx
jne 0x404339
cmp bx, word [ebp - 0x1e]
jne 0x404339
movzx edx, word [ebp - 0x1a]
dec edx
jmp 0x40433c
push 0x1c
pop edx
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
test edx, edx
je 0x40435b
push edx
push dword [ebp + 8]
lea ebx, [ebp - 0x54]
call fcn.004031c9
mov ebx, dword [ebp - 0x34]
jmp 0x404360
mov eax, dword [0x4214a4]
inc eax
mov word [ebp - 0x1a], ax
mov ax, word [ebp - 8]
sub word [ebp - 0x20], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
mov word [ebp - 0x1e], bx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x10]
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 0x4043a1
push esi
call fcn.00404f1a
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8