Function at 0x10013ea0
Capabilities:
Check if file exists
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9386
mov eax, dword fs:[0]
push eax
mov eax, 0x1734
call fcn.1006ad60
mov eax, dword [0x100db55c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1738], eax
mov dword [ebp - 0x1740], ecx
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x10013ef2
xor eax, eax
jmp 0x10014284
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x10013eeb
call fcn.10002b70
mov ecx, eax
test ecx, ecx
je 0x1001429f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x1734], edi
push 0x208
lea eax, [ebp - 0x318]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.10076710
push 0x208
lea eax, [ebp - 0x720]
push 0
push eax
call fcn.10076710
add esp, 0x18
lea eax, [ebp - 0x720]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x720]
push eax
call fcn.1007e22e
mov eax, dword [ebp - 0x1738]
add esp, 4
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x100142a9
movzx eax, word [eax]
push eax
call fcn.100874d5
movzx eax, ax
add esp, 4
cmp word [ebp - 0x720], ax
jne 0x10013fad
lea eax, [ebp - 0x318]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x10014007
mov eax, dword [ebp - 0x1738]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x100142b3
movzx eax, word [eax]
push eax
push str._c:.temp
lea eax, [ebp - 0x318]
push 0x104
push eax
call fcn.1000ff00
add esp, 0x10
lea eax, [ebp - 0x318]
push eax
call esi
test eax, eax
jne 0x10014007
lea eax, [ebp - 0x318]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 2
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x173c]
call fcn.10003790
mov esi, dword [ebp - 0x173c]
mov byte [ebp - 4], 1
cmp dword [esi - 0xc], 0x104
jg 0x100141de
push 0x800
lea eax, [ebp - 0x1720]
push 0
push eax
call fcn.10076710
push 0x800
lea eax, [ebp - 0xf20]
push 0
push eax
call fcn.10076710
push esi
lea eax, [ebp - 0x1720]
push 0x400
push eax
call fcn.10079b4a
push 0xfe
lea eax, [ebp - 0x10e]
push 0
push eax
call fcn.10076710
add esp, 0x30
xor esi, esi
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x1730]
push eax
movups xmmword [ebp - 0x1730], xmm0
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x200
lea eax, [ebp - 0x518]
push 0
push eax
call fcn.10076710
movzx eax, byte [ebp - 0x1721]
push eax
movzx eax, byte [ebp - 0x1722]
push eax
movzx eax, byte [ebp - 0x1723]
push eax
movzx eax, byte [ebp - 0x1724]
push eax
movzx eax, byte [ebp - 0x1725]
push eax
movzx eax, byte [ebp - 0x1726]
push eax
movzx eax, byte [ebp - 0x1727]
push eax
movzx eax, byte [ebp - 0x1728]
push eax
movzx eax, word [ebp - 0x172a]
push eax
movzx eax, word [ebp - 0x172c]
push eax
push dword [ebp - 0x1730]
lea eax, [ebp - 0x518]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.100132d0
lea eax, [ebp - 0x518]
add esp, 0x40
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10014126
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x110]
push 0x80
push eax
call fcn.10079c7b
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x1720]
push eax
lea eax, [ebp - 0xf20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str..tmp
lea eax, [ebp - 0xf20]
push 0x400
push eax
call fcn.1007da12
add esp, 0xc
lea eax, [ebp - 0xf20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100141a2
inc esi
cmp esi, 0xa
jl 0x10014080
jmp 0x100141d8
lea ecx, [ebp - 0xf20]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100141b0
sub ecx, edx
lea eax, [ebp - 0xf20]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1734]
call fcn.10002820
mov edi, dword [ebp - 0x1734]
mov esi, dword [ebp - 0x173c]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100141fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1738]
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x10014221
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1734], 0
jmp 0x10014262
mov eax, dword [ebp - 0x1738]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10014246
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x1734], 0
jmp 0x10014262
mov ecx, dword [ebp - 0x1740]
lea eax, [ebp - 0x1734]
push eax
call fcn.100024a0
mov dword [ebp - 0x1734], 1
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x1001427e
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1734]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006a7ac
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10001810
push 0x80070057
call fcn.10001810
push 0x80070057
call fcn.10001810
int3