Function at 0x2002060e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
push ebx
push esi
push edi
push 0x2c
push 2
push dword [ebp + 8]
xor ebx, ebx
lea eax, [ebp - 0xb0]
inc ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.2000c4a6
push 0x10
pop ecx
mov esi, eax
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x70]
call fcn.20004465
add esp, 0x14
test eax, eax
je 0x2002090a
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x18]
push eax
push 0x20004160
push ebx
push esi
push 0x20004150
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x200208fb
push dword [ebp - 0x70]
call fcn.20004446
pop ecx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x2c]
mov ebx, eax
mov word [ebp - 0x2c], si
call fcn.2001f0c7
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x24]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push ebx
lea ecx, [ebp - 8]
call fcn.2001f099
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
lea esi, [ebp - 0x1c]
push esi
push dword [eax]
push ecx
call dword [edx + 0x30]
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and word [ebp - 0x2b8], 0
mov ebx, 0x206
push ebx
xor esi, esi
lea eax, [ebp - 0x2b6]
push esi
push eax
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0x6c]
add esp, 0xc
cmp ecx, esi
mov dword [ebp - 4], esi
je 0x20020769
movzx eax, word [ecx]
cmp ax, si
je 0x20020769
cmp ax, 0x23
jne 0x2002071f
inc esi
inc ecx
inc ecx
push ecx
mov dword [ebp - 0x6c], ecx
call fcn.200042be
pop ecx
mov dword [ebp - 4], eax
jmp 0x2002076c
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x20003e30
push ecx
call edi
test eax, eax
je 0x20020761
push 0x20003e20
push dword [ebp - 0x6c]
call edi
test eax, eax
je 0x20020761
push 0xb
call fcn.200147ae
cmp eax, 0xffffffff
pop ecx
je 0x2002076c
push dword [eax*8 + 0x200022b4]
push dword [ebp - 0x6c]
call edi
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp 0x2002076c
xor esi, esi
inc esi
mov dword [ebp - 4], esi
jmp 0x2002076c
xor esi, esi
inc esi
xor edi, edi
inc edi
test esi, esi
je 0x20020824
call fcn.2000cb44
test eax, eax
je 0x200207fb
lea eax, [ebp - 8]
push eax
push 0x20001c78
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jne 0x2002083c
xor esi, esi
push ebx
lea eax, [ebp - 0x4be]
push esi
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], 0x104
mov word [ebp - 0x4c0], si
call sub.MSVCRT.dll_memset
push dword [ebp - 8]
lea eax, [ebp - 0x4c0]
push 0x20003e0c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x4c0]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, eax
neg edi
sbb edi, edi
inc edi
jmp 0x20020834
mov eax, dword [ebp - 4]
cmp eax, 1
lea ecx, [ebp - 0x2b8]
push ecx
ja 0x20020812
imul eax, eax, 5
add eax, 0x1505
push eax
push 0x20003df4
call fcn.20013e34
add esp, 0xc
mov edi, eax
jmp 0x20020834
push dword [ebp - 0x6c]
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
test edi, edi
je 0x200208fb
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x58]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x1c]
xor ebx, ebx
cmp dword [ebp - 8], ebx
je 0x200208e9
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
push edx
mov word [ebp - 0x2c], 3
mov dword [ebp - 0x24], ebx
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 4]
and dword [ebp - 0xc], 0
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push eax
call dword [ecx + 0x24]
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x200208cd
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc ebx
cmp ebx, dword [ebp - 8]
jne 0x20020861
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret