Function at 0x42bd20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9d39
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4d9180]
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 - 0x28]
push ecx
mov ecx, ebx
mov byte [ebp - 0x29], 0
call dword [eax + 0x14]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42be3d
call fcn.00438e40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42c0c1
push 0x3d
push str.d:_buildlib_commonpublicincludewebviewwebview_template.h
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.004083d0
push 3
push 0x4b17c0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.004083d0
mov byte [ebp - 4], 2
call fcn.00438e40
mov edi, eax
lea ecx, [ebp - 0xf4]
push 0x86
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00405850
mov esi, eax
push str.js_basic_dll_is_not_exist__path:
push esi
mov byte [ebp - 4], 3
call fcn.00406750
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, 0x4b1940
cmovae ecx, dword [ebp - 0x28]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00409570
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
jmp 0x42c0a6
xor esi, esi
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
jb 0x42be53
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x42c00a
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c00a
push edi
call fcn.0045bcc0
add esp, 4
test eax, eax
je 0x42c00a
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x42be92
push str.GetWebWindowFactory
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42be92
call eax
mov esi, eax
test esi, esi
je 0x42c00a
mov dword [ebx + 0x2c], esi
mov eax, dword [esi]
push esi
call dword [eax]
mov byte [ebp - 0x29], 1
call fcn.00438e40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42bfc7
push 0x3d
push str.d:_buildlib_commonpublicincludewebviewwebview_template.h
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], al
call fcn.004083d0
push 3
push 0x4b17c0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004083d0
mov byte [ebp - 4], 8
call fcn.00438e40
mov edi, eax
lea ecx, [ebp - 0xf4]
push 0x91
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00405850
mov esi, eax
push str.load_js_basic_success
push esi
mov byte [ebp - 4], 9
call fcn.00406750
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.00406960
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x42bf81
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42bf77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c0e8
push edx
push ecx
call fcn.00439e3a
add esp, 8
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x42bfc7
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42bfbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c0ed
push edx
push ecx
call fcn.00439e3a
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42c0c9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bffb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c0f2
push edx
push ecx
call fcn.00439e3a
add esp, 8
jmp 0x42c0c9
call fcn.00438e40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42c0c1
push 0x3d
push str.d:_buildlib_commonpublicincludewebviewwebview_template.h
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.004083d0
push 3
push 0x4b17c0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.004083d0
mov byte [ebp - 4], 5
call fcn.00438e40
mov edi, eax
lea ecx, [ebp - 0xf4]
push 0x8b
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00405850
mov esi, eax
push str.init_js_basic_failed
push esi
mov byte [ebp - 4], 6
call fcn.00406750
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.00406960
lea ecx, [ebp - 0x5c]
call fcn.004061f0
lea ecx, [ebp - 0x44]
call fcn.004061f0
lea ecx, [ebp - 0x28]
call fcn.00406240
mov al, byte [ebp - 0x29]
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.0043a0f2
mov esp, ebp
pop ebp
ret
call fcn.00478c79
call fcn.00478c79
call fcn.00478c79
int3