Function at 0x1401ac595
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 [0x140781300]
xor rax, rsp
mov qword [rsp + 0xf8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x10], rax
movaps xmm6, xmmword [0x140693610]
movaps xmmword [rcx], xmm6
call fcn.1401ace7c
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401ac28c
cmp word [rcx], 0
je 0x1401ac28c
lea rdx, [rsp + 0x40]
call fcn.1401abe76
mov ebp, eax
mov edi, 1
xor r15d, r15d
jmp 0x1401ac2a6
mov ecx, dword [rbx + 0x18]
xor edi, edi
lea rdx, [rsp + 0x40]
xor r8d, r8d
xor r9d, r9d
call 0x1401ac595
mov ebp, eax
mov r15b, 1
mov esi, ebp
test ebp, ebp
jne 0x1401ac2da
mov rsi, qword [rbx + 8]
mov rbx, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1401ad130
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov dl, 1
mov r8d, edi
mov r9, rsi
call fcn.1401ada0f
mov esi, eax
test esi, esi
js 0x1401ac312
lea rcx, [rsp + 0x40]
call fcn.1401ace8e
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1402512a0
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 [0x140781868]
mov ecx, dword [0x140783c40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x1a0]
jg 0x1401ac548
mov rcx, qword [0x140781860]
test rcx, rcx
je 0x1401ac2de
lea rdx, [0x14069398a]
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401ac2de
mov rax, qword [0x140781168]
movups xmm0, xmmword [rax - 0x10]
movaps xmmword [rsp + 0x80], xmm0
cmp qword [0x140781180], 0
jne 0x1401ac58e
xorps xmm0, xmm0
movups xmmword [0x140781188], xmm0
lea r8, [0x140781160]
lea rdx, [0x1401aca25]
lea r9, [0x140781180]
lea rdi, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.advapi32.dll_EventRegister]
test eax, eax
jne 0x1401ac2de
mov r8, qword [0x140781168]
movzx r9d, word [r8]
mov rcx, qword [0x140781180]
mov edx, 2
call qword [sym.imp.advapi32.dll_EventSetInformation]
cmp dword [0x140781160], 3
jb 0x1401ac521
test byte [0x140781175], 0x40
je 0x1401ac521
movabs rax, 0x400000000000
mov rcx, rax
not rcx
test qword [0x140781178], rcx
jne 0x1401ac521
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 [0x140781168]
mov qword [rsp + 0x80], rax
movzx eax, word [rax]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], 2
lea rax, [0x14070fc34]
mov qword [rsp + 0x90], rax
movabs rax, 0x10000005f
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x3c], 0xaaaaaaaa
lea rax, str.ETW0
lea rcx, [0x14070fcd8]
sub ecx, eax
mov dword [rsp + 0x3c], ecx
mov rcx, qword [0x140781180]
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 [0x140781180]
mov dword [0x140781160], 0
mov qword [0x140781180], 0
call qword [sym.imp.advapi32.dll_EventUnregister]
jmp 0x1401ac2de
lea rcx, [0x140781868]
call fcn.140251330
cmp dword [0x140781868], 0xffffffff
jne 0x1401ac33c
lea rcx, [0x140693970]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.kernel32.dll_LoadLibraryExW]
mov qword [0x140781860], rax
lea rcx, [0x140781868]
call fcn.1402512c4
jmp 0x1401ac33c
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 [0x140781300]
xor rax, rsp
mov qword [rsp + 0x78], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x140693610]
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.1401ace7c
mov ecx, r14d
mov rdx, rbx
call fcn.1401abd11
mov rcx, rbx
call fcn.1401ad130
mov rcx, rax
xor edx, edx
mov r8, rsi
mov r9, rdi
call fcn.1401aca9a
test al, al
jne 0x1401ac8f4
mov rcx, rbx
call fcn.1401ad130
mov rcx, rax
mov dl, 1
mov r8, rsi
mov r9, rdi
call fcn.1401aca9a
test al, al
jne 0x1401ac8f4
mov eax, dword [0x140781878]
mov ecx, dword [0x140783c40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x1a0]
jg 0x1401ac8a6
mov rax, qword [0x140781870]
test rax, rax
je 0x1401ac747
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 [0x14026d978]
cmp eax, 0x7a
jne 0x1401ac747
cmp dword [rsp + 0x48], 0
je 0x1401ac747
mov qword [rsp + 0x70], r15
movaps xmmword [rsp + 0x60], xmm6
lea rbx, [rsp + 0x60]
mov rcx, rbx
call fcn.1401ace7c
mov edx, dword [rsp + 0x48]
mov rcx, rbx
call fcn.1401ad11a
test al, al
je 0x1401ac72c
mov rbp, qword [0x140781870]
mov rcx, rbx
call fcn.1401ad130
mov ecx, 1
lea rdx, [rsp + 0x48]
mov r8, rax
lea r9, [rsp + 0x4c]
mov rax, rbp
call qword [0x14026d978]
test eax, eax
je 0x1401ac761
mov rcx, rbx
call fcn.1401ace8e
mov ebp, dword [rsp + 0x20]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1401ace8e
inc r13d
cmp r13d, 5
jne 0x1401ac601
jmp 0x1401ac91f
mov rcx, rbx
call fcn.1401ad130
cmp dword [rsp + 0x4c], 0
je 0x1401ac72c
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 0x1401ac7a2
inc ebp
add r15, 0x50
cmp ebp, dword [rsp + 0x4c]
jb 0x1401ac784
jmp 0x1401ac72c
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.1401acf72
mov rcx, rbx
call fcn.1401ace8e
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.1401acbf3
test rsi, rsi
je 0x1401ac83a
test al, al
je 0x1401ac83a
mov edx, 0xf
mov rcx, rsi
call fcn.1401aceea
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 0x1401ac85a
mov ebp, dword [rsp + 0x20]
jmp 0x1401ac747
test al, al
mov ebp, dword [rsp + 0x20]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
je 0x1401ac747
jmp 0x1401ac8f4
mov rcx, rsi
mov rdx, r12
call fcn.1401acf72
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 0x1401ac831
mov rcx, rsi
lea rdx, [0x140693c66]
call fcn.1401ad056
mov rcx, rsi
mov rdx, r12
call fcn.1401ad056
dec ebp
jne 0x1401ac86a
jmp 0x1401ac8f4
lea rcx, [0x140781878]
call fcn.140251330
cmp dword [0x140781878], 0xffffffff
jne 0x1401ac693
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 [0x140781870], rax
lea rcx, [0x140781878]
call fcn.1402512c4
jmp 0x1401ac693
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1401ac911
mov eax, r14d
lea rdx, [0x1406938e0]
mov rdx, qword [rdx + rax*8]
call fcn.1401acf72
lea rcx, [rsp + 0x30]
call fcn.1401ace8e
xor esi, esi
jmp 0x1401ac931
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.1402512a0
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