Function at 0x40eab0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x463444]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x20]
call fcn.00401e40
cmp dword [ebp + 0xc], 0
jne 0x40eaee
mov dword [ebp - 0x154], 0
lea ecx, [ebp - 0x20]
call fcn.00401780
mov eax, dword [ebp - 0x154]
jmp 0x40efba
push 0x4531b8
mov eax, dword [ebp + 8]
push eax
call fcn.0040ffc0
add esp, 8
test eax, eax
je 0x40eb20
mov dword [ebp - 0x158], 0
lea ecx, [ebp - 0x20]
call fcn.00401780
mov eax, dword [ebp - 0x158]
jmp 0x40efba
lea ecx, [ebp - 0x20]
call fcn.00408ec0
push eax
push 0x457478
push 1
push 0
push 0x453238
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x40eb63
mov dword [ebp - 0x15c], 0
lea ecx, [ebp - 0x20]
call fcn.00401780
mov eax, dword [ebp - 0x15c]
jmp 0x40efba
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx], 0
je 0x40ec9f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0
je 0x40ec2f
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 1
jne 0x40ebdc
lea ecx, [ebp - 0x20]
call fcn.0040dcb0
mov dword [ebp - 0x168], eax
lea edx, [ebp - 0x14]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x168]
push ecx
mov edx, dword [ebp - 0x168]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
call ecx
mov dword [ebp - 0x18], eax
jmp 0x40ec0b
lea ecx, [ebp - 0x20]
call fcn.0040dcb0
mov dword [ebp - 0x16c], eax
lea edx, [ebp - 0x14]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x16c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
call ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x40ec2d
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x160], edx
lea ecx, [ebp - 0x20]
call fcn.00401780
mov eax, dword [ebp - 0x160]
jmp 0x40efba
jmp 0x40ec91
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 1
jne 0x40ec65
lea ecx, [ebp - 0x20]
call fcn.0040dcb0
mov dword [ebp - 0x170], eax
lea ecx, [ebp - 0x14]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x170]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
jmp 0x40ec91
lea ecx, [ebp - 0x20]
call fcn.0040dcb0
mov dword [ebp - 0x174], eax
lea ecx, [ebp - 0x14]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x174]
push eax
mov ecx, dword [ebp - 0x174]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [ebp - 0x1c]
add ecx, 8
mov dword [ebp - 0x1c], ecx
jmp 0x40eb70
cmp dword [ebp + 0x10], 0
jne 0x40efa2
push 0x40
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
call fcn.004026b0
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x34]
call fcn.0040f650
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
jne 0x40ecea
mov dword [ebp - 0x178], 0
jmp 0x40ed90
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x30], eax
push 2
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.00411b30
add esp, 0xc
test eax, eax
jge 0x40ed1c
mov dword [ebp - 0x17c], 0
jmp 0x40ed84
cmp dword [ebp - 0x30], 0x400
jg 0x40ed54
mov edx, dword [ebp - 0x30]
push edx
call fcn.00411b90
add esp, 4
movzx eax, al
test eax, eax
je 0x40ed54
mov eax, dword [ebp - 0x30]
call fcn.0043af60
mov dword [ebp - 0x180], esp
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x184], ecx
jmp 0x40ed66
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x34]
call fcn.00411d00
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x184]
push eax
call fcn.00410fb0
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0
je 0x40ef9a
push str.CLSID_
push 0x80
lea eax, [ebp - 0x150]
push eax
call fcn.0040f040
add esp, 0xc
mov ecx, dword [ebp - 0x38]
push ecx
push 0x80
lea edx, [ebp - 0x150]
push edx
call fcn.0040ea80
add esp, 0xc
push str.Required_Categories
push 0x80
lea eax, [ebp - 0x150]
push eax
call fcn.0040ea80
add esp, 0xc
push SysReAllocStringLen
lea ecx, [ebp - 0xcc]
call fcn.0040ea50
lea ecx, [ebp - 0xc0]
call fcn.004128a0
mov dword [ebp - 0xd0], 0
push 0x20019
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0xcc]
call fcn.0040dcb0
push eax
lea ecx, [ebp - 0xc0]
call fcn.004126e0
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jne 0x40eea6
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0xd0]
push edx
push 0
push 0
push 0
lea ecx, [ebp - 0xc0]
call fcn.0040dcb0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0xc0]
call fcn.004128d0
cmp dword [ebp - 0xc4], 0
jne 0x40eea6
cmp dword [ebp - 0xd0], 0
jne 0x40eea6
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00412970
push str.CLSID_
push 0x80
lea ecx, [ebp - 0x150]
push ecx
call fcn.0040f040
add esp, 0xc
mov edx, dword [ebp - 0x38]
push edx
push 0x80
lea eax, [ebp - 0x150]
push eax
call fcn.0040ea80
add esp, 0xc
push str.Implemented_Categories
push 0x80
lea ecx, [ebp - 0x150]
push ecx
call fcn.0040ea80
add esp, 0xc
push 0x20019
lea edx, [ebp - 0x150]
push edx
lea ecx, [ebp - 0xcc]
call fcn.0040dcb0
push eax
lea ecx, [ebp - 0xc0]
call fcn.004126e0
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jne 0x40ef84
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xd0]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0xc0]
call fcn.0040dcb0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0xc0]
call fcn.004128d0
cmp dword [ebp - 0xc4], 0
jne 0x40ef84
cmp dword [ebp - 0xd0], 0
jne 0x40ef84
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0xcc]
call fcn.00412970
lea ecx, [ebp - 0xc0]
call fcn.00412920
lea ecx, [ebp - 0xcc]
call fcn.00412920
lea ecx, [ebp - 0x34]
call fcn.004026e0
mov dword [ebp - 0x164], 0
lea ecx, [ebp - 0x20]
call fcn.00401780
mov eax, dword [ebp - 0x164]
lea esp, [ebp - 0x184]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004381fb
mov esp, ebp
pop ebp
ret 0xc