Function at 0x1000dab0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007ad99
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x1009d258]
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 edi, ecx
xor ebx, ebx
mov dword [ebp - 4], 0
cmp dword [edi + 4], ebx
jne 0x1000dba8
push 0x208
lea eax, [ebp - 0x258]
push ebx
push eax
call fcn.10056e00
add esp, 0xc
lea eax, [ebp - 0x258]
push 0x104
push eax
push dword [0x1009fa18]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x258]
push eax
call esi
lea eax, [ebp - 0x258]
push eax
call esi
push str.utils_base.dll
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000db9f
lea eax, [ebp - 0x258]
push eax
call fcn.1001b360
add esp, 4
test eax, eax
je 0x1000db9f
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1000db9f
push str.GetLuaExplain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000db9f
call eax
mov ecx, eax
mov dword [edi], ecx
test ecx, ecx
je 0x1000db9f
mov eax, dword [ecx]
call dword [eax]
mov dword [edi + 4], eax
cmp dword [edi + 4], ebx
je 0x1000dcc7
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.10056e00
mov ecx, dword [edi]
lea esi, [ebp - 0x28c]
add esp, 0xc
mov dword [ebp - 0x28c], 0x40
cmp dword [ebp + 0x1c], 0x10
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
mov eax, dword [ecx]
push esi
lea esi, [ebp - 0x50]
push esi
push dword [ebp + 0x18]
push edx
call dword [eax + 8]
mov ebx, eax
call fcn.10021c00
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x1000dcc7
push 0x55
mov dword [ebp - 0x278], ecx
mov byte [ebp - 0x288], cl
lea ecx, [ebp - 0x288]
push str.d:jenkins.jenkinsworkspacewhaleclean_runextention_run_extentionlualuascript.cpp
mov dword [ebp - 0x274], 0xf
call fcn.1000c5f0
push 3
push 0x10081b28
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 1
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0xf
mov byte [ebp - 0x270], 0
call fcn.1000c5f0
mov byte [ebp - 4], 2
call fcn.10021c00
mov edi, eax
lea ecx, [ebp - 0xe8]
push 0x58
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.10008f20
mov esi, eax
push str.ExecScript_result_
push esi
mov byte [ebp - 4], 3
call fcn.10009cf0
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.10009cf0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.1000a0c0
lea ecx, [ebp - 0x270]
call fcn.100098d0
lea ecx, [ebp - 0x288]
call fcn.100098d0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1000dcf7
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000dced
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000dd17
push edx
push ecx
call fcn.100386fb
add esp, 8
mov eax, ebx
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.10038a7a
mov esp, ebp
pop ebp
ret 0x18
call fcn.1005a1fe
int3