Function at 0x1401ace25
Capabilities:
Print debug messages

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
movaps xmmword [rsp + 0x100], xmm6
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14071e300]
xor rax, rsp
mov qword [rsp + 0xf8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x10], rax
movaps xmm6, xmmword [0x1406304f0]
movaps xmmword [rcx], xmm6
call fcn.1401ad70c
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401acb1c
cmp word [rcx], 0
je 0x1401acb1c
lea rdx, [rsp + 0x40]
call fcn.1401ac706
mov ebp, eax
mov edi, 1
xor r15d, r15d
jmp 0x1401acb36
mov ecx, dword [rbx + 0x18]
xor edi, edi
lea rdx, [rsp + 0x40]
xor r8d, r8d
xor r9d, r9d
call 0x1401ace25
mov ebp, eax
mov r15b, 1
mov esi, ebp
test ebp, ebp
jne 0x1401acb6a
mov rsi, qword [rbx + 8]
mov rbx, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1401ad9c0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov dl, 1
mov r8d, edi
mov r9, rsi
call fcn.1401ae29f
mov esi, eax
test esi, esi
js 0x1401acba2
lea rcx, [rsp + 0x40]
call fcn.1401ad71e
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140251a90
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
test ebp, ebp
sete bl
mov eax, dword [0x14071e868]
mov ecx, dword [0x140720c40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x1a0]
jg 0x1401acdd8
mov rcx, qword [0x14071e860]
test rcx, rcx
je 0x1401acb6e
lea rdx, [0x14063086a]
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401acb6e
mov rax, qword [0x14071e168]
movups xmm0, xmmword [rax - 0x10]
movaps xmmword [rsp + 0x80], xmm0
cmp qword [0x14071e180], 0
jne 0x1401ace1e
xorps xmm0, xmm0
movups xmmword [0x14071e188], xmm0
lea r8, [0x14071e160]
lea rdx, [0x1401ad2b5]
lea r9, [0x14071e180]
lea rdi, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.advapi32.dll_EventRegister]
test eax, eax
jne 0x1401acb6e
mov r8, qword [0x14071e168]
movzx r9d, word [r8]
mov rcx, qword [0x14071e180]
mov edx, 2
call qword [sym.imp.advapi32.dll_EventSetInformation]
cmp dword [0x14071e160], 3
jb 0x1401acdb1
test byte [0x14071e175], 0x40
je 0x1401acdb1
movabs rax, 0x400000000000
mov rcx, rax
not rcx
test qword [0x14071e178], rcx
jne 0x1401acdb1
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
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
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 [0x14071e168]
mov qword [rsp + 0x80], rax
movzx eax, word [rax]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], 2
lea rax, [0x1406acb34]
mov qword [rsp + 0x90], rax
movabs rax, 0x10000005f
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x3c], 0xaaaaaaaa
lea rax, str.ETW0
lea rcx, [0x1406acbd8]
sub ecx, eax
mov dword [rsp + 0x3c], ecx
mov rcx, qword [0x14071e180]
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 [0x14071e180]
mov dword [0x14071e160], 0
mov qword [0x14071e180], 0
call qword [sym.imp.advapi32.dll_EventUnregister]
jmp 0x1401acb6e
lea rcx, [0x14071e868]
call fcn.140251b20
cmp dword [0x14071e868], 0xffffffff
jne 0x1401acbcc
lea rcx, [0x140630850]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.kernel32.dll_LoadLibraryExW]
mov qword [0x14071e860], rax
lea rcx, [0x14071e868]
call fcn.140251ab4
jmp 0x1401acbcc
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 [0x14071e300]
xor rax, rsp
mov qword [rsp + 0x78], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1406304f0]
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.1401ad70c
mov ecx, r14d
mov rdx, rbx
call fcn.1401ac5a1
mov rcx, rbx
call fcn.1401ad9c0
mov rcx, rax
xor edx, edx
mov r8, rsi
mov r9, rdi
call fcn.1401ad32a
test al, al
jne 0x1401ad184
mov rcx, rbx
call fcn.1401ad9c0
mov rcx, rax
mov dl, 1
mov r8, rsi
mov r9, rdi
call fcn.1401ad32a
test al, al
jne 0x1401ad184
mov eax, dword [0x14071e878]
mov ecx, dword [0x140720c40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x1a0]
jg 0x1401ad136
mov rax, qword [0x14071e870]
test rax, rax
je 0x1401acfd7
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 [0x14026e968]
cmp eax, 0x7a
jne 0x1401acfd7
cmp dword [rsp + 0x48], 0
je 0x1401acfd7
mov qword [rsp + 0x70], r15
movaps xmmword [rsp + 0x60], xmm6
lea rbx, [rsp + 0x60]
mov rcx, rbx
call fcn.1401ad70c
mov edx, dword [rsp + 0x48]
mov rcx, rbx
call fcn.1401ad9aa
test al, al
je 0x1401acfbc
mov rbp, qword [0x14071e870]
mov rcx, rbx
call fcn.1401ad9c0
mov ecx, 1
lea rdx, [rsp + 0x48]
mov r8, rax
lea r9, [rsp + 0x4c]
mov rax, rbp
call qword [0x14026e968]
test eax, eax
je 0x1401acff1
mov rcx, rbx
call fcn.1401ad71e
mov ebp, dword [rsp + 0x20]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1401ad71e
inc r13d
cmp r13d, 5
jne 0x1401ace91
jmp 0x1401ad1af
mov rcx, rbx
call fcn.1401ad9c0
cmp dword [rsp + 0x4c], 0
je 0x1401acfbc
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 sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
je 0x1401ad032
inc ebp
add r15, 0x50
cmp ebp, dword [rsp + 0x4c]
jb 0x1401ad014
jmp 0x1401acfbc
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.1401ad802
mov rcx, rbx
call fcn.1401ad71e
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.1401ad483
test rsi, rsi
je 0x1401ad0ca
test al, al
je 0x1401ad0ca
mov edx, 0xf
mov rcx, rsi
call fcn.1401ad77a
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x6e], r15
movaps xmmword [rsp + 0x60], xmm6
pshufd xmm0, xmm7, 0xff
movd ecx, xmm0
mov r8d, 0xb
mov dword [rsp + 0x24], ecx
lea r12, [rsp + 0x60]
mov rdx, r12
mov r9d, 0xa
call sub.api_ms_win_crt_convert_l1_1_0.dll__ultow_s
test eax, eax
lea rbx, [rsp + 0x30]
je 0x1401ad0ea
mov ebp, dword [rsp + 0x20]
jmp 0x1401acfd7
test al, al
mov ebp, dword [rsp + 0x20]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
je 0x1401acfd7
jmp 0x1401ad184
mov rcx, rsi
mov rdx, r12
call fcn.1401ad802
mov ebp, 3
mov r8d, 0xb
mov ecx, dword [rsp + 0x24]
mov rdx, r12
mov r9d, 0xa
call sub.api_ms_win_crt_convert_l1_1_0.dll__ultow_s
test eax, eax
jne 0x1401ad0c1
mov rcx, rsi
lea rdx, [0x140630b46]
call fcn.1401ad8e6
mov rcx, rsi
mov rdx, r12
call fcn.1401ad8e6
dec ebp
jne 0x1401ad0fa
jmp 0x1401ad184
lea rcx, [0x14071e878]
call fcn.140251b20
cmp dword [0x14071e878], 0xffffffff
jne 0x1401acf23
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 [0x14071e870], rax
lea rcx, [0x14071e878]
call fcn.140251ab4
jmp 0x1401acf23
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1401ad1a1
mov eax, r14d
lea rdx, [0x1406307c0]
mov rdx, qword [rdx + rax*8]
call fcn.1401ad802
lea rcx, [rsp + 0x30]
call fcn.1401ad71e
xor esi, esi
jmp 0x1401ad1c1
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.140251a90
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