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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10187b1a
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x101dd594]
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, ecx
xor eax, eax
mov dword [ebp - 0x260], eax
push dword [esi + 0xc]
mov dword [ebp - 0x24c], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x264], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x100877dd
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x254], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
sub eax, 1
je 0x10087265
sub eax, 1
je 0x1008725e
sub eax, 1
jne 0x1008727c
mov eax, dword [esi]
add eax, 0x20
jmp 0x1008726a
mov eax, dword [esi]
add eax, 0x30
jmp 0x1008726a
mov eax, dword [esi]
add eax, 0x10
push eax
lea ecx, [ebp - 0x254]
call fcn.1001c9f0
mov edi, dword [ebp - 0x254]
or eax, 0xffffffff
cmp dword [edi - 0xc], 0
jne 0x1008728c
xor esi, esi
jmp 0x10087776
lea eax, [esi + 8]
mov dword [ebp - 0x18], 0
push str.bg.zip
push eax
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1001cb20
mov esi, dword [esi + 0x10]
xorps xmm0, xmm0
push 0x20
mov byte [ebp - 4], 1
movlpd qword [ebp - 0x26c], xmm0
call fcn.10127dee
add esp, 0x10
mov dword [ebp - 0x25c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x100872e8
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
call fcn.1001c7e0
jmp 0x100872ea
xor eax, eax
push dword [ebp - 0x25c]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
call fcn.1001c130
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x18]
push esi
push 0x7530
push eax
push edi
mov byte [ebp - 4], 3
call fcn.1001d620
mov esi, dword [ebp - 0x268]
test eax, eax
je 0x100877b1
mov byte [ebp - 4], 1
test esi, esi
je 0x10087365
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10087365
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10087365
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x100877e7
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x250], esi
push 0
push dword [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.100f4abd
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x274], eax
push ecx
push 0xffffffffffffffff
push eax
call fcn.100f49ad
mov ecx, dword [ebp - 0x248]
xor eax, eax
add esp, 0x14
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 0x270], eax
test ecx, ecx
jle 0x100875cc
lea ecx, [ebp - 0x248]
push ecx
push eax
push dword [ebp - 0x274]
call fcn.100f49ad
add esp, 0xc
mov esi, dword [ebp - 0x258]
mov byte [ebp - 4], 5
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x10087403
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x1008741b
call fcn.1001b540
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x100877dd
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x14], eax
lea edx, [ecx + 2]
mov eax, dword [ebp - 0x24c]
or eax, 1
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x268], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10087450
mov eax, dword [esi]
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x244]
push ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1001d4c0
mov esi, dword [ebp - 0x14]
push esi
push dword [ebp - 0x270]
push dword [ebp - 0x274]
call fcn.100f4f17
mov eax, dword [ebp - 0x24c]
add esp, 0x20
and eax, 0xfffffffe
mov byte [ebp - 4], 4
mov dword [ebp - 0x24c], eax
add esi, 0xfffffff0
mov dword [ebp - 0x260], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100874bf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x258]
mov byte [ebp - 4], 6
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x100874e6
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x100874fe
call fcn.1001b540
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x100877dd
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x14], eax
lea edx, [ecx + 2]
mov eax, dword [ebp - 0x24c]
or eax, 2
mov dword [ebp - 0x260], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10087523
mov eax, dword [esi]
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x244]
push ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1001d4c0
mov esi, dword [ebp - 0x14]
add esp, 0x14
cmp dword [esi - 0xc], 0
jl 0x1008756d
push 0x1019ab9c
push esi
call fcn.10150619
add esp, 8
test eax, eax
je 0x1008756d
sub eax, esi
sar eax, 1
jns 0x1008757c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x250]
call fcn.1001c9f0
mov eax, dword [ebp - 0x268]
add esi, 0xfffffff0
and eax, 0xfffffffc
mov byte [ebp - 4], 4
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x260], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100875ad
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x270]
inc eax
mov dword [ebp - 0x270], eax
cmp eax, dword [ebp - 0x25c]
jl 0x100873c6
mov esi, dword [ebp - 0x250]
push dword [ebp - 0x274]
call fcn.100f422c
mov eax, dword [ebp - 0x264]
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100875fe
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0x250]
push eax
call fcn.1001c9f0
mov eax, dword [ebp - 0x264]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10087728
call fcn.100d1170
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1008771e
push 0x63
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultiplugin_rightsplugin_rightscloudcontroller.cpp
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], 0xf
mov byte [ebp - 0x2a4], al
call fcn.10019000
push 3
push 0x10193e24
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 7
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0xf
mov byte [ebp - 0x28c], 0
call fcn.10019000
mov byte [ebp - 4], 8
call fcn.100d1170
mov dword [ebp - 0x25c], eax
lea ecx, [ebp - 0x33c]
push 0x98
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.100167c0
mov dword [ebp - 0x258], eax
push 0x1019b0d4
push eax
mov byte [ebp - 4], 9
call fcn.100174d0
mov eax, dword [ebp - 0x264]
mov edx, 0x10193e70
mov ecx, dword [eax]
test ecx, ecx
cmovne edx, ecx
push edx
push dword [ebp - 0x258]
call fcn.1001a540
mov ecx, dword [ebp - 0x25c]
add esp, 0x10
mov eax, dword [ecx]
push dword [ebp - 0x258]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x33c]
call fcn.10017580
lea ecx, [ebp - 0x28c]
call fcn.10017170
lea ecx, [ebp - 0x2a4]
call fcn.10017170
xor eax, eax
mov dword [ebp - 0x250], eax
jmp 0x10087732
mov dword [ebp - 0x250], 1
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1008774e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x250]
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10087773
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10087792
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
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.10128191
mov esp, ebp
pop ebp
ret 4
test esi, esi
je 0x100877d6
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100877d6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x100877d6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor esi, esi
jmp 0x10087754
push 0x80004005
call fcn.10017a40
push 0x80004005
call fcn.10017a40
int3