Function at 0x408ea0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47172d
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 0x408ee6
push str.Controls_WebView_creation_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, esi
jmp 0x4091ad
mov edi, dword [ebx]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], esi
je 0x408f18
mov dword [ebp - 4], 0
test esi, esi
je 0x408f01
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 0x408f18
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 0x408f44
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, 0x480258
mov ecx, eax
call fcn.0040fcc0
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 0x408fa4
mov ecx, dword [ebp + 4]
mov edx, 0x3c9
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x409197
mov eax, dword [ebp - 0x14]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edi, eax
test edi, edi
jns 0x408fd0
mov ecx, dword [ebp + 4]
mov edx, 0x3ca
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x409197
mov eax, dword [ebp - 0x14]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov edi, eax
test edi, edi
jns 0x408ffc
mov ecx, dword [ebp + 4]
mov edx, 0x3cb
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x409197
mov ecx, dword [ebx]
xor esi, esi
push 0x4801d0
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.0046fb71
mov edi, eax
add esp, 8
test edi, edi
je 0x409052
mov byte [ebp - 4], 8
mov ecx, dword [0x491c04]
mov dword [edi + 8], 1
mov dword [edi], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2ZoomFactorChangedEventHandler_.0
test ecx, ecx
je 0x40904a
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 0x409073
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 3
test edi, edi
jns 0x409096
mov ecx, dword [ebp + 4]
mov edx, 0x3d2
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x409197
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 0x4090ce
mov ecx, dword [ebp + 4]
mov edx, 0x3d4
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x409197
mov ecx, dword [ebx]
call fcn.0040fb80
mov edi, eax
test edi, edi
jns 0x4090f6
mov ecx, dword [ebp + 4]
mov edx, 0x3d5
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x409197
mov ecx, dword [ebx]
lea eax, [ebp - 0x2c]
push str.wvbrowser_uicontrols_uidefault.html
push eax
call fcn.004100a0
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 0x409141
mov ecx, dword [ebp + 4]
mov edx, 0x3d8
push edi
push str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainBrowserWindow.cpp
call fcn.004028d0
add esp, 8
jmp 0x409143
xor edi, edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x409183
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409179
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409179
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046ff2c
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 0x4091ab
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.0046f931
mov esp, ebp
pop ebp
ret 8