Function at 0x1002f549
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x10056e2f
call fcn.10052270
sub esp, 0x280
push ebx
push esi
push edi
mov dword [ebp - 0x2c], ecx
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x28b]
mov byte [ebp - 0x28c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x187]
mov byte [ebp - 0x188], bl
mov dword [ebp - 0x18], 3
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10070040]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.1002f9b7
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x1002f98f
mov esi, 0x104
lea eax, [ebp - 0x28c]
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 1
push 0x103
push eax
push ebx
mov dword [ebp - 0x14], esi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x1002f986
mov edi, 0x10078b14
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x48], 1
test eax, eax
je 0x1002f629
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x28c]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.100035e4
push esi
lea eax, [ebp - 0x188]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x10]
push str.CLSID_s
push eax
call fcn.10009c35
add esp, 0xc
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0x103
push eax
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp - 0x10]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [ebp - 0x188]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jne 0x1002f6c2
mov ecx, 0x10074dd8
mov eax, ecx
test eax, eax
je 0x1002f6b6
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x10074dd8
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.100035e4
jmp 0x1002f709
lea eax, [ebp - 0x188]
lea ecx, [ebp - 0x54]
push eax
call fcn.100034da
push eax
lea eax, [ebp - 0x64]
push 0x10074db8
push eax
mov byte [ebp - 4], 2
call fcn.10018353
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.10003640
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.1000349d
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.1000349d
push esi
lea eax, [ebp - 0x188]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x10]
push str.CLSID_sInprocServer32
push eax
call fcn.10009c35
add esp, 0xc
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x103
push eax
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp - 0x10]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [ebp - 0x188]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jne 0x1002f7fe
push str.HKLM_
lea ecx, [ebp - 0x24]
call fcn.100034da
cmp dword [ebp + 8], 0x80000001
mov byte [ebp - 4], 4
jne 0x1002f7a7
mov ecx, str.HKCU_
mov eax, ecx
test eax, eax
je 0x1002f79d
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, str.HKCU_
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.100035e4
lea eax, [ebp - 0x24]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.10018299
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100164a2
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.10003640
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.1000349d
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.1000349d
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.1000349d
jmp 0x1002f825
lea eax, [ebp - 0x188]
test eax, eax
je 0x1002f815
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x188]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.100035e4
lea eax, [ebp - 0x28c]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
lea eax, [ebp - 0x44]
push 0x10070058
push eax
call fcn.10009c35
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x84], al
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push edi
mov byte [ebp - 4], 7
call fcn.100034da
push ecx
lea eax, [ebp - 0x44]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
mov byte [ebp - 4], 8
call fcn.1001e895
push dword [ebp + 8]
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1001e483
add esp, 0x18
mov al, byte [ebp + 0xb]
mov byte [ebp - 4], 0xa
mov byte [ebp - 0x74], al
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x74]
push eax
push ebx
mov byte [ebp - 4], 0xb
call fcn.100038e6
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
call fcn.1004b071
test eax, eax
jne 0x1002f93c
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push 0x1007437c
push eax
call fcn.10018353
mov eax, dword [eax]
push 2
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x74]
push eax
push 2
mov byte [ebp - 4], 0xc
call fcn.1001e056
pop ecx
push eax
push esi
mov esi, dword [ebp - 0x2c]
push 0x10070cfc
push dword [ebp - 0x30]
mov ecx, esi
push dword [ebp - 0x34]
call fcn.1004ac01
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call fcn.1000349d
lea eax, [ebp - 0x50]
lea ecx, [esi + 0x64]
push eax
call fcn.100304c1
mov esi, 0x104
inc dword [ebp - 0x1c]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xa
call fcn.10003457
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.1000349d
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.10003457
lea eax, [ebp - 0x28c]
push 0x103
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x1002f60b
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.1002fa07
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1000349d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4