Function at 0x43e1d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5161bf
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x55d3e4]
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
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x50], 0
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 4], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x43e226
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x43e23c
call fcn.0041d3b0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x43e5c0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x50], 1
lea esi, [eax + 0x10]
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], eax
mov ebx, dword [eax - 0xc]
lea edi, [ebx + 0x11]
test edi, edi
js 0x43e5ca
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x43e27f
push edi
lea ecx, [ebp - 0x4c]
call fcn.00411b90
mov esi, dword [ebp - 0x4c]
push ebx
push dword [ebp - 0x48]
push ebx
push esi
call fcn.00415df0
lea eax, [esi + ebx*2]
add esp, 0x10
test eax, eax
jne 0x43e2a6
call fcn.004c774e
mov dword [eax], 0x16
call fcn.004c7628
jmp 0x43e2b6
push 0x22
push 0x5276a8
push eax
call fcn.004bc070
add esp, 0xc
cmp edi, dword [esi - 8]
jg 0x43e5ca
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
call fcn.00474650
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43e3f5
push 0x4c
push str.d:jenkins.jenkinsworkspacemaster_luinst_uiinst_uilua_script_helper.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040c270
push 3
push 0x524880
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040c270
mov byte [ebp - 4], 2
call fcn.00474650
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x47
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00409f40
mov edi, eax
push str.basic_path:
push edi
mov byte [ebp - 4], 3
call fcn.0040ada0
push esi
push edi
call fcn.0040d7d0
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.0040ae60
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x43e3ab
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43e3a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e5d4
push edx
push ecx
call fcn.004759bb
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x43e3f5
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43e3eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e5d9
push edx
push ecx
call fcn.004759bb
add esp, 8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e432
push esi
call fcn.00451ae0
add esp, 4
test eax, eax
je 0x43e432
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x43e432
push str.GetLuaExplain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43e432
call eax
mov edi, dword [ebp - 0x44]
mov dword [edi + 4], eax
jmp 0x43e435
mov edi, dword [ebp - 0x44]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x43e440
mov eax, dword [ecx]
call dword [eax]
call fcn.00474650
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43e585
cmp dword [edi + 4], eax
lea ecx, [ebp - 0x40]
push 0x4c
push str.d:jenkins.jenkinsworkspacemaster_luinst_uiinst_uilua_script_helper.cc
setne byte [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040c270
push 3
push 0x524880
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040c270
mov byte [ebp - 4], 5
call fcn.00474650
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x4c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00409f40
mov edi, eax
push str.init_luahelper_:
push edi
mov byte [ebp - 4], 6
call fcn.0040ada0
add esp, 8
mov ecx, edi
push dword [ebp - 0x48]
call fcn.0043db70
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.0040ae60
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x43e52d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43e523
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e5de
push edx
push ecx
call fcn.004759bb
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x43e573
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43e569
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e5e3
push edx
push ecx
call fcn.004759bb
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43e5a4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.00475dd9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00407af0
push 0x80070057
call fcn.00407af0
call fcn.004c7638
call fcn.004c7638
call fcn.004c7638
call fcn.004c7638
int3