Function at 0x10001d32
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov dword [ebp - 0x58], edx
mov eax, dword [0x10019004]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x60], ecx
cmp dword [ecx + 0xc], 1
mov edx, eax
jne 0x10001d70
mov edx, 4
sub edx, eax
cmp byte [ecx + 0x15], 0
je 0x10001d70
cmp byte [ecx + edx + 0x10], 0
je 0x10001f8a
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x64], eax
cmp byte [ecx + 0x16], 0
setne al
test edx, edx
sete bl
and bl, al
mov eax, dword [edx*4 + 0x100166fc]
mov dword [ebp - 0x54], eax
xor eax, eax
dec eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov ecx, esi
call fcn.10002fe0
movzx edi, bl
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp - 0x5c]
push eax
call fcn.10001098
add esp, 0xc
mov ecx, esi
call fcn.100032b6
mov ecx, eax
mov edx, edi
push dword [ebp - 0x58]
push dword [ebp + 8]
push 0
call fcn.10002341
add esp, 0xc
test al, al
jne 0x1000217a
mov ecx, esi
call fcn.100032b6
mov ecx, eax
mov edx, edi
push dword [ebp - 0x58]
push dword [ebp + 8]
push 1
call fcn.10002341
add esp, 0xc
test al, al
jne 0x1000217a
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
mov eax, dword [0x1001a408]
mov ecx, dword [0x100199c0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100020a2
cmp dword [0x1001a404], 0
je 0x10001f7d
mov eax, dword [0x1001a410]
mov ecx, dword [0x100199c0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100020ea
cmp dword [0x1001a40c], 0
je 0x10001f7d
mov dword [ebp - 0x44], ebx
mov ecx, dword [0x1001a404]
call dword [section..00cfg]
sub esp, 0x24
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
lea eax, [ebp - 0x44]
mov dword [esp + 0x20], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0x10], xmm0
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], eax
mov dword [esp], ebx
call ecx
test eax, eax
js 0x10001ecb
mov dword [ebp - 0x38], ebx
mov ecx, dword [0x1001a40c]
mov edi, dword [ebp - 0x44]
call dword [section..00cfg]
push ebx
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push edi
call ecx
mov edi, dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x44], ebx
mov eax, dword [0x1001a418]
mov ecx, dword [0x100199c0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10002132
mov ecx, dword [0x1001a414]
test ecx, ecx
je 0x10001f7d
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x40], ebx
call dword [section..00cfg]
lea eax, [ebp - 0x3c]
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
push 0x180001
call ecx
cmp eax, 0x7a
jne 0x10001f7d
cmp dword [ebp - 0x40], 0
je 0x10001f7d
xor eax, eax
dec eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea edi, [ebp - 0x38]
mov ecx, edi
call fcn.10002fe0
mov ecx, edi
push dword [ebp - 0x40]
call fcn.10003252
test al, al
je 0x10001f75
mov edi, dword [0x1001a414]
lea ecx, [ebp - 0x38]
call fcn.100032b6
mov ebx, eax
mov ecx, edi
call dword [section..00cfg]
lea eax, [ebp - 0x3c]
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
push 0x180001
call edi
test eax, eax
je 0x10001f99
lea ecx, [ebp - 0x38]
call fcn.10002ff2
mov ecx, esi
call fcn.10002ff2
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
inc eax
cmp eax, 5
jne 0x10001d50
jmp 0x1000219c
lea ecx, [ebp - 0x38]
call fcn.100032b6
cmp dword [ebp - 0x3c], 0
je 0x10001f75
mov edi, eax
add edi, 0x22
xor ebx, ebx
push dword [ebp - 0x54]
push dword [edi - 0x12]
call fcn.10006664
add esp, 8
test eax, eax
je 0x10001fcb
inc ebx
add edi, 0x34
cmp ebx, dword [ebp - 0x3c]
jb 0x10001fae
jmp 0x10001f75
movzx eax, word [edi]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x20], eax
movzx eax, word [edi - 2]
mov dword [ebp - 0x1c], eax
movzx eax, word [edi - 4]
mov dword [ebp - 0x18], eax
movzx eax, word [edi - 6]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x58]
mov ecx, ebx
push dword [edi - 0x1a]
call fcn.100030e0
lea ecx, [ebp - 0x38]
call fcn.10002ff2
lea ecx, [ebp - 0x20]
mov edx, ebx
call fcn.100024f8
cmp dword [ebp + 8], 0
je 0x10002095
test al, al
je 0x10002095
mov ecx, dword [ebp + 8]
push 0xf
call fcn.10003052
xor eax, eax
dec eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x2a], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x38], xmm0
push 0xa
push 0xb
lea ebx, [ebp - 0x38]
push ebx
push dword [ebp - 0x54]
call fcn.10006519
add esp, 0x10
test eax, eax
jne 0x10001f7d
mov ecx, dword [ebp + 8]
push ebx
call fcn.100030e0
mov edi, 3
push 0xa
push 0xb
push ebx
push dword [ebp - 0x54]
call fcn.10006519
add esp, 0x10
test eax, eax
jne 0x10001f7d
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x10016764
call fcn.100031aa
mov ecx, ebx
lea ebx, [ebp - 0x38]
push ebx
call fcn.100031aa
dec edi
jne 0x1000205b
jmp 0x1000217a
test al, al
je 0x10001f7d
jmp 0x1000217a
push 0x1001a408
call fcn.100035d7
add esp, 4
cmp dword [0x1001a408], 0xffffffff
jne 0x10001e24
push str.kernelbase.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.TryCreatePackageDependency
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1001a404], eax
push 0x1001a408
call fcn.10003629
add esp, 4
jmp 0x10001e24
push 0x1001a410
call fcn.100035d7
add esp, 4
cmp dword [0x1001a410], 0xffffffff
jne 0x10001e52
push str.kernelbase.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.AddPackageDependency
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1001a40c], eax
push 0x1001a410
call fcn.10003629
add esp, 4
jmp 0x10001e52
push 0x1001a418
call fcn.100035d7
add esp, 4
cmp dword [0x1001a418], 0xffffffff
jne 0x10001eec
push str.kernelbase.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetCurrentPackageInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1001a414], eax
push 0x1001a418
call fcn.10003629
add esp, 4
jmp 0x10001eec
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x10002190
mov eax, dword [ebp - 0x5c]
push dword [eax*4 + 0x100162f4]
call fcn.100030e0
lea ecx, [ebp - 0x50]
call fcn.10002ff2
xor esi, esi
jmp 0x100021ac
push str.WebView2:_Failed_to_find_an_installed_WebView2_runtime_or_non_stable_Microsoft_Edge_installation._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, 0x80070002
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100037cc
mov eax, esi
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret