Function at 0x10011b60
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 0x1009c53d
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x100d07a8]
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 edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
test eax, eax
je 0x10011ba8
mov eax, 1
jmp 0x10011ec4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011b9e
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10011bca
push edi
call ebx
test eax, eax
jne 0x10011b9e
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10075650
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10075650
push edi
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.10084572
add esp, 0x24
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
push 0
push 0x100a7278
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x218]
push eax
call ebx
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x10011ee0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x454], esi
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
lea eax, [ebp - 0x218]
push eax
jne 0x10011d7a
push edi
lea eax, [ebp - 0x454]
push 0x100a7280
push eax
call fcn.10002ef0
add esp, 0x10
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10011e94
push 0x58
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppopcommonutil.cpp
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 1
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
call fcn.1000a260
mov byte [ebp - 4], 2
call fcn.100689b0
mov ebx, eax
lea ecx, [ebp - 0x4ec]
push 0xe1
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10004790
mov edi, eax
mov esi, dword [ebp - 0x454]
mov ecx, 0x100a68c0
test esi, esi
mov byte [ebp - 4], 3
cmovne ecx, esi
push ecx
push edi
call fcn.10003800
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x4ec]
call fcn.10005bc0
lea ecx, [ebp - 0x438]
call fcn.10002b00
lea ecx, [ebp - 0x450]
call fcn.10002b00
xor edi, edi
jmp 0x10011ea3
call ebx
test eax, eax
jne 0x10011e9e
push 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x454]
push str.write__s_to_pending_delete.
push eax
call fcn.10002ef0
add esp, 0xc
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10011e94
push 0x58
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppopcommonutil.cpp
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 4
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
call fcn.1000a260
mov byte [ebp - 4], 5
call fcn.100689b0
mov ebx, eax
lea ecx, [ebp - 0x4ec]
push 0xe9
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.10004790
mov edi, eax
mov esi, dword [ebp - 0x454]
mov ecx, 0x100a68c0
test esi, esi
mov byte [ebp - 4], 6
cmovne ecx, esi
push ecx
push edi
call fcn.10003800
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x4ec]
call fcn.10005bc0
lea ecx, [ebp - 0x450]
call fcn.10002b00
lea ecx, [ebp - 0x438]
call fcn.10002b00
xor edi, edi
jmp 0x10011ea3
mov esi, dword [ebp - 0x454]
xor edi, edi
jmp 0x10011ea3
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10011ec2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.1006a4da
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002c70
int3