Function at 0x1000414e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x98
mov esi, ecx
mov eax, dword [0x1006700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.1000e92e
test al, al
jne 0x10004188
call fcn.1000eba3
cmp eax, 2
je 0x10004188
mov edi, eax
call fcn.1000ea9b
test edi, edi
jne 0x100041a1
test al, al
je 0x100041a1
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002ba3a
mov eax, ebx
add esp, 0x98
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x1000425f
xor ebx, ebx
lea ecx, [ebp - 0xa4]
mov dword [ecx], ebx
lea edi, [ebp - 0x14]
mov dword [edi], 0xffffffff
lea edx, [ebp - 0xa0]
mov dword [edx], 4
push edx
push ecx
push edi
push ebx
push str.DisableUpsellEdge
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [edi], 4
mov edi, 0xd
cmove edi, ebx
test eax, eax
cmovne edi, eax
cmp edi, 2
je 0x10004201
test edi, edi
jne 0x100042f1
cmp dword [ebp - 0xa4], 1
je 0x10004188
mov eax, dword [esi + 0x54]
test eax, eax
je 0x10004375
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000433d
push 2
call fcn.1000f8f5
add esp, 4
test al, al
je 0x10004188
lea esi, [ebp - 0xa0]
mov ecx, esi
push 2
push 0x230
push str....._third_partyie_to_edge_bho_bho.cc
call fcn.1000f93e
mov ecx, esi
call fcn.10002820
push 0x20
push str.Failed_to_acquire_upsell_mutex:
jmp 0x100042cc
mov eax, dword [edi]
jmp 0x100041ac
lea edi, [esi + 0x5c]
sub esp, 0x1c
movaps xmm0, xmmword [0x1005c210]
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.100043cc
test eax, eax
je 0x10004258
push 2
call fcn.1000f8f5
add esp, 4
test al, al
je 0x10004188
lea esi, [ebp - 0xa0]
mov ecx, esi
push 2
push 0x212
push str....._third_partyie_to_edge_bho_bho.cc
call fcn.1000f93e
mov ecx, esi
call fcn.10002820
push 0x1d
push str.Failed_to_create_state_key_:
push eax
call fcn.100065e4
add esp, 0xc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edi
push eax
call fcn.10001dc0
mov ecx, esi
call fcn.1000fc9a
jmp 0x10004188
push 2
call fcn.1000f8f5
add esp, 4
test al, al
je 0x10004188
lea esi, [ebp - 0xa0]
mov ecx, esi
push 2
push 0x220
push str....._third_partyie_to_edge_bho_bho.cc
call fcn.1000f93e
mov ecx, esi
call fcn.10002820
push 0x2b
push str.Failed_to_read_kDisableUpsellEdge_reg_key:
push eax
call fcn.100065e4
add esp, 0xc
mov ecx, eax
push edi
call fcn.10001bb0
jmp 0x100042e5
call fcn.100044d0
test al, al
jne 0x10004188
call fcn.1000e45b
test al, al
je 0x1000435c
call fcn.1000e5b7
test al, al
je 0x1000436c
xor ebx, ebx
push dword [esi + 0x54]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x1000418a
call fcn.1000e692
mov ebx, eax
jmp 0x1000435e
push str.LocalUpsellEdgeMutex
call fcn.1000f0ca
add esp, 4
mov dword [esi + 0x54], eax
test eax, eax
jne 0x1000420c
push 2
call fcn.1000f8f5
add esp, 4
test al, al
je 0x10004188
lea esi, [ebp - 0xa0]
mov ecx, esi
push 2
push 0x228
push str....._third_partyie_to_edge_bho_bho.cc
call fcn.1000f93e
mov ecx, esi
call fcn.10002820
push 0x1f
push str.Failed_to_create_upsell_mutex:
jmp 0x100042cc