Function at 0x10014120
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077cae
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.10007de0
test al, al
je 0x10014180
push 0
push 0
push 1
push 0
push str.download_exist
call fcn.10006840
mov ecx, eax
call fcn.10044300
jmp 0x100141e9
lea eax, [ebp - 0x238]
mov ecx, esi
push eax
call fcn.10012bb0
cmp dword [ebp - 0x228], 0
mov byte [ebp - 4], 1
je 0x100141de
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 0x100141de
mov ecx, ebx
call fcn.10007de0
test al, al
je 0x10014226
push 0
push 0
push 1
push 0
push str.inst_exist
call fcn.10006840
mov ecx, eax
call fcn.10044300
lea ecx, [ebp - 0x238]
call fcn.10004700
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x100147ac
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100147a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100147ca
jmp 0x100147a2
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 0x1001433e
call fcn.10022dc0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100141de
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.1000db70
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.1000db70
mov byte [ebp - 4], 3
call fcn.10022dc0
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x14f
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.10003bb0
mov esi, eax
push str.load_pkg_fail_err:
push esi
mov byte [ebp - 4], 4
call fcn.10005570
add esp, 8
mov ecx, esi
push ebx
call fcn.100112c0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.10005690
lea ecx, [ebp - 0x280]
call fcn.100046b0
lea ecx, [ebp - 0x268]
call fcn.100046b0
jmp 0x100141de
push str.Start
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x1001440f
call fcn.10022dc0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100141de
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.1000db70
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.1000db70
mov byte [ebp - 4], 6
call fcn.10022dc0
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x155
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.10003bb0
mov esi, eax
push str.pkg_interface_err
push esi
mov byte [ebp - 4], 7
call fcn.10005570
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
jmp 0x10014318
lea eax, [ebp - 0x250]
mov ecx, ebx
push eax
call fcn.10006a70
cmp dword [ebp + 0x18], 0
mov byte [ebp - 4], 8
je 0x10014465
push 0xc
push str.___guardhp_
lea ecx, [ebp - 0x250]
call fcn.1000d9e0
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.1000d9e0
push 1
push 0x1007e82c
lea ecx, [ebp - 0x250]
call fcn.1000d9e0
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.1004a5f0
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.10022dc0
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x10014628
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.1000db70
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.1000db70
mov byte [ebp - 4], 0xa
call fcn.10022dc0
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x162
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.10003bb0
mov esi, eax
push str.pkg_ret:
push esi
mov byte [ebp - 4], 0xb
call fcn.10005570
add esp, 8
mov ecx, esi
push dword [ebp - 0x220]
call fcn.10005230
push str.__result:
push esi
call fcn.10005570
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.10005690
mov edx, dword [ebp - 0x254]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x100145cf
mov ecx, dword [ebp - 0x268]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100145c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100147cf
push edx
push ecx
call fcn.100285db
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 0x10014628
mov ecx, dword [ebp - 0x280]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001461e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100147d4
push edx
push ecx
call fcn.100285db
add esp, 8
mov ecx, dword [0x100a152c]
test ecx, ecx
jne 0x10014694
push 0x1009e030
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100a152c], 0
jne 0x10014683
push 4
call fcn.100285ab
add esp, 4
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x1001466d
mov ecx, eax
mov dword [eax], 0
call fcn.10044250
jmp 0x1001466f
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.10044300
lea eax, [ebp - 0x280]
mov ecx, ebx
push eax
call fcn.10006de0
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.1000c010
mov edx, dword [ebp - 0x26c]
cmp edx, 8
jb 0x10014700
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100146f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100147d9
push edx
push ecx
call fcn.100285db
add esp, 8
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x10014740
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014736
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100147de
push edx
push ecx
call fcn.100285db
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 0x100141e9
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014793
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100147e3
push edx
push ecx
call fcn.100285db
add esp, 8
jmp 0x100141e9
push edx
push ecx
call fcn.100285db
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.1002894c
mov esp, ebp
pop ebp
ret 0x1c
call fcn.1004daa9
call fcn.1004daa9
call fcn.1004daa9
call fcn.1004daa9
call fcn.1004daa9
call fcn.1004daa9
int3