Function at 0x468c50
Capabilities:
Check if file exists
Copy file
Get common file path
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ce18
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x60f520]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x468e51
mov ecx, dword [esi + 0x14]
cmp ecx, dword [esi + 0x18]
je 0x468cc8
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
mov eax, dword [esi + 0x18]
sub eax, ecx
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi + 0x10]
cmp dword [edx - 0xc], 0
je 0x468e51
lea ecx, [ebp - 0x24]
call fcn.004255f0
mov dword [ebp - 4], 0
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x468d7d
mov eax, dword [ebp - 0x24]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x468d24
push 0x104
lea ecx, [ebp - 0x24]
call fcn.0040c110
mov eax, dword [ebp - 0x24]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp - 0x24]
push dword [eax - 8]
push eax
call fcn.00551cd2
mov edx, eax
add esp, 8
test edx, edx
js 0x468e76
mov ecx, dword [ebp - 0x24]
cmp edx, dword [ecx - 8]
jg 0x468e76
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x24]
push str.ShellNew_
mov word [eax + edx*2], cx
lea ecx, [ebp - 0x24]
call fcn.004288e0
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x24]
push dword [eax - 0xc]
push eax
call fcn.00411f30
push 0
push dword [ebx]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x468e2d
lea eax, [ebp - 0x20]
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov esi, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
call esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
call esi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
call esi
push 0
push 0x2000080
push 3
push 0
push 1
push 0xc0000000
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x468e2d
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x468e51
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
test edi, edi
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055199a
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.0040c390
int3