Function at 0x10106276
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov esi, ecx
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x44]
mov eax, dword [edi]
mov ebx, dword [eax + 0x10]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x10c]
or eax, 8
shl eax, 0x1b
mov dword [esp + 4], ebx
mov dword [esp], eax
mov ecx, esi
call fcn.101089ea
sub esp, 8
mov edi, 0x8007139f
cmp dword [esi + 0x40], ebx
je 0x101064af
mov eax, dword [esi + 0x3c]
mov al, byte [eax + 0xf2]
test al, 1
jne 0x101064af
mov eax, dword [esi + 0x114]
mov dword [esp], eax
mov dword [esp + 4], 1
call dword [sym.imp.USER32.dll_GetSystemMenu]
sub esp, 8
mov eax, dword [esi + 0x114]
movaps xmm0, xmmword [0x10354dd0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0x13
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_SetWindowPos]
sub esp, 0x1c
test eax, eax
jne 0x101063d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
jns 0x10106358
test byte [0x103c4c60], 0x19
jne 0x101064c3
mov dword [esp], str.SetWindowPos_failed_before_parenting_browser_window_with_error:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
sub esp, 4
mov eax, dword [ebp - 0x18]
mov ebx, 0x1034e5c4
lea edi, [ebp - 0x28]
mov dword [edi], ebx
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov ecx, edi
call fcn.1008957a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
sub esp, 4
mov dword [edi], ebx
mov edi, dword [edi + 8]
test edi, edi
je 0x101063af
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
mov dword [esp], edi
call ecx
sub esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x101063c2
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
sub esp, 4
mov dword [esp], 0x10352860
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
sub esp, 4
mov edi, dword [esi + 0x44]
test edi, edi
je 0x101063ec
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
jmp 0x101063ee
xor eax, eax
mov ecx, dword [esi + 0x114]
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.USER32.dll_SetParent]
sub esp, 8
test eax, eax
jne 0x101064ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jns 0x10106434
test byte [0x103c4c60], 0x19
jne 0x10106505
mov dword [esp], str.SetParent_failed_while_parenting_browser_window_with_error:
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call edi
sub esp, 4
mov eax, dword [ebp - 0x14]
mov ebx, 0x1034e5c4
lea esi, [ebp - 0x28]
mov dword [esi], ebx
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov ecx, esi
call fcn.1008957a
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esi], ebx
mov esi, dword [esi + 8]
test esi, esi
je 0x10106489
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
mov dword [esp], esi
call ecx
sub esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1010649c
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
sub esp, 4
mov dword [esp], 0x10352860
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
sub esp, 4
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102f4c53
mov eax, edi
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebp - 0x18]
mov dword [esp + 0x28], eax
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], 0x10352d10
mov dword [esp + 8], str.WebView2_SetWindowPos
mov dword [esp + 4], 0x103c4c60
mov dword [esp], 0x49
call fcn.1008bcd6
jmp 0x10106358
lea eax, [ebp - 0x14]
mov dword [esp + 0x28], eax
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], 0x10352d10
mov dword [esp + 8], str.WebView2_SetParent
mov dword [esp + 4], 0x103c4c60
mov dword [esp], 0x49
call fcn.1008bcd6
jmp 0x10106434