Function at 0x100043a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov ebx, ecx
mov eax, dword [0x10067010]
xor eax, ebp
mov dword [esp + 0x98], eax
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x1000449a
xor esi, esi
lea ecx, [esp + 4]
mov dword [ecx], esi
lea edi, [esp + 0x94]
mov dword [edi], 0xffffffff
lea edx, [esp + 8]
mov dword [edx], 4
push edx
push ecx
push edi
push esi
push str.DisableUpsellEdge
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [edi], 4
mov edi, 0xd
cmove edi, esi
mov esi, ebx
test eax, eax
cmovne edi, eax
cmp edi, 2
je 0x10004427
test edi, edi
jne 0x10004524
cmp dword [esp + 4], 1
je 0x1000456f
cmp dword [esi + 0x54], 0
jne 0x10004445
push str.LocalUpsellEdgeMutex
call fcn.1000ed03
add esp, 4
mov dword [esi + 0x54], eax
test eax, eax
je 0x1000461f
call fcn.1000ecc5
mov ebx, eax
mov edi, edx
push 0xffffffffffffffff
push dword [esi + 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10004590
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x1000456f
lea esi, [esp + 8]
mov ecx, esi
push 2
push 0x22b
push str....._third_partyie_to_edge_bho_bho.cc
call fcn.1000f55e
mov ecx, esi
call fcn.10002a70
push 0x20
push str.Failed_to_acquire_upsell_mutex:
jmp 0x10004509
lea edi, [ebx + 0x5c]
sub esp, 0x1c
movaps xmm0, xmmword [0x1005c370]
movups xmmword [esp + 8], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 4], str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
mov dword [esp], SysStringLen
mov ecx, edi
call fcn.1000466c
test eax, eax
je 0x10004589
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x1000456f
lea esi, [esp + 8]
mov ecx, esi
push 2
push 0x20b
push str....._third_partyie_to_edge_bho_bho.cc
call fcn.1000f55e
mov ecx, esi
call fcn.10002a70
push 0x1d
push str.Failed_to_create_state_key_:
push eax
call fcn.10006876
add esp, 0xc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edi
push eax
call fcn.10001dd0
jmp 0x10004568
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x1000456f
lea esi, [esp + 8]
mov ecx, esi
push 2
push 0x219
push str....._third_partyie_to_edge_bho_bho.cc
call fcn.1000f55e
mov ecx, esi
call fcn.10002a70
push 0x2b
push str.Failed_to_read_kDisableUpsellEdge_reg_key:
push eax
call fcn.10006876
add esp, 0xc
mov ecx, eax
push edi
call fcn.10001bc0
mov ecx, esi
call fcn.1000f8ba
xor ebx, ebx
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.1002c1aa
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [edi]
jmp 0x100043ce
mov dword [esp + 0x94], 0
lea eax, [esp + 0x94]
push eax
push str.UpsellDisabled
call fcn.1000e6de
add esp, 8
test eax, eax
jne 0x100045be
cmp dword [esp + 0x94], 0
jne 0x1000456f
call fcn.10004770
test al, al
jne 0x1000456f
call fcn.1000e357
test al, al
je 0x1000465b
mov dword [esp], ebx
xor ebx, ebx
call fcn.1000e4cb
test al, al
jne 0x1000465d
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
lea eax, [esp + 8]
push eax
push str.QuietExpirationTime
call fcn.1000e4b1
add esp, 8
cmp eax, 0x80070002
je 0x10004616
xor ebx, ebx
test eax, eax
jne 0x1000465d
mov eax, dword [esp]
cmp eax, dword [esp + 8]
sbb edi, dword [esp + 0xc]
jb 0x1000465d
call fcn.1000e5ac
mov ebx, eax
jmp 0x1000465d
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x1000456f
lea esi, [esp + 8]
mov ecx, esi
push 2
push 0x221
push str....._third_partyie_to_edge_bho_bho.cc
call fcn.1000f55e
mov ecx, esi
call fcn.10002a70
push 0x1f
push str.Failed_to_create_upsell_mutex:
jmp 0x10004509
xor ebx, ebx
push dword [esi + 0x54]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x10004571