Function at 0x1002b010
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b549e
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x102258ec]
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 esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x68], esi
lea eax, [esi + 0x50]
push eax
call fcn.1001ba40
mov dword [ebp - 4], 1
call fcn.10020d50
mov ecx, eax
test ecx, ecx
je 0x1002b49b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0x7c], 8
lea ebx, [esi + 0x68]
mov byte [ebp - 4], 2
jb 0x1002b086
mov ebx, dword [ebx]
sub esi, 0xffffff80
cmp dword [esi + 0x14], 8
jb 0x1002b091
mov esi, dword [esi]
call fcn.1003a4f0
push ebx
push esi
push eax
lea eax, [ebp - 0x5c]
push str._s_s._s
push eax
call fcn.100229d0
add esp, 0x14
push dword [ebp - 0x5c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002b0c2
push dword [ebp - 0x5c]
call fcn.10040ed0
add esp, 4
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
mov byte [ebp - 4], 3
call fcn.10020d50
mov ecx, eax
test ecx, ecx
je 0x1002b4a5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 4
cmovae esi, dword [ebp - 0x28]
call fcn.10020d50
mov ecx, eax
test ecx, ecx
je 0x1002b4af
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 5
test esi, esi
je 0x1002b151
test esi, 0xffff0000
jne 0x1002b137
movzx eax, si
lea ecx, [ebp - 0x60]
push eax
call fcn.1001ede0
jmp 0x1002b15d
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002b140
sub ecx, edx
sar ecx, 1
jmp 0x1002b153
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x60]
call fcn.1001e110
push ebx
push 0x2bf20
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.100293b0
mov edx, dword [ebp - 0x60]
or ebx, 0xffffffff
mov esi, eax
mov byte [ebp - 4], 4
add esp, 0x14
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002b19e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.100bfc20
push 1
test esi, esi
je 0x1002b323
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1002b29a
push 0x50
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpi_3commoninstallhelper.cpp
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.1001a260
push 3
push 0x101d0d58
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.1001a260
push 0xa1
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x100]
call fcn.100174f0
mov esi, eax
push str.down_pkg_ok_url:
push esi
mov byte [ebp - 4], 9
call fcn.10016760
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, 0x101d0c4c
cmovae ecx, dword [ebp - 0x28]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10016760
push str._file:
push esi
call fcn.10016760
mov eax, dword [ebp - 0x5c]
mov ecx, 0x101d0c4c
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.10016760
add esp, 0x20
call fcn.100bfc20
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x100]
call fcn.10018510
lea ecx, [ebp - 0x40]
call fcn.10017d90
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.10017d90
mov ecx, dword [ebp - 0x68]
push 0
push 0
push str.down_ok
mov ecx, dword [ecx]
call fcn.10023b70
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov eax, dword [ebp - 0x5c]
mov edx, eax
lea esi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1002b2d0
sub edx, esi
mov ecx, edi
sar edx, 1
push edx
push eax
call fcn.1001e830
mov edx, dword [ebp - 0x64]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002b302
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1002b475
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x1002b475
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1002b410
push 0x50
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpi_3commoninstallhelper.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1001a260
push 3
push 0x101d0d58
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1001a260
push 0xa7
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x100]
call fcn.100174f0
mov esi, eax
push str.down_pkg_failed._url:
push esi
mov byte [ebp - 4], 0xc
call fcn.10016760
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, 0x101d0c4c
cmovae ecx, dword [ebp - 0x28]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10016760
push str._file:
push esi
call fcn.10016760
mov eax, dword [ebp - 0x5c]
mov ecx, 0x101d0c4c
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.10016760
add esp, 0x20
call fcn.100bfc20
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x100]
call fcn.10018510
lea ecx, [ebp - 0x58]
call fcn.10017d90
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.10017d90
mov ecx, dword [ebp - 0x68]
push 0
push 0
push str.down_failed
mov ecx, dword [ecx]
call fcn.10023b70
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x101d0f5c
mov word [edi], ax
call fcn.1001e830
mov edx, dword [ebp - 0x64]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002b45d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1002b475
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.10017de0
mov eax, edi
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.101454ca
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1001bf60
push 0x80004005
call fcn.1001bf60
push 0x80004005
call fcn.1001bf60
int3