Function at 0x10009790
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x10037062
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1004f100]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x18], eax
xor eax, eax
lea ecx, [ebp]
push ecx
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x28], eax
mov dword [ebp - 4], eax
call fcn.100051f0
lea edx, [ebp + 0x38]
mov byte [ebp - 4], 1
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push edx
lea ecx, [ebp + 0x2c]
mov dword [ebp + 0x2c], edi
mov dword [ebp + 0x30], str.ShowCopilotButton
call fcn.10013160
lea eax, [ebp + 0x38]
push eax
lea ebx, [ebp]
mov byte [ebp - 4], 2
call fcn.1000ea50
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [ebp + 0x6c], esi
jb 0x10009826
mov ecx, dword [ebp + 0x58]
push ecx
call fcn.100269ba
add esp, 4
xor edx, edx
mov dword [ebp + 0x6c], 7
mov dword [ebp + 0x68], 0
mov word [ebp + 0x58], dx
cmp dword [ebp + 0x50], esi
jb 0x1000984b
mov eax, dword [ebp + 0x3c]
push eax
call fcn.100269ba
add esp, 4
lea ecx, [ebp + 0x38]
push ecx
lea ecx, [ebp + 0x2c]
mov dword [ebp + 0x2c], edi
mov dword [ebp + 0x30], str.TaskbarDa
call fcn.10013160
lea edx, [ebp + 0x38]
push edx
lea ebx, [ebp]
mov byte [ebp - 4], 3
call fcn.1000ea50
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [ebp + 0x6c], esi
jb 0x1000988b
mov eax, dword [ebp + 0x58]
push eax
call fcn.100269ba
add esp, 4
xor edi, edi
xor ecx, ecx
mov dword [ebp + 0x6c], 7
mov dword [ebp + 0x68], edi
mov word [ebp + 0x58], cx
cmp dword [ebp + 0x50], esi
jb 0x100098ae
mov edx, dword [ebp + 0x3c]
push edx
call fcn.100269ba
add esp, 4
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x2c]
mov dword [ebp + 0x2c], str.SoftwareMicrosoftWindowsCurrentVersionSearch
mov dword [ebp + 0x30], str.BingSearchEnabled
call fcn.10013160
lea ecx, [ebp + 0x38]
push ecx
lea ebx, [ebp]
mov byte [ebp - 4], 4
call fcn.1000ea50
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [ebp + 0x6c], esi
jb 0x100098f2
mov edx, dword [ebp + 0x58]
push edx
call fcn.100269ba
add esp, 4
xor eax, eax
mov dword [ebp + 0x6c], 7
mov dword [ebp + 0x68], edi
mov word [ebp + 0x58], ax
cmp dword [ebp + 0x50], esi
jb 0x10009913
mov ecx, dword [ebp + 0x3c]
push ecx
call fcn.100269ba
add esp, 4
lea edx, [ebp + 0x38]
push edx
lea ecx, [ebp + 0x2c]
mov dword [ebp + 0x2c], str.SoftwareMicrosoftWindowsCurrentVersionFeeds
mov dword [ebp + 0x30], str.ShellFeedsTaskbarViewMode
call fcn.10013160
lea eax, [ebp + 0x38]
push eax
lea ebx, [ebp]
mov byte [ebp - 4], 5
call fcn.1000ea50
mov ebx, 8
mov byte [ebp - 4], 1
cmp dword [ebp + 0x6c], ebx
jb 0x10009957
mov ecx, dword [ebp + 0x58]
push ecx
call fcn.100269ba
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x68], edi
mov word [ebp + 0x58], dx
cmp dword [ebp + 0x50], ebx
jb 0x10009979
mov eax, dword [ebp + 0x3c]
push eax
call fcn.100269ba
add esp, 4
lea ecx, [ebp - 0x34]
push ecx
call fcn.1000fc90
mov byte [ebp - 4], 6
push 0x11
xor edx, edx
push str.ShowCopilotButton
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x68], edi
mov word [ebp + 0x58], dx
call fcn.10001a60
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 7
call fcn.1000eb00
mov dword [eax], edi
mov byte [ebp - 4], 6
cmp dword [ebp + 0x6c], ebx
jb 0x100099c9
mov edx, dword [ebp + 0x58]
push edx
call fcn.100269ba
add esp, 4
push 9
xor eax, eax
push str.TaskbarDa
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x68], edi
mov word [ebp + 0x58], ax
call fcn.10001a60
lea ecx, [ebp + 0x54]
push ecx
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 8
call fcn.1000eb00
mov dword [eax], edi
mov byte [ebp - 4], 6
cmp dword [ebp + 0x6c], ebx
jb 0x10009a0c
mov eax, dword [ebp + 0x58]
push eax
call fcn.100269ba
add esp, 4
xor ecx, ecx
push 0x11
mov word [ebp + 0x58], cx
push str.BingSearchEnabled
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x68], edi
call fcn.10001a60
lea edx, [ebp + 0x54]
push edx
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 9
call fcn.1000eb00
mov dword [eax], edi
mov byte [ebp - 4], 6
cmp dword [ebp + 0x6c], ebx
jb 0x10009a4f
mov ecx, dword [ebp + 0x58]
push ecx
call fcn.100269ba
add esp, 4
push 0x19
xor edx, edx
push str.ShellFeedsTaskbarViewMode
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x68], edi
mov word [ebp + 0x58], dx
call fcn.10001a60
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 0xa
call fcn.1000eb00
mov dword [eax], 2
mov byte [ebp - 4], 6
cmp dword [ebp + 0x6c], ebx
jb 0x10009a96
mov edx, dword [ebp + 0x58]
push edx
call fcn.100269ba
add esp, 4
xor edi, edi
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 0x1c], edi
cmp edi, eax
jae 0x10009d00
lea ecx, [edi*8]
sub ecx, edi
lea esi, [esi + ecx*8]
lea ebx, [esi + 0x1c]
push ebx
lea edx, [ebp - 0x34]
push edx
call fcn.1000eb00
mov eax, dword [eax]
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov dword [ebp + 0x6c], 7
mov dword [ebp + 0x68], 0
mov word [ebp + 0x58], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10009af6
sub eax, edx
mov edx, dword [ebp + 0x18]
sar eax, 1
push eax
push edx
lea ecx, [ebp + 0x54]
call fcn.10001a60
push 1
push 0x1003f0d0
lea eax, [ebp + 0x54]
mov byte [ebp - 4], 0xb
call fcn.10005480
push 0
push esi
or eax, 0xffffffff
lea esi, [ebp + 0x54]
call fcn.10005790
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x28], 0
jae 0x10009b46
lea eax, [ebp + 0x58]
lea ecx, [ebp + 0x28]
push ecx
push 0x2011f
push 0
push eax
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov dword [ebp + 0x34], esi
test esi, esi
je 0x10009bb8
cmp dword [ebp + 0x6c], 8
mov ebx, dword [ebp + 0x58]
jae 0x10009b72
lea ebx, [ebp + 0x58]
call fcn.1001af90
push ebx
push esi
push str.RpdInitWindowsTaskBar_open_rlt:_08x_subkey:_s
mov ecx, eax
call fcn.1001b4f0
add esp, 0xc
mov byte [ebp - 4], 6
cmp dword [ebp + 0x6c], 8
jb 0x10009b9e
mov edx, dword [ebp + 0x58]
push edx
call fcn.100269ba
add esp, 4
xor eax, eax
mov dword [ebp + 0x68], 0
mov word [ebp + 0x58], ax
mov dword [ebp + 0x6c], 7
inc edi
jmp 0x10009a98
push 0x3c
lea ecx, [ebp - 0x74]
push 0
push ecx
mov dword [ebp - 0x14], 0x40
mov dword [ebp - 0x78], 0
call fcn.100285e0
add esp, 0xc
push 0
mov dword [ebp + 0x30], 4
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, 8
lea esi, [ebx + 4]
cmp dword [ebx + 0x18], edi
jb 0x10009bf6
mov eax, dword [esi]
jmp 0x10009bf8
mov eax, esi
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp + 0x30]
push edx
push 0
push eax
mov eax, dword [ebp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 0x34], eax
cmp dword [ebx + 0x18], edi
jb 0x10009c1d
mov edi, dword [esi]
jmp 0x10009c1f
mov edi, esi
cmp dword [ebp + 0x6c], 8
jb 0x10009c2d
mov ecx, dword [ebp + 0x58]
mov dword [ebp + 0x20], ecx
jmp 0x10009c33
lea edx, [ebp + 0x58]
mov dword [ebp + 0x20], edx
call fcn.1001af90
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 0x78]
push ecx
mov ecx, dword [ebp + 0x34]
push edx
mov edx, dword [ebp + 0x20]
push ecx
push edi
push edx
push str.RpdInitWindowsTaskBar.Query.Path:_s_Key:_s_Rlt:_08x_Value:_d_Expect:_d
mov ecx, eax
call fcn.1001b3f0
add esp, 0x18
cmp dword [ebp + 0x34], 0
jne 0x10009c66
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp + 0x24]
je 0x10009cc2
cmp dword [ebx + 0x18], 8
jb 0x10009c70
mov eax, dword [esi]
jmp 0x10009c72
mov eax, esi
mov edx, dword [ebp + 0x28]
push 4
lea ecx, [ebp + 0x24]
push ecx
push 4
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov eax, 8
mov dword [ebp + 0x34], edi
cmp dword [ebx + 0x18], eax
jb 0x10009c98
mov esi, dword [esi]
mov ebx, dword [ebp + 0x58]
cmp dword [ebp + 0x6c], eax
jae 0x10009ca3
lea ebx, [ebp + 0x58]
call fcn.1001af90
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 0x78]
push ecx
push edx
push edi
push esi
push ebx
push str.RpdInitWindowsTaskBar.Update.Path:_s_Key:_s_Rlt:_08x_Value:_d_Expect:_d
mov ecx, eax
call fcn.1001b3f0
add esp, 0x18
mov eax, dword [ebp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov byte [ebp - 4], 6
cmp dword [ebp + 0x6c], 8
mov dword [ebp + 0x28], esi
jb 0x10009ce7
mov ecx, dword [ebp + 0x58]
push ecx
call fcn.100269ba
add esp, 4
mov edi, dword [ebp + 0x1c]
xor edx, edx
mov dword [ebp + 0x68], esi
mov word [ebp + 0x58], dx
mov dword [ebp + 0x6c], 7
inc edi
jmp 0x10009a98
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.1000fd10
mov eax, dword [ebp - 0x34]
push eax
call fcn.100269ba
mov eax, dword [ebp + 0xc]
xor esi, esi
add esp, 4
cmp eax, esi
je 0x10009d3a
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0x10]
push ecx
push edx
call fcn.10013850
mov eax, dword [ebp + 0xc]
push eax
call fcn.100269ba
add esp, 0xc
mov ecx, dword [ebp]
push ecx
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], esi
call fcn.100269ba
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x34]
push esi
push str.RpdInitWindowsTaskBar_Rlt:_08x
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.100269c5
add ebp, 0x74
mov esp, ebp
pop ebp
ret