Function at 0x40a1d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47197d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
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 0x40a216
push str.Controls_WebView_creation_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, esi
jmp 0x40a4dd
mov edi, dword [ebx]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], esi
je 0x40a248
mov dword [ebp - 4], 0
test esi, esi
je 0x40a231
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x1c], esi
mov dword [ebp - 4], 1
test ecx, ecx
je 0x40a248
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebx]
mov edi, dword [ecx + 0x1c]
lea esi, [ecx + 0x24]
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 0x40a274
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 + 0x24]
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 0x40a2d4
mov ecx, dword [ebp + 4]
mov edx, 0x680
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a4c7
mov eax, dword [ebp - 0x14]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edi, eax
test edi, edi
jns 0x40a300
mov ecx, dword [ebp + 4]
mov edx, 0x681
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a4c7
mov eax, dword [ebp - 0x14]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov edi, eax
test edi, edi
jns 0x40a32c
mov ecx, dword [ebp + 4]
mov edx, 0x682
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a4c7
mov ecx, dword [ebx]
xor esi, esi
push 0x4801f8
push 0x10
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x38], eax
lea eax, [ecx + 0x40]
mov dword [ebp - 0x30], eax
call fcn.0046fd70
mov edi, eax
add esp, 8
test edi, edi
je 0x40a382
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 0x40a37a
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 0x40a3a3
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 3
test edi, edi
jns 0x40a3c6
mov ecx, dword [ebp + 4]
mov edx, 0x689
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a4c7
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x24]
mov eax, dword [esi]
mov edx, dword [eax + 0x88]
lea eax, [ecx + 0x38]
push eax
push dword [ecx + 0x60]
push esi
call edx
mov edi, eax
test edi, edi
jns 0x40a3fe
mov ecx, dword [ebp + 4]
mov edx, 0x68b
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a4c7
mov ecx, dword [ebx]
call fcn.0040f8c0
mov edi, eax
test edi, edi
jns 0x40a426
mov ecx, dword [ebp + 4]
mov edx, 0x68c
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a4c7
mov ecx, dword [ebx]
lea eax, [ebp - 0x2c]
push str.wvbrowser_uicontrols_uidefault.html
push eax
call fcn.0040fde0
mov byte [ebp - 4], 0xe
mov eax, dword [ebx]
cmp dword [ebp - 0x18], 8
mov edx, dword [eax + 0x24]
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 0x40a471
mov ecx, dword [ebp + 4]
mov edx, 0x68f
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x40a473
xor edi, edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x40a4b3
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a4a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a4a9
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], 0x10
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x40a4db
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