Function at 0x1400873cc
Capabilities:
Print debug messages
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1402471c0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x1401c9840]
movaps xmmword [rcx], xmm0
call fcn.140088020
mov rcx, qword [rbx]
test rcx, rcx
je 0x14008743a
cmp word [rcx], 0
je 0x14008743a
lea rdx, [rsp + 0x40]
call fcn.14008702a
mov ebp, eax
mov r14d, 1
xor r15d, r15d
jmp 0x140087455
mov ecx, dword [rbx + 0x18]
xor r14d, r14d
lea rdx, [rsp + 0x40]
xor r8d, r8d
xor r9d, r9d
call 0x14008772d
mov ebp, eax
mov r15b, 1
mov esi, ebp
test ebp, ebp
jne 0x140087489
mov rsi, qword [rbx + 8]
mov rbx, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400882de
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov dl, 1
mov r8d, r14d
mov r9, rsi
call fcn.140088bbc
mov esi, eax
test esi, esi
js 0x1400874b9
lea rcx, [rsp + 0x40]
call fcn.140088032
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401bb650
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 [0x140247318]
mov ecx, dword [0x1402499d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x120]
jg 0x1400876e0
mov rcx, qword [0x140247310]
test rcx, rcx
je 0x14008748d
lea rdx, [0x1401c9bda]
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14008748d
mov rax, qword [0x140247028]
movups xmm0, xmmword [rax - 0x10]
movaps xmmword [rsp + 0x80], xmm0
cmp qword [0x140247040], 0
jne 0x140087726
xorps xmm0, xmm0
movups xmmword [0x140247048], xmm0
lea r8, [0x140247020]
lea rdx, [0x140087bc4]
lea r9, [0x140247040]
lea rdi, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.advapi32.dll_EventRegister]
test eax, eax
jne 0x14008748d
mov r8, qword [0x140247028]
movzx r9d, word [r8]
mov rcx, qword [0x140247040]
mov edx, 2
call qword [sym.imp.advapi32.dll_EventSetInformation]
cmp dword [0x140247020], 3
jb 0x1400876b9
test byte [0x140247035], 0x40
je 0x1400876b9
movabs rax, 0x400000000000
mov rcx, rax
not rcx
test qword [0x140247038], rcx
jne 0x1400876b9
lea rcx, [rsp + 0x78]
mov qword [rcx], 0x1000000
lea rdx, [rsp + 0x70]
mov byte [rdx], r15b
lea r8, [rsp + 0x68]
mov byte [r8], bl
lea r9, [rsp + 0x60]
mov dword [r9], 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], r8
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xa0], r9
mov qword [rsp + 0xa8], 4
movabs rcx, 0x20b000000
lea rdx, [rsp + 0xe0]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov rax, qword [0x140247028]
mov qword [rsp + 0x80], rax
movzx eax, word [rax]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], 2
lea rax, [0x1401f2734]
mov qword [rsp + 0x90], rax
movabs rax, 0x10000005f
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x3c], 0xaaaaaaaa
lea rax, str.ETW0
lea rcx, [0x1401f27d8]
sub ecx, eax
mov dword [rsp + 0x3c], ecx
mov rcx, qword [0x140247040]
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 [0x140247040]
mov dword [0x140247020], 0
mov qword [0x140247040], 0
call qword [sym.imp.advapi32.dll_EventUnregister]
jmp 0x14008748d
lea rcx, [0x140247318]
call fcn.1401bb6e0
cmp dword [0x140247318], 0xffffffff
jne 0x1400874e3
lea rcx, str.ADVAPI32.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.kernel32.dll_LoadLibraryExW]
mov qword [0x140247310], rax
lea rcx, [0x140247318]
call fcn.1401bb674
jmp 0x1400874e3
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 rdi, r8
mov rbx, rdx
mov ebp, ecx
mov rax, qword [0x1402471c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea r12, str.Microsoft.WebView2Runtime.Stable_8wekyb3d8bbwe
movaps xmm6, xmmword [0x1401c9840]
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.140088020
mov ecx, esi
mov rdx, r14
call fcn.140086e45
mov rcx, r14
call fcn.1400882de
mov rcx, rax
xor edx, edx
mov r8, rdi
mov r9, rbx
call fcn.140087c37
test al, al
jne 0x140087a8e
mov rcx, r14
call fcn.1400882de
mov rcx, rax
mov dl, 1
mov r8, rdi
mov r9, rbx
call fcn.140087c37
test al, al
jne 0x140087a8e
mov eax, dword [0x140247328]
mov ecx, dword [0x1402499d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x120]
jg 0x140087a40
mov rax, qword [0x140247320]
test rax, rax
je 0x1400878ed
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 [0x1401be9b8]
cmp eax, 0x7a
jne 0x1400878ed
cmp dword [rsp + 0x48], 0
je 0x1400878ed
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmmword [rsp + 0x60], xmm6
lea r12, [rsp + 0x60]
mov rcx, r12
call fcn.140088020
mov edx, dword [rsp + 0x48]
mov rcx, r12
call fcn.1400882c2
test al, al
je 0x1400878d8
mov r12, qword [0x140247320]
lea rcx, [rsp + 0x60]
call fcn.1400882d8
mov ecx, 1
lea rdx, [rsp + 0x48]
mov r8, rax
lea r9, [rsp + 0x4c]
mov rax, r12
call qword [0x1401be9b8]
test eax, eax
je 0x140087907
lea rcx, [rsp + 0x60]
call fcn.140088032
mov ebp, dword [rsp + 0x24]
lea r12, str.Microsoft.WebView2Runtime.Stable_8wekyb3d8bbwe
mov rcx, r14
call fcn.140088032
inc r13d
cmp r13d, 5
jne 0x140087795
jmp 0x140087ab8
lea rcx, [rsp + 0x60]
call fcn.1400882d8
cmp dword [rsp + 0x4c], 0
je 0x1400878d8
mov r12, rax
add r12, 0x28
xor ebp, ebp
mov rcx, qword [r12 - 0x10]
mov rdx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
je 0x140087940
inc ebp
add r12, 0x50
cmp ebp, dword [rsp + 0x4c]
jb 0x140087921
jmp 0x1400878d8
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.14008811a
lea rbp, [rsp + 0x60]
mov rcx, rbp
call fcn.140088032
lea rcx, [rsp + 0x50]
mov rdx, rbx
call fcn.140087d92
test rdi, rdi
je 0x140087a2b
test al, al
je 0x140087a2b
mov edx, 0xf
mov rcx, rdi
call fcn.14008808e
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x6e], rax
movaps xmmword [rsp + 0x60], xmm6
pshufd xmm0, xmm8, 0xff
movd r15d, xmm0
mov r8d, 0xb
mov ecx, r15d
mov rdx, rbp
mov r9d, 0xa
call sub.api_ms_win_crt_convert_l1_1_0.dll__ultow_s
test eax, eax
jne 0x1400878e2
mov rcx, rdi
mov rdx, rbp
call fcn.14008811a
mov r12d, 3
mov r8d, 0xb
mov ecx, r15d
mov rdx, rbp
mov r9d, 0xa
call sub.api_ms_win_crt_convert_l1_1_0.dll__ultow_s
test eax, eax
jne 0x1400878e2
mov rcx, rdi
lea rdx, [0x1401c9e8c]
call fcn.1400881fe
mov rcx, rdi
mov rdx, rbp
call fcn.1400881fe
dec r12d
jne 0x1400879eb
jmp 0x140087a8e
test al, al
mov ebp, dword [rsp + 0x24]
lea r12, str.Microsoft.WebView2Runtime.Stable_8wekyb3d8bbwe
je 0x1400878ed
jmp 0x140087a8e
lea rcx, [0x140247328]
call fcn.1401bb6e0
cmp dword [0x140247328], 0xffffffff
jne 0x140087833
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 [0x140247320], rax
lea rcx, [0x140247328]
call fcn.1401bb674
jmp 0x140087833
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140087aaa
mov eax, esi
lea rdx, [0x1401c9b10]
mov rdx, qword [rdx + rax*8]
call fcn.14008811a
lea rcx, [rsp + 0x30]
call fcn.140088032
xor esi, esi
jmp 0x140087aca
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.1401bb650
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