Function at 0x1005b7a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db04f
mov eax, dword fs:[0]
push eax
sub esp, 0x39c
mov eax, dword [0x10116404]
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.100649b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1005b932
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_opt_mgr.cc
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], al
call fcn.10009f20
push 3
push 0x100e2cf8
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10009f20
mov byte [ebp - 4], 1
call fcn.100649b0
mov edi, eax
lea ecx, [ebp - 0x310]
push 0x229
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10006e30
mov esi, eax
push str.InitSingleTabWebView
push esi
mov byte [ebp - 4], 2
call fcn.10008110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x310]
call fcn.100081d0
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1005b8d6
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005b8cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bb84
push edx
push ecx
call fcn.1008f7e1
add esp, 8
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x1005b932
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005b928
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bb89
push edx
push ecx
call fcn.1008f7e1
add esp, 8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100aa610
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x1011b8b0]
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]
call fcn.100649b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1005bafc
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_opt_mgr.cc
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], al
call fcn.10009f20
push 3
push 0x100e2cf8
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10009f20
mov byte [ebp - 4], 4
call fcn.100649b0
mov edi, eax
lea ecx, [ebp - 0x3a8]
push 0x230
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10006e30
mov esi, eax
push str.InitDll_WebView.dll
push esi
mov byte [ebp - 4], 5
call fcn.10008110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3a8]
call fcn.100081d0
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x1005ba85
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005ba7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bb8e
push edx
push ecx
call fcn.1008f7e1
add esp, 8
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x1005bae1
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005bad7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bb93
push edx
push ecx
call fcn.1008f7e1
add esp, 8
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1005bb60
lea eax, [ebp - 0x218]
push eax
call fcn.10084060
add esp, 4
test eax, eax
je 0x1005bb60
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1005bb60
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetWebViewFactory
push esi
call edi
test eax, eax
je 0x1005bb4a
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.1008fb60
mov esp, ebp
pop ebp
ret
call fcn.100adb49
call fcn.100adb49
call fcn.100adb49
call fcn.100adb49
int3