Function at 0x100204f5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x68
mov eax, 0x10052ada
call fcn.10037edf
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov dword [eax], ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x60], eax
cmp dword [0x1006a458], ebx
je 0x100206de
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
push 0x10056828
push 4
push ebx
push 0x10056848
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jne 0x100206cc
cmp dword [ebp - 0x38], ebx
je 0x100206cc
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x4c], ebx
call esi
mov edi, eax
cmp edi, ebx
je 0x100206c9
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
lea edx, [ebp - 0x58]
push edx
lea edx, [ebp - 0x4c]
push edx
push edi
push eax
call dword [ecx + 0x30]
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x40], eax
call edi
cmp dword [ebp - 0x40], ebx
jne 0x100206c9
cmp dword [ebp - 0x4c], ebx
jne 0x100205c8
mov ecx, dword [ebp - 0x3c]
xor eax, eax
cmp dword [ebp - 0x58], ebx
setne al
mov dword [ecx], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.1001e586
jmp 0x10020884
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push str.minsize.
lea ecx, [ebp - 0x40]
call fcn.10001f24
mov byte [ebp - 4], 2
push dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.10001fa9
push dword [ebp - 0x40]
call esi
mov esi, eax
cmp esi, ebx
je 0x1002061d
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
lea edx, [ebp - 0x74]
push edx
push esi
push eax
call dword [ecx + 0x58]
cmp eax, ebx
jne 0x1002061a
cmp word [ebp - 0x74], 3
jne 0x1002061a
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
push esi
call edi
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp - 0x48], ebx
je 0x100206b9
push str.PanelExceptionServers
push 0x10057b58
lea ecx, [ebp - 0x64]
call fcn.10011b9f
mov byte [ebp - 4], 3
push dword [ebp - 0x48]
lea ecx, [ebp - 0x64]
call fcn.10011cf8
test eax, eax
je 0x100206ad
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push edx
push eax
call dword [ecx + 0x34]
cmp eax, ebx
jne 0x10020676
mov ecx, dword [ebp - 0x3c]
xor eax, eax
cmp dword [ebp - 0x4c], 2
setne al
mov dword [ecx], eax
jmp 0x1002067f
mov eax, dword [ebp - 0x3c]
mov dword [eax], 1
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.10011a90
mov byte [ebp - 4], 1
push dword [ebp - 0x40]
call edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.1001e586
mov eax, ebx
jmp 0x10020886
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.10011a90
mov eax, dword [ebp - 0x3c]
mov dword [eax], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor ebx, ebx
inc ebx
jmp 0x10020691
mov esi, dword [ebp - 0x44]
call dword [sym.imp.ole32.dll_CoUninitialize]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.1001e586
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [0x10069bd0], ebx
jne 0x10020717
cmp dword [0x10069bc8], ebx
jne 0x100206f9
call fcn.1001e8ed
push 0x10069bd0
push 1
push ebx
push str.SoftwareDownloadManagerIDMBIIEXPLOREDwnlPanel
push SysReAllocString
call edi
test eax, eax
je 0x10020717
mov dword [0x10069bd0], ebx
mov eax, dword [ebp - 0x3c]
mov dword [eax], ebx
cmp esi, ebx
je 0x10020884
push esi
cmp dword [0x10069bd0], ebx
jne 0x10020738
call fcn.1001d205
pop ecx
jmp 0x10020886
call fcn.1003887a
pop ecx
cmp eax, 0x1f
ja 0x10020884
push ebx
push ebx
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0xffffffffffffffff
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x10020884
lea eax, [ebp - 0x30]
push eax
call fcn.1003b944
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ecx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
push dword [0x10069bd0]
mov dword [ebp - 0x54], 4
mov byte [ebp - 0x32], bl
call esi
test eax, eax
je 0x100207af
push dword [ebp - 0x44]
call fcn.1001d205
pop ecx
test eax, eax
je 0x100207ab
xor eax, eax
inc eax
jmp 0x10020886
mov byte [ebp - 0x32], 1
cmp dword [0x10069bd4], ebx
jne 0x100207dd
push 0x10069bd4
push 1
push ebx
push str.SoftwareDownloadManagerDwnlPanelminsize
push SysReAllocString
call edi
test eax, eax
je 0x100207d5
mov dword [0x10069bd4], ebx
cmp dword [0x10069bd4], ebx
je 0x10020807
push 4
pop edi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x44]
push eax
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
push dword [0x10069bd4]
mov dword [ebp - 0x58], edi
call esi
test eax, eax
jne 0x1002080a
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
jmp 0x1002080a
push 4
pop edi
mov byte [ebp - 0x31], bl
cmp dword [ebp - 0x48], ebx
je 0x10020846
push str.PanelExceptionServers
push 0x10057b58
lea ecx, [ebp - 0x5c]
call fcn.10011b9f
mov dword [ebp - 4], edi
push dword [ebp - 0x48]
lea ecx, [ebp - 0x5c]
call fcn.10011cf8
test eax, eax
je 0x1002083a
mov byte [ebp - 0x31], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.10011a90
cmp dword [ebp - 0x50], 2
je 0x1002085a
cmp byte [ebp - 0x32], bl
jne 0x1002085a
cmp byte [ebp - 0x31], bl
je 0x100207a3
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push ebx
push ebx
push 0x100578f0
push dword [0x10069bd0]
mov dword [ebp - 0x54], edi
call esi
test eax, eax
jne 0x10020884
cmp dword [ebp - 0x50], 1
mov ecx, dword [ebp - 0x3c]
sete al
mov dword [ecx], eax
xor eax, eax
call fcn.10037f62
ret