Function at 0x430a20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e24d
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x5c8a30]
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 esi, ecx
mov eax, dword [esi]
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, esi
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 0x430b99
call fcn.00440010
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430b89
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.0040abd0
push 3
push 0x5889ac
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.0040abd0
mov byte [ebp - 4], 2
call fcn.00440010
mov edi, eax
lea ecx, [ebp - 0x170]
push 0xa3
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00404b00
mov esi, eax
push str.js_basic_dll_is_not_exist__path:
push esi
mov byte [ebp - 4], 3
call fcn.00406170
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.00414630
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x170]
call fcn.00406290
lea ecx, [ebp - 0xc0]
call fcn.00405500
lea ecx, [ebp - 0xa8]
call fcn.00405500
lea ecx, [ebp - 0x8c]
call fcn.00405550
jmp 0x4312c3
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
call fcn.00486690
add esp, 4
test eax, eax
jne 0x430c76
call fcn.00440010
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430b89
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.0040abd0
push 3
push 0x5889ac
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.0040abd0
mov byte [ebp - 4], 5
call fcn.00440010
mov edi, eax
lea ecx, [ebp - 0x170]
push 0xa8
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00404b00
mov esi, eax
mov byte [ebp - 4], 6
push str.js_basic_sign_failed
push esi
call fcn.00406170
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
jmp 0x430b68
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
jne 0x430d41
call fcn.00440010
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430b89
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.0040abd0
push 3
push 0x5889ac
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 7
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], bl
call fcn.0040abd0
mov byte [ebp - 4], 8
call fcn.00440010
mov edi, eax
lea ecx, [ebp - 0x170]
push 0xaf
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00404b00
mov esi, eax
mov byte [ebp - 4], 9
push str.load_js_basic_dll_failed
jmp 0x430c60
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x5c]
call eax
test al, al
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x430e2d
push str.GetWebWindowFactoryV3
push ebx
call eax
test eax, eax
je 0x430e28
call eax
mov edi, eax
test edi, edi
jne 0x430e1d
call fcn.00440010
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430b89
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.0040abd0
push 3
push 0x5889ac
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.0040abd0
mov byte [ebp - 4], 0xb
call fcn.00440010
mov edi, eax
lea ecx, [ebp - 0x170]
push 0xba
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00404b00
mov esi, eax
mov byte [ebp - 4], 0xc
push str.get_factory_ex_v3_function_failed
jmp 0x430c60
mov eax, dword [edi]
push 4
push edi
call dword [eax + 0x10]
mov dword [esi + 0x2c], edi
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [esi + 0x2c], 0
jne 0x430fc4
push str.GetWebWindowFactoryEx
push ebx
call eax
test eax, eax
je 0x430f0c
call eax
mov ecx, eax
mov dword [esi + 0x2c], ecx
test ecx, ecx
jne 0x430f04
call fcn.00440010
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430b89
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.0040abd0
push 3
push 0x5889ac
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.0040abd0
mov byte [ebp - 4], 0xe
call fcn.00440010
mov edi, eax
lea ecx, [ebp - 0x170]
push 0xc8
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00404b00
mov esi, eax
mov byte [ebp - 4], 0xf
push str.get_factory_ex_function_failed
jmp 0x430c60
mov eax, dword [ecx]
push 2
push ecx
call dword [eax + 0xc]
cmp dword [esi + 0x2c], 0
jne 0x430fc4
call fcn.00440010
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430b89
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.0040abd0
push 3
push 0x5889ac
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.0040abd0
mov byte [ebp - 4], 0x11
call fcn.00440010
mov edi, eax
lea ecx, [ebp - 0x170]
push 0xd0
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00404b00
mov esi, eax
mov byte [ebp - 4], 0x12
push str.init_js_basic_failed
jmp 0x430c60
mov byte [ebp - 0x8d], 1
call fcn.00440010
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43128a
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.0040abd0
push 3
push 0x5889ac
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
call fcn.0040abd0
mov byte [ebp - 4], 0x14
call fcn.00440010
push 1
push 2
lea ecx, [ebp - 0x170]
mov ebx, eax
call fcn.0040eb40
push 0xffffffffffffffff
push 0x588a5c
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x15
call fcn.0040c1d0
push 0xffffffffffffffff
push 0x588a60
lea ecx, [ebp - 0xc0]
mov edi, eax
call fcn.0040c1d0
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00546c00
add esp, 0xc
cmp esi, 0xffffffff
je 0x431187
lea eax, [esi - 1]
cmp edi, eax
jae 0x431187
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 0x4312e5
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.0040abd0
cmp dword [ebp - 0xc4], 0x10
lea eax, [ebp - 0xd8]
cmovae eax, dword [ebp - 0xd8]
push eax
push 0xd4
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00404250
mov edx, dword [ebp - 0xc4]
add esp, 0x10
cmp edx, 0x10
jb 0x43116a
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x431160
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4312ea
push edx
push ecx
call fcn.00441c23
add esp, 8
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
jmp 0x43119d
push 0xd4
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00404250
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.00406170
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.00406170
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 0x16
push str.load_js_basic_success
push eax
call fcn.00406170
mov eax, dword [ebx]
lea ecx, [ebp - 0x170]
add esp, 0x18
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x170]
call fcn.00406290
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x431239
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43122f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4312ef
push edx
push ecx
call fcn.00441c23
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 0x43128a
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x431280
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4312f4
push edx
push ecx
call fcn.00441c23
add esp, 8
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x4312c3
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4312b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4312f9
push edx
push ecx
call fcn.00441c23
add esp, 8
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.00441ed9
mov esp, ebp
pop ebp
ret
call fcn.0040a4a0
call fcn.0054a27c
call fcn.0054a27c
call fcn.0054a27c
call fcn.0054a27c
int3