Function at 0x10059890
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e31d4
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x10121b54]
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, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x27c], ebx
call fcn.1005a140
call fcn.1006b3e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10059a37
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_factroy.cc
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1000ba10
push 3
push 0x100ebef8
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.1000ba10
mov byte [ebp - 4], 1
call fcn.1006b3e0
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x3c
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100082f0
mov esi, eax
push str.WebWindowFactoryImp_Init:
push esi
mov byte [ebp - 4], 2
call fcn.100059b0
add esp, 8
mov ecx, esi
push dword [ebp + 0xc]
call fcn.10014120
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.100096f0
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100599db
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100599d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059ecd
push edx
push ecx
call fcn.10097bcf
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10059a37
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10059a2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059ed2
push edx
push ecx
call fcn.10097bcf
add esp, 8
push 0x38
call fcn.1008ef00
add esp, 4
mov dword [ebp - 0x280], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x10059a5b
mov ecx, eax
call fcn.10048440
jmp 0x10059a5d
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0xc], eax
test eax, eax
je 0x10059a77
push 0x1f4
mov ecx, eax
call fcn.10048600
push 0x3c
call fcn.1008ef00
mov esi, eax
add esp, 4
mov dword [ebp - 0x280], esi
test esi, esi
je 0x10059ac4
mov dword [esi], 0
call fcn.1000a020
mov ecx, eax
test ecx, ecx
je 0x10059ed7
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.100663ee
add esp, 8
mov dword [esi + 0x38], 0
jmp 0x10059ac6
xor esi, esi
mov dword [ebx + 8], esi
test esi, esi
je 0x10059ad7
push dword [ebx + 0xc]
mov ecx, esi
call fcn.10046b00
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.100b28f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x10127040]
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.1006b3e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10059c86
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_factroy.cc
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1000ba10
push 3
push 0x100ebef8
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 4
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000ba10
mov byte [ebp - 4], 5
call fcn.1006b3e0
mov ebx, eax
lea ecx, [ebp - 0x318]
push 0x50
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100082f0
mov edi, eax
push str.InitDll_WebView.dll
push edi
mov byte [ebp - 4], 6
call fcn.10009630
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.100096f0
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x10059c24
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10059c1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059ee1
push edx
push ecx
call fcn.10097bcf
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10059c80
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10059c76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059ee6
push edx
push ecx
call fcn.10097bcf
add esp, 8
mov ebx, dword [ebp - 0x27c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10059dd4
lea eax, [ebp - 0x218]
push eax
call fcn.1008c150
add esp, 4
test eax, eax
je 0x10059dd4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10059cd8
push dword [0x101209b8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10059cd8
call eax
mov esi, eax
test esi, esi
je 0x10059dd4
push dword [ebp + 0xc]
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
test eax, eax
jne 0x10059dcc
call fcn.1006b3e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10059eaf
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_factroy.cc
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], al
call fcn.1000ba10
push 3
push 0x100ebef8
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.1000ba10
mov byte [ebp - 4], 0xb
call fcn.1006b3e0
mov edi, eax
lea ecx, [ebp - 0x3b0]
push 0x59
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.100082f0
mov esi, eax
push str.InitMultiTabWebView_Failed
push esi
mov byte [ebp - 4], 0xc
call fcn.100059b0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3b0]
call fcn.100096f0
lea ecx, [ebp - 0x260]
call fcn.10008e90
lea ecx, [ebp - 0x278]
jmp 0x10059eaa
mov dword [ebx + 4], esi
jmp 0x10059eaf
call fcn.1006b3e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10059eaf
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_factroy.cc
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.1000ba10
push 3
push 0x100ebef8
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 7
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000ba10
mov byte [ebp - 4], 8
call fcn.1006b3e0
mov edi, eax
lea ecx, [ebp - 0x318]
push 0x53
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100082f0
mov esi, eax
push str.init_WebView.dll_failed
push esi
mov byte [ebp - 4], 9
call fcn.10009630
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x318]
call fcn.100096f0
lea ecx, [ebp - 0x248]
call fcn.10008e90
lea ecx, [ebp - 0x230]
call fcn.10008e90
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.10097f4e
mov esp, ebp
pop ebp
ret 8
call fcn.100b5e29
call fcn.100b5e29
push 0x80004005
call fcn.10009e10
call fcn.100b5e29
call fcn.100b5e29
int3