Function at 0x1004ca40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101898ab
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x101d90a8]
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 ebx, ecx
mov ecx, dword [ebx + 0x48]
push 0x7d9
call fcn.10064dd0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sub edi, dword [ebx + 0x1a4]
mov dword [ebp - 0x44], edi
call fcn.1006bca0
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x1004cbe5
push 0x56
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1001f970
push 3
push 0x10193314
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1001f970
mov byte [ebp - 4], 1
call fcn.1006bca0
mov edi, eax
lea ecx, [ebp - 0xe4]
push 0x127
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100119f0
mov esi, eax
push str.loadtime:
push esi
mov byte [ebp - 4], 2
call fcn.100146d0
add esp, 8
mov ecx, esi
push dword [ebp - 0x44]
call fcn.100141c0
push str.__isTimeOut:
push esi
call fcn.100146d0
add esp, 8
mov ecx, esi
push dword [ebx + 0x250]
call fcn.10014010
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.10014b90
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1004cb95
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004cb8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004cdaa
push edx
push ecx
call fcn.10136eb8
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x1004cbe2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004cbd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004cdaf
push edx
push ecx
call fcn.10136eb8
add esp, 8
mov edi, dword [ebp - 0x44]
cmp dword [ebx + 0x250], 0
je 0x1004ccc4
push edi
lea eax, [ebp - 0x48]
push str.ex1_d
push eax
call fcn.100374b0
add esp, 0xc
mov esi, eax
cmp dword [ebx + 0xf0], 0x10
lea ecx, [ebx + 0xdc]
mov dword [ebp - 4], 3
jb 0x1004cc1e
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10010840
push dword [eax]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push str._s_loadtime
push eax
call fcn.100374b0
add esp, 0xc
push 0
push 0
push 1
push dword [esi]
mov byte [ebp - 4], 5
push dword [eax]
call fcn.100153f0
mov ecx, eax
call fcn.1006d600
mov edx, dword [ebp - 0x44]
or esi, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004cc79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004cc97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1004ccb6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax + 0x14]
jmp 0x1004cd8a
cmp dword [ebx + 0x118], 0xc
jne 0x1004cd66
mov eax, dword [ebx + 0x1fc]
sub eax, 0x10
push eax
call fcn.10005980
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x48], esi
push esi
mov dword [ebp - 4], 6
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1004cd1c
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1004cd8a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1004cd8a
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebx + 0x144]
call fcn.10005610
lea eax, [ebx + 0x1f8]
push eax
lea ecx, [ebx + 0x148]
call fcn.10005610
mov dword [ebx + 0x16c], 1
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1004cd66
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 0x3e8
jae 0x1004cd77
mov eax, 0x3e8
sub eax, edi
jmp 0x1004cd7c
mov eax, 1
mov ecx, dword [ebx + 0x48]
push eax
push 0x7d8
call fcn.10064db0
xor eax, eax
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.1013724c
mov esp, ebp
pop ebp
ret 0x10
call fcn.1015f359
call fcn.1015f359
int3