Function at 0x402a00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42398e
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x431080]
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, ecx
mov dword [ebp - 0x68], edi
mov eax, dword [ebp + 0xc]
lea esi, [edi + 4]
mov dword [ebp - 0x78], edi
mov dword [edi], vtable.webview::detail::engine_base.0
push 0x58
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040c8b4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0xc], 0
push 0x24
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.0040c8b4
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x10], eax
mov dword [edi], vtable.webview::detail::win32_edge_engine.0
mov dword [ebp - 4], 1
mov byte [edi + 0x18], 0
mov byte [ebp - 4], 2
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x12
xorps xmm0, xmm0
mov dword [edi + 0x38], eax
lea esi, [edi + 0x48]
mov dword [edi + 0x3c], 0
push str.WebView2Loader.dll
lea ecx, [ebp - 0x28]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [ebp - 0x68], esi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00401400
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x14]
mov dword [esi], eax
cmp ecx, 7
jbe 0x402b75
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402b6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f08
push ecx
push edx
call fcn.0040c8e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x6c], eax
mov dword [edi + 0x4c], eax
sete al
mov byte [edi + 0x50], al
mov eax, dword [esi]
mov byte [ebp - 4], 4
mov dword [ebp - 0x74], 0
test eax, eax
je 0x402bc2
push str.GetAvailableCoreWebView2BrowserVersionString
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402bc2
lea ecx, [ebp - 0x74]
push ecx
push 0
call eax
mov esi, eax
jmp 0x402c19
push 0
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call fcn.004077e0
cmp byte [ebp - 0x60], 0
jne 0x402bda
or esi, 0xffffffff
jmp 0x402c11
mov eax, dword [ebp - 0x34]
add eax, eax
push eax
mov dword [ebp - 0x68], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov esi, eax
test esi, esi
jne 0x402bf4
or esi, 0xffffffff
jmp 0x402c11
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
push dword [ebp - 0x68]
cmova eax, dword [ebp - 0x44]
push eax
push esi
call fcn.0040dec0
add esp, 0xc
mov dword [ebp - 0x74], esi
xor esi, esi
lea ecx, [ebp - 0x60]
call fcn.00403410
mov eax, dword [ebp - 0x74]
test esi, esi
js 0x402c28
mov byte [ebp - 0x61], 1
test eax, eax
jne 0x402c30
mov byte [ebp - 0x61], 0
test eax, eax
je 0x402c37
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp byte [ebp - 0x61], 0
mov byte [ebp - 4], 3
je 0x402ee9
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [edi + 0x50], 0
mov esi, eax
mov dword [ebp - 0x68], esi
je 0x402d7b
push 2
push 0
mov byte [ebp - 0x61], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
sub eax, 0
je 0x402c74
sub eax, 1
jne 0x402c78
mov al, 1
jmp 0x402c7b
mov al, byte [ebp - 0x61]
lea ecx, [edi + 0x18]
lea edx, [ebp - 0x6d]
cmp ecx, edx
je 0x402c89
mov byte [ecx], al
jmp 0x402c93
test al, al
je 0x402c93
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp byte [edi + 0x18], 0
je 0x402ee9
call fcn.004071b0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
call esi
push eax
push 0xb
call esi
mov esi, dword [ebp - 0x68]
push eax
push 1
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [ebp - 0x40], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 0
push eax
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x58], 0x30
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x30], 0x42621c
mov dword [ebp - 0x50], 0x401050
call dword [sym.imp.USER32.dll_RegisterClassExW]
push edi
push esi
push 0
push 0
push 0
push 0
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x42622c
push 0x42621c
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp dword [edi + 0x1c], 0
je 0x402ee9
lock inc dword [0x432810]
push dword [edi + 0x1c]
call fcn.00408250
add esp, 4
mov dword [edi + 0x4c], eax
mov eax, dword [edi]
mov ecx, edi
push 0
mov eax, dword [eax + 0x24]
push 0x1e0
push 0x280
cmp eax, fcn.0040a330
jne 0x402d77
call fcn.0040a330
jmp 0x402d9c
call eax
jmp 0x402d9c
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov eax, dword [ebp - 0x6c]
jne 0x402d8d
mov eax, dword [eax]
push eax
mov dword [edi + 0x1c], eax
call fcn.00408250
add esp, 4
mov dword [edi + 0x4c], eax
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0xa8]
movlpd qword [ebp - 0x9c], xmm0
push eax
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0xa8], 0x30
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x80], str.webview_widget
mov dword [ebp - 0xa0], 0x401070
call dword [sym.imp.USER32.dll_RegisterClassExW]
push edi
push esi
push 0
push dword [edi + 0x1c]
push 0
push 0
push 0
push 0
push 0x40000000
push 0
push str.webview_widget
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
xorps xmm0, xmm0
mov dword [ebp - 0xd4], 0
lea eax, [ebp - 0xd8]
movlpd qword [ebp - 0xcc], xmm0
push eax
movlpd qword [ebp - 0xc0], xmm0
movlpd qword [ebp - 0xb8], xmm0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xd8], 0x30
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xb0], str.webview_message
mov dword [ebp - 0xd0], 0x401090
call dword [sym.imp.USER32.dll_RegisterClassExW]
push edi
push esi
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 0
push str.webview_message
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp byte [edi + 0x50], 0
je 0x402ebe
push 5
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SetFocus]
mov al, byte [ebp - 0x18]
sub esp, 0x28
mov ecx, esp
push dword [ebp + 8]
mov dword [ecx], 0x426468
mov dword [ecx + 4], 0x403fde
mov byte [ecx + 8], al
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x24], ecx
mov ecx, edi
push dword [edi + 0x20]
call fcn.00406cb0
mov eax, edi
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.0040cc31
mov esp, ebp
pop ebp
ret 8
call fcn.0041132f
int3