Function at 0x1000c670
Capabilities:
Check if file exists
Copy file
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x920
mov eax, dword [0x10081100]
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 dword [ebp - 0x83c], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x848], eax
lea eax, [ebp - 0x838]
push eax
mov dword [ebp - 0x838], ebx
call fcn.1002d180
add esp, 4
push dword [ebp - 0x838]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 4], ebx
call esi
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.1003d850
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.1003d850
add esp, 0x18
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.100374d0
push 0xfde9
lea eax, [ebp - 0x628]
mov dword [ebp - 0x844], ebx
push eax
lea eax, [ebp - 0x894]
push eax
call fcn.10035680
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x1000c743
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x844]
call fcn.10009950
mov edx, dword [ebp - 0x880]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x1000c78d
mov ecx, dword [ebp - 0x894]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c783
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cbda
push edx
push ecx
call fcn.10020dd1
add esp, 8
mov eax, dword [ebp - 0x844]
lea ecx, [ebp - 0x830]
push 0x104
push ecx
mov dword [ebp - 0x884], 0
push dword [eax - 0xc]
mov dword [ebp - 0x880], 0xf
push eax
mov byte [ebp - 0x894], 0
call fcn.10021fb0
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000c7f7
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [edi + 0x60], 0
mov ecx, str.CefRes.dll
mov eax, str.CefRes69.dll
cmove eax, ecx
push eax
lea eax, [ebp - 0x218]
push eax
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1003d850
add esp, 0xc
lea eax, [ebp - 0x420]
push dword [edi + 4]
push eax
call esi
cmp dword [edi + 0x60], 0
mov ecx, str.UtilsCefRes.dll
mov eax, str.UtilsCefRes69.dll
cmove eax, ecx
push eax
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000c878
push 0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
call fcn.1001a920
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1000c9ff
push 0x48
push str.d:jenkins.jenkinsworkspacelib_commoncefhelpercef_helperconfig.cpp
lea ecx, [ebp - 0x87c]
mov dword [ebp - 0x86c], eax
mov dword [ebp - 0x868], 0xf
mov byte [ebp - 0x87c], al
call fcn.10004a50
push 3
push 0x10066764
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], 4
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x850], 0xf
mov byte [ebp - 0x864], 0
call fcn.10004a50
mov byte [ebp - 4], 5
call fcn.1001a920
mov edi, eax
lea ecx, [ebp - 0x92c]
push 0x134
lea eax, [ebp - 0x87c]
push eax
lea eax, [ebp - 0x864]
push eax
call fcn.10002920
mov esi, eax
push str.res_path:
push esi
mov byte [ebp - 4], 6
call fcn.10007600
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.10007600
push str._save_path:
push esi
call fcn.10007600
lea eax, [ebp - 0x420]
push eax
push esi
call fcn.10007600
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x92c]
call fcn.10003620
mov edx, dword [ebp - 0x850]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x1000c9a0
mov ecx, dword [ebp - 0x864]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c996
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cbdf
push edx
push ecx
call fcn.10020dd1
add esp, 8
mov edx, dword [ebp - 0x868]
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x850], 0xf
mov byte [ebp - 0x864], 0
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x1000c9f9
mov ecx, dword [ebp - 0x87c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c9ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cbe4
push edx
push ecx
call fcn.10020dd1
add esp, 8
mov edi, dword [ebp - 0x83c]
or esi, 0xffffffff
test ebx, ebx
jne 0x1000cb77
lea eax, [ebp - 0x840]
mov dword [ebp - 0x840], 1
push eax
lea eax, [ebp - 0x834]
mov ecx, edi
push eax
call fcn.1000cc70
add edi, 0x2c
mov byte [ebp - 4], 7
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x1000ca3a
mov eax, dword [edi]
push dword [ebp - 0x848]
mov ecx, dword [ebp - 0x83c]
push eax
push str.Utils
push dword [ebp - 0x834]
call fcn.1000b6b0
mov ebx, eax
test ebx, ebx
jne 0x1000cb33
mov ecx, dword [ebp - 0x83c]
mov dword [ebp - 0x840], eax
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x84c]
push eax
call fcn.1000cc70
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x834]
add ebx, 0xfffffff0
mov byte [ebp - 4], 8
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x1000cae7
cmp dword [ebx + 0xc], 0
jl 0x1000cad8
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x1000cad8
push edx
call fcn.1000af70
add esp, 4
mov dword [ebp - 0x840], eax
mov ecx, esi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000cacd
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x840]
add eax, 0x10
mov dword [ebp - 0x834], eax
jmp 0x1000cae7
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x834]
call fcn.100106c0
mov edx, dword [ebp - 0x84c]
mov eax, esi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000cb08
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x14], 8
jb 0x1000cb10
mov edi, dword [edi]
push dword [ebp - 0x848]
mov ecx, dword [ebp - 0x83c]
push edi
push str.Utils
push dword [ebp - 0x834]
call fcn.1000b6b0
mov ebx, eax
test ebx, ebx
je 0x1000cb56
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x834]
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000cb77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x844]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000cb98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x838]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1000cbba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.10021142
mov esp, ebp
pop ebp
ret 4
call fcn.10040839
call fcn.10040839
call fcn.10040839
int3