Function at 0x12fe39b0
Capabilities:
Delete file
Get common file path
Get file attributes
Move file
Set file attributes
Timestomp file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13071efc
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
push edi
mov dword [0x131c9cd0], ebx
call esi
mov ebp, dword [esp + 0x25c]
mov dword [0x131c9cd8], eax
cmp ebp, ebx
je 0x12fe3d9e
push ebp
call fcn.12f5c44d
add esp, 4
test eax, eax
je 0x12fe3d9e
mov eax, dword [esp + 0x260]
push eax
call fcn.12f9dd00
add esp, 4
test eax, eax
je 0x12fe3a22
mov eax, 1
jmp 0x12fe3dbb
push ebp
lea ecx, [esp + 0x1c]
call fcn.12f46a80
mov ecx, dword [0x1307d25c]
mov dword [esp + 0x254], ebx
mov dword [esp + 0x14], ecx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x44], bx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x44]
mov byte [esp + 0x254], 1
push edx
push 0x104
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x12fe3c77
lea eax, [esp + 0x44]
lea ecx, [esp + 0x10]
push eax
call fcn.12f46a80
push 0x130c4ed0
lea ecx, [esp + 0x14]
mov byte [esp + 0x258], 2
call fcn.12f4aa90
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x13182cf0
push edx
call fcn.12f4a1a0
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x254], 1
call fcn.12f47220
mov edx, dword [esp + 0x18]
xor ebp, ebp
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
mov dword [esp + 0x40], eax
jne 0x12fe3ce2
mov eax, dword [esp + 0x18]
push ebx
push 0x80
push 3
push ebx
push 5
push SysReAllocStringLen
push eax
call fcn.12fee850
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x12fe3cff
mov ecx, dword [esp + 0x14]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push ecx
call fcn.12fee850
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x12fe3d1c
mov edx, dword [esp + 0x260]
push ebx
push edx
push esi
push edi
mov dword [esp + 0x30], 1
call fcn.12fe4190
mov ebp, eax
add esp, 0x10
cmp ebp, ebx
je 0x12fe3d3b
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
push edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edi
call fcn.12fee040
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, ebx
je 0x12fe3bd6
mov edx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.12fee2c0
add esp, 0xc
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x264], ebx
je 0x12fe3bf6
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
mov eax, dword [0x1307d25c]
xor ebp, ebp
mov dword [esp + 0x10], eax
mov ecx, dword [0x131ca210]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x130e5240
push eax
mov byte [esp + 0x264], 3
call fcn.12fee520
add esp, 0x10
test eax, eax
je 0x12fe3ccf
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 2
push ecx
push edx
call esi
test eax, eax
je 0x12fe3ccf
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 2
push eax
push ecx
call esi
test eax, eax
je 0x12fe3cc1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, 1
jmp 0x12fe3ccf
mov eax, dword [0x131ca210]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0x1311b178
push ebp
call fcn.12fee520
add esp, 0x10
test eax, eax
jne 0x12fe3acb
lea ecx, [esp + 0x14]
mov byte [esp + 0x254], bl
call fcn.12f47220
lea ecx, [esp + 0x18]
mov dword [esp + 0x254], 0xffffffff
call fcn.12f47220
jmp 0x12fe3db9
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push 2
push eax
push ecx
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x254], 1
call fcn.12f47220
jmp 0x12fe3d4c
mov dword [0x131c9cd0], 0x1d
mov dword [0x131c9cd4], 0xb52
call esi
mov dword [0x131c9cd8], eax
jmp 0x12fe3d4c
mov dword [0x131c9cd0], 3
mov dword [0x131c9cd4], 0xb64
call esi
mov dword [0x131c9cd8], eax
jmp 0x12fe3d4c
mov dword [0x131c9cd0], 4
mov dword [0x131c9cd4], 0xb73
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c9cd8], eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp esi, 0xffffffff
je 0x12fe3d4c
push esi
call edi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x12fe3d61
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x1c], ebx
cmp ebp, ebx
jne 0x12fe3d76
cmp dword [esp + 0x20], ebx
je 0x12fe3d76
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x14]
mov byte [esp + 0x254], bl
call fcn.12f47220
lea ecx, [esp + 0x18]
mov dword [esp + 0x254], 0xffffffff
call fcn.12f47220
mov eax, ebp
jmp 0x12fe3dbb
mov dword [0x131c9cd0], 1
mov dword [0x131c9cd4], 0xb27
call esi
mov dword [0x131c9cd8], eax
xor eax, eax
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x248
ret