Function at 0x1000d6e7
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2a8
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
call fcn.1000d658
add esp, 8
test eax, eax
js 0x1000d779
mov esi, 0x80070057
test ebx, ebx
jle 0x1000d77b
mov eax, edi
mov ecx, ebx
cmp word [eax], 0
je 0x1000d72c
add eax, 2
dec ecx
jne 0x1000d71e
jmp 0x1000d77b
mov word [eax], 0x5c
cmp ecx, 1
je 0x1000d76d
mov word [eax + 2], 0
lea eax, [edi - 2]
cmp word [eax + 2], 0
je 0x1000d74e
add eax, 2
dec ebx
jne 0x1000d73f
jmp 0x1000d77b
xor ecx, ecx
movzx edx, word [ecx + ecx + str.ie_to_edge_stub.exe]
test dx, dx
je 0x1000d874
mov word [eax + 2], dx
add eax, 2
inc ecx
cmp ebx, ecx
jne 0x1000d750
mov word [eax], 0
mov esi, 0x8007007a
jmp 0x1000d77b
mov esi, eax
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x1000d7c8
lea edi, [ebp - 0x218]
mov ecx, edi
push 2
push 0x1e6
push str....._third_partyie_to_edge_bhoie_to_edge_util.cc
call fcn.1000f4c6
mov ecx, edi
call fcn.10002640
push 0x24
push str.Failed_to_get_registered_stub_path:
push eax
call fcn.100063da
add esp, 0xc
mov ecx, eax
push esi
call fcn.10001a10
mov ecx, edi
call fcn.1000f822
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002aa2a
mov eax, esi
add esp, 0x2a8
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
mov esi, 0x8000ffff
cmovs esi, ecx
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x1000d7c8
lea ebx, [ebp - 0x218]
mov ecx, ebx
push 2
push 0x1e3
push str....._third_partyie_to_edge_bhoie_to_edge_util.cc
call fcn.1000f4c6
mov ecx, ebx
call fcn.10002640
push 0x1e
push str.Invalid_registered_stub_path:
push eax
call fcn.100063da
add esp, 0xc
mov ebx, eax
push edi
call fcn.100406c7
add esp, 4
push eax
push edi
push ebx
call fcn.100063da
add esp, 0xc
push 1
push 0x1005c0f2
push eax
call fcn.100063da
add esp, 0xc
mov ecx, eax
push esi
call fcn.10001a10
lea ecx, [ebp - 0x218]
jmp 0x1000d7c3
mov word [eax + 2], 0
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000d7df
xor eax, eax
lea ecx, [ebp - 0x228]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
sub esp, 0x1c
mov dword [esp + 0x18], eax
movaps xmm0, xmmword [0x1005b180]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
mov dword [esp], SysStringLen
call fcn.100041ba
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x1000da65
mov esi, 0x208
lea ebx, [ebp - 0x218]
push esi
push 0xff
push ebx
call fcn.1002dc40
add esp, 0xc
lea eax, [ebp - 0x2b4]
mov dword [eax], 0xffffffff
lea ecx, [ebp - 0x21c]
mov dword [ecx], esi
push ecx
push ebx
push eax
push 0
push str.LastStubPath
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1000d9e4
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
cmp esi, 0x80070002
jne 0x1000da18
mov word [ebp - 0x218], 0
push edi
push ebx
call fcn.10040623
add esp, 8
xor esi, esi
test eax, eax
je 0x1000da65
call fcn.10029ef6
test eax, eax
js 0x1000da7f
test edi, edi
je 0x1000d9dd
push edi
call fcn.100406c7
add esp, 4
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push 0
push str.LastStubPath
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jle 0x1000dad9
movzx esi, ax
or esi, 0x80070000
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x1000da65
lea edi, [ebp - 0x2b4]
mov ecx, edi
push 2
push 0x203
push str....._third_partyie_to_edge_bhoie_to_edge_util.cc
call fcn.1000f4c6
mov ecx, edi
call fcn.10002640
push 0x21
push str.Failed_to_update_last_stub_path:
jmp 0x1000da4d
mov esi, 0x8007000d
jmp 0x1000d9a2
mov eax, dword [ebp - 0x2b4]
add eax, 0xfffffffd
cmp eax, 0xfffffffe
jb 0x1000da13
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x1000d93c
test al, 1
jne 0x1000da13
cmp word [ebp + eax - 0x21a], 0
je 0x1000d945
mov esi, 0x8007000d
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x1000da65
lea edi, [ebp - 0x2b4]
mov ecx, edi
push 2
push 0x20a
push str....._third_partyie_to_edge_bhoie_to_edge_util.cc
call fcn.1000f4c6
mov ecx, edi
call fcn.10002640
push 0x20
push str.Failed_to_query_last_stub_path:
push eax
call fcn.100063da
add esp, 0xc
mov ecx, eax
push esi
call fcn.10001a10
mov ecx, edi
call fcn.1000f822
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x1000d7c8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000d7c8
mov ebx, eax
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x1000dace
lea esi, [ebp - 0x2b4]
mov ecx, esi
push 2
push 0x206
push str....._third_partyie_to_edge_bhoie_to_edge_util.cc
call fcn.1000f4c6
mov ecx, esi
call fcn.10002640
push 0x24
push str.Failed_to_refresh_elevation_policy:
push eax
call fcn.100063da
add esp, 0xc
mov ecx, eax
push ebx
call fcn.10001a10
mov ecx, esi
call fcn.1000f822
mov esi, ebx
jmp 0x1000da65
mov esi, eax
jmp 0x1000d9a2
js 0x1000dad2
push 0
call fcn.1000f47d
add esp, 4
test al, al
je 0x1000da65
lea ebx, [ebp - 0x2b4]
mov ecx, ebx
push 0
push 0x201
push str....._third_partyie_to_edge_bhoie_to_edge_util.cc
call fcn.1000f4c6
mov ecx, ebx
call fcn.10002640
push 0x1a
push str.Updated_last_stub_path_to
push eax
call fcn.100063da
add esp, 0xc
mov ebx, eax
push edi
call fcn.100406c7
add esp, 4
push eax
push edi
push ebx
call fcn.100063da
add esp, 0xc
lea ecx, [ebp - 0x2b4]
jmp 0x1000da60