Function at 0x420920
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov dword [ebp - 0x18], ebx
je 0x420978
mov eax, dword [0x44f70c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x418
push eax
call edi
lea esi, [eax - 1]
cmp esi, ebx
jl 0x420967
mov ecx, dword [0x44f70c]
push ebx
push esi
push 0x416
push ecx
call edi
dec esi
jns 0x420954
mov eax, 0x455a44
mov dword [eax], ebx
add eax, 0x28
cmp eax, 0x455d64
jl 0x42096c
mov edx, dword [str.SoftwareMortice_Kern_SystemsToolkitShell]
lea eax, [ebp - 0x834]
push edx
push eax
call fcn.004296d0
add esp, 8
lea ecx, [ebp - 0x834]
push ebx
push ecx
call fcn.0042d3b0
add esp, 8
mov dword [ebp - 0x1c], eax
push str.Toolbar
push eax
call fcn.0042d370
add esp, 8
lea edx, [ebp - 4]
lea eax, [ebp - 0x834]
push edx
push 0x20019
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp + 8]
lea edx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push edx
push eax
push ebx
push str.Buttons
push ecx
mov dword [ebp + 8], 4
call edi
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
push edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
mov dword [ebp - 0x14], ebx
jle 0x420c31
mov esi, 0x455a38
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x420c31
cmp esi, 0x455d58
jge 0x420c31
mov eax, dword [ebp - 0x1c]
push ebx
push str.ToolbarButton__d
push eax
call fcn.0042d370
add esp, 0xc
lea ecx, [ebp - 4]
lea edx, [ebp - 0x834]
push ecx
push 0x20019
push 0
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp + 8]
lea ecx, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xc]
push ecx
push edx
push 0
push 0x44825c
push eax
mov dword [ebp + 8], 4
call edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
cmp eax, 1
jne 0x420ab8
mov edx, dword [0x44f70c]
lea ecx, [ebp - 0x34]
push ecx
push ebx
push 0x415
push edx
mov byte [ebp - 0x2b], al
mov byte [ebp - 0x2c], 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 8
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x420c22
mov byte [esi - 0xf], al
lea eax, [ebp + 8]
lea ecx, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xc]
push ecx
push edx
push 0
mov ebx, 4
push 0x448254
push eax
mov dword [ebp + 8], ebx
call edi
mov ecx, dword [ebp - 8]
lea edx, [ebp + 8]
mov dword [esi - 0x18], ecx
lea eax, [ebp - 8]
push edx
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push eax
push ecx
push 0
push str.Type
push edx
mov dword [ebp + 8], ebx
call edi
mov eax, dword [ebp - 8]
lea ecx, [ebp + 8]
mov dword [esi + 8], eax
lea edx, [ebp - 0x434]
push ecx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push edx
push eax
push 0
mov ebx, 0x400
push 0x442358
push ecx
mov dword [ebp + 8], ebx
call edi
test eax, eax
jne 0x420b4c
mov eax, dword [esi]
test eax, eax
je 0x420b3b
push eax
call fcn.004283d0
add esp, 4
lea edx, [ebp - 0x434]
push edx
call fcn.0042e680
add esp, 4
mov dword [esi], eax
lea eax, [ebp + 8]
lea ecx, [ebp - 0x434]
push eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xc]
push ecx
push edx
push 0
push str.Command_Up
push eax
mov dword [ebp + 8], ebx
call edi
test eax, eax
jne 0x420b91
mov eax, dword [esi + 4]
test eax, eax
je 0x420b7f
push eax
call fcn.004283d0
add esp, 4
lea ecx, [ebp - 0x434]
push ecx
call fcn.0042e680
add esp, 4
mov dword [esi + 4], eax
lea edx, [ebp + 8]
lea eax, [ebp - 0x434]
push edx
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push eax
push ecx
push 0
push str.Tooltip
push edx
mov dword [ebp + 8], ebx
call edi
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x420bd9
mov eax, dword [esi - 4]
test eax, eax
je 0x420bc7
push eax
call fcn.004283d0
add esp, 4
lea eax, [ebp - 0x434]
push eax
call fcn.0042e680
add esp, 4
mov dword [esi - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x18]
mov eax, 1
mov ecx, dword [0x44f70c]
lea ebx, [edx + 1]
mov dword [esi - 0x14], ebx
mov dword [esi + 0xc], eax
mov byte [esi - 0x10], 4
mov dword [esi - 8], eax
lea eax, [esi - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0x415
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x420c31
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x14]
add esi, 0x28
mov eax, dword [ebp - 0x20]
inc ebx
cmp ebx, eax
mov dword [ebp - 0x14], ebx
jl 0x420a13
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret