Function at 0x40ce01
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c4e9
mov eax, dword fs:[0]
push eax
mov eax, 0x1464
call fcn.00419230
push ebx
push esi
push edi
mov eax, dword [0x452040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x1470], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x146c], eax
and dword [ebp - 4], 0
xor eax, eax
mov esi, dword [ebp + 0x18]
mov word [ebp - 0x1410], ax
mov byte [ebp - 0x410], al
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
mov dword [ebp - 0x1460], ecx
mov dword [ebp - 0x145c], eax
call fcn.0040b3f4
pop ecx
xor edx, edx
mov dword [ebp - 0x1468], 3
xor ecx, ecx
inc edx
cmp dword [esi + 8], edx
mov edi, eax
push 8
pop eax
cmove ecx, eax
mov dword [ebp - 0x1464], ecx
lock xadd dword [0x458508], edx
inc edx
and dword [ebp - 0x1454], 0
mov dword [ebp - 0x1458], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x1450], eax
mov eax, dword [ebp - 0x146c]
mov dword [ebp - 0x1418], eax
mov eax, dword [ebp - 0x1470]
mov dword [ebp - 0x1414], eax
xor eax, eax
mov dword [ebp - 0x1440], ebx
xor ebx, ebx
mov dword [ebp - 0x143c], edi
lea edi, [ebp - 0x1428]
mov dword [ebp - 0x1444], str.C:C3_buildwebview2windows_webview2packagesMicrosoft.Windows.ImplementationLibrary.1.0.240122.1includewil_resource.h
mov dword [ebp - 0x144c], ebx
mov dword [ebp - 0x1448], ebx
mov dword [ebp - 0x1438], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x1434]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x4584b0]
test eax, eax
je 0x40cf1c
call eax
mov dword [ebp - 0x141c], eax
jmp 0x40cf22
mov dword [ebp - 0x141c], ebx
mov eax, dword [0x458474]
test eax, eax
je 0x40cf34
lea ecx, [ebp - 0x1468]
push ecx
call eax
mov eax, dword [0x45848c]
test eax, eax
je 0x40cf52
push 0x400
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x1468]
push ecx
call eax
mov eax, dword [0x458488]
test eax, eax
je 0x40cf64
lea ecx, [ebp - 0x1468]
push ecx
call eax
mov eax, dword [0x45849c]
test eax, eax
je 0x40cf7f
test byte [ebp - 0x1464], 2
jne 0x40cf7f
lea ecx, [ebp - 0x1468]
push ecx
call eax
cmp dword [ebp - 0x1460], ebx
jl 0x40cf9d
mov ecx, 0x8000ffff
mov dword [ebp - 0x1460], ecx
call fcn.0040b54c
mov dword [ebp - 0x145c], eax
cmp byte [0x458468], bl
jne 0x40cfc5
mov eax, dword [0x458460]
test eax, eax
je 0x40cfb5
call eax
movzx eax, al
jmp 0x40cfc1
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x40cfce
test byte [ebp - 0x1464], 2
je 0x40cfec
mov eax, dword [0x45846c]
test eax, eax
je 0x40d03e
cmp byte [0x45847c], bl
jne 0x40d03e
push ebx
push ebx
lea ecx, [ebp - 0x1468]
push ecx
call eax
jmp 0x40d03e
mov eax, dword [0x45846c]
mov esi, 0x800
test eax, eax
je 0x40d013
cmp byte [0x45847c], bl
jne 0x40d013
push esi
lea ecx, [ebp - 0x1410]
push ecx
lea ecx, [ebp - 0x1468]
push ecx
call eax
cmp word [ebp - 0x1410], bx
jne 0x40d031
lea eax, [ebp - 0x1468]
mov edx, esi
push eax
lea ecx, [ebp - 0x1410]
call fcn.0040b016
pop ecx
lea eax, [ebp - 0x1410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [ebp - 0x1464], 4
jne 0x40d04f
cmp byte [0x458470], bl
je 0x40d05a
mov eax, dword [0x458494]
test eax, eax
je 0x40d05a
call eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1468]
call fcn.0040be46
int3