Function at 0x140001d51
Capabilities:
Print debug messages

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movdqa xmmword [rsp + 0xa0], xmm8
movdqa xmmword [rsp + 0x90], xmm7
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x28], r9
mov rdi, r8
mov rbx, rdx
mov ebp, ecx
mov rax, qword [0x14032b320]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea r12, str.Microsoft.WebView2Runtime.Stable_8wekyb3d8bbwe
movaps xmm6, xmmword [0x140298cb0]
lea r14, [rsp + 0x30]
pxor xmm7, xmm7
xor r13d, r13d
mov dword [rsp + 0x24], ecx
mov esi, 4
sub esi, r13d
cmp ebp, 1
cmovne esi, r13d
mov r15, qword [r12 + rsi*8]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmmword [rsp + 0x30], xmm6
mov rcx, r14
call fcn.14000258c
mov ecx, esi
mov rdx, r14
call fcn.14000102d
mov rcx, r14
call fcn.1400467d0
mov rcx, rax
xor edx, edx
mov r8, rdi
mov r9, rbx
call fcn.140002298
test al, al
jne 0x1400020b2
mov rcx, r14
call fcn.1400467d0
mov rcx, rax
mov dl, 1
mov r8, rdi
mov r9, rbx
call fcn.140002298
test al, al
jne 0x1400020b2
mov eax, dword [0x140487980]
mov ecx, dword [0x140488958]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x28]
jg 0x140002064
mov rax, qword [0x140487978]
test rax, rax
je 0x140001f11
mov dword [rsp + 0x4c], 0xaaaaaaaa
mov dword [rsp + 0x48], 0
mov ecx, 1
lea rdx, [rsp + 0x48]
xor r8d, r8d
lea r9, [rsp + 0x4c]
call qword [0x140294038]
cmp eax, 0x7a
jne 0x140001f11
cmp dword [rsp + 0x48], 0
je 0x140001f11
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmmword [rsp + 0x60], xmm6
lea r12, [rsp + 0x60]
mov rcx, r12
call fcn.14000258c
mov edx, dword [rsp + 0x48]
mov rcx, r12
call fcn.14000282e
test al, al
je 0x140001efc
mov r12, qword [0x140487978]
lea rcx, [rsp + 0x60]
call fcn.1400467d0
mov ecx, 1
lea rdx, [rsp + 0x48]
mov r8, rax
lea r9, [rsp + 0x4c]
mov rax, r12
call qword [0x140294038]
test eax, eax
je 0x140001f2b
lea rcx, [rsp + 0x60]
call fcn.14000259e
mov ebp, dword [rsp + 0x24]
lea r12, str.Microsoft.WebView2Runtime.Stable_8wekyb3d8bbwe
mov rcx, r14
call fcn.14000259e
inc r13d
cmp r13d, 5
jne 0x140001db9
jmp 0x1400020dc
lea rcx, [rsp + 0x60]
call fcn.1400467d0
cmp dword [rsp + 0x4c], 0
je 0x140001efc
mov r12, rax
add r12, 0x28
xor ebp, ebp
mov rcx, qword [r12 - 0x10]
mov rdx, r15
call fcn.140252a50
test eax, eax
je 0x140001f64
inc ebp
add r12, 0x50
cmp ebp, dword [rsp + 0x4c]
jb 0x140001f45
jmp 0x140001efc
movq xmm8, qword [r12]
punpcklwd xmm8, xmm7
pshufd xmm0, xmm8, 0x1b
movdqa xmmword [rsp + 0x50], xmm0
mov rdx, qword [r12 - 0x20]
mov rcx, rbx
call fcn.140002686
lea rbp, [rsp + 0x60]
mov rcx, rbp
call fcn.14000259e
lea rcx, [rsp + 0x50]
mov rdx, rbx
call fcn.1400023f3
test rdi, rdi
je 0x14000204f
test al, al
je 0x14000204f
mov edx, 0xf
mov rcx, rdi
call fcn.1400025fa
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x6e], rax
movaps xmmword [rsp + 0x60], xmm6
pshufd xmm0, xmm8, 0xff
movd r15d, xmm0
mov r8d, reloc.OLEAUT32.dll_VariantChangeType
mov ecx, r15d
mov rdx, rbp
mov r9d, 0xa
call fcn.14024fec4
test eax, eax
jne 0x140001f06
mov rcx, rdi
mov rdx, rbp
call fcn.140002686
mov r12d, 3
mov r8d, reloc.OLEAUT32.dll_VariantChangeType
mov ecx, r15d
mov rdx, rbp
mov r9d, 0xa
call fcn.14024fec4
test eax, eax
jne 0x140001f06
mov rcx, rdi
lea rdx, [0x1402993ec]
call fcn.14000276a
mov rcx, rdi
mov rdx, rbp
call fcn.14000276a
dec r12d
jne 0x14000200f
jmp 0x1400020b2
test al, al
mov ebp, dword [rsp + 0x24]
lea r12, str.Microsoft.WebView2Runtime.Stable_8wekyb3d8bbwe
je 0x140001f11
jmp 0x1400020b2
lea rcx, [0x140487980]
call fcn.14023c0c0
cmp dword [0x140487980], 0xffffffff
jne 0x140001e57
lea rcx, [0x140299406]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetCurrentPackageInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140487978], rax
lea rcx, [0x140487980]
call fcn.14023c054
jmp 0x140001e57
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400020ce
mov eax, esi
lea rdx, [0x140298f80]
mov rdx, qword [rdx + rax*8]
call fcn.140002686
lea rcx, [rsp + 0x30]
call fcn.14000259e
xor esi, esi
jmp 0x1400020ee
lea rcx, str.WebView2:_Failed_to_find_an_installed_WebView2_runtime_or_non_stable_Microsoft_Edge_installation._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, 0x80070002
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14023ba10
mov eax, esi
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret