Function at 0x100114c0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100632ae
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x10083180]
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 dword [ebp - 0xa8], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0xac], 0
call fcn.100230b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10011679
push 0x55
push str.d:jenkins.jenkinsworkspacelib_common_arctrl_arctrlpullcheck_scriptactivation.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.10006b80
push 3
push 0x1006771c
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.10006b80
mov byte [ebp - 4], 2
call fcn.100230b0
mov edi, eax
lea ecx, [ebp - 0x1e0]
push 0xab
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10004a70
mov esi, eax
push str._GetScriptPath_CScriptActivation__AAE_AV__CStringT__WV__StrTraitATL__WV__ChTraitsCRT__W_ATL___ATL___ATL__HABV23__Z
push esi
mov byte [ebp - 4], 3
call fcn.100056f0
push str.list_url_:
push esi
call fcn.100056f0
mov eax, dword [ebx]
mov ecx, 0x10069138
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.1000e4e0
mov eax, dword [edi]
add esp, 0x18
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1e0]
call fcn.100057b0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x1001161d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10011613
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001228d
push edx
push ecx
call fcn.10023f7c
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10011667
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001165d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012292
push edx
push ecx
call fcn.10023f7c
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.100035a0
mov ecx, eax
test ecx, ecx
je 0x10012297
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xa4]
add eax, 0x10
mov dword [ecx], eax
mov eax, dword [ebx]
mov dword [ebp - 4], 0
mov dword [ebp - 0xac], 1
cmp dword [eax - 0xc], 0
jne 0x1001177f
call fcn.100230b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10012269
push 0x55
push str.d:jenkins.jenkinsworkspacelib_common_arctrl_arctrlpullcheck_scriptactivation.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10006b80
push 3
push 0x1006771c
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10006b80
mov byte [ebp - 4], 5
call fcn.100230b0
mov edi, eax
lea ecx, [ebp - 0x148]
push 0xb1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004a70
mov esi, eax
push str._GetScriptPath_CScriptActivation__AAE_AV__CStringT__WV__StrTraitATL__WV__ChTraitsCRT__W_ATL___ATL___ATL__HABV23__Z
push esi
mov byte [ebp - 4], 6
call fcn.100056f0
push str.url_is_empty
push esi
call fcn.100056f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x148]
call fcn.100057b0
lea ecx, [ebp - 0x40]
call fcn.100053b0
lea ecx, [ebp - 0x28]
call fcn.100053b0
jmp 0x10012269
mov ecx, dword [0x10084a34]
test ecx, ecx
jne 0x100117e6
push 0x10082020
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10084a34], 0
jne 0x100117d5
push 4
call fcn.10023f4c
mov esi, eax
add esp, 4
mov dword [ebp - 0x9c], esi
mov dword [ebp - 4], 7
test esi, esi
je 0x100117c3
mov ecx, esi
call fcn.100253d0
jmp 0x100117c5
xor esi, esi
mov byte [ebp - 4], 0
xchg dword [ebp - 0x98], eax
mov dword [0x10084a34], esi
push 0x10082020
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10084a34]
push 0
lea eax, [ebp - 0x88]
push eax
call fcn.10025930
mov edi, eax
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 8
jb 0x10011805
mov edi, dword [edi]
call fcn.100035a0
mov ecx, eax
test ecx, ecx
je 0x100122a1
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x90], esi
mov byte [ebp - 4], 9
test edi, edi
je 0x100118f1
test edi, 0xffff0000
jne 0x100118d6
movzx edi, di
push 0
push edi
call fcn.1000f5d0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10011906
mov ecx, edi
shr ecx, 4
push 6
inc ecx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10011906
push edi
push eax
push ebx
call fcn.100042e0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10011906
movzx edx, word [ebx]
mov ecx, 1
mov eax, dword [esi - 8]
mov edi, edx
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x100118aa
push edi
lea ecx, [ebp - 0x90]
call fcn.10003ef0
movzx edx, word [ebx]
mov esi, dword [ebp - 0x90]
movzx ecx, dx
lea eax, [ebx + 2]
push ecx
push eax
push edi
push esi
call fcn.100479d8
push eax
call fcn.10003280
add esp, 0x14
cmp edi, dword [esi - 8]
jg 0x100122ab
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x10011906
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100118e0
sub ecx, edx
sar ecx, 1
jmp 0x100118f3
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x90]
call fcn.10004030
mov esi, dword [ebp - 0x90]
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x10011947
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001193d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100122b5
push edx
push ecx
call fcn.10023f7c
add esp, 8
push 1
xor eax, eax
mov dword [ebp - 0x78], 0
push str.arctrl
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x8c]
push esi
push eax
mov dword [ebp - 0x74], 7
call fcn.10027760
add esp, 0x10
mov ecx, dword [eax]
lea edi, [esi - 0x10]
or ebx, 0xffffffff
mov byte [ebp - 4], 0xc
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x100119df
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x100119ca
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x100119ca
push edx
call fcn.10003470
mov dword [ebp - 0x98], eax
add esp, 4
mov eax, ebx
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x100119b9
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov esi, dword [ebp - 0x98]
add esi, 0x10
mov dword [ebp - 0x90], esi
jmp 0x100119df
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x90]
call fcn.10004030
mov esi, dword [ebp - 0x90]
mov edx, dword [ebp - 0x8c]
mov eax, ebx
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011a00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push str.arctrl.dat
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.10027760
add esp, 0x10
mov ecx, dword [eax]
lea edi, [esi - 0x10]
mov byte [ebp - 4], 0xd
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x10011a7e
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x10011a69
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x10011a69
push edx
call fcn.10003470
mov dword [ebp - 0x98], eax
add esp, 4
mov eax, ebx
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x10011a58
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov esi, dword [ebp - 0x98]
add esi, 0x10
mov dword [ebp - 0x90], esi
jmp 0x10011a7e
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x90]
call fcn.10004030
mov esi, dword [ebp - 0x90]
mov edx, dword [ebp - 0x8c]
mov eax, ebx
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011a9f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011bcd
cmp dword [ebp + 0xc], 0
jne 0x10011bc6
call fcn.100230b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10011b92
push 0x55
push str.d:jenkins.jenkinsworkspacelib_common_arctrl_arctrlpullcheck_scriptactivation.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10006b80
push 3
push 0x1006771c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10006b80
mov byte [ebp - 4], 0xf
call fcn.100230b0
mov ebx, eax
lea ecx, [ebp - 0x148]
push 0xbc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004a70
mov edi, eax
push str._GetScriptPath_CScriptActivation__AAE_AV__CStringT__WV__StrTraitATL__WV__ChTraitsCRT__W_ATL___ATL___ATL__HABV23__Z
push edi
mov byte [ebp - 4], 0x10
call fcn.100056f0
push str.__file_exist__path:
push edi
call fcn.100056f0
test esi, esi
mov eax, 0x10069138
cmovne eax, esi
push eax
push edi
call fcn.1000e4e0
mov eax, dword [ebx]
add esp, 0x18
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x148]
call fcn.100057b0
lea ecx, [ebp - 0x40]
call fcn.100053b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.100053b0
or ebx, 0xffffffff
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x90]
push eax
call fcn.10002f20
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10012269
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10012269
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.100230b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10011d39
push 0x55
push str.d:jenkins.jenkinsworkspacelib_common_arctrl_arctrlpullcheck_scriptactivation.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.10006b80
push 3
push 0x1006771c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10006b80
mov byte [ebp - 4], 0x12
call fcn.100230b0
mov ebx, eax
lea ecx, [ebp - 0x148]
push 0xc4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10004a70
mov edi, eax
push str._GetScriptPath_CScriptActivation__AAE_AV__CStringT__WV__StrTraitATL__WV__ChTraitsCRT__W_ATL___ATL___ATL__HABV23__Z
push edi
mov byte [ebp - 4], 0x13
call fcn.100056f0
push str.download_file_url:
push edi
call fcn.100056f0
mov eax, dword [ebp - 0x94]
mov ecx, 0x10069138
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.1000e4e0
push str._path:
push edi
call fcn.100056f0
test esi, esi
mov eax, 0x10069138
cmovne eax, esi
push eax
push edi
call fcn.1000e4e0
mov eax, dword [ebx]
add esp, 0x28
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x148]
call fcn.100057b0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x11
cmp edx, 0x10
jb 0x10011cec
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10011ce2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100122ba
push edx
push ecx
call fcn.10023f7c
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], 0xb
cmp edx, 0x10
jb 0x10011d36
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10011d2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100122bf
push edx
push ecx
call fcn.10023f7c
add esp, 8
or ebx, 0xffffffff
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0xa8]
mov dword [ecx + 4], eax
call fcn.100035a0
mov ecx, eax
test ecx, ecx
je 0x100122c4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 0x14
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
call fcn.100035a0
mov ecx, eax
test ecx, ecx
je 0x100122ce
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x94], edi
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x15
test edx, edx
je 0x10011eb2
test edx, 0xffff0000
jne 0x10011e9c
movzx eax, dx
push 0
push eax
mov dword [ebp - 0xa0], eax
call fcn.1000f5d0
add esp, 8
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x10011ec7
mov ecx, dword [ebp - 0xa0]
shr ecx, 4
push 6
inc ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10011ec7
push dword [ebp - 0xa0]
push eax
push dword [ebp - 0x8c]
call fcn.100042e0
add esp, 0xc
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x10011ec7
movzx ecx, word [eax]
mov eax, 1
sub eax, dword [edi - 4]
mov edx, ecx
mov dword [ebp - 0x9c], eax
mov eax, dword [edi - 8]
sub eax, edx
mov dword [ebp - 0x8c], edx
or eax, dword [ebp - 0x9c]
jge 0x10011e64
push edx
lea ecx, [ebp - 0x94]
call fcn.10003ef0
mov eax, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x94]
mov edx, dword [ebp - 0x8c]
movzx ecx, word [eax]
jmp 0x10011e6a
mov eax, dword [ebp - 0xa0]
movzx ecx, cx
add eax, 2
push ecx
push eax
push edx
push edi
call fcn.100479d8
push eax
call fcn.10003280
mov eax, dword [ebp - 0x8c]
add esp, 0x14
cmp eax, dword [edi - 8]
jg 0x100122ab
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
jmp 0x10011ec7
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011ea1
sub ecx, edi
sar ecx, 1
jmp 0x10011eb4
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x94]
call fcn.10004030
mov edi, dword [ebp - 0x94]
mov eax, dword [ebp - 0xa8]
mov byte [ebp - 4], 0x16
push dword [eax + 4]
lea eax, [ebp - 0x98]
push 0x1388
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.10013910
mov dword [ebp - 0x8c], eax
add esp, 0x14
mov byte [ebp - 4], 0x14
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10011f17
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.100230b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov edi, dword [ebp - 0x98]
movzx eax, al
sub eax, 1
jne 0x10012068
push 0x55
push str.d:jenkins.jenkinsworkspacelib_common_arctrl_arctrlpullcheck_scriptactivation.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10006b80
push 3
push 0x1006771c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10006b80
mov byte [ebp - 4], 0x18
call fcn.100230b0
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x148]
push 0xcc
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10004a70
mov ebx, eax
push str._GetScriptPath_CScriptActivation__AAE_AV__CStringT__WV__StrTraitATL__WV__ChTraitsCRT__W_ATL___ATL___ATL__HABV23__Z
push ebx
mov byte [ebp - 4], 0x19
call fcn.100056f0
push str.response:
push ebx
call fcn.100056f0
push edi
push ebx
call fcn.100056f0
mov ecx, dword [ebp - 0x9c]
add esp, 0x18
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x148]
call fcn.100057b0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x17
cmp edx, 0x10
jb 0x1001201b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10012011
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100122d8
push edx
push ecx
call fcn.10023f7c
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], 0x14
cmp edx, 0x10
jb 0x10012065
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001205b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100122dd
push edx
push ecx
call fcn.10023f7c
add esp, 8
or ebx, 0xffffffff
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
test eax, eax
je 0x10012089
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xa8]
mov dword [eax + 4], 0
cmp dword [ebp - 0x8c], 0
je 0x10012168
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10012168
mov eax, dword [ebp - 0xa4]
lea edx, [esi - 0x10]
mov dword [ebp - 0xa8], edx
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x8c], ecx
cmp edx, ecx
je 0x10012128
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x9c], eax
jl 0x10012119
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10012119
push edx
call fcn.10003470
mov ecx, dword [ebp - 0x9c]
add esp, 4
mov dword [ebp - 0xa0], eax
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10012106
mov esi, dword [ebp - 0x8c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa0]
add eax, 0x10
mov dword [ecx], eax
jmp 0x10012128
push dword [esi - 0xc]
mov ecx, dword [ebp - 0xa4]
push esi
call fcn.10004030
mov byte [ebp - 4], 0xb
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10012143
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa8]
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10012269
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10012269
call fcn.100230b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10012232
push 0x55
push str.d:jenkins.jenkinsworkspacelib_common_arctrl_arctrlpullcheck_scriptactivation.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10006b80
push 3
push 0x1006771c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10006b80
mov byte [ebp - 4], 0x1b
call fcn.100230b0
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x148]
push 0xd3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004a70
mov ebx, eax
push str._GetScriptPath_CScriptActivation__AAE_AV__CStringT__WV__StrTraitATL__WV__ChTraitsCRT__W_ATL___ATL___ATL__HABV23__Z
push ebx
mov byte [ebp - 4], 0x1c
call fcn.100056f0
push str.download_file_failed
push ebx
call fcn.100056f0
mov ecx, dword [ebp - 0x9c]
add esp, 0x10
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x148]
call fcn.100057b0
lea ecx, [ebp - 0x40]
call fcn.100053b0
lea ecx, [ebp - 0x28]
call fcn.100053b0
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0xb
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10012250
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x10012269
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xa4]
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.100242ed
mov esp, ebp
pop ebp
ret 0xc
call fcn.1003ff99
call fcn.1003ff99
push 0x80004005
call fcn.10003320
push 0x80004005
call fcn.10003320
push 0x80070057
call fcn.10003320
call fcn.1003ff99
call fcn.1003ff99
call fcn.1003ff99
push 0x80004005
call fcn.10003320
push 0x80004005
call fcn.10003320
call fcn.1003ff99
call fcn.1003ff99
int3