Function at 0x1401aca97
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, 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 [0x140630b30]
movaps xmmword [rcx], xmm6
call fcn.1401ad6fc
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401acb0c
cmp word [rcx], 0
je 0x1401acb0c
lea rdx, [rsp + 0x40]
call fcn.1401ac6f6
mov ebp, eax
mov edi, 1
xor r15d, r15d
jmp 0x1401acb26
mov ecx, dword [rbx + 0x18]
xor edi, edi
lea rdx, [rsp + 0x40]
xor r8d, r8d
xor r9d, r9d
call 0x1401ace15
mov ebp, eax
mov r15b, 1
mov esi, ebp
test ebp, ebp
jne 0x1401acb5a
mov rsi, qword [rbx + 8]
mov rbx, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1401ad9b0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov dl, 1
mov r8d, edi
mov r9, rsi
call fcn.1401ae28f
mov esi, eax
test esi, esi
js 0x1401acb92
lea rcx, [rsp + 0x40]
call fcn.1401ad70e
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140251a80
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 0x1401acdc8
mov rcx, qword [0x14071e860]
test rcx, rcx
je 0x1401acb5e
lea rdx, [0x140630eaa]
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401acb5e
mov rax, qword [0x14071e168]
movups xmm0, xmmword [rax - 0x10]
movaps xmmword [rsp + 0x80], xmm0
cmp qword [0x14071e180], 0
jne 0x1401ace0e
xorps xmm0, xmm0
movups xmmword [0x14071e188], xmm0
lea r8, [0x14071e160]
lea rdx, [0x1401ad2a5]
lea r9, [0x14071e180]
lea rdi, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.advapi32.dll_EventRegister]
test eax, eax
jne 0x1401acb5e
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 0x1401acda1
test byte [0x14071e175], 0x40
je 0x1401acda1
movabs rax, 0x400000000000
mov rcx, rax
not rcx
test qword [0x14071e178], rcx
jne 0x1401acda1
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, [0x1406ad134]
mov qword [rsp + 0x90], rax
movabs rax, 0x10000005f
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x3c], 0xaaaaaaaa
lea rax, str.ETW0
lea rcx, [0x1406ad1d8]
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 0x1401acb5e
lea rcx, [0x14071e868]
call fcn.140251b10
cmp dword [0x14071e868], 0xffffffff
jne 0x1401acbbc
lea rcx, [0x140630e90]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.kernel32.dll_LoadLibraryExW]
mov qword [0x14071e860], rax
lea rcx, [0x14071e868]
call fcn.140251aa4
jmp 0x1401acbbc
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 [0x140630b30]
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.1401ad6fc
mov ecx, r14d
mov rdx, rbx
call fcn.1401ac591
mov rcx, rbx
call fcn.1401ad9b0
mov rcx, rax
xor edx, edx
mov r8, rsi
mov r9, rdi
call fcn.1401ad31a
test al, al
jne 0x1401ad174
mov rcx, rbx
call fcn.1401ad9b0
mov rcx, rax
mov dl, 1
mov r8, rsi
mov r9, rdi
call fcn.1401ad31a
test al, al
jne 0x1401ad174
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 0x1401ad126
mov rax, qword [0x14071e870]
test rax, rax
je 0x1401acfc7
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 0x1401acfc7
cmp dword [rsp + 0x48], 0
je 0x1401acfc7
mov qword [rsp + 0x70], r15
movaps xmmword [rsp + 0x60], xmm6
lea rbx, [rsp + 0x60]
mov rcx, rbx
call fcn.1401ad6fc
mov edx, dword [rsp + 0x48]
mov rcx, rbx
call fcn.1401ad99a
test al, al
je 0x1401acfac
mov rbp, qword [0x14071e870]
mov rcx, rbx
call fcn.1401ad9b0
mov ecx, 1
lea rdx, [rsp + 0x48]
mov r8, rax
lea r9, [rsp + 0x4c]
mov rax, rbp
call qword [0x14026e968]
test eax, eax
je 0x1401acfe1
mov rcx, rbx
call fcn.1401ad70e
mov ebp, dword [rsp + 0x20]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1401ad70e
inc r13d
cmp r13d, 5
jne 0x1401ace81
jmp 0x1401ad19f
mov rcx, rbx
call fcn.1401ad9b0
cmp dword [rsp + 0x4c], 0
je 0x1401acfac
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 0x1401ad022
inc ebp
add r15, 0x50
cmp ebp, dword [rsp + 0x4c]
jb 0x1401ad004
jmp 0x1401acfac
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.1401ad7f2
mov rcx, rbx
call fcn.1401ad70e
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.1401ad473
test rsi, rsi
je 0x1401ad0ba
test al, al
je 0x1401ad0ba
mov edx, 0xf
mov rcx, rsi
call fcn.1401ad76a
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 0x1401ad0da
mov ebp, dword [rsp + 0x20]
jmp 0x1401acfc7
test al, al
mov ebp, dword [rsp + 0x20]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
je 0x1401acfc7
jmp 0x1401ad174
mov rcx, rsi
mov rdx, r12
call fcn.1401ad7f2
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 0x1401ad0b1
mov rcx, rsi
lea rdx, [0x140631186]
call fcn.1401ad8d6
mov rcx, rsi
mov rdx, r12
call fcn.1401ad8d6
dec ebp
jne 0x1401ad0ea
jmp 0x1401ad174
lea rcx, [0x14071e878]
call fcn.140251b10
cmp dword [0x14071e878], 0xffffffff
jne 0x1401acf13
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.140251aa4
jmp 0x1401acf13
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1401ad191
mov eax, r14d
lea rdx, [0x140630e00]
mov rdx, qword [rdx + rax*8]
call fcn.1401ad7f2
lea rcx, [rsp + 0x30]
call fcn.1401ad70e
xor esi, esi
jmp 0x1401ad1b1
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.140251a80
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