Function at 0x100065a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bee6d
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x1010739c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi], 0
je 0x1000690c
push 0x208
xorps xmm0, xmm0
lea eax, [ebp - 0x218]
movlpd qword [ebp - 0x220], xmm0
push 0
push eax
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x21c], 0
call fcn.1008f970
add esp, 0xc
call fcn.1002d820
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push dword [eax]
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 str.PluginBasic.tpi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100066af
lea eax, [ebp - 0x218]
push eax
call fcn.1004a200
add esp, 4
test eax, eax
je 0x100066af
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100066af
push str.GetLuaExplain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100066af
call eax
mov dword [ebp - 0x220], eax
test eax, eax
je 0x100066af
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
mov byte [ebp - 0x21c], 1
test eax, eax
jne 0x100066b6
mov byte [ebp - 0x21c], 0
mov dword [ebp - 4], 0
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x220]
call fcn.10007190
mov byte [ebp - 4], 1
call fcn.1004f380
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x100067fe
push 0x58
mov dword [ebp - 0x260], eax
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x25c], eax
push str.d:jenkins.jenkinsworkspacelib_common_taskbar_taskbar_srccommonlua_script_runner.cc
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 0xf
mov byte [ebp - 0x270], al
call fcn.10009030
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
push 3
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
push 0x100d014c
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
call fcn.10009030
mov byte [ebp - 4], 3
lea eax, [ebp - 0x270]
push 0x62
push eax
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x310]
call fcn.100043b0
mov esi, eax
mov byte [ebp - 4], 4
push str.script_res
push esi
call fcn.100064a0
cmp dword [ebp - 0x22c], 8
lea ecx, [ebp - 0x240]
mov eax, 0x100d00c4
cmovae ecx, dword [ebp - 0x240]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10002f70
add esp, 0x10
call fcn.1004f380
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x310]
call fcn.10006970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.10005550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call fcn.10005550
mov eax, dword [edi]
mov esi, dword [eax]
test esi, esi
je 0x10006927
mov cl, byte [eax + 4]
test cl, cl
je 0x1000682f
cmp byte [esi + 0x80], 0
jne 0x10006927
test cl, cl
je 0x1000682f
cmp byte [esi + 0x80], 0
jne 0x1000693e
lea eax, [esi + 0x28]
xorps xmm0, xmm0
movlpd qword [ebp - 0x228], xmm0
push eax
mov dword [ebp - 0x228], eax
mov byte [ebp - 0x224], 0
call fcn.10044fe7
add esp, 4
test eax, eax
je 0x10006860
push eax
call fcn.1004552e
add esp, 4
mov byte [ebp - 0x224], 1
mov byte [ebp - 4], 6
cmp byte [esi + 0x89], 0
jne 0x10006955
lea ecx, [esi + 8]
lea eax, [ebp - 0x240]
cmp ecx, eax
je 0x1000689f
cmp dword [ebp - 0x22c], 8
push dword [ebp - 0x230]
cmovae eax, dword [ebp - 0x240]
push eax
call fcn.10009130
mov eax, dword [esi]
lea ecx, [ebp - 0x228]
push 0
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov byte [ebp - 4], 1
cmp byte [ebp - 0x224], 0
je 0x100068d7
push dword [ebp - 0x228]
call fcn.1004500f
add esp, 4
test eax, eax
je 0x100068d7
push eax
call fcn.1004552e
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.100055d0
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x21c], 0
je 0x1000690c
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x10006905
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [ebp - 0x21c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100512b9
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x278]
push 4
push eax
call fcn.10009740
add esp, 8
push eax
call fcn.10045b1e
lea eax, [ebp - 0x228]
push 4
push eax
call fcn.10009740
add esp, 8
push eax
call fcn.10045b1e
lea eax, [ebp - 0x278]
push 3
push eax
call fcn.10009740
add esp, 8
push eax
call fcn.10045b1e
int3