Function at 0x10013e40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007793e
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x1009f1f4]
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, ecx
lea ebx, [esi + 0x74]
mov dword [ebp - 4], 0
mov ecx, ebx
call fcn.10007dc0
test al, al
je 0x10013ea0
push 0
push 0
push 1
push 0
push str.download_exist
call fcn.10006820
mov ecx, eax
call fcn.10043ff0
jmp 0x10013f09
lea eax, [ebp - 0x238]
mov ecx, esi
push eax
call fcn.100128d0
cmp dword [ebp - 0x228], 0
mov byte [ebp - 4], 1
je 0x10013efe
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10013efe
mov ecx, ebx
call fcn.10007dc0
test al, al
je 0x10013f46
push 0
push 0
push 1
push 0
push str.inst_exist
call fcn.10006820
mov ecx, eax
call fcn.10043ff0
lea ecx, [ebp - 0x238]
call fcn.100046e0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x100144cc
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100144c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100144ea
jmp 0x100144c2
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x1001405e
call fcn.10022ad0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10013efe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x78
push str.d:jenkins.jenkinsworkspacelds_browser_guardlds_guard_guidelds_guard_guidelds_guard_guide_srcmain_wndmain_wnd.cc
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x258], 0
mov ebx, eax
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
call fcn.1000d890
push 3
push 0x1007d834
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 2
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], 0
call fcn.1000d890
mov byte [ebp - 4], 3
call fcn.10022ad0
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x14e
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.10003b90
mov esi, eax
push str.load_pkg_fail_err:
push esi
mov byte [ebp - 4], 4
call fcn.10005550
add esp, 8
mov ecx, esi
push ebx
call fcn.10010fe0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.10005670
lea ecx, [ebp - 0x280]
call fcn.10004690
lea ecx, [ebp - 0x268]
call fcn.10004690
jmp 0x10013efe
push str.Start
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x1001412f
call fcn.10022ad0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10013efe
push 0x78
push str.d:jenkins.jenkinsworkspacelds_browser_guardlds_guard_guidelds_guard_guidelds_guard_guide_srcmain_wndmain_wnd.cc
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], al
call fcn.1000d890
push 3
push 0x1007d834
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 5
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], 0
call fcn.1000d890
mov byte [ebp - 4], 6
call fcn.10022ad0
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x154
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.10003b90
mov esi, eax
push str.pkg_interface_err
push esi
mov byte [ebp - 4], 7
call fcn.10005550
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
jmp 0x10014038
lea eax, [ebp - 0x250]
mov ecx, ebx
push eax
call fcn.10006a50
cmp dword [ebp + 0x18], 0
mov byte [ebp - 4], 8
je 0x10014185
push 0xc
push str.___guardhp_
lea ecx, [ebp - 0x250]
call fcn.1000d700
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x250]
push eax
call fcn.1000d700
push 1
push 0x1007e7cc
lea ecx, [ebp - 0x250]
call fcn.1000d700
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.1004a2e0
add esp, 0xc
lea ecx, [ebp - 0x21c]
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
cmovae eax, dword [ebp - 0x250]
push 0x104
push ecx
push eax
call esi
mov dword [ebp - 0x220], eax
call fcn.10022ad0
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x10014348
push 0x78
mov dword [ebp - 0x270], ecx
mov byte [ebp - 0x280], cl
lea ecx, [ebp - 0x280]
push str.d:jenkins.jenkinsworkspacelds_browser_guardlds_guard_guidelds_guard_guidelds_guard_guide_srcmain_wndmain_wnd.cc
mov dword [ebp - 0x26c], 0xf
call fcn.1000d890
push 3
push 0x1007d834
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 9
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
call fcn.1000d890
mov byte [ebp - 4], 0xa
call fcn.10022ad0
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x161
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.10003b90
mov esi, eax
push str.pkg_ret:
push esi
mov byte [ebp - 4], 0xb
call fcn.10005550
add esp, 8
mov ecx, esi
push dword [ebp - 0x220]
call fcn.10005210
push str.__result:
push esi
call fcn.10005550
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.100027d0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.10005670
mov edx, dword [ebp - 0x254]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x100142ef
mov ecx, dword [ebp - 0x268]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100142e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100144ef
push edx
push ecx
call fcn.100282eb
add esp, 8
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x10014348
mov ecx, dword [ebp - 0x280]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001433e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100144f4
push edx
push ecx
call fcn.100282eb
add esp, 8
mov ecx, dword [0x100a152c]
test ecx, ecx
jne 0x100143b4
push 0x1009e030
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100a152c], 0
jne 0x100143a3
push 4
call fcn.100282bb
add esp, 4
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x1001438d
mov ecx, eax
mov dword [eax], 0
call fcn.10043f40
jmp 0x1001438f
xor eax, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x220]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x100a152c], eax
push 0x1009e030
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100a152c]
push 0
push 0
push 1
push 0
push str.inst_end
call fcn.10043ff0
lea eax, [ebp - 0x280]
mov ecx, ebx
push eax
call fcn.10006dc0
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.1000bd30
mov edx, dword [ebp - 0x26c]
cmp edx, 8
jb 0x10014420
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014416
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100144f9
push edx
push ecx
call fcn.100282eb
add esp, 8
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x10014460
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014456
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100144fe
push edx
push ecx
call fcn.100282eb
add esp, 8
mov edx, dword [ebp - 0x224]
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
cmp edx, 8
jb 0x10013f09
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100144b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014503
push edx
push ecx
call fcn.100282eb
add esp, 8
jmp 0x10013f09
push edx
push ecx
call fcn.100282eb
add esp, 8
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.1002865c
mov esp, ebp
pop ebp
ret 0x1c
call fcn.1004d799
call fcn.1004d799
call fcn.1004d799
call fcn.1004d799
call fcn.1004d799
call fcn.1004d799
int3