Function at 0x12fd1410
Capabilities:
Delete file
Get file attributes
Move file
Set file attributes
Timestomp file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13071908
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
push edi
mov dword [0x131c96c0], ebx
call esi
mov edi, dword [esp + 0x48]
mov dword [0x131c96c8], eax
cmp edi, ebx
je 0x12fd16d8
push edi
call fcn.12f5c44d
add esp, 4
test eax, eax
je 0x12fd16d8
mov ebp, dword [esp + 0x4c]
cmp ebp, ebx
je 0x12fd16d8
mov eax, dword [0x1307d25c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], ebx
call fcn.12fed950
push ebx
push ebx
push 3
push ebx
push 1
push 0xc0000000
push edi
mov byte [esp + 0x5c], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x12fd14f6
mov dword [0x131c96c0], 3
mov dword [0x131c96c4], 0x1cd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x2c]
mov dword [0x131c96c8], eax
mov byte [esp + 0x40], bl
call fcn.12fed9f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], esi
call fcn.12f47220
jmp 0x12fd16f3
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x10]
push ecx
push edi
push edx
push ebp
push esi
call fcn.12fd1710
add esp, 0x14
mov ebp, eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], bl
call fcn.12fed9f0
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
jle 0x12fd16b2
cmp ebp, ebx
je 0x12fd16ab
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x12fd159f
mov dword [0x131c96c0], 4
mov dword [0x131c96c4], 0x1cf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
xor ebp, ebp
jmp 0x12fd15bc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp ebp, ebx
je 0x12fd16a7
mov ecx, dword [0x1307d25c]
mov dword [esp + 0x48], ecx
mov edx, dword [0x131c9c00]
lea eax, [esp + 0x48]
push edx
push eax
push 0x130e5240
push edi
mov byte [esp + 0x50], 2
call fcn.12fee520
add esp, 0x10
test eax, eax
je 0x12fd1675
mov ecx, dword [esp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push ebx
push ecx
push edi
call esi
test eax, eax
je 0x12fd165f
mov edx, dword [esp + 0x10]
push 1
push edi
push edx
call esi
test eax, eax
je 0x12fd1632
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x12fd1696
mov dword [0x131c96c0], 0x27
mov dword [0x131c96c4], 0x1d0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x48]
push 1
push edi
push ecx
mov dword [0x131c96c8], eax
xor ebp, ebp
call esi
jmp 0x12fd1696
mov dword [0x131c96c0], 0x28
mov dword [0x131c96c4], 0x1d18
jmp 0x12fd1689
mov dword [0x131c96c0], 0x26
mov dword [0x131c96c4], 0x1d1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
xor ebp, ebp
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], bl
call fcn.12f47220
cmp ebp, ebx
jne 0x12fd16b2
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
call fcn.12f47220
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
mov dword [0x131c96c0], 1
mov dword [0x131c96c4], 0x1cbb
call esi
mov dword [0x131c96c8], eax
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret