Function at 0x40a500
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4719d5
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x48d030]
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
mov esi, dword [ebp + 8]
test esi, esi
jns 0x40a546
push str.Options_WebView_creation_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, esi
jmp 0x40a8de
mov edi, dword [ebx]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 0x20], esi
je 0x40a578
mov dword [ebp - 4], 0
test esi, esi
je 0x40a561
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x20], esi
mov dword [ebp - 4], 1
test ecx, ecx
je 0x40a578
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebx]
mov edi, dword [ecx + 0x20]
lea esi, [ecx + 0x28]
mov eax, dword [edi]
mov eax, dword [eax + 0x64]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 2
mov ecx, dword [esi]
test ecx, ecx
je 0x40a5a4
mov dword [esi], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x30]
push esi
push edi
mov dword [ebp - 4], 0xffffffff
call eax
mov edx, 0x480278
mov ecx, eax
call fcn.0040fa00
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
mov eax, dword [ebx]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push edx
push ecx
mov byte [ebp - 4], 3
call dword [eax + 0xc]
mov edi, eax
test edi, edi
jns 0x40a604
mov ecx, dword [ebp + 4]
mov edx, 0x6a4
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a8c8
mov eax, dword [ebp - 0x14]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edi, eax
test edi, edi
jns 0x40a630
mov ecx, dword [ebp + 4]
mov edx, 0x6a5
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a8c8
mov eax, dword [ebp - 0x14]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov edi, eax
test edi, edi
jns 0x40a65c
mov ecx, dword [ebp + 4]
mov edx, 0x6a6
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a8c8
mov ecx, dword [ebx]
xor esi, esi
push 0x4801f8
push 0x10
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x38], eax
lea eax, [ecx + 0x50]
mov dword [ebp - 0x30], eax
call fcn.0046fd70
mov edi, eax
add esp, 8
test edi, edi
je 0x40a6b2
mov byte [ebp - 4], 8
mov ecx, dword [0x491cac]
mov dword [edi + 8], 1
mov dword [edi], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2ZoomFactorChangedEventHandler_.0
test ecx, ecx
je 0x40a6aa
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [edi], method.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2ZoomFactorChangedEventHandler_.virtual_0
mov esi, edi
mov dword [ebp - 0x3c], esi
push dword [ebp - 0x30]
mov byte [ebp - 4], 9
push esi
push dword [ebp - 0x34]
call dword [ebp - 0x38]
mov edi, eax
mov byte [ebp - 4], 0xa
test esi, esi
je 0x40a6da
mov eax, dword [esi]
push esi
mov dword [ebp - 0x3c], 0
call dword [eax + 8]
mov byte [ebp - 4], 3
test edi, edi
jns 0x40a6fd
mov ecx, dword [ebp + 4]
mov edx, 0x6ae
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a8c8
mov eax, dword [ebx]
push 0
mov ecx, dword [eax + 0x20]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, eax
test edi, edi
jns 0x40a72b
mov ecx, dword [ebp + 4]
mov edx, 0x6b1
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a8c8
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x28]
mov eax, dword [esi]
mov edx, dword [eax + 0x88]
lea eax, [ecx + 0x48]
push eax
push dword [ecx + 0x60]
push esi
call edx
mov edi, eax
test edi, edi
jns 0x40a763
mov ecx, dword [ebp + 4]
mov edx, 0x6b2
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a8c8
mov edi, dword [ebx]
xor esi, esi
push 0x4801f8
push 0x10
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x30], eax
call fcn.0046fd70
add esp, 8
mov dword [ebp - 0x38], eax
test eax, eax
je 0x40a7ba
mov byte [ebp - 4], 0xe
mov ecx, dword [0x491cac]
mov dword [eax + 8], 1
mov dword [eax], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2FocusChangedEventHandler_.0
test ecx, ecx
je 0x40a7af
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [ebp - 0x38]
mov dword [eax + 0xc], edi
mov esi, eax
mov dword [eax], method.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2FocusChangedEventHandler_.virtual_0
mov dword [ebp - 0x40], esi
lea eax, [edi + 0x58]
mov byte [ebp - 4], 0xf
push eax
push esi
push dword [ebp - 0x34]
call dword [ebp - 0x30]
mov edi, eax
mov byte [ebp - 4], 0x10
test esi, esi
je 0x40a7dc
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 3
test edi, edi
jns 0x40a7ff
mov ecx, dword [ebp + 4]
mov edx, 0x6bf
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a8c8
mov ecx, dword [ebx]
call fcn.0040f8c0
mov edi, eax
test edi, edi
jns 0x40a827
mov ecx, dword [ebp + 4]
mov edx, 0x6c1
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a8c8
mov ecx, dword [ebx]
lea eax, [ebp - 0x2c]
push str.wvbrowser_uicontrols_uioptions.html
push eax
call fcn.0040fde0
mov byte [ebp - 4], 0x13
mov eax, dword [ebx]
cmp dword [ebp - 0x18], 8
mov edx, dword [eax + 0x28]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push edx
call ecx
mov edi, eax
test edi, edi
jns 0x40a872
mov ecx, dword [ebp + 4]
mov edx, 0x6c4
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a874
xor edi, edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x40a8b4
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a8aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a8aa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047012d
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 0x15
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x40a8dc
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
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.0046fb30
mov esp, ebp
pop ebp
ret 8