Function at 0x1003a240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a1c04
mov eax, dword fs:[0]
push eax
sub esp, 0x3a0
mov eax, dword [0x100cc314]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.1003a7c0
push 0x38
call fcn.10061f14
add esp, 4
mov dword [ebp - 0x27c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1003a29b
mov ecx, eax
call fcn.10026860
jmp 0x1003a29d
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 8], eax
test eax, eax
je 0x1003a2b7
push 0x1f4
mov ecx, eax
call fcn.10026a20
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1006bb10
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100d000c]
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
je 0x1003a439
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1003a340
push dword [0x100cc158]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003a340
call eax
mov esi, eax
test esi, esi
je 0x1003a439
mov eax, dword [esi]
push esi
call dword [eax + 4]
test eax, eax
jne 0x1003a431
call fcn.1004a880
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003a514
push 0x44
push str.e:codeclean_master1webwrapwebwrapwebwrapweb_window_factroy.cc
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.10005050
push 3
push 0x100a78cc
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 4
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10005050
mov byte [ebp - 4], 5
call fcn.1004a880
mov edi, eax
lea ecx, [ebp - 0x314]
push 0x2d
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10002400
mov esi, eax
push str.init_mutil_tab_failed
push esi
mov byte [ebp - 4], 6
call fcn.100172d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x314]
call fcn.10003610
lea ecx, [ebp - 0x230]
call fcn.10002dd0
lea ecx, [ebp - 0x248]
jmp 0x1003a50f
mov dword [edi + 4], esi
jmp 0x1003a514
call fcn.1004a880
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003a514
push 0x44
push str.e:codeclean_master1webwrapwebwrapwebwrapweb_window_factroy.cc
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], al
call fcn.10005050
push 3
push 0x100a78cc
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 1
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.10005050
mov byte [ebp - 4], 2
call fcn.1004a880
mov edi, eax
lea ecx, [ebp - 0x3ac]
push 0x27
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10002400
mov esi, eax
push str.init_webview.dll_failed
push esi
mov byte [ebp - 4], 3
call fcn.100034e0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3ac]
call fcn.10003610
lea ecx, [ebp - 0x260]
call fcn.10002dd0
lea ecx, [ebp - 0x278]
call fcn.10002dd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061f52
mov esp, ebp
pop ebp
ret 4