Function at 0x1401ea215
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 [0x1405b1300]
xor rax, rsp
mov qword [rsp + 0xf8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x10], rax
movaps xmm6, xmmword [0x1404bbec0]
movaps xmmword [rcx], xmm6
call fcn.1401eab08
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401e9f0c
cmp word [rcx], 0
je 0x1401e9f0c
lea rdx, [rsp + 0x40]
call fcn.1401e9af6
mov ebp, eax
mov edi, 1
xor r15d, r15d
jmp 0x1401e9f26
mov ecx, dword [rbx + 0x18]
xor edi, edi
lea rdx, [rsp + 0x40]
xor r8d, r8d
xor r9d, r9d
call 0x1401ea215
mov ebp, eax
mov r15b, 1
mov esi, ebp
test ebp, ebp
jne 0x1401e9f5a
mov rsi, qword [rbx + 8]
mov rbx, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1401eadbc
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov dl, 1
mov r8d, edi
mov r9, rsi
call fcn.1401eb69b
mov esi, eax
test esi, esi
js 0x1401e9f92
lea rcx, [rsp + 0x40]
call fcn.1401eab1a
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140286e70
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 [0x1405b17f8]
mov ecx, dword [0x1405b3b80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x1a0]
jg 0x1401ea1c8
mov rcx, qword [0x1405b17f0]
test rcx, rcx
je 0x1401e9f5e
lea rdx, [0x1404bc23a]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401e9f5e
mov rax, qword [0x1405b1198]
movups xmm0, xmmword [rax - 0x10]
movaps xmmword [rsp + 0x80], xmm0
cmp qword [0x1405b11b0], 0
jne 0x1401ea20e
xorps xmm0, xmm0
movups xmmword [0x1405b11b8], xmm0
lea r8, [0x1405b1190]
lea rdx, [0x1401ea6a5]
lea r9, [0x1405b11b0]
lea rdi, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EventRegister]
test eax, eax
jne 0x1401e9f5e
mov r8, qword [0x1405b1198]
movzx r9d, word [r8]
mov rcx, qword [0x1405b11b0]
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_EventSetInformation]
cmp dword [0x1405b1190], 3
jb 0x1401ea1a1
test byte [0x1405b11a5], 0x40
je 0x1401ea1a1
movabs rax, 0x400000000000
mov rcx, rax
not rcx
test qword [0x1405b11a8], rcx
jne 0x1401ea1a1
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 [0x1405b1198]
mov qword [rsp + 0x80], rax
movzx eax, word [rax]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], 2
lea rax, [0x1405341a4]
mov qword [rsp + 0x90], rax
movabs rax, 0x10000005f
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x3c], 0xaaaaaaaa
lea rax, str.ETW0
lea rcx, [0x140534248]
sub ecx, eax
mov dword [rsp + 0x3c], ecx
mov rcx, qword [0x1405b11b0]
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 [0x1405b11b0]
mov dword [0x1405b1190], 0
mov qword [0x1405b11b0], 0
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
jmp 0x1401e9f5e
lea rcx, [0x1405b17f8]
call fcn.140286f00
cmp dword [0x1405b17f8], 0xffffffff
jne 0x1401e9fbc
lea rcx, [0x1404bc220]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1405b17f0], rax
lea rcx, [0x1405b17f8]
call fcn.140286e94
jmp 0x1401e9fbc
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 [0x1405b1300]
xor rax, rsp
mov qword [rsp + 0x78], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1404bbec0]
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.1401eab08
mov ecx, r14d
mov rdx, rbx
call fcn.1401e9991
mov rcx, rbx
call fcn.1401eadbc
mov rcx, rax
xor edx, edx
mov r8, rsi
mov r9, rdi
call fcn.1401ea71a
test al, al
jne 0x1401ea574
mov rcx, rbx
call fcn.1401eadbc
mov rcx, rax
mov dl, 1
mov r8, rsi
mov r9, rdi
call fcn.1401ea71a
test al, al
jne 0x1401ea574
mov eax, dword [0x1405b1808]
mov ecx, dword [0x1405b3b80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x1a0]
jg 0x1401ea526
mov rax, qword [0x1405b1800]
test rax, rax
je 0x1401ea3c7
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 [0x14029b978]
cmp eax, 0x7a
jne 0x1401ea3c7
cmp dword [rsp + 0x48], 0
je 0x1401ea3c7
mov qword [rsp + 0x70], r15
movaps xmmword [rsp + 0x60], xmm6
lea rbx, [rsp + 0x60]
mov rcx, rbx
call fcn.1401eab08
mov edx, dword [rsp + 0x48]
mov rcx, rbx
call fcn.1401eada6
test al, al
je 0x1401ea3ac
mov rbp, qword [0x1405b1800]
mov rcx, rbx
call fcn.1401eadbc
mov ecx, 1
lea rdx, [rsp + 0x48]
mov r8, rax
lea r9, [rsp + 0x4c]
mov rax, rbp
call qword [0x14029b978]
test eax, eax
je 0x1401ea3e1
mov rcx, rbx
call fcn.1401eab1a
mov ebp, dword [rsp + 0x20]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1401eab1a
inc r13d
cmp r13d, 5
jne 0x1401ea281
jmp 0x1401ea59f
mov rcx, rbx
call fcn.1401eadbc
cmp dword [rsp + 0x4c], 0
je 0x1401ea3ac
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 0x1401ea422
inc ebp
add r15, 0x50
cmp ebp, dword [rsp + 0x4c]
jb 0x1401ea404
jmp 0x1401ea3ac
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.1401eabfe
mov rcx, rbx
call fcn.1401eab1a
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.1401ea873
test rsi, rsi
je 0x1401ea4ba
test al, al
je 0x1401ea4ba
mov edx, 0xf
mov rcx, rsi
call fcn.1401eab76
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 0x1401ea4da
mov ebp, dword [rsp + 0x20]
jmp 0x1401ea3c7
test al, al
mov ebp, dword [rsp + 0x20]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
je 0x1401ea3c7
jmp 0x1401ea574
mov rcx, rsi
mov rdx, r12
call fcn.1401eabfe
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 0x1401ea4b1
mov rcx, rsi
lea rdx, [0x1404bc516]
call fcn.1401eace2
mov rcx, rsi
mov rdx, r12
call fcn.1401eace2
dec ebp
jne 0x1401ea4ea
jmp 0x1401ea574
lea rcx, [0x1405b1808]
call fcn.140286f00
cmp dword [0x1405b1808], 0xffffffff
jne 0x1401ea313
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 [0x1405b1800], rax
lea rcx, [0x1405b1808]
call fcn.140286e94
jmp 0x1401ea313
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1401ea591
mov eax, r14d
lea rdx, [0x1404bc190]
mov rdx, qword [rdx + rax*8]
call fcn.1401eabfe
lea rcx, [rsp + 0x30]
call fcn.1401eab1a
xor esi, esi
jmp 0x1401ea5b1
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.140286e70
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