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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100da162
mov eax, dword fs:[0]
push eax
sub esp, 0x8fc
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 eax, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x86c], eax
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.100aa610
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.100aa610
add esp, 0x18
lea eax, [ebp - 0x830]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x628]
mov edx, 0x104
lea esi, [ebp - 0x830]
mov eax, ecx
sub esi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10052ece
movzx eax, word [ecx + esi]
test ax, ax
je 0x10052ece
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10052eb0
lea eax, [ecx - 2]
test edx, edx
push 0x208
cmovne eax, ecx
xor ecx, ecx
push ecx
mov word [eax], cx
lea eax, [ebp - 0x420]
push eax
call fcn.100aa610
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.10008990
mov ecx, eax
test ecx, ecx
je 0x100535e7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x870], eax
mov dword [ebp - 4], 0
call fcn.10008990
mov ecx, eax
test ecx, ecx
je 0x100535f1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x868], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x868]
test eax, 0xffff0000
jne 0x10052f67
movzx eax, ax
push eax
call fcn.100118b0
jmp 0x10052f6d
push eax
call fcn.1002c290
push 0
lea eax, [ebp - 0x868]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x864]
push eax
call fcn.1006bfc0
push dword [eax]
lea eax, [ebp - 0x870]
mov byte [ebp - 4], 3
push str.JsBasicLog_s.js_basic.log
push eax
call fcn.10011170
mov edx, dword [ebp - 0x864]
or ebx, 0xffffffff
add esp, 0x18
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10052fc4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x868]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10052fe5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x870]
lea eax, [ebp - 0x628]
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x628]
push eax
call fcn.10064cb0
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 0x1005315e
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_factroy.cc
lea ecx, [ebp - 0x860]
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x84c], 0xf
mov byte [ebp - 0x860], al
call fcn.10009f20
push 3
push 0x100e2cf8
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 4
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0xf
mov byte [ebp - 0x848], 0
call fcn.10009f20
mov byte [ebp - 4], 5
call fcn.100649b0
mov ebx, eax
lea ecx, [ebp - 0x908]
push 0x1f
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.10006e30
mov esi, eax
push str.WebWindowFactoryImp_Init
push esi
mov byte [ebp - 4], 6
call fcn.10004530
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x908]
call fcn.100081d0
mov edx, dword [ebp - 0x834]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x10053105
mov ecx, dword [ebp - 0x848]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100530fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100535fb
push edx
push ecx
call fcn.1008f7e1
add esp, 8
mov edx, dword [ebp - 0x84c]
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0xf
mov byte [ebp - 0x848], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1005315e
mov ecx, dword [ebp - 0x860]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10053154
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10053600
push edx
push ecx
call fcn.1008f7e1
add esp, 8
push 0x38
call fcn.10086e10
add esp, 4
mov dword [ebp - 0x864], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x1005317f
mov ecx, eax
call fcn.1003f1f0
jmp 0x10053181
xor eax, eax
mov ebx, dword [ebp - 0x86c]
mov byte [ebp - 4], 0
mov dword [ebx + 0xc], eax
test eax, eax
je 0x1005319e
push 0x1f4
mov ecx, eax
call fcn.1003f3b0
push 0x3c
call fcn.10086e10
mov esi, eax
add esp, 4
mov dword [ebp - 0x864], esi
test esi, esi
je 0x100531eb
mov dword [esi], 0
call fcn.10008990
mov ecx, eax
test ecx, ecx
je 0x10053605
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.1005f9b2
add esp, 8
mov dword [esi + 0x38], 0
jmp 0x100531ed
xor esi, esi
mov dword [ebx + 8], esi
test esi, esi
je 0x100531fe
push dword [ebx + 0xc]
mov ecx, esi
call fcn.1003d8b0
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
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 0x100533b1
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_factroy.cc
lea ecx, [ebp - 0x860]
mov dword [ebp - 0x850], esi
mov dword [ebp - 0x84c], 0xf
mov byte [ebp - 0x860], al
call fcn.10009f20
push 3
push 0x100e2cf8
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 8
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], 0xf
mov byte [ebp - 0x848], 0
call fcn.10009f20
mov byte [ebp - 4], 9
call fcn.100649b0
mov dword [ebp - 0x864], eax
lea ecx, [ebp - 0x908]
push 0x33
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x848]
push eax
call fcn.10006e30
mov ebx, eax
push str.InitDll_WebView.dll
push ebx
mov byte [ebp - 4], 0xa
call fcn.10008110
mov eax, dword [ebp - 0x864]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push ebx
call dword [edx + 0x1c]
lea ecx, [ebp - 0x908]
call fcn.100081d0
mov edx, dword [ebp - 0x834]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x10053352
mov ecx, dword [ebp - 0x848]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10053348
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005360f
push edx
push ecx
call fcn.1008f7e1
add esp, 8
mov edx, dword [ebp - 0x84c]
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0xf
mov byte [ebp - 0x848], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100533ab
mov ecx, dword [ebp - 0x860]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100533a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10053614
push edx
push ecx
call fcn.1008f7e1
add esp, 8
mov ebx, dword [ebp - 0x86c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100534d2
lea eax, [ebp - 0x218]
push eax
call fcn.10084060
add esp, 4
test eax, eax
je 0x100534d2
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10053403
push dword [0x1011526c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10053403
call eax
mov esi, eax
test esi, esi
je 0x100534d2
mov eax, dword [esi]
push esi
call dword [eax + 4]
test eax, eax
jne 0x100534ca
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 0x100535aa
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_factroy.cc
lea ecx, [ebp - 0x848]
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x834], 0xf
mov byte [ebp - 0x848], al
call fcn.10009f20
push 3
push 0x100e2cf8
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 0xf
mov byte [ebp - 0x860], 0
call fcn.10009f20
mov byte [ebp - 4], 0xf
call fcn.100649b0
mov ebx, eax
lea ecx, [ebp - 0x908]
push 0x3c
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x860]
push eax
call fcn.10006e30
mov esi, eax
push str.InitMultiTabWebView_Failed
push esi
mov byte [ebp - 4], 0x10
call fcn.10004530
jmp 0x1005357e
mov dword [ebx + 4], esi
jmp 0x100535aa
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 0x100535aa
push 0x69
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_factroy.cc
lea ecx, [ebp - 0x848]
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x834], 0xf
mov byte [ebp - 0x848], al
call fcn.10009f20
push 3
push 0x100e2cf8
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 0xf
mov byte [ebp - 0x860], 0
call fcn.10009f20
mov byte [ebp - 4], 0xc
call fcn.100649b0
mov ebx, eax
lea ecx, [ebp - 0x908]
push 0x36
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x860]
push eax
call fcn.10006e30
mov esi, eax
push str.init_WebView.dll_failed
push esi
mov byte [ebp - 4], 0xd
call fcn.10008110
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x908]
call fcn.100081d0
lea ecx, [ebp - 0x860]
call fcn.100079d0
lea ecx, [ebp - 0x848]
call fcn.100079d0
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100535c9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
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 4
push 0x80004005
call fcn.100088f0
push 0x80004005
call fcn.100088f0
call fcn.100adb49
call fcn.100adb49
push 0x80004005
call fcn.100088f0
call fcn.100adb49
call fcn.100adb49
int3