Function at 0x1007d7b0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x48
mov eax, 0x100a52e7
call fcn.10088600
push str._shelp.html_cnid_disn_scode_ver_d
lea eax, [ebp - 0x30]
xor ebx, ebx
push eax
mov dword [ebp - 0x3c], ebx
call fcn.1001542c
push str.SOFTWAREApplication_UpdaterSubscriptions
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], ebx
call fcn.1001542c
mov byte [ebp - 4], 2
mov eax, dword [0x100d15dc]
mov ecx, 0x100d15dc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov edi, 0x20019
push edi
mov byte [ebp - 4], 4
push dword [ebp - 0x2c]
lea eax, [ebp - 0x48]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10018040
neg eax
sbb eax, eax
inc eax
jne 0x1007d828
push 0x80004005
call fcn.100015bd
or dword [ebp - 0x4c], 0xffffffff
mov eax, 0x104
lea ecx, [ebp - 0x24]
push eax
mov esi, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ebx
call fcn.1001559d
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x40]
push ecx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x28]
push ecx
push eax
push ebx
mov byte [ebp - 4], 5
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1007d81e
cmp dword [ebp - 0x28], ebx
je 0x1007d81e
or eax, 0xffffffff
mov byte [ebp - 4], 4
call fcn.10022c1d
mov byte [ebp - 4], 3
cmp dword [ebp - 0x48], ebx
je 0x1007d889
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x100d15dc]
mov ecx, 0x100d15dc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
lea eax, [ebp - 0x3c]
push 0x100b373c
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.100175dc
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.1007dc08
mov eax, dword [eax]
pop ecx
pop ecx
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x48]
call fcn.10018040
mov esi, eax
mov eax, dword [ebp - 0x28]
neg esi
sbb esi, esi
add eax, 0xfffffff0
inc esi
call fcn.100160c5
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
call fcn.100160c5
cmp esi, ebx
je 0x1007d81e
push 0x100b4bc0
lea eax, [ebp - 0x48]
push eax
lea esi, [ebp - 0x28]
xor edi, edi
mov dword [ebp - 0x28], ebx
call fcn.10017fd8
test eax, eax
jne 0x1007d81e
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x1007d81e
or dword [ebp - 0x4c], 0xffffffff
lea ecx, [ebp - 0x20]
inc eax
push eax
mov esi, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ebx
call fcn.1001559d
mov dword [ebp - 0x50], eax
push 0x100b4bc0
lea ecx, [ebp - 0x48]
push ecx
lea esi, [ebp - 0x28]
mov edi, eax
mov byte [ebp - 4], 9
call fcn.10017fd8
test eax, eax
jne 0x1007d81e
cmp dword [ebp - 0x28], ebx
je 0x1007d81e
or eax, 0xffffffff
lea esi, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.10022c1d
cmp dword [ebp - 0x48], ebx
je 0x1007d98f
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
push 0x20019
mov byte [ebp - 4], 0xa
push dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10018040
neg eax
sbb eax, eax
inc eax
je 0x1007d81e
mov eax, dword [0x100d15dc]
mov ecx, 0x100d15dc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push str.serverURL
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xb
push eax
lea esi, [ebp - 0x28]
xor edi, edi
mov dword [ebp - 0x28], ebx
call fcn.10017fd8
test eax, eax
jne 0x1007d81e
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x1007d81e
or dword [ebp - 0x4c], 0xffffffff
lea ecx, [ebp - 0x1c]
inc eax
push eax
mov esi, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ebx
call fcn.1001559d
mov dword [ebp - 0x50], eax
push str.serverURL
lea ecx, [ebp - 0x48]
push ecx
lea esi, [ebp - 0x28]
mov edi, eax
mov byte [ebp - 4], 0xc
call fcn.10017fd8
test eax, eax
jne 0x1007d81e
cmp dword [ebp - 0x28], ebx
je 0x1007d81e
or eax, 0xffffffff
lea esi, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.10022c1d
mov eax, dword [0x100d15dc]
mov ecx, 0x100d15dc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0x100bb44c
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xd
push eax
lea esi, [ebp - 0x28]
xor edi, edi
mov dword [ebp - 0x28], ebx
call fcn.10017fd8
test eax, eax
jne 0x1007d81e
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x1007d81e
or dword [ebp - 0x4c], 0xffffffff
lea ecx, [ebp - 0x18]
inc eax
push eax
mov esi, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ebx
call fcn.1001559d
mov dword [ebp - 0x50], eax
push 0x100bb44c
lea ecx, [ebp - 0x48]
push ecx
lea esi, [ebp - 0x28]
mov edi, eax
mov byte [ebp - 4], 0xe
call fcn.10017fd8
test eax, eax
jne 0x1007d81e
cmp dword [ebp - 0x28], ebx
je 0x1007d81e
or eax, 0xffffffff
lea esi, [ebp - 0x18]
mov byte [ebp - 4], 0xd
call fcn.10022c1d
lea eax, [ebp - 0x38]
push eax
push str.channelId
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x38], ebx
call fcn.10022c3b
neg eax
sbb eax, eax
inc eax
je 0x1007d81e
lea eax, [ebp - 0x34]
push eax
push str.code_ver
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x34], ebx
call fcn.10022c3b
neg eax
sbb eax, eax
inc eax
je 0x1007d81e
mov eax, dword [0x100ce4ac]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xf
push dword [ebp - 0x34]
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
push dword [ebp - 0x38]
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
push eax
call fcn.10015bec
xor ecx, ecx
add esp, 0x18
cmp eax, ebx
setne cl
mov eax, ecx
cmp eax, ebx
je 0x1007d81e
mov ecx, dword [ebp - 0x28]
lea eax, [ecx - 0xc]
cmp dword [eax], ebx
jl 0x1007db69
mov edx, dword [ebp + 8]
push eax
mov dword [edx], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x1007db7b
mov eax, dword [ebp + 8]
mov edx, dword [0x100ce4ac]
push ecx
push eax
mov dword [eax], edx
call fcn.10015e0e
lea esi, [ebp - 0x28]
call fcn.10015d9a
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.100160c5
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.100160c5
cmp dword [ebp - 0x48], ebx
je 0x1007dba7
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.100160c5
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.100160c5
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.100160c5
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.100160c5
mov eax, dword [ebp + 8]
jmp 0x1007dc00
call fcn.100886a5
ret 4