Function at 0x180001f74
Capabilities:
Print debug messages

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
movaps xmmword [rsp + 0xc0], xmm6
mov rbp, r9
mov rdi, r8
mov rbx, rdx
mov dword [rsp + 0x54], ecx
mov rax, qword [0x180022028]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movaps xmm6, xmmword [0x18001dae0]
lea r14, [rsp + 0x60]
xor r13d, r13d
jmp 0x180002002
mov r15d, 4
sub r15d, r13d
cmp byte [rsp + 0x148], 0
je 0x18000200c
mov rax, qword [rsp + 0x140]
sub rax, r13
cmp byte [rax + 4], 0
jne 0x18000200c
jmp 0x180001ff5
mov rcx, r15
call fcn.18000357a
mov rcx, r14
call fcn.18000357a
inc r13
cmp r13, 5
je 0x1800022eb
cmp dword [rsp + 0x54], 1
je 0x180001fbf
mov r15d, r13d
mov r12d, r15d
lea rax, str.Microsoft.Web
mov rsi, qword [rax + r12*8]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmmword [rsp + 0x60], xmm6
mov rcx, r14
call fcn.180003568
mov ecx, r15d
mov rdx, r14
call fcn.1800011c8
mov rcx, r14
call fcn.18000382a
mov rcx, rax
xor edx, edx
mov r8, rdi
mov r9, rbx
call fcn.1800026df
test al, al
jne 0x1800022ff
mov rcx, r14
call fcn.18000382a
mov rcx, rax
mov dl, 1
mov r8, rdi
mov r9, rbx
call fcn.1800026df
test al, al
jne 0x1800022ff
movaps xmmword [rsp + 0x90], xmm6
mov eax, dword [0x180023dd0]
mov ecx, dword [0x180022bf4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x180002472
cmp qword [0x180023dc8], 0
mov r15d, 0
je 0x180001fed
mov eax, dword [0x180023de0]
mov ecx, dword [0x180022bf4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1800024c0
cmp qword [0x180023dd8], 0
je 0x180001fed
mov qword [rsp + 0x80], r15
mov rax, qword [0x180023dc8]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
xor ecx, ecx
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [0x180026008]
test eax, eax
js 0x18000218b
mov qword [rsp + 0xa0], r15
mov rax, qword [0x180023dd8]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x20], r15
xor edx, edx
xor r8d, r8d
lea r9, [rsp + 0xa0]
call qword [0x180026008]
mov r15, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8, r15
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsp + 0x80], r15
mov eax, dword [0x180023df0]
mov ecx, dword [0x180022bf4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x18000250e
mov rax, qword [0x180023de8]
test rax, rax
lea r15, [rsp + 0xa0]
je 0x180001fed
mov dword [rsp + 0x8c], 0xaaaaaaaa
mov dword [rsp + 0x88], 0
mov ecx, 0x180001
lea rdx, [rsp + 0x88]
xor r8d, r8d
lea r9, [rsp + 0x8c]
call qword [0x180026008]
cmp eax, 0x7a
jne 0x180001fed
cmp dword [rsp + 0x88], 0
je 0x180001fed
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0xa0], xmm6
mov rcx, r15
call fcn.180003568
mov edx, dword [rsp + 0x88]
mov rcx, r15
call fcn.18000380c
test al, al
je 0x180001fe5
mov r15, qword [0x180023de8]
lea rcx, [rsp + 0xa0]
call fcn.18000382a
mov ecx, 0x180001
lea rdx, [rsp + 0x88]
mov r8, rax
lea r9, [rsp + 0x8c]
mov rax, r15
lea r15, [rsp + 0xa0]
call qword [0x180026008]
test eax, eax
jne 0x180001fe5
mov qword [rsp + 0x58], rbp
mov rcx, r15
call fcn.18000382a
cmp dword [rsp + 0x8c], 0
je 0x1800022d4
mov r15, rax
add r15, 0x2e
xor ebp, ebp
mov rcx, qword [r15 - 0x16]
mov rdx, rsi
call fcn.180007bf8
test eax, eax
je 0x180002351
inc ebp
add r15, 0x50
cmp ebp, dword [rsp + 0x8c]
jb 0x1800022b1
lea rcx, [rsp + 0xa0]
call fcn.18000357a
mov rbp, qword [rsp + 0x58]
jmp 0x180001fed
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
jmp 0x180002323
test rbp, rbp
je 0x180002317
lea rax, [0x18001ddb0]
mov rdx, qword [rax + r12*8]
mov rcx, rbp
call fcn.18000366c
lea rcx, [rsp + 0x60]
call fcn.18000357a
xor esi, esi
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.18000c060
mov eax, esi
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, word [r15]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x90], eax
movzx eax, word [r15 - 2]
mov dword [rsp + 0x94], eax
movzx eax, word [r15 - 4]
mov dword [rsp + 0x98], eax
movzx eax, word [r15 - 6]
mov dword [rsp + 0x9c], eax
mov rdx, qword [r15 - 0x26]
mov rcx, rbx
call fcn.18000366c
lea rsi, [rsp + 0xa0]
mov rcx, rsi
call fcn.18000357a
lea rcx, [rsp + 0x90]
mov rdx, rbx
call fcn.18000283a
test rdi, rdi
mov rbp, qword [rsp + 0x58]
je 0x180002465
test al, al
je 0x180002465
mov byte [rsp + 0x4f], al
mov edx, 0xf
mov rcx, rdi
call fcn.1800035d6
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xae], rax
movaps xmmword [rsp + 0xa0], xmm6
mov r8d, 0xb
mov ecx, dword [rsp + 0x50]
mov rdx, rsi
mov r9d, 0xa
call fcn.180007a94
test eax, eax
jne 0x180001fed
mov rcx, rdi
mov rdx, rsi
call fcn.18000366c
mov r15d, 3
mov r8d, 0xb
mov ecx, dword [rsp + 0x50]
mov rdx, rsi
mov r9d, 0xa
call fcn.180007a94
test eax, eax
jne 0x180001fed
mov rcx, rdi
lea rdx, [0x18001e22c]
call fcn.18000374c
mov rcx, rdi
mov rdx, rsi
call fcn.18000374c
dec r15d
jne 0x180002422
mov al, byte [rsp + 0x4f]
test al, al
je 0x180001fed
jmp 0x1800022ff
lea rcx, [0x180023dd0]
call fcn.180003c60
cmp dword [0x180023dd0], 0xffffffff
jne 0x1800020ae
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.TryCreatePackageDependency
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180023dc8], rax
lea rcx, [0x180023dd0]
call fcn.180003cc8
jmp 0x1800020ae
lea rcx, [0x180023de0]
call fcn.180003c60
cmp dword [0x180023de0], 0xffffffff
jne 0x1800020e7
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.AddPackageDependency
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180023dd8], rax
lea rcx, [0x180023de0]
call fcn.180003cc8
jmp 0x1800020e7
lea rcx, [0x180023df0]
call fcn.180003c60
cmp dword [0x180023df0], 0xffffffff
jne 0x1800021b0
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 [0x180023de8], rax
lea rcx, [0x180023df0]
call fcn.180003cc8
jmp 0x1800021b0