Function at 0x10033610
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ef735
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x10283a3c]
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 - 0x58]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x68], esi
lea eax, [esi + 0x50]
mov dword [ebp - 0x6c], 0
push eax
call fcn.10024ce0
mov dword [ebp - 4], 1
call fcn.1002dc00
mov ecx, eax
test ecx, ecx
je 0x10033aed
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
lea ebx, [esi + 0x68]
cmp dword [ebx + 0x14], 8
jb 0x1003368d
mov ebx, dword [ebx]
sub esi, 0xffffff80
cmp dword [esi + 0x14], 8
jb 0x10033698
mov esi, dword [esi]
call fcn.1004d290
push ebx
push esi
push eax
lea eax, [ebp - 0x5c]
push str._s_s._s
push eax
call fcn.10029c50
add esp, 0x14
push dword [ebp - 0x5c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100336c9
push dword [ebp - 0x5c]
call fcn.100544f0
add esp, 4
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
call fcn.1002dc00
mov ecx, eax
test ecx, ecx
je 0x10033af7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 5
lea esi, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae esi, dword [ebp - 0x58]
call fcn.1002dc00
mov ecx, eax
test ecx, ecx
je 0x10033b01
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 6
test esi, esi
je 0x10033751
test esi, 0xffff0000
jne 0x1003373a
movzx eax, si
lea ecx, [ebp - 0x60]
push eax
call fcn.10028430
jmp 0x1003375d
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033740
sub ecx, edx
sar ecx, 1
jmp 0x10033753
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x60]
call fcn.1002b150
mov byte [ebp - 4], 7
lea eax, [ebp - 0x64]
push ebx
push 0x2bf20
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.1003aaa0
add esp, 0x14
mov esi, eax
mov byte [ebp - 4], 5
or ebx, 0xffffffff
mov edx, dword [ebp - 0x60]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003379e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.100f8ff0
push 1
test esi, esi
je 0x10033946
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100338b6
push 0x4e
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], eax
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpicommoninstallhelper.cpp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.10023160
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
push 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1021ddf8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10023160
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x40]
push 0xa1
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x108]
call fcn.1001fd50
mov esi, eax
mov byte [ebp - 4], 0xb
push str.down_pkg_ok_url:
push esi
call fcn.1001ed80
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov eax, str._null_
cmovae ecx, dword [ebp - 0x58]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.1001ed80
push str._file:
push esi
call fcn.1001ed80
mov eax, dword [ebp - 0x5c]
mov ecx, str._null_
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.1001ed80
add esp, 0x20
call fcn.100f8ff0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x108]
call fcn.100212b0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.100208e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.100208e0
mov ecx, dword [ebp - 0x68]
push 0
push 0
push str.down_ok
mov ecx, dword [ecx]
call fcn.1002af30
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]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x100338e4
sub edx, esi
mov ecx, edi
sar edx, 1
push edx
push eax
call fcn.10027e50
mov dword [ebp - 0x6c], 1
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10033921
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10033ac3
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x10033ac3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x10033a4f
push 0x4e
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], eax
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpicommoninstallhelper.cpp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10023160
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x40]
push 3
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0x1021ddf8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10023160
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x28]
push 0xa7
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x108]
call fcn.1001fd50
mov esi, eax
mov byte [ebp - 4], 0x11
push str.down_pkg_failed._url:
push esi
call fcn.1001ed80
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov eax, str._null_
cmovae ecx, dword [ebp - 0x58]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.1001ed80
push str._file:
push esi
call fcn.1001ed80
mov eax, dword [ebp - 0x5c]
mov ecx, str._null_
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.1001ed80
add esp, 0x20
call fcn.100f8ff0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x108]
call fcn.100212b0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x40]
call fcn.100208e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.100208e0
mov ecx, dword [ebp - 0x68]
push 0
push 0
push str.down_failed
mov ecx, dword [ecx]
call fcn.1002af30
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x1021dffc
mov word [edi], ax
call fcn.10027e50
mov dword [ebp - 0x6c], 1
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10033aa7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10033ac3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10020960
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.1017034a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100253e0
push 0x80004005
call fcn.100253e0
push 0x80004005
call fcn.100253e0
int3