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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e9b4
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4ba494]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x46c4cc
jmp 0x46caa6
mov dword [ebp - 0x118], 0
jmp 0x46c4e7
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x118], ecx
push 0x100
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x46ca9c
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x13c]
call fcn.00403210
mov dword [ebp - 4], 0
push str.SoftwareClassesCLSID
lea ecx, [ebp - 0x138]
call fcn.00403210
mov byte [ebp - 4], 1
push 0x495f70
lea ecx, [ebp - 0x138]
call fcn.00405670
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x138]
call fcn.00412bc0
push 0x495f74
lea ecx, [ebp - 0x138]
call fcn.00405670
push str.InprocServer32
lea ecx, [ebp - 0x138]
call fcn.00405670
mov dword [ebp - 0x144], 0
lea ecx, [ebp - 0x144]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x138]
call fcn.0040aa10
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x46c5d4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.00413390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00413390
jmp 0x46caa6
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x120], 0
push 0x104
lea ecx, [ebp - 0x134]
call fcn.0041bf00
mov byte [ebp - 4], 2
mov dword [ebp - 0x11c], 0x104
mov dword [ebp - 0x124], 0
lea edx, [ebp - 0x124]
push edx
push 0
lea eax, [ebp - 0x120]
push eax
push 0
lea ecx, [ebp - 0x11c]
push ecx
push 0
lea ecx, [ebp - 0x134]
call fcn.0041bfa0
push eax
mov edx, dword [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x46ca5a
cmp dword [ebp - 0x124], 0
ja 0x46c681
mov dword [ebp - 0x11c], 0x104
mov dword [ebp - 0x124], 0
mov ecx, dword [ebp - 0x140]
add ecx, 1
mov dword [ebp - 0x140], ecx
jmp 0x46c610
mov byte [ebp - 0x199], 0
lea edx, [ebp - 0x199]
push edx
mov eax, dword [ebp - 0x124]
add eax, 1
push eax
lea ecx, [ebp - 0x190]
call fcn.0041bf40
mov byte [ebp - 4], 3
mov dword [ebp - 0x11c], 0x104
lea ecx, [ebp - 0x124]
push ecx
push 0
lea ecx, [ebp - 0x190]
call fcn.0041bfa0
push eax
lea edx, [ebp - 0x120]
push edx
push 0
lea eax, [ebp - 0x11c]
push eax
push 0
lea ecx, [ebp - 0x134]
call fcn.0041bfa0
push eax
mov ecx, dword [ebp - 0x140]
push ecx
mov edx, dword [ebp - 0x144]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x46c711
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x190]
call fcn.0041bf80
jmp 0x46ca5a
push 0
lea ecx, [ebp - 0x190]
call fcn.0041bfa0
push eax
lea ecx, [ebp - 0x180]
call fcn.00403210
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x17c]
call fcn.0043174d
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x180]
call fcn.0040aa10
push eax
lea ecx, [ebp - 0x17c]
call fcn.004317d9
test eax, eax
jne 0x46c7af
mov dword [ebp - 0x11c], 0x104
mov dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x140]
add eax, 1
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x17c]
call fcn.00431771
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x180]
call fcn.00413390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x190]
call fcn.0041bf80
jmp 0x46c610
lea ecx, [ebp - 0x180]
push ecx
lea ecx, [ebp - 0x194]
call fcn.00401f30
mov byte [ebp - 4], 6
push 0x495f78
lea ecx, [ebp - 0x194]
call fcn.0041cb30
push 0x5c
lea ecx, [ebp - 0x194]
call fcn.00405c20
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jl 0x46c84f
lea ecx, [ebp - 0x194]
call fcn.00412ea0
sub eax, dword [ebp - 0x148]
sub eax, 1
push eax
lea edx, [ebp - 0x1a0]
push edx
lea ecx, [ebp - 0x194]
call fcn.0041cca0
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1ac]
push ecx
lea ecx, [ebp - 0x194]
call fcn.00401f50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1a0]
call fcn.00413390
lea ecx, [ebp - 0x164]
call fcn.0041c830
mov byte [ebp - 4], 8
lea edx, [ebp - 0x180]
push edx
lea ecx, [ebp - 0x15c]
call fcn.00401f50
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x164]
call fcn.00401f50
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x158], ecx
lea edx, [ebp - 0x13c]
push edx
lea ecx, [ebp - 0x160]
call fcn.00401f50
mov dword [ebp - 0x150], 1
mov eax, 1
test eax, eax
je 0x46c984
cmp dword [ebp - 0x120], 7
jne 0x46c958
mov dword [ebp - 0x198], 0
mov ecx, dword [ebp - 0x198]
push ecx
lea ecx, [ebp - 0x190]
call fcn.0041bfa0
push eax
lea ecx, [ebp - 0x160]
call fcn.00403290
lea ecx, [ebp - 0x15c]
call fcn.00402000
movzx edx, al
test edx, edx
jne 0x46c916
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x1a4]
add ecx, 0x11c
call fcn.0041cf90
mov ecx, dword [ebp - 0x198]
push ecx
lea ecx, [ebp - 0x190]
call fcn.0041bfa0
push eax
call fcn.00444850
add esp, 4
mov edx, dword [ebp - 0x198]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x124]
sub ecx, 1
cmp dword [ebp - 0x198], ecx
jb 0x46c8ce
jmp 0x46c982
lea ecx, [ebp - 0x15c]
call fcn.00402000
movzx edx, al
test edx, edx
jne 0x46c982
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x1a4]
add ecx, 0x11c
call fcn.0041cf90
jmp 0x46c9e7
cmp dword [ebp - 0x120], 1
jne 0x46c9e7
push 4
push 0
lea ecx, [ebp - 0x134]
call fcn.0041bfa0
push eax
push 0x495f7c
call fcn.0041c5d0
add esp, 0xc
test eax, eax
je 0x46c9cf
push 7
push 0
lea ecx, [ebp - 0x134]
call fcn.0041bfa0
push eax
push str.Path
call fcn.0041c5d0
add esp, 0xc
test eax, eax
jne 0x46c9e7
lea ecx, [ebp - 0x164]
push ecx
mov ecx, dword [ebp - 0x1a4]
add ecx, 0x11c
call fcn.0041cf90
mov dword [ebp - 0x11c], 0x104
mov dword [ebp - 0x124], 0
mov edx, dword [ebp - 0x140]
add edx, 1
mov dword [ebp - 0x140], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x164]
call fcn.0041ca30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x194]
call fcn.00413390
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x17c]
call fcn.00431771
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x180]
call fcn.00413390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x190]
call fcn.0041bf80
jmp 0x46c610
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
call fcn.0041bf80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.00413390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00413390
jmp 0x46c4d8
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00443d53
mov esp, ebp
pop ebp
ret