Function at 0x101055c4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov esi, ecx
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x108]
dec eax
cmp eax, 1
ja 0x1010563e
mov ecx, dword [esi + 0x60]
cmp dword [ecx], 6
jg 0x1010563e
mov esi, 0x8007139f
test byte [0x103c4c60], 0x19
je 0x1010593e
mov dword [esp + 0x28], ecx
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x24], str.os_version
mov dword [esp + 8], str.WebView2_VisualHostingOSVersion
mov dword [esp + 4], 0x103c4c60
mov dword [esp], 0x49
call fcn.10105aca
jmp 0x1010593e
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esi + 0x110], edx
mov dword [esi + 0x40], ecx
cmp dword [ebp + 0xc], 0
je 0x101056ac
lea ebx, [esi + 0xe4]
mov edi, dword [esi + 0xe4]
test edi, edi
je 0x1010567c
mov dword [ebx], 0
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
mov dword [esp], edi
call ecx
sub esp, 4
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [section..00cfg]
mov dword [esp + 8], ebx
mov dword [esp], edi
mov dword [esp + 4], 0x10358b8c
call ecx
sub esp, 0xc
test eax, eax
js 0x10105ac7
mov eax, dword [esi + 0x108]
dec eax
cmp eax, 1
ja 0x101056e5
mov dword [esp], 0x18
call fcn.102f3c36
mov edi, eax
mov ecx, eax
call fcn.10188e20
mov ecx, dword [esi + 0x154]
mov dword [esi + 0x154], edi
test ecx, ecx
je 0x101056e5
mov dword [esp], 1
call fcn.10189100
sub esp, 4
mov eax, dword [esi + 0x110]
cmp eax, 0xfffffffd
jne 0x10105706
mov ecx, dword [esi + 0x60]
cmp dword [ecx], 5
jl 0x10105706
mov ecx, dword [esi + 0x108]
add ecx, 0xfffffffd
cmp ecx, 0xfffffffe
jb 0x1010571a
mov dword [esp], eax
call dword [sym.imp.USER32.dll_IsWindow]
sub esp, 4
test eax, eax
je 0x10105895
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 0x110]
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov dword [esp], esi
mov esi, dword [ebp - 0x1c]
mov ecx, edi
call ebx
sub esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
js 0x101058bc
mov eax, dword [0x103c965c]
mov ecx, dword [0x103c75a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10105a41
cmp dword [0x103c9658], 0
je 0x101057eb
mov eax, dword [0x103c9664]
mov ecx, dword [0x103c75a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10105a84
mov edi, dword [0x103c9660]
test edi, edi
je 0x101057eb
mov ecx, dword [0x103c9658]
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 0x110]
call dword [section..00cfg]
mov dword [esp], esi
mov esi, dword [ebp - 0x1c]
call ecx
sub esp, 4
mov ebx, eax
mov ecx, edi
call dword [section..00cfg]
mov dword [esp], ebx
mov dword [esp + 4], 0xfffffffb
call edi
sub esp, 8
test eax, eax
je 0x101057eb
mov dword [esi + 0x150], 1
lea eax, [esi + 0x14c]
mov dword [ebp - 0x20], eax
mov edi, dword [esi + 0x44]
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov ecx, dword [ebp - 0x20]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.10254d88
mov dword [ebp - 0x14], eax
test eax, eax
js 0x1010590f
cmp dword [esi + 0x110], 0xfffffffd
jne 0x10105876
lea eax, [ebp - 0x18]
mov dword [eax], 1
mov edi, dword [esi + 0x44]
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
lea ecx, [ebp - 0x18]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 4
mov dword [esp + 4], 0xd
call dword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
sub esp, 0x10
mov dword [ebp - 0x14], eax
test eax, eax
js 0x10105954
mov eax, dword [esi + 0x108]
dec eax
cmp eax, 1
ja 0x1010591c
mov ecx, esi
call fcn.10105c26
mov dword [ebp - 0x14], eax
jmp 0x1010591c
test byte [0x103c4c60], 0x19
jne 0x101059aa
mov dword [esp], str.WebView2:_Initialization_failed_due_to_an_invalid_host_HWND_parentWindow._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
sub esp, 4
mov esi, 0x80070578
jmp 0x1010593e
test byte [0x103c4c60], 0x19
je 0x1010591c
lea edi, [ebp - 0x14]
mov dword [esp + 0x28], edi
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x24], 0x10352d10
mov dword [esp + 8], str.WebView2_ClientWindowInit
mov dword [esp + 4], 0x103c4c60
mov dword [esp], 0x49
call fcn.1008bcd6
cmp dword [edi], esi
mov esi, dword [ebp - 0x1c]
jns 0x1010574e
jmp 0x1010591c
test byte [0x103c4c60], 0x19
jne 0x101059f4
cmp dword [esi + 0x40], 0
je 0x10105939
mov eax, dword [esi + 0x3c]
mov al, byte [eax + 0xf2]
mov esi, 0x8007139f
test al, 1
jne 0x1010593e
mov esi, dword [ebp - 0x14]
jmp 0x1010593e
mov esi, 0x8007139f
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, esi
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
test byte [0x103c4c60], 0x19
je 0x1010591c
lea edi, [ebp - 0x14]
mov dword [esp + 0x28], edi
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x24], 0x10352d10
mov dword [esp + 8], str.WebView2_DwmSetWindowAttribute
mov dword [esp + 4], 0x103c4c60
mov dword [esp], 0x49
call fcn.1008bcd6
cmp dword [edi], esi
mov esi, dword [ebp - 0x1c]
jns 0x10105876
jmp 0x1010591c
mov eax, dword [esi + 0x110]
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
mov dword [esp + 0x28], ecx
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x24], str.parent_window
mov dword [esp + 8], str.WebView2_InvalidWindow
mov dword [esp + 4], 0x103c4c60
mov dword [esp], 0x49
call fcn.10105b7b
jmp 0x101058a2
lea edi, [ebp - 0x14]
mov dword [esp + 0x28], edi
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x24], 0x10352d10
mov dword [esp + 8], str.WebView2_GetDpiAwareness
mov dword [esp + 4], 0x103c4c60
mov dword [esp], 0x49
call fcn.1008bcd6
cmp dword [edi], esi
mov esi, dword [ebp - 0x1c]
jns 0x10105822
jmp 0x1010591c
mov dword [esp], 0x103c965c
call fcn.102f3cd7
cmp dword [0x103c965c], 0xffffffff
jne 0x1010576f
mov dword [esp + 4], 0
mov dword [esp], str.GetWindowDpiAwarenessContext
call fcn.101ec1a0
mov dword [0x103c9658], eax
mov dword [esp], 0x103c965c
call fcn.102f3d4d
jmp 0x1010576f
mov dword [esp], 0x103c9664
call fcn.102f3cd7
cmp dword [0x103c9664], 0xffffffff
jne 0x10105799
mov dword [esp + 4], 0
mov dword [esp], str.AreDpiAwarenessContextsEqual
call fcn.101ec1a0
mov dword [0x103c9660], eax
mov dword [esp], 0x103c9664
call fcn.102f3d4d
jmp 0x10105799
int3