Function at 0x10003af4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa0
mov edi, edx
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [0x1005c010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], 0
call fcn.1000cf6c
cmp eax, 1
mov eax, str.https:__go.microsoft.com_fwlink__linkid2151617
mov ecx, str.https:__go.microsoft.com_fwlink__linkid2135547
cmove ecx, eax
push ecx
push edi
call fcn.10035a4c
add esp, 8
xor esi, esi
test eax, eax
je 0x10003e46
lea eax, [ebp - 0xa8]
mov dword [eax], esi
push eax
push esi
push 0x100
push edi
call sub.urlmon.dll_CreateUri
test eax, eax
js 0x10003e2c
push dword [ebp - 0xa8]
call fcn.1000d6a0
add esp, 4
test al, al
je 0x10003e2c
xor esi, esi
mov ecx, 0
cmp byte [ebp + 8], 0
je 0x10003c14
push edi
call fcn.10035a4c
test eax, eax
sete byte [ebp - 0xac]
call fcn.1000cb7d
cmp byte [ebp - 0xac], al
je 0x10003c01
push 0
call fcn.1000def1
add esp, 4
test al, al
je 0x10003e2c
lea ebx, [ebp - 0xa4]
mov ecx, ebx
push 0
push 0x188
push str..._.._third_party_ie_to_edge_bho_bho.cc
call fcn.1000df3a
push 0x25
push str.Server_redirect_causing_vtab_switch:
push ebx
call fcn.10005eef
add esp, 0xc
mov ebx, eax
push edi
call fcn.10035a4c
add esp, 4
push eax
push edi
push ebx
call fcn.10005eef
add esp, 0xc
lea ecx, [ebp - 0xa4]
call fcn.1000e1da
jmp 0x10003e2c
call fcn.1000d527
test eax, eax
sete cl
cmp eax, 2
je 0x10003e2c
mov edi, ecx
call fcn.1000d0be
cmp eax, 2
je 0x10003cb8
cmp eax, 1
jne 0x10003e2c
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x10003c81
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
xor edx, edx
lea eax, [ebp - 0xa4]
mov dword [eax], edx
lea eax, [ebp - 0x14]
mov dword [eax], edx
lea eax, [ebp - 0x18]
mov dword [eax], edx
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0xac]
call fcn.1000ac5e
test eax, eax
js 0x10003c81
cmp dword [ebp - 0x18], 2
jne 0x10003c81
mov eax, edi
test al, al
je 0x10003ce4
cmp dword [ebp - 0x14], 0
jne 0x10003ce4
mov bl, byte [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp - 0xa8]
call fcn.10006366
add esp, 8
test bl, bl
je 0x10003e2c
mov edi, eax
cmp eax, 4
jne 0x10003cb1
call fcn.1000c8cf
test al, al
jne 0x10003e2c
mov esi, edi
jmp 0x10003e2c
call fcn.1000c8cf
test al, al
jne 0x10003e2c
cmp byte [ebp + 8], 0
jne 0x10003e2c
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov esi, 2
jmp 0x10003e46
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x10003d3f
mov eax, dword [ebp - 0xa8]
xor edx, edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0xa4]
push edx
push eax
call fcn.1000ac5e
test eax, eax
js 0x10003d3f
call fcn.1000d6f0
mov ecx, dword [ebp - 0x18]
cmp ecx, 1
je 0x10003d36
cmp ecx, 3
jne 0x10003d3f
dec eax
cmp eax, 2
jb 0x10003c81
jmp 0x10003d3f
cmp eax, 2
je 0x10003c81
call fcn.1000c8cf
test al, al
je 0x10003eb2
xor ebx, ebx
mov dword [ebp - 0xa4], ebx
lea edi, [ebp - 0xa4]
push edi
push 0x20106
push ebx
push str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10003dc6
mov esi, eax
push 2
call fcn.1000def1
add esp, 4
test al, al
je 0x10003eb2
lea edi, [ebp - 0xa4]
mov ecx, edi
push 2
push 0x1f7
push str..._.._third_party_ie_to_edge_bho_bho.cc
call fcn.1000df3a
push 0x22
push str.Failed_to_open_kStateKey_reg_key:
push edi
call fcn.10005eef
add esp, 0xc
mov ecx, eax
push esi
call fcn.10001f90
mov ecx, edi
call fcn.1000e1da
jmp 0x10003eb2
mov ecx, edi
mov edi, dword [ebp - 0xa4]
xor eax, eax
dec eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xa4], 4
push ecx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push str.DisableNeedEdgeForEnterprise
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x14], 4
mov esi, 0xd
cmove esi, ebx
test eax, eax
cmovne esi, eax
cmp esi, 2
je 0x10003ea7
test esi, esi
jne 0x10003e5d
cmp dword [ebp - 0x18], 1
jne 0x10003ea7
xor esi, esi
test edi, edi
je 0x10003e2c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x10003e46
mov dword [ebp - 0xa8], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10025727
mov eax, esi
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.1000def1
add esp, 4
test al, al
je 0x10003ea7
mov ebx, edi
lea edi, [ebp - 0xa4]
mov ecx, edi
push 2
push 0x1f3
push str..._.._third_party_ie_to_edge_bho_bho.cc
call fcn.1000df3a
push 0x38
push str.Failed_to_read_kDisableNeedEdgeForEnterprise_reg_value:
push edi
call fcn.10005eef
add esp, 0xc
mov ecx, eax
push esi
call fcn.10001f90
mov ecx, edi
mov edi, ebx
call fcn.1000e1da
test edi, edi
je 0x10003eb2
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor esi, esi
inc esi
jmp 0x10003e46