Function at 0x10028fe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
cmp dword [0x1005d04c], 0
push edi
mov edi, ecx
je 0x1002925d
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0x10
push str.Start_AskCortana
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
push SHChangeNotifyRegister
mov dword [ebp - 4], 4
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x10
push str.Start_AskCortana
push str.SoftwareStartIsBack
push SHChangeNotifyRegister
call esi
cmp dword [ebp - 8], 0
je 0x10029225
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x114
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 0x4a38
jb 0x1002921e
mov eax, dword [0x1005e39c]
test al, 1
jne 0x100290be
or eax, 1
mov dword [0x1005e398], 0
push 0x1004d9d0
mov dword [0x1005e39c], eax
call fcn.1000112b
add esp, 4
mov eax, dword [0x1005e398]
mov esi, dword [edi + 0x50]
test eax, eax
je 0x100290db
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [0x1005e398], 0
push ebx
push 0x1005e398
push esi
call dword [sym.imp.SHLWAPI.dll_SHStrDupW]
push 2
push 0
push 0
push 0x10029380
push 0
push 0x8005
push 0x8005
call dword [sym.imp.USER32.dll_SetWinEventHook]
mov ebx, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.Windows.UI.Core.CoreWindow
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x10029185
nop
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 4]
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0xc], 0x104
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetApplicationUserModelId]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Microsoft.Windows.Search_cw5n1h2txyewy_CortanaUI
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100291ce
push 0
push str.Windows.UI.Core.CoreWindow
push edi
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x10029120
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x10059070
push 3
push 0
push 0x1004ebb0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 4]
test eax, eax
je 0x100291ce
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0
push str.StartModeProactiveQuerySourceSearchButton
push str.Microsoft.Windows.Search_cw5n1h2txyewy_CortanaUI
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 4]
test eax, eax
je 0x100291ce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x10059070
push 3
push 0
push 0x1004ebb0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 4]
pop ebx
test eax, eax
je 0x1002925c
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0
push str.StartModeProactiveQuerySourceSearchButton
push str.Microsoft.Windows.Search_cw5n1h2txyewy_CortanaUI
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 4]
test eax, eax
je 0x1002925c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, str.ms_cortana:__StartModeMyStuffq_s
jmp 0x1002922a
mov ecx, str.search:query_s
mov eax, dword [edi + 0x50]
push eax
push ecx
lea eax, [ebp - 0x328]
push 0x104
push eax
call fcn.1000edb0
mov ecx, dword [edi + 0x20]
add esp, 0x10
mov eax, dword [ecx]
push 0
call dword [eax]
lea edx, [ebp - 0x328]
mov ecx, eax
call fcn.10019010
add esp, 4
pop esi
pop edi
mov esp, ebp
pop ebp
ret