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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10103853
mov eax, dword fs:[0]
push eax
sub esp, 0x514
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
mov dword [ebp - 0x484], ebx
call fcn.10067e20
mov ecx, ebx
call fcn.10067b20
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 0x100682ce
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_factroy.cc
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 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 - 0x520]
push 0x9d
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10007c00
mov esi, eax
push str.WebWindowFactoryImp_Init:
push esi
mov byte [ebp - 4], 2
call fcn.10005ad0
add esp, 8
mov ecx, esi
push dword [ebp + 8]
call fcn.100144d0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x520]
call fcn.10009000
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10068272
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10068268
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100688ea
push edx
push ecx
call fcn.100b21ce
add esp, 8
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x100682ce
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100682c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100688ef
push edx
push ecx
call fcn.100b21ce
add esp, 8
push 0x38
call fcn.100a8b30
add esp, 4
mov dword [ebp - 0x488], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x100682f2
mov ecx, eax
call fcn.1004cf30
jmp 0x100682f4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0xc], eax
test eax, eax
je 0x1006830e
push 0x1f4
mov ecx, eax
call fcn.1004d0f0
push 0x3c
call fcn.100a8b30
mov esi, eax
add esp, 4
mov dword [ebp - 0x488], esi
test esi, esi
je 0x1006835b
mov dword [esi], 0
call fcn.10009850
mov ecx, eax
test ecx, ecx
je 0x100688f4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
lea eax, [esi + 8]
push 2
push eax
call fcn.100754f1
add esp, 8
mov dword [esi + 0x38], 0
jmp 0x1006835d
xor esi, esi
mov dword [ebx + 8], esi
test esi, esi
je 0x1006836e
push dword [ebx + 0xc]
mov ecx, esi
call fcn.1004b5f0
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
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]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10068434
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.100cdc50
add esp, 0xc
lea eax, [ebp - 0x420]
push esi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push str.ComputerZ_PDFDatawebviewWebView2.dll
push eax
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10068434
push str.ComputerZ_PDFDatawebviewWebView.dll
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call edi
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 0x1006859c
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_factroy.cc
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], al
call fcn.1000af60
push 3
push 0x1010ccec
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 4
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
call fcn.1000af60
mov byte [ebp - 4], 5
call fcn.1007b1e0
mov ebx, eax
lea ecx, [ebp - 0x520]
push 0xbb
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10007c00
mov edi, eax
push str.InitDll_WebView.dll
push edi
mov byte [ebp - 4], 6
call fcn.10008f40
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x520]
call fcn.10009000
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x1006853a
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10068530
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100688fe
push edx
push ecx
call fcn.100b21ce
add esp, 8
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10068596
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006858c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10068903
push edx
push ecx
call fcn.100b21ce
add esp, 8
mov ebx, dword [ebp - 0x484]
mov edi, dword [ebp + 8]
cmp edi, 4
jne 0x1006869b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.10007ab0
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov dword [ebp - 4], 7
cmovae eax, dword [ebp - 0x438]
push eax
mov dword [ebp - 0x484], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10068645
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.100a5d20
add esp, 4
test eax, eax
je 0x10068645
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10068645
push str.IsSupportedWebViewEngine
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10068645
push 0
push edi
call eax
mov dword [ebp - 0x484], eax
mov edx, dword [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x1006868c
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10068682
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10068908
push edx
push ecx
call fcn.100b21ce
add esp, 8
cmp dword [ebp - 0x484], 0
mov eax, 2
cmove edi, eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100687ec
lea eax, [ebp - 0x218]
push eax
call fcn.100a5d20
add esp, 4
test eax, eax
je 0x100687ec
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100686ed
push dword [0x10144c70]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100686ed
call eax
mov esi, eax
test esi, esi
je 0x100687ec
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x10]
test eax, eax
jne 0x100687e2
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 0x100688ca
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_factroy.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 - 0x468]
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
call fcn.1000af60
mov byte [ebp - 4], 0xc
call fcn.1007b1e0
mov edi, eax
lea ecx, [ebp - 0x2b0]
push 0xca
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.10007c00
mov esi, eax
push str.InitMultiTabWebView_Failed
push esi
mov byte [ebp - 4], 0xd
call fcn.10005ad0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2b0]
call fcn.10009000
lea ecx, [ebp - 0x468]
call fcn.100087a0
lea ecx, [ebp - 0x480]
jmp 0x100688c5
mov dword [ebx + 4], esi
mov al, 1
jmp 0x100688cc
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 0x100688ca
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_factroy.cc
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], al
call fcn.1000af60
push 3
push 0x1010ccec
lea ecx, [ebp - 0x450]
mov dword [ebp - 4], 8
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
call fcn.1000af60
mov byte [ebp - 4], 9
call fcn.1007b1e0
mov edi, eax
lea ecx, [ebp - 0x520]
push 0xc4
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.10007c00
mov esi, eax
push str.init_WebView.dll_failed
push esi
mov byte [ebp - 4], 0xa
call fcn.10008f40
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x520]
call fcn.10009000
lea ecx, [ebp - 0x450]
call fcn.100087a0
lea ecx, [ebp - 0x438]
call fcn.100087a0
xor al, 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 4
call fcn.100d129a
call fcn.100d129a
push 0x80004005
call fcn.10009640
call fcn.100d129a
call fcn.100d129a
call fcn.100d129a
int3