Function at 0x10003f3c
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 [0x10065040]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.1000e428
test al, al
jne 0x10003f77
call fcn.1000e6b8
cmp eax, 2
je 0x10003f77
mov edi, eax
call fcn.1000e5b0
test edi, edi
sete cl
test cl, al
je 0x10003f90
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002aa2a
mov eax, ebx
add esp, 0x98
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x1000404e
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 0x10003ff0
test edi, edi
jne 0x100040e0
cmp dword [ebp - 0xa4], 1
je 0x10003f77
mov eax, dword [esi + 0x54]
test eax, eax
je 0x10004164
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000412c
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x10003f77
lea esi, [ebp - 0xa0]
mov ecx, esi
push 2
push 0x230
push str....._third_partyie_to_edge_bho_bho.cc
call fcn.1000f4c6
mov ecx, esi
call fcn.10002640
push 0x20
push str.Failed_to_acquire_upsell_mutex:
jmp 0x100040bb
mov eax, dword [edi]
jmp 0x10003f9b
lea edi, [esi + 0x5c]
sub esp, 0x1c
movaps xmm0, xmmword [0x1005b180]
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.100041ba
test eax, eax
je 0x10004047
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x10003f77
lea esi, [ebp - 0xa0]
mov ecx, esi
push 2
push 0x212
push str....._third_partyie_to_edge_bho_bho.cc
call fcn.1000f4c6
mov ecx, esi
call fcn.10002640
push 0x1d
push str.Failed_to_create_state_key_:
push eax
call fcn.100063da
add esp, 0xc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, edi
push eax
call fcn.10001c20
mov ecx, esi
call fcn.1000f822
jmp 0x10003f77
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x10003f77
lea esi, [ebp - 0xa0]
mov ecx, esi
push 2
push 0x220
push str....._third_partyie_to_edge_bho_bho.cc
call fcn.1000f4c6
mov ecx, esi
call fcn.10002640
push 0x2b
push str.Failed_to_read_kDisableUpsellEdge_reg_key:
push eax
call fcn.100063da
add esp, 0xc
mov ecx, eax
push edi
call fcn.10001a10
jmp 0x100040d4
call fcn.100042be
test al, al
jne 0x10003f77
call fcn.1000df4a
test al, al
je 0x1000414b
call fcn.1000e0a6
test al, al
je 0x1000415b
xor ebx, ebx
push dword [esi + 0x54]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x10003f79
call fcn.1000e18c
mov ebx, eax
jmp 0x1000414d
push str.LocalUpsellEdgeMutex
call fcn.1000ebbd
add esp, 4
mov dword [esi + 0x54], eax
test eax, eax
jne 0x10003ffb
push 2
call fcn.1000f47d
add esp, 4
test al, al
je 0x10003f77
lea esi, [ebp - 0xa0]
mov ecx, esi
push 2
push 0x228
push str....._third_partyie_to_edge_bho_bho.cc
call fcn.1000f4c6
mov ecx, esi
call fcn.10002640
push 0x1f
push str.Failed_to_create_upsell_mutex:
jmp 0x100040bb