Function at 0x10018e80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aade4
mov eax, dword fs:[0]
push eax
sub esp, 0x39c
mov eax, dword [0x100db688]
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
call fcn.100609e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10019012
push 0x4b
push str.d:jenkins.jenkinsworkspacepop_popex_poppop_popexpoppopconfigmgr.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1000bdb0
push 3
push 0x100b3af0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000bdb0
mov byte [ebp - 4], 1
call fcn.100609e0
mov edi, eax
lea ecx, [ebp - 0x310]
push 0x2d1
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100090e0
mov esi, eax
push str.InitScriptFun
push esi
mov byte [ebp - 4], 2
call fcn.10009d60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x310]
call fcn.10009fa0
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10018fb6
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018fac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100194b3
push edx
push ecx
call fcn.100618fd
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10019012
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10019008
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100194b8
push edx
push ecx
call fcn.100618fd
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call esi
push 0
push 0
push 1
push 0
mov dword [ebx + 0xc0], eax
call esi
cmp dword [ebx + 0x68], 0
mov dword [ebx + 0xcc], eax
je 0x10019125
call fcn.100609e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10019497
push 0x4b
push str.d:jenkins.jenkinsworkspacepop_popex_poppop_popexpoppopconfigmgr.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.1000bdb0
push 3
push 0x100b3af0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000bdb0
mov byte [ebp - 4], 4
call fcn.100609e0
mov edi, eax
lea ecx, [ebp - 0x310]
push 0x2d8
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100090e0
mov esi, eax
push str.already_init
push esi
mov byte [ebp - 4], 5
call fcn.10009d60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x310]
call fcn.10009fa0
lea ecx, [ebp - 0x248]
call fcn.10006b60
lea ecx, [ebp - 0x230]
call fcn.10006b60
jmp 0x10019497
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10081e40
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100ded8c]
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 0x100191c7
lea eax, [ebp - 0x218]
push eax
call fcn.10049a60
add esp, 4
test eax, eax
je 0x100191c7
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100191c7
push str.GetLuaExplain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100191c7
call eax
mov dword [ebx + 0x68], eax
mov ecx, dword [ebx + 0x68]
test ecx, ecx
je 0x10019330
mov eax, dword [ecx]
call dword [eax]
call fcn.100609e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10019483
push 0x4b
push str.d:jenkins.jenkinsworkspacepop_popex_poppop_popexpoppopconfigmgr.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1000bdb0
push 3
push 0x100b3af0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 6
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000bdb0
mov byte [ebp - 4], 7
call fcn.100609e0
mov edi, eax
lea ecx, [ebp - 0x310]
push 0x2f7
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100090e0
mov esi, eax
push str.m_luaHelper_InitDll_Success
push esi
mov byte [ebp - 4], 8
call fcn.10009d60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x310]
call fcn.10009fa0
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x100192d8
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100192ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100194bd
push edx
push ecx
call fcn.100618fd
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
cmp edx, 0x10
jb 0x10019483
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10019479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100194c2
jmp 0x10019479
call fcn.100609e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10019483
push 0x4b
push str.d:jenkins.jenkinsworkspacepop_popex_poppop_popexpoppopconfigmgr.cpp
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], al
call fcn.1000bdb0
push 3
push 0x100b3af0
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 9
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.1000bdb0
mov byte [ebp - 4], 0xa
call fcn.100609e0
mov edi, eax
lea ecx, [ebp - 0x3a8]
push 0x2fb
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.100090e0
mov esi, eax
push str.m_luaHelper_InitDll_Failed
push esi
mov byte [ebp - 4], 0xb
call fcn.10009d60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3a8]
call fcn.10009fa0
mov edx, dword [ebp - 0x24c]
cmp edx, 0x10
jb 0x10019432
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10019428
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100194c7
push edx
push ecx
call fcn.100618fd
add esp, 8
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
cmp edx, 0x10
jb 0x10019483
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10019479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100194cc
push edx
push ecx
call fcn.100618fd
add esp, 8
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0xd4], 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.10061c7c
mov esp, ebp
pop ebp
ret
call fcn.10085449
call fcn.10085449
call fcn.10085449
call fcn.10085449
call fcn.10085449
call fcn.10085449
int3