Function at 0x10009310
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008426d
mov eax, dword fs:[0]
push eax
sub esp, 0x920
mov eax, dword [0x100ad708]
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, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x860]
push eax
call fcn.10012180
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 7
mov word [ebp - 0x848], ax
mov ecx, 0x1008c9fc
mov byte [ebp - 4], 1
mov dword [ebp - 0x86c], eax
mov dword [ebp - 0x868], 0xf
mov byte [ebp - 0x87c], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009395
sub ecx, edx
push ecx
push 0x1008c9fc
lea ecx, [ebp - 0x87c]
call fcn.1000f590
push 0
lea eax, [ebp - 0x848]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x87c]
mov ecx, edi
push eax
call fcn.10011fc0
mov edx, dword [ebp - 0x868]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x10009408
mov ecx, dword [ebp - 0x87c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100093fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009782
push edx
push ecx
call fcn.1002eba8
add esp, 8
cmp dword [ebp - 0x850], 0
je 0x100096c7
cmp dword [ebp - 0x838], 0
je 0x100096c7
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10059fd0
add esp, 0xc
lea eax, [ebp - 0x420]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10059fd0
push str..lnk
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x894]
push eax
call fcn.100047a0
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x10009481
mov eax, dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call edi
lea ecx, [ebp - 0x894]
call fcn.10003900
cmp dword [esi + 0x14], 8
jb 0x100094ab
mov esi, dword [esi]
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.10059fd0
add esp, 0xc
lea eax, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
cmovae eax, dword [ebp - 0x848]
push eax
push esi
lea eax, [ebp - 0x830]
push eax
call edi
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.10059fd0
add esp, 0xc
lea eax, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
cmovae eax, dword [ebp - 0x848]
push eax
push esi
lea eax, [ebp - 0x628]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10009668
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1002d0c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10009668
push 0x85
push str.d:jenkins.jenkinsworkspacelib_commonindependent_product_commonindependent_product_commonproduct_install_srcproduct_install.cc
lea ecx, [ebp - 0x894]
mov dword [ebp - 0x884], eax
mov dword [ebp - 0x880], 0xf
mov byte [ebp - 0x894], al
call fcn.1000f590
push 3
push 0x1008cdb8
lea ecx, [ebp - 0x87c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x86c], 0
mov dword [ebp - 0x868], 0xf
mov byte [ebp - 0x87c], 0
call fcn.1000f590
mov byte [ebp - 4], 4
call fcn.1002d0c0
mov edi, eax
lea eax, [ebp - 0x218]
push eax
push str.Delete__s_n
lea eax, [ebp - 0x864]
push 1
push eax
call fcn.1002cf80
add esp, 0x10
push 0x1db
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x87c]
push eax
lea ecx, [ebp - 0x92c]
call fcn.10006090
mov esi, eax
mov ecx, dword [ebp - 0x864]
mov edx, 0x1008ce68
test ecx, ecx
mov byte [ebp - 4], 6
cmovne edx, ecx
push edx
push esi
call fcn.10004420
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x92c]
call fcn.100071f0
mov edx, dword [ebp - 0x864]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000964e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x87c]
call fcn.10006a30
lea ecx, [ebp - 0x894]
mov byte [ebp - 4], 1
call fcn.10006a30
cmp dword [ebp - 0x84c], 8
lea ecx, [ebp - 0x628]
push 0
push ecx
lea ecx, [ebp - 0x218]
push ecx
push 0
lea ecx, [ebp - 0x830]
lea eax, [ebp - 0x860]
cmovae eax, dword [ebp - 0x860]
push ecx
push eax
call fcn.10017650
add esp, 0x18
push 0
push 0x2a
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov bl, 1
jmp 0x100096c9
xor bl, bl
mov edx, dword [ebp - 0x834]
cmp edx, 8
jb 0x10009709
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100096ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009787
push edx
push ecx
call fcn.1002eba8
add esp, 8
mov edx, dword [ebp - 0x84c]
xor eax, eax
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 7
mov word [ebp - 0x848], ax
cmp edx, 8
jb 0x10009762
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10009758
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000978c
push edx
push ecx
call fcn.1002eba8
add esp, 8
mov al, bl
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.1002ef19
mov esp, ebp
pop ebp
ret 4
call fcn.1005e18e
call fcn.1005e18e
call fcn.1005e18e
int3