Function at 0x40c485
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43275a
mov eax, dword fs:[0]
push eax
mov eax, 0x102e0
call fcn.0042bb20
mov eax, dword [0x4431c0]
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 0x40c9ca
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 0x40c6b4
push 0x21
pop eax
mov ecx, str.SoftwareAppDataLowAskBarDis_bar
lea edx, [ebp - 0x10254]
call fcn.00406338
cmp dword [edi + 0x40], ebx
jne 0x40c6f9
push str.CobrandId
lea esi, [ebp - 0x10238]
call fcn.004056d6
mov eax, esi
push eax
add edi, 0x24
push edi
mov byte [ebp - 4], 1
call fcn.0040cda1
push str.cbid
push eax
call fcn.00405b2b
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405f67
push str.ConfigRevision
lea esi, [ebp - 0x10238]
call fcn.004056d6
mov eax, esi
push eax
push edi
mov byte [ebp - 4], 2
call fcn.0040cda1
push 0x43b6ac
push eax
call fcn.00405b2b
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405f67
push 0x43b6b0
lea esi, [ebp - 0x10238]
call fcn.004056d6
mov eax, esi
push eax
push edi
mov byte [ebp - 4], 3
call fcn.0040cda1
push str.guid
push eax
call fcn.00405b2b
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405f67
push str.SAId
lea esi, [ebp - 0x10238]
call fcn.004056d6
mov eax, esi
push eax
push edi
mov byte [ebp - 4], 4
call fcn.0040cda1
push str.saguid
push eax
call fcn.00405b2b
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405f67
push str.OriginId
lea esi, [ebp - 0x10238]
call fcn.004056d6
mov eax, esi
push eax
push edi
mov byte [ebp - 4], 5
call fcn.0040cda1
push 0x43b6d8
push eax
call fcn.00405b2b
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405f67
push 0x43b6dc
lea esi, [ebp - 0x10238]
call fcn.004056d6
mov eax, esi
push eax
push edi
mov byte [ebp - 4], 6
call fcn.0040cda1
push 0x43b6f0
push eax
call fcn.00405b2b
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405f67
push str.ToolbarName
lea esi, [ebp - 0x10238]
call fcn.004056d6
mov eax, esi
push eax
push edi
mov byte [ebp - 4], 7
call fcn.0040cda1
push 0x439a88
push eax
call fcn.00405b2b
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405f67
push str.Version
lea esi, [ebp - 0x10238]
call fcn.004056d6
mov eax, esi
push eax
push edi
mov byte [ebp - 4], 8
call fcn.0040cda1
push str.version
push eax
call fcn.00405b2b
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00405f67
mov edi, dword [ebp - 0x10260]
jmp 0x40c6f9
cmp dword [ebp + 0x10], ebx
je 0x40c9b6
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 0x40c6e7
cmp dword [ebp - 0x10258], ebx
jne 0x40c705
push esi
mov ecx, str.Macro
call fcn.0041089a
pop ecx
mov dword [ebp - 0x10258], eax
cmp dword [ebp - 0x10258], ebx
je 0x40c9b6
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.0041c7e0
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 0x40c9aa
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 0x40c99c
jmp 0x40c7d9
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 0x40c984
cmp dword [ebp - 0x10284], 1
jne 0x40c984
cmp word [ebp - 0x821c], bx
je 0x40c984
lea eax, [ebp - 0x10238]
call fcn.00405797
push 2
pop eax
mov ecx, 0x43b720
lea edx, [ebp - 0x10238]
call fcn.00406338
lea eax, [ebp - 0x821c]
push eax
cmp dword [ebp + 8], ebx
je 0x40c902
lea esi, [ebp - 0x102bc]
call fcn.004056d6
mov eax, esi
push eax
lea eax, [ebp - 0x102cc]
push eax
add edi, 0x24
push edi
mov byte [ebp - 4], 0xa
call fcn.0040ceb6
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.00405f67
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.00414805
test al, al
jne 0x40c97e
call fcn.0040d50d
push 0xffffffffffffffff
add eax, 0x1c
push ebx
lea ecx, [ebp - 0x10238]
call fcn.00406291
mov edi, dword [ebp - 0x10260]
jmp 0x40c90e
lea eax, [ebp - 0x10238]
push eax
call fcn.0040576e
lea eax, [ebp - 0x1021c]
push eax
lea esi, [ebp - 0x102e8]
call fcn.004056d6
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x10220], 8
mov eax, dword [ebp - 0x10234]
jae 0x40c939
lea eax, [ebp - 0x10234]
push eax
lea esi, [ebp - 0x102bc]
call fcn.004056d6
lea eax, [ebp - 0x102e8]
push eax
push edi
mov eax, esi
mov byte [ebp - 4], 0xc
call fcn.0040bf1c
push ebx
push 1
call fcn.00405f67
push ebx
push 1
lea esi, [ebp - 0x102e8]
mov byte [ebp - 4], 9
call fcn.00405f67
mov dword [ebp - 0x1026c], 1
jmp 0x40c984
mov edi, dword [ebp - 0x10260]
inc dword [ebp - 0x1025c]
mov eax, dword [ebp - 0x1025c]
cmp eax, dword [ebp - 0x10264]
jb 0x40c7d4
push ebx
push 1
lea esi, [ebp - 0x10238]
call fcn.00405f67
push dword [ebp - 0x10258]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea esi, [ebp - 0x10254]
call fcn.00405f67
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.004195bf
leave
ret 0xc