Function at 0x1400018e4
Capabilities:
Print debug messages

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1402436d8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x140202990]
movaps xmmword [rcx], xmm0
call fcn.1400021d0
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400015f3
cmp word [rcx], 0
je 0x1400015f3
lea rdx, [rsp + 0x40]
call fcn.1400011e5
mov ebp, eax
mov edi, 1
xor r15d, r15d
jmp 0x14000160d
mov ecx, dword [rbx + 0x18]
xor edi, edi
lea rdx, [rsp + 0x40]
xor r8d, r8d
xor r9d, r9d
call 0x1400018e4
mov ebp, eax
mov r15b, 1
mov esi, ebp
test ebp, ebp
jne 0x140001641
mov rsi, qword [rbx + 8]
mov rbx, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140002484
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov dl, 1
mov r8d, edi
mov r9, rsi
call fcn.140002d63
mov esi, eax
test esi, esi
js 0x140001671
lea rcx, [rsp + 0x40]
call fcn.1400021e2
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401825b0
mov eax, esi
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
test ebp, ebp
sete bl
mov eax, dword [0x14024e0e0]
mov ecx, dword [0x14024ef08]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140001897
mov rcx, qword [0x14024e0d8]
test rcx, rcx
je 0x140001645
lea rdx, [0x140202d2a]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001645
mov rax, qword [0x140243470]
movups xmm0, xmmword [rax - 0x10]
movaps xmmword [rsp + 0x80], xmm0
cmp qword [0x140243488], 0
jne 0x1400018dd
xorps xmm0, xmm0
movups xmmword [0x140243490], xmm0
lea r8, [0x140243468]
lea rdx, [0x140001d74]
lea r9, [0x140243488]
lea rdi, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EventRegister]
test eax, eax
jne 0x140001645
mov r8, qword [0x140243470]
movzx r9d, word [r8]
mov rcx, qword [0x140243488]
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_EventSetInformation]
cmp dword [0x140243468], 3
jb 0x140001870
test byte [0x14024347d], 0x40
je 0x140001870
movabs rax, 0x400000000000
mov rcx, rax
not rcx
test qword [0x140243480], rcx
jne 0x140001870
lea rcx, [rsp + 0x78]
mov qword [rcx], 0x1000000
lea rdx, [rsp + 0x70]
mov byte [rdx], r15b
lea rbp, [rsp + 0x68]
mov byte [rbp], bl
lea rbx, [rsp + 0x60]
mov dword [rbx], esi
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0xd8], 8
mov qword [rsp + 0xc0], rdx
mov ecx, 1
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], 4
movabs rcx, 0x20b000000
lea rdx, [rsp + 0xe0]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov rax, qword [0x140243470]
mov qword [rsp + 0x80], rax
movzx eax, word [rax]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], 2
lea rax, [0x1402202f4]
mov qword [rsp + 0x90], rax
movabs rax, 0x10000005f
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x3c], 0xaaaaaaaa
lea rax, str.ETW0
lea rcx, [0x140220398]
sub ecx, eax
mov dword [rsp + 0x3c], ecx
mov rcx, qword [0x140243488]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_EventWriteTransfer]
mov rcx, qword [0x140243488]
mov dword [0x140243468], 0
mov qword [0x140243488], 0
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
jmp 0x140001645
lea rcx, [0x14024e0e0]
call fcn.140182388
cmp dword [0x14024e0e0], 0xffffffff
jne 0x14000169b
lea rcx, [0x140202d10]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x14024e0d8], rax
lea rcx, [0x14024e0e0]
call fcn.140182328
jmp 0x14000169b
mov ecx, 5
int 0x29
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 rsi, r8
mov rdi, rdx
mov ebp, ecx
mov rax, qword [0x1402436d8]
xor rax, rsp
mov qword [rsp + 0x78], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x140202990]
lea rbx, [rsp + 0x30]
pxor xmm8, xmm8
xor r13d, r13d
mov dword [rsp + 0x20], ecx
mov r14d, 4
sub r14d, r13d
cmp ebp, 1
cmovne r14d, r13d
mov qword [rsp + 0x40], r15
movaps xmmword [rsp + 0x30], xmm6
mov rcx, rbx
call fcn.1400021d0
mov ecx, r14d
mov rdx, rbx
call fcn.140001001
mov rcx, rbx
call fcn.140002484
mov rcx, rax
xor edx, edx
mov r8, rsi
mov r9, rdi
call fcn.140001de9
test al, al
jne 0x140001c43
mov rcx, rbx
call fcn.140002484
mov rcx, rax
mov dl, 1
mov r8, rsi
mov r9, rdi
call fcn.140001de9
test al, al
jne 0x140001c43
mov eax, dword [0x14024e0f0]
mov ecx, dword [0x14024ef08]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140001bf5
mov rax, qword [0x14024e0e8]
test rax, rax
je 0x140001a96
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 [0x1401d2a90]
cmp eax, 0x7a
jne 0x140001a96
cmp dword [rsp + 0x48], 0
je 0x140001a96
mov qword [rsp + 0x70], r15
movaps xmmword [rsp + 0x60], xmm6
lea rbx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400021d0
mov edx, dword [rsp + 0x48]
mov rcx, rbx
call fcn.14000246e
test al, al
je 0x140001a7b
mov rbp, qword [0x14024e0e8]
mov rcx, rbx
call fcn.140002484
mov ecx, 1
lea rdx, [rsp + 0x48]
mov r8, rax
lea r9, [rsp + 0x4c]
mov rax, rbp
call qword [0x1401d2a90]
test eax, eax
je 0x140001ab0
mov rcx, rbx
call fcn.1400021e2
mov ebp, dword [rsp + 0x20]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400021e2
inc r13d
cmp r13d, 5
jne 0x140001950
jmp 0x140001c6e
mov rcx, rbx
call fcn.140002484
cmp dword [rsp + 0x4c], 0
je 0x140001a7b
mov r15, rax
lea rax, str.Microsoft.WebView2Runtime.Stable_8wekyb3d8bbwe
mov r12, qword [rax + r14*8]
add r15, 0x28
xor ebp, ebp
mov rcx, qword [r15 - 0x10]
mov rdx, r12
call fcn.14019b97c
test eax, eax
je 0x140001af1
inc ebp
add r15, 0x50
cmp ebp, dword [rsp + 0x4c]
jb 0x140001ad3
jmp 0x140001a7b
movq xmm7, qword [r15]
punpcklwd xmm7, xmm8
pshufd xmm0, xmm7, 0x1b
movdqa xmmword [rsp + 0x50], xmm0
mov rdx, qword [r15 - 0x20]
mov rcx, rdi
call fcn.1400022c6
mov rcx, rbx
call fcn.1400021e2
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.140001f42
test rsi, rsi
je 0x140001b89
test al, al
je 0x140001b89
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, rsi
call fcn.14000223e
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x6e], r15
movaps xmmword [rsp + 0x60], xmm6
pshufd xmm0, xmm7, 0xff
movd ecx, xmm0
mov r8d, ntohs
mov dword [rsp + 0x24], ecx
lea r12, [rsp + 0x60]
mov rdx, r12
mov r9d, 0xa
call fcn.14019bc68
test eax, eax
lea rbx, [rsp + 0x30]
je 0x140001ba9
mov ebp, dword [rsp + 0x20]
jmp 0x140001a96
test al, al
mov ebp, dword [rsp + 0x20]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
je 0x140001a96
jmp 0x140001c43
mov rcx, rsi
mov rdx, r12
call fcn.1400022c6
mov ebp, 3
mov r8d, ntohs
mov ecx, dword [rsp + 0x24]
mov rdx, r12
mov r9d, 0xa
call fcn.14019bc68
test eax, eax
jne 0x140001b80
mov rcx, rsi
lea rdx, [0x140202fdc]
call fcn.1400023aa
mov rcx, rsi
mov rdx, r12
call fcn.1400023aa
dec ebp
jne 0x140001bb9
jmp 0x140001c43
lea rcx, [0x14024e0f0]
call fcn.140182388
cmp dword [0x14024e0f0], 0xffffffff
jne 0x1400019e2
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetCurrentPackageInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14024e0e8], rax
lea rcx, [0x14024e0f0]
call fcn.140182328
jmp 0x1400019e2
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140001c60
mov eax, r14d
lea rdx, [0x140202c60]
mov rdx, qword [rdx + rax*8]
call fcn.1400022c6
lea rcx, [rsp + 0x30]
call fcn.1400021e2
xor esi, esi
jmp 0x140001c80
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.1401825b0
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