Function at 0x405ea0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418838
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
push ebx
mov eax, 0x104
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], eax
xor eax, eax
mov ecx, 0x41
lea edi, [ebp - 0x264]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x160]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], esp
push 0x423f20
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x40], 0x3f2
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x19], 1
or esi, 0xffffffff
call fcn.00413688
push 0x423f20
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00413688
push 0x423f20
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00413688
push 0x423f20
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00413688
push 0x423f20
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00413688
lea eax, [ebx + 0x210a]
lea ecx, [ebp - 0x38]
push eax
push 0x41f268
push ecx
mov byte [ebp - 4], 4
call fcn.00412be6
add esp, 0xc
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 5
push edx
push 0x20019
push 0
push str.Software
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x405fb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push 0x41c008
push eax
call fcn.00407d4e
mov al, byte [ebp - 0x19]
test al, al
je 0x406352
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x160]
push eax
rep stosd dword es:[edi], eax
push eax
push eax
lea ecx, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x160]
inc esi
push ecx
push edx
push esi
push eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x44], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x406015
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x58]
push 0x41c008
push edx
mov dword [ebp - 0x58], eax
call fcn.00407d4e
push 0x423f20
lea ecx, [ebp - 0x18]
call fcn.00413757
lea eax, [ebp - 0x160]
lea ecx, [ebp - 0x18]
push eax
push 0x41f268
push ecx
call fcn.00412be6
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x405fb1
push str.Classes
push eax
call fcn.00407ef9
add esp, 8
test eax, eax
je 0x405fb1
mov edx, dword [ebp - 0x18]
push str.Clients
push edx
call fcn.00407ef9
add esp, 8
test eax, eax
je 0x405fb1
mov eax, dword [ebp - 0x18]
push str.Intel
push eax
call fcn.00407ef9
add esp, 8
test eax, eax
je 0x405fb1
mov ecx, dword [ebp - 0x18]
push str.Microsoft
push ecx
call fcn.00407ef9
add esp, 8
test eax, eax
je 0x405fb1
mov edx, dword [ebp - 0x18]
push str.ODBC
push edx
call fcn.00407ef9
add esp, 8
test eax, eax
je 0x405fb1
mov eax, dword [ebp - 0x18]
push str.Policies
push eax
call fcn.00407ef9
add esp, 8
test eax, eax
je 0x405fb1
mov ecx, dword [ebp - 0x18]
push str.ACD_Systems
push ecx
call fcn.00407ef9
add esp, 8
test eax, eax
je 0x405fb1
mov edx, dword [ebp - 0x18]
push str.Adobe
push edx
call fcn.00407ef9
add esp, 8
test eax, eax
je 0x405fb1
mov eax, dword [ebp - 0x18]
push str.InstallShield
push eax
call fcn.00407ef9
add esp, 8
test eax, eax
je 0x405fb1
mov ecx, dword [ebp - 0x18]
push str.Rational_Software
push ecx
call fcn.00407ef9
add esp, 8
test eax, eax
je 0x405fb1
push 0x423f20
lea ecx, [ebp - 0x2c]
call fcn.00413757
lea edx, [ebp - 0x160]
lea eax, [ebp - 0x2c]
push edx
push str.Software_s
push eax
call fcn.00412be6
mov edx, dword [ebp - 0x2c]
add esp, 0xc
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push ecx
push 0x20019
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4061a9
push str.MyCheckAllCDInstallerKey::OpenKeyEx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebx + 0x251c]
push eax
call fcn.004018e0
add esp, 0xc
jmp 0x405fb1
mov dword [ebp - 0x48], 0xffffffff
mov byte [ebp - 0x11], 1
mov al, byte [ebp - 0x11]
test al, al
je 0x406319
mov edx, dword [ebp - 0x48]
xor eax, eax
mov ecx, 0x41
lea edi, [ebp - 0x264]
push eax
push eax
rep stosd dword es:[edi], eax
push eax
push eax
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x264]
inc edx
push ecx
mov ecx, dword [ebp - 0x30]
push eax
push edx
push ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x40621e
push str.MyCheckAllCDInstallerKey::EnumKeyEx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x28]
push eax
mov eax, dword [edx + 0x251c]
push eax
call fcn.004018e0
add esp, 0xc
mov byte [ebp - 0x11], 0
jmp 0x4061b4
push 0x423f20
lea ecx, [ebp - 0x24]
call fcn.00413757
lea ecx, [ebp - 0x264]
lea edx, [ebp - 0x24]
push ecx
push 0x41f268
push edx
call fcn.00412be6
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov esi, eax
mov ecx, dword [eax - 8]
lea eax, [ebp - 0x5c]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.004127e8
mov eax, dword [eax]
push esi
push eax
call fcn.00407ef9
add esp, 8
lea ecx, [ebp - 0x5c]
test eax, eax
setne bl
call fcn.0041361a
test bl, bl
jne 0x4061b4
push 0x423f20
lea ecx, [ebp - 0x20]
call fcn.00413757
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
push ecx
push edx
lea eax, [ebp - 0x20]
push str._s_sInstall
push eax
call fcn.00412be6
mov edx, dword [ebp - 0x20]
add esp, 0x10
lea ecx, [ebp - 0x3c]
xor esi, esi
push ecx
push 0x20019
push esi
push edx
push 0x80000002
mov dword [ebp - 0x3c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4062e4
push str.MyCheckAllCDInstallerKey::RegOpenKeyEx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x251c]
push ecx
call fcn.004018e0
add esp, 0xc
jmp 0x4061b4
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
push edx
push str.__s__Key_is_found_n
mov ecx, dword [eax + 0x251c]
push ecx
call fcn.00401990
mov edx, dword [ebp - 0x3c]
add esp, 0xc
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x11], 0
push edx
mov byte [ebp - 0x19], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4061b4
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x54]
jmp 0x405fb1
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 3
call fcn.0041361a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0041361a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0041361a
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0041361a
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0041361a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x40]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret