Function at 0x1003adf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7bbe
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x10116404]
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 dword [ebp - 0x250], ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], edi
je 0x1003b2cd
mov esi, dword [ecx + 4]
lea ebx, [ecx + 4]
mov dword [ebp - 0x258], ebx
mov ecx, esi
mov dword [ebp - 0x24c], ecx
mov ebx, dword [esi + 4]
cmp byte [ebx + 0xd], 0
jne 0x1003aea7
mov ecx, dword [ebx + 0x10]
mov edx, eax
nop dword [eax + eax]
mov di, word [ecx]
cmp di, word [edx]
jne 0x1003ae86
test di, di
je 0x1003ae82
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x1003ae86
add ecx, 4
add edx, 4
test di, di
jne 0x1003ae60
xor ecx, ecx
jmp 0x1003ae8b
sbb ecx, ecx
or ecx, 1
shr ecx, 0x1f
test cl, cl
je 0x1003ae97
mov ebx, dword [ebx + 8]
jmp 0x1003ae9b
mov esi, ebx
mov ebx, dword [ebx]
cmp byte [ebx + 0xd], 0
je 0x1003ae56
mov ecx, dword [ebp - 0x24c]
cmp esi, ecx
je 0x1003aef2
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1003b30c
mov edx, eax
mov di, word [edx]
cmp di, word [ecx]
jne 0x1003aede
test di, di
je 0x1003aeda
mov di, word [edx + 2]
cmp di, word [ecx + 2]
jne 0x1003aede
add edx, 4
add ecx, 4
test di, di
jne 0x1003aeb8
xor ecx, ecx
jmp 0x1003aee3
sbb ecx, ecx
or ecx, 1
shr ecx, 0x1f
test cl, cl
jne 0x1003aef2
mov ebx, dword [ebp - 0x258]
jmp 0x1003af38
mov ebx, dword [ebp - 0x258]
lea eax, [ebp + 8]
mov dword [ebp - 0x24c], eax
mov ecx, ebx
lea eax, [ebp - 0x251]
push eax
lea eax, [ebp - 0x24c]
push eax
push 0x100e6828
call fcn.1003c2e0
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x24c]
push eax
call fcn.1003c4e0
mov esi, dword [ebp - 0x24c]
mov eax, dword [ebp + 8]
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x24c], edi
test edi, edi
jne 0x1003b2cd
mov ecx, dword [str.LocalPluginInterface]
test ecx, ecx
je 0x1003b316
push ecx
push eax
call fcn.100b1f72
add esp, 8
test eax, eax
jne 0x1003afb4
push 0x2c
call fcn.10086e10
add esp, 4
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x1003af88
mov ecx, eax
call fcn.10033270
mov edi, eax
jmp 0x1003af8a
xor edi, edi
mov byte [ebp - 4], 0
test edi, edi
je 0x1003b2ca
push dword [ebp - 0x250]
mov eax, dword [edi]
push edi
call dword [eax + 4]
lea eax, [ebp + 8]
mov ecx, ebx
push eax
call fcn.1003c920
mov dword [eax], edi
jmp 0x1003b2ca
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100aa610
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x1011b8b0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.100649b0
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003b176
push 0x76
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicjsexternalplugin_interface_mgr.cc
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.10009f20
push 3
push 0x100e6514
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10009f20
mov byte [ebp - 4], 3
call fcn.100649b0
mov edi, eax
lea ecx, [ebp - 0x2f0]
push 0x50
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10006e30
mov esi, eax
push str.dll_path:
push esi
mov byte [ebp - 4], 4
call fcn.10004530
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.10004530
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2f0]
call fcn.100081d0
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x1003b117
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003b10d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b320
push edx
push ecx
call fcn.1008f7e1
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1003b170
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003b166
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b325
push edx
push ecx
call fcn.1008f7e1
add esp, 8
mov edi, dword [ebp - 0x24c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003b2ca
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1003b2ca
push dword [0x1011508c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003b2ca
call eax
mov edi, eax
mov dword [ebp - 0x24c], edi
test edi, edi
je 0x1003b2ca
push dword [ebp - 0x250]
mov ecx, dword [edi]
push edi
call dword [ecx + 4]
mov esi, dword [ebx]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x250], esi
mov ebx, dword [esi + 4]
cmp byte [ebx + 0xd], 0
jne 0x1003b23b
test eax, eax
je 0x1003b30c
mov ecx, dword [ebx + 0x10]
mov edx, eax
mov di, word [ecx]
cmp di, word [edx]
jne 0x1003b21a
test di, di
je 0x1003b216
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x1003b21a
add ecx, 4
add edx, 4
test di, di
jne 0x1003b1f4
xor ecx, ecx
jmp 0x1003b21f
sbb ecx, ecx
or ecx, 1
shr ecx, 0x1f
test cl, cl
je 0x1003b22b
mov ebx, dword [ebx + 8]
jmp 0x1003b22f
mov esi, ebx
mov ebx, dword [ebx]
cmp byte [ebx + 0xd], 0
je 0x1003b1e7
mov edi, dword [ebp - 0x24c]
cmp esi, dword [ebp - 0x250]
je 0x1003b282
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1003b32a
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1003b276
test dx, dx
je 0x1003b272
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1003b276
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003b250
xor eax, eax
jmp 0x1003b27b
sbb eax, eax
or eax, 1
shr eax, 0x1f
test al, al
je 0x1003b2c7
mov ecx, dword [ebp - 0x258]
lea eax, [ebp + 8]
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x251]
push eax
lea eax, [ebp - 0x250]
push eax
push 0x100e6828
call fcn.1003c2e0
mov ecx, dword [ebp - 0x258]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x250]
push eax
call fcn.1003c4e0
mov esi, dword [ebp - 0x250]
mov dword [esi + 0x14], edi
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b2ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.1008fb60
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100088f0
push 0x80004005
call fcn.100088f0
call fcn.100adb49
call fcn.100adb49
push 0x80004005
call fcn.100088f0
int3