Function at 0x10006770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b50f
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x100d07a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edx, edx
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], edi
mov word [esi], dx
push eax
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], edx
push eax
mov dword [ebp - 0x7c], 1
call fcn.100072b0
add esp, 0xc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10006af8
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 0x10006934
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppopcommon_scriptlocalinfomgr.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1000a260
mov byte [ebp - 4], 3
call fcn.100689b0
mov edi, eax
lea ecx, [ebp - 0x118]
push 0xb6
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10004790
mov esi, eax
push str.local_script_not_exist
push esi
mov byte [ebp - 4], 4
call fcn.10005a70
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x118]
call fcn.10005bc0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x100068e4
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100068da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c8f
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x1000692e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006924
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c94
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov edi, dword [ebp - 0x74]
mov esi, dword [ebp - 0x78]
cmp dword [ebp - 0x18], 0
jne 0x100069fa
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.10006cc0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x100069c0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000698e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006984
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c99
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x100069fa
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100069f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c9e
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.10007f90
add esp, 8
test al, al
jne 0x10006af8
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 0x10006aeb
push 0x66
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppopcommon_scriptlocalinfomgr.cpp
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000a260
mov byte [ebp - 4], 6
call fcn.100689b0
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x118]
push 0xbc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004790
mov dword [ebp - 0x78], eax
push str.download_failed:
push eax
mov byte [ebp - 4], 7
call fcn.10005a70
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x10006ab0
mov edi, dword [edi]
test edi, edi
mov eax, 0x100a68c0
cmovne eax, edi
mov edi, dword [ebp - 0x78]
push eax
push edi
call fcn.10003800
mov ecx, dword [ebp - 0x74]
add esp, 8
mov eax, dword [ecx]
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x118]
call fcn.10005bc0
lea ecx, [ebp - 0x40]
call fcn.10002b00
lea ecx, [ebp - 0x58]
call fcn.10002b00
lea ecx, [ebp - 0x28]
call fcn.100051b0
jmp 0x10006c72
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call fcn.1005cea0
add esp, 8
cmp dword [ebp - 0x60], 0
je 0x10006bf6
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push 0xfde9
cmovae eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1004f5a0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x10006bbc
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x10006b8c
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10006b82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006c8f
mov eax, edx
push ecx
push eax
call fcn.1006a15b
add esp, 8
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10006bf6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006bec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006ca3
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x10006c2a
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006c20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006ca8
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp edx, 8
jb 0x10006c72
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006c68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006cad
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov eax, esi
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.1006a4da
mov esp, ebp
pop ebp
ret
call fcn.10078889
call fcn.10078889
call fcn.10078889
call fcn.10078889
call fcn.10078889
call fcn.10078889
call fcn.10078889
int3