Function at 0x40c29d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432d8e
mov eax, dword fs:[0]
push eax
mov eax, 0x102e0
call fcn.0042c140
mov eax, dword [0x4441c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x10260], edi
cmp dword [ebp + 0xc], ebx
jne 0x40c7e2
mov dword [ebp - 0x1023c], 7
mov dword [ebp - 0x10240], ebx
mov word [ebp - 0x10250], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1026c], ebx
cmp dword [ebp + 8], ebx
je 0x40c4cc
push 0x21
pop eax
mov ecx, str.SoftwareAppDataLowAskBarDis_bar
lea edx, [ebp - 0x10254]
call fcn.0040614d
cmp dword [edi + 0x40], ebx
jne 0x40c511
push str.CobrandId
lea esi, [ebp - 0x10238]
call fcn.00405586
mov eax, esi
push eax
add edi, 0x24
push edi
mov byte [ebp - 4], 1
call fcn.0040cbb9
push str.cbid
push eax
call fcn.00405940
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405d7c
push str.ConfigRevision
lea esi, [ebp - 0x10238]
call fcn.00405586
mov eax, esi
push eax
push edi
mov byte [ebp - 4], 2
call fcn.0040cbb9
push 0x43c5ac
push eax
call fcn.00405940
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405d7c
push 0x43c5b0
lea esi, [ebp - 0x10238]
call fcn.00405586
mov eax, esi
push eax
push edi
mov byte [ebp - 4], 3
call fcn.0040cbb9
push str.guid
push eax
call fcn.00405940
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405d7c
push str.SAId
lea esi, [ebp - 0x10238]
call fcn.00405586
mov eax, esi
push eax
push edi
mov byte [ebp - 4], 4
call fcn.0040cbb9
push str.saguid
push eax
call fcn.00405940
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405d7c
push str.OriginId
lea esi, [ebp - 0x10238]
call fcn.00405586
mov eax, esi
push eax
push edi
mov byte [ebp - 4], 5
call fcn.0040cbb9
push 0x43c5d8
push eax
call fcn.00405940
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405d7c
push 0x43c5dc
lea esi, [ebp - 0x10238]
call fcn.00405586
mov eax, esi
push eax
push edi
mov byte [ebp - 4], 6
call fcn.0040cbb9
push 0x43c5f0
push eax
call fcn.00405940
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405d7c
push str.ToolbarName
lea esi, [ebp - 0x10238]
call fcn.00405586
mov eax, esi
push eax
push edi
mov byte [ebp - 4], 7
call fcn.0040cbb9
push 0x43a9b8
push eax
call fcn.00405940
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405d7c
push str.Version
lea esi, [ebp - 0x10238]
call fcn.00405586
mov eax, esi
push eax
push edi
mov byte [ebp - 4], 8
call fcn.0040cbb9
push str.version
push eax
call fcn.00405940
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405d7c
mov edi, dword [ebp - 0x10260]
jmp 0x40c511
cmp dword [ebp + 0x10], ebx
je 0x40c7ce
lea eax, [ebp - 0x10258]
push eax
mov esi, 0x20019
push esi
push ebx
push str.SoftwareAskToolbarMacro
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c4ff
cmp dword [ebp - 0x10258], ebx
jne 0x40c51d
push esi
mov ecx, str.Macro
call fcn.00410865
pop ecx
mov dword [ebp - 0x10258], eax
cmp dword [ebp - 0x10258], ebx
je 0x40c7ce
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.0041ca70
add esp, 0xc
lea eax, [ebp - 0x102c4]
push eax
lea eax, [ebp - 0x1029c]
push eax
lea eax, [ebp - 0x102a0]
push eax
lea eax, [ebp - 0x10290]
push eax
lea eax, [ebp - 0x10264]
push eax
lea eax, [ebp - 0x10294]
push eax
lea eax, [ebp - 0x10298]
push eax
lea eax, [ebp - 0x10278]
push eax
push ebx
lea eax, [ebp - 0x10274]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x10258]
mov dword [ebp - 0x10274], 0x104
mov dword [ebp - 0x10278], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x10264], ebx
je 0x40c7c2
mov eax, 0x3fff
xor ecx, ecx
mov dword [ebp - 0x10268], eax
mov dword [ebp - 0x10270], eax
mov dword [ebp - 0x10220], 7
mov dword [ebp - 0x10224], ebx
mov word [ebp - 0x10234], cx
mov byte [ebp - 4], 9
mov dword [ebp - 0x1025c], ebx
cmp dword [ebp - 0x10264], ebx
jbe 0x40c7b4
jmp 0x40c5f1
mov eax, 0x3fff
mov dword [ebp - 0x10270], eax
mov dword [ebp - 0x10268], eax
xor eax, eax
mov word [ebp - 0x1021c], ax
mov word [ebp - 0x821c], ax
lea eax, [ebp - 0x10270]
push eax
lea eax, [ebp - 0x1021c]
push eax
lea eax, [ebp - 0x10284]
push eax
push ebx
lea eax, [ebp - 0x10268]
push eax
lea eax, [ebp - 0x821c]
push eax
push dword [ebp - 0x1025c]
push dword [ebp - 0x10258]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
jne 0x40c79c
cmp dword [ebp - 0x10284], 1
jne 0x40c79c
cmp word [ebp - 0x821c], bx
je 0x40c79c
lea eax, [ebp - 0x10238]
call fcn.00405647
push 2
pop eax
mov ecx, 0x43c620
lea edx, [ebp - 0x10238]
call fcn.0040614d
lea eax, [ebp - 0x821c]
push eax
cmp dword [ebp + 8], ebx
je 0x40c71a
lea esi, [ebp - 0x102bc]
call fcn.00405586
mov eax, esi
push eax
lea eax, [ebp - 0x102cc]
push eax
add edi, 0x24
push edi
mov byte [ebp - 4], 0xa
call fcn.0040ccce
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebx
push 1
mov dword [ebp - 0x10280], ecx
mov dword [ebp - 0x1027c], eax
mov byte [ebp - 4], 9
call fcn.00405d7c
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x10288], eax
mov eax, dword [edi]
lea edi, [ebp - 0x1028c]
lea esi, [ebp - 0x10280]
mov dword [ebp - 0x1028c], eax
call fcn.0041484f
test al, al
jne 0x40c796
call fcn.00414824
push 0xffffffffffffffff
add eax, 0x1c
push ebx
lea ecx, [ebp - 0x10238]
call fcn.004060a6
mov edi, dword [ebp - 0x10260]
jmp 0x40c726
lea eax, [ebp - 0x10238]
push eax
call fcn.0040561e
lea eax, [ebp - 0x1021c]
push eax
lea esi, [ebp - 0x102e8]
call fcn.00405586
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x10220], 8
mov eax, dword [ebp - 0x10234]
jae 0x40c751
lea eax, [ebp - 0x10234]
push eax
lea esi, [ebp - 0x102bc]
call fcn.00405586
lea eax, [ebp - 0x102e8]
push eax
push edi
mov eax, esi
mov byte [ebp - 4], 0xc
call fcn.0040bd24
push ebx
push 1
call fcn.00405d7c
push ebx
push 1
lea esi, [ebp - 0x102e8]
mov byte [ebp - 4], 9
call fcn.00405d7c
mov dword [ebp - 0x1026c], 1
jmp 0x40c79c
mov edi, dword [ebp - 0x10260]
inc dword [ebp - 0x1025c]
mov eax, dword [ebp - 0x1025c]
cmp eax, dword [ebp - 0x10264]
jb 0x40c5ec
push ebx
push 1
lea esi, [ebp - 0x10238]
call fcn.00405d7c
push dword [ebp - 0x10258]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea esi, [ebp - 0x10254]
call fcn.00405d7c
mov eax, dword [ebp - 0x1026c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004195cf
leave
ret 0xc