Function at 0x10070ac0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10104712
mov eax, dword fs:[0]
push eax
sub esp, 0x50c
mov eax, dword [0x10145fb4]
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.1007b1e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10070c52
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_opt_mgr.cc
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], al
call fcn.1000af60
push 3
push 0x1010ccec
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
call fcn.1000af60
mov byte [ebp - 4], 1
call fcn.1007b1e0
mov edi, eax
lea ecx, [ebp - 0x518]
push 0x22b
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10007c00
mov esi, eax
push str.InitSingleTabWebView
push esi
mov byte [ebp - 4], 2
call fcn.10008f40
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x518]
call fcn.10009000
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10070bf6
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10070bec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070f1e
push edx
push ecx
call fcn.100b21ce
add esp, 8
mov edx, dword [ebp - 0x46c]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10070c52
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10070c48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070f23
push edx
push ecx
call fcn.100b21ce
add esp, 8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100cdc50
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x1014bc0c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.WebView.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
jne 0x10070d17
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.100cdc50
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push str.ComputerZ_PDFDatawebviewWebView2.dll
push eax
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
jne 0x10070d17
push str.ComputerZ_PDFDatawebviewWebView.dll
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
call fcn.1007b1e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10070e9a
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_opt_mgr.cc
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], al
call fcn.1000af60
push 3
push 0x1010ccec
lea ecx, [ebp - 0x450]
mov dword [ebp - 4], 3
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
call fcn.1000af60
mov byte [ebp - 4], 4
call fcn.1007b1e0
mov edi, eax
lea ecx, [ebp - 0x2b0]
push 0x23c
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.10007c00
mov esi, eax
push str.InitDll_WebView.dll
push esi
mov byte [ebp - 4], 5
call fcn.10008f40
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2b0]
call fcn.10009000
mov edx, dword [ebp - 0x43c]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x10070e1d
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10070e13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070f28
push edx
push ecx
call fcn.100b21ce
add esp, 8
mov edx, dword [ebp - 0x454]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10070e79
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10070e6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10070f2d
push edx
push ecx
call fcn.100b21ce
add esp, 8
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x10070efa
lea eax, [ebp - 0x218]
push eax
call fcn.100a5d20
add esp, 4
test eax, eax
je 0x10070efa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10070efa
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetWebViewFactory
push esi
call edi
test eax, eax
je 0x10070ee4
call eax
mov dword [ebx + 8], eax
push str.IWebViewToIWebViewEx
push esi
call edi
push str.IsSupportedWebViewEngine
push esi
mov dword [ebx + 0xc], eax
call edi
mov dword [ebx + 0x10], eax
xor eax, eax
cmp dword [ebx + 8], eax
setne al
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.100b254d
mov esp, ebp
pop ebp
ret
call fcn.100d129a
call fcn.100d129a
call fcn.100d129a
call fcn.100d129a
int3