Function at 0x100075b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152809
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x101c10e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.100069c0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x44], esi
cmp dword [esi - 4], 1
mov dword [ebp - 4], 0
jle 0x1000760d
push dword [esi - 0xc]
lea ecx, [ebp - 0x44]
call fcn.10002410
mov esi, dword [ebp - 0x44]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [esi - 8]
push esi
call fcn.10062fb2
add esp, 8
test eax, eax
js 0x1000796e
cmp eax, dword [esi - 8]
jg 0x1000796e
xor ecx, ecx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov dword [ebp - 0x10], ebx
call fcn.10013100
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x1000777c
push 0x49
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x40], cl
lea ecx, [ebp - 0x40]
push str.d:jenkins.jenkinsworkspacelib_common_netul_netulcurldllhttpcurl.cpp
mov dword [ebp - 0x2c], 0xf
call fcn.1000a970
push 3
push 0x10154acc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000a970
mov byte [ebp - 4], 2
call fcn.10013100
mov ebx, eax
lea ecx, [ebp - 0xdc]
push 0x1e1
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100045c0
mov edi, eax
push str.check_dir_exist:
push edi
mov byte [ebp - 4], 3
call fcn.10005b20
add esp, 8
mov ecx, edi
push dword [ebp - 0x10]
call fcn.100057e0
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10005c40
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x1000772f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007725
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007978
push edx
push ecx
call fcn.1005ce96
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10007779
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000776f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000797d
push edx
push ecx
call fcn.1005ce96
add esp, 8
mov ebx, dword [ebp - 0x10]
test ebx, ebx
jne 0x10007939
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10007857
call fcn.10013100
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x10007857
push 0x49
push str.d:jenkins.jenkinsworkspacelib_common_netul_netulcurldllhttpcurl.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000a970
push 3
push 0x10154acc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
call fcn.1000a970
mov byte [ebp - 4], 5
call fcn.10013100
mov ebx, eax
lea ecx, [ebp - 0xdc]
push 0x1e5
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100045c0
mov edi, eax
push str.SHCreateDirectory_err:
push edi
mov byte [ebp - 4], 6
call fcn.10005b20
add esp, 8
mov ecx, edi
push dword [ebp - 0x10]
call fcn.100057e0
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10005c40
lea ecx, [ebp - 0x40]
call fcn.10005010
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10005010
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov dword [ebp - 0x10], ebx
call fcn.10013100
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10007939
push 0x49
push str.d:jenkins.jenkinsworkspacelib_common_netul_netulcurldllhttpcurl.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000a970
push 3
push 0x10154acc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000a970
mov byte [ebp - 4], 8
call fcn.10013100
mov ebx, eax
lea ecx, [ebp - 0xdc]
push 0x1e8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100045c0
mov edi, eax
push str.create_directory:
push edi
mov byte [ebp - 4], 9
call fcn.10005b20
push esi
push edi
call fcn.10002f10
push str._result
push edi
call fcn.10005b20
add esp, 0x18
mov ecx, edi
push dword [ebp - 0x10]
call fcn.100057e0
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10005c40
lea ecx, [ebp - 0x40]
call fcn.10005010
lea ecx, [ebp - 0x28]
call fcn.10005010
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10007958
mov ecx, dword [esi]
push esi
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 esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.10002340
call fcn.10062a39
call fcn.10062a39
int3