Function at 0x10006400
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b81dd
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x100fe39c]
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 0x1000676c
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.10087da0
add esp, 0xc
call fcn.1002d500
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 0x1000650f
lea eax, [ebp - 0x218]
push eax
call fcn.10049b90
add esp, 4
test eax, eax
je 0x1000650f
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1000650f
push str.GetLuaExplain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000650f
call eax
mov dword [ebp - 0x220], eax
test eax, eax
je 0x1000650f
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
mov byte [ebp - 0x21c], 1
test eax, eax
jne 0x10006516
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.10006ff0
mov byte [ebp - 4], 1
call fcn.1004e090
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1000665e
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.10008e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
push 3
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
push 0x100c8144
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
call fcn.10008e70
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.10004210
mov esi, eax
mov byte [ebp - 4], 4
push str.script_res
push esi
call fcn.10006300
cmp dword [ebp - 0x22c], 8
lea ecx, [ebp - 0x240]
mov eax, 0x100c80b8
cmovae ecx, dword [ebp - 0x240]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10002da0
add esp, 0x10
call fcn.1004e090
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x310]
call fcn.100067d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.100053b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call fcn.100053b0
mov eax, dword [edi]
mov esi, dword [eax]
test esi, esi
je 0x10006787
mov cl, byte [eax + 4]
test cl, cl
je 0x1000668f
cmp byte [esi + 0x80], 0
jne 0x10006787
test cl, cl
je 0x1000668f
cmp byte [esi + 0x80], 0
jne 0x1000679e
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.10044d59
add esp, 4
test eax, eax
je 0x100066c0
push eax
call fcn.10045289
add esp, 4
mov byte [ebp - 0x224], 1
mov byte [ebp - 4], 6
cmp byte [esi + 0x89], 0
jne 0x100067b5
lea ecx, [esi + 8]
lea eax, [ebp - 0x240]
cmp ecx, eax
je 0x100066ff
cmp dword [ebp - 0x22c], 8
push dword [ebp - 0x230]
cmovae eax, dword [ebp - 0x240]
push eax
call fcn.10008f70
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 0x10006737
push dword [ebp - 0x228]
call fcn.10044d7e
add esp, 4
test eax, eax
je 0x10006737
push eax
call fcn.10045289
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.10005430
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x21c], 0
je 0x1000676c
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x10006765
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.1004f51c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x278]
push 4
push eax
call fcn.10009580
add esp, 8
push eax
call fcn.1004549c
lea eax, [ebp - 0x228]
push 4
push eax
call fcn.10009580
add esp, 8
push eax
call fcn.1004549c
lea eax, [ebp - 0x278]
push 3
push eax
call fcn.10009580
add esp, 8
push eax
call fcn.1004549c
int3