Function at 0x418ef0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6ff9
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x5036e8]
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 eax, dword [ebx]
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, ebx
mov byte [ebp - 0x8d], 0
call dword [eax + 0x14]
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41902e
call fcn.0046fbc0
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x419480
push 0x3d
push str.d:_buildlib_commonpublicincludewebviewwebview_template.h
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.0040ecb0
push 0x92
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x170]
call fcn.0040a7e0
mov esi, eax
push str.js_basic_dll_is_not_exist__path:
push esi
mov byte [ebp - 4], 3
call fcn.0040b5c0
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x8c]
mov eax, str._null_
cmovae ecx, dword [ebp - 0x8c]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00409890
add esp, 0x10
jmp 0x419452
xor esi, esi
lea edi, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
jb 0x41904a
mov edi, dword [ebp - 0x8c]
test edi, edi
je 0x4193a7
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4193a7
push edi
call fcn.00470b40
add esp, 4
test eax, eax
je 0x4193a7
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x419089
push str.GetWebWindowFactory
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x419089
call eax
mov esi, eax
test esi, esi
je 0x4193a7
mov dword [ebx + 0x2c], esi
mov eax, dword [esi]
push esi
call dword [eax]
mov byte [ebp - 0x8d], 1
call fcn.0046fbc0
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x419361
push 0x3d
push str.d:_buildlib_commonpublicincludewebviewwebview_template.h
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 7
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
call fcn.0040ecb0
push 1
push 2
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 8
call fcn.0040a370
push 0xffffffffffffffff
push 0x4d3824
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 9
call fcn.0040ff80
push 0xffffffffffffffff
push 0x4d3828
lea ecx, [ebp - 0xc0]
mov edi, eax
call fcn.0040ff80
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004990f0
add esp, 0xc
cmp esi, 0xffffffff
je 0x419255
lea eax, [esi - 1]
cmp edi, eax
jae 0x419255
mov eax, dword [ebp - 0xb0]
lea edx, [edi + 1]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
cmp eax, edx
jb 0x4194ad
sub esi, edi
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xac], 0x10
lea eax, [ebp - 0xc0]
cmovae eax, dword [ebp - 0xc0]
push ecx
add eax, edx
lea ecx, [ebp - 0xd8]
push eax
call fcn.0040ecb0
cmp dword [ebp - 0xc4], 0x10
lea eax, [ebp - 0xd8]
cmovae eax, dword [ebp - 0xd8]
push eax
push 0x9d
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00409e10
mov edx, dword [ebp - 0xc4]
add esp, 0x10
cmp edx, 0x10
jb 0x419238
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41922e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194b2
push edx
push ecx
call fcn.004776ff
add esp, 8
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
jmp 0x41926b
push 0x9d
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00409e10
add esp, 0xc
cmp dword [ebp - 0x94], 0x10
lea eax, [ebp - 0xa8]
cmovae eax, dword [ebp - 0xa8]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 0xa
push str.load_js_basic_success
push eax
call fcn.0040b5c0
add esp, 0x18
call fcn.0046fbc0
lea ecx, [ebp - 0x170]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x170]
call fcn.0040b820
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x41930c
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419302
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194b7
push edx
push ecx
call fcn.004776ff
add esp, 8
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
cmp edx, 0x10
jb 0x419361
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419357
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194bc
push edx
push ecx
call fcn.004776ff
add esp, 8
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x41948b
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419398
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194c1
push edx
push ecx
call fcn.004776ff
add esp, 8
jmp 0x41948b
call fcn.0046fbc0
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x419480
push 0x3d
push str.d:_buildlib_commonpublicincludewebviewwebview_template.h
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 4
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.0040ecb0
push 0x97
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x170]
call fcn.0040a7e0
mov esi, eax
push str.init_js_basic_failed
push esi
mov byte [ebp - 4], 6
call fcn.0040b5c0
add esp, 8
call fcn.0046fbc0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x170]
call fcn.0040b820
lea ecx, [ebp - 0xc0]
call fcn.0040afe0
lea ecx, [ebp - 0xa8]
call fcn.0040afe0
lea ecx, [ebp - 0x8c]
call fcn.0040b030
mov al, byte [ebp - 0x8d]
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.004779c3
mov esp, ebp
pop ebp
ret
call fcn.0040e580
call fcn.0049c66a
call fcn.0049c66a
call fcn.0049c66a
call fcn.0049c66a
int3