Function at 0x413600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421640
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
jne 0x413633
mov eax, 0x80004003
jmp 0x41384a
mov eax, dword [ebx + 4]
cmp eax, edi
mov byte [ebx], 1
mov word [ebx + 2], 1
je 0x41364d
push eax
call dword [0x4221f0]
mov dword [ebx + 4], edi
mov byte [ebx + 8], 1
mov eax, dword [esi + 4]
cmp eax, edi
mov dword [ebp - 0x24], edi
jne 0x41365f
xor eax, eax
jmp 0x413671
push eax
call dword [0x4221e8]
push eax
mov eax, dword [esi + 4]
push eax
call dword [0x4221ec]
cmp dword [esi + 4], edi
mov dword [ebp + 8], eax
je 0x413687
cmp eax, edi
jne 0x413687
push 0x8007000e
call fcn.00401140
mov esi, dword [0x42202c]
push str.CadManagerControlCommunicationCenter
mov dword [ebp - 4], edi
call esi
push eax
push str.CadManagerControlCommunicationCenter
lea ecx, [ebp + 8]
call fcn.00407480
cmp eax, edi
jge 0x4136af
push eax
call fcn.00401140
mov eax, dword [ebp + 8]
cmp eax, edi
mov byte [ebp - 4], 1
jne 0x4136be
xor esi, esi
jmp 0x4136f3
push eax
call esi
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.00417fe0
mov esi, esp
test esi, esi
je 0x4136f1
mov ecx, dword [ebp + 8]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ecx
push 0
push 0
mov byte [esi], 0
call dword [0x422030]
xor edi, edi
lea edx, [ebp - 0x10]
push edx
push 0x20019
push edi
push esi
push 0x80000002
mov dword [ebp - 0x10], edi
call dword [0x42200c]
cmp eax, edi
jne 0x413836
mov edi, dword [ebp - 0x10]
mov esi, dword [0x422008]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x28]
push edx
push 0
push str.EnableCommunicationCenter
push edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 4
call esi
test eax, eax
jne 0x413758
cmp dword [ebp - 0x28], 4
jne 0x413758
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x413758
mov byte [ebx], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push str.MaintenancePatchNotificationOption
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 4
call esi
test eax, eax
jne 0x41378e
cmp dword [ebp - 0x18], 4
jne 0x41378e
mov ax, word [ebp - 0x14]
mov word [ebx + 2], ax
lea ecx, [ebp - 0x18]
push ecx
push 0
push str.LocalPatchListLocation
lea ecx, [ebp - 0x1c]
call fcn.00412760
test eax, eax
jne 0x4137f0
mov eax, dword [ebp - 0x18]
cmp eax, 1
jbe 0x4137f0
push eax
call fcn.0041807f
add esp, 4
lea edx, [ebp - 0x18]
push edx
mov esi, eax
push esi
push str.LocalPatchListLocation
lea ecx, [ebp - 0x1c]
call fcn.00412760
push esi
lea ecx, [ebp - 0x28]
call fcn.00407580
mov eax, dword [ebp - 0x28]
push esi
mov dword [ebx + 4], eax
call fcn.00417bac
add esp, 4
push 0
call dword [0x4221f0]
mov esi, dword [0x422008]
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push str.EnableNonPatchNotifications
push edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 4
call esi
test eax, eax
jne 0x413829
cmp dword [ebp - 0x1c], 4
jne 0x413829
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x413829
mov byte [ebx + 8], 0
test edi, edi
je 0x41383d
push edi
call dword [0x422010]
jmp 0x41383d
mov dword [ebp - 0x24], 0x80004005
mov ecx, dword [ebp + 8]
push ecx
call dword [0x4221f0]
mov eax, dword [ebp - 0x24]
lea esp, [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4