Function at 0x419150
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x4785c0]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x20]
call fcn.0040e220
cmp dword [ebp + 0xc], 0
jne 0x41918e
mov dword [ebp - 0x154], 0
lea ecx, [ebp - 0x20]
call fcn.0041abb0
mov eax, dword [ebp - 0x154]
jmp 0x41965a
push 0x466da8
mov eax, dword [ebp + 8]
push eax
call fcn.00414800
add esp, 8
test eax, eax
je 0x4191c0
mov dword [ebp - 0x158], 0
lea ecx, [ebp - 0x20]
call fcn.0041abb0
mov eax, dword [ebp - 0x158]
jmp 0x41965a
lea ecx, [ebp - 0x20]
call fcn.004026c0
push eax
push 0x46b2a0
push 1
push 0
push 0x466e38
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x419203
mov dword [ebp - 0x15c], 0
lea ecx, [ebp - 0x20]
call fcn.0041abb0
mov eax, dword [ebp - 0x15c]
jmp 0x41965a
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 0x41933f
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 0x4192cf
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 1
jne 0x41927c
lea ecx, [ebp - 0x20]
call fcn.00402690
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 0x4192ab
lea ecx, [ebp - 0x20]
call fcn.00402690
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 0x4192cd
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x160], edx
lea ecx, [ebp - 0x20]
call fcn.0041abb0
mov eax, dword [ebp - 0x160]
jmp 0x41965a
jmp 0x419331
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 1
jne 0x419305
lea ecx, [ebp - 0x20]
call fcn.00402690
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 0x419331
lea ecx, [ebp - 0x20]
call fcn.00402690
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 0x419210
cmp dword [ebp + 0x10], 0
jne 0x419642
push 0x40
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
call fcn.004010d0
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x34]
call fcn.0041c4e0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
jne 0x41938a
mov dword [ebp - 0x178], 0
jmp 0x419430
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.00414920
add esp, 0xc
test eax, eax
jge 0x4193bc
mov dword [ebp - 0x17c], 0
jmp 0x419424
cmp dword [ebp - 0x30], 0x400
jg 0x4193f4
mov edx, dword [ebp - 0x30]
push edx
call fcn.00414a60
add esp, 4
movzx eax, al
test eax, eax
je 0x4193f4
mov eax, dword [ebp - 0x30]
call fcn.00446050
mov dword [ebp - 0x180], esp
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x184], ecx
jmp 0x419406
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x34]
call fcn.0041c0a0
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.00414b90
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 0x41963a
push str.CLSID_
push 0x80
lea eax, [ebp - 0x150]
push eax
call fcn.00414c80
add esp, 0xc
mov ecx, dword [ebp - 0x38]
push ecx
push 0x80
lea edx, [ebp - 0x150]
push edx
call fcn.00414d10
add esp, 0xc
push str.Required_Categories
push 0x80
lea eax, [ebp - 0x150]
push eax
call fcn.00414d10
add esp, 0xc
push SysReAllocStringLen
lea ecx, [ebp - 0xcc]
call fcn.00415680
lea ecx, [ebp - 0xc0]
call fcn.00408d80
mov dword [ebp - 0xd0], 0
push 0x20019
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0xcc]
call fcn.00402690
push eax
lea ecx, [ebp - 0xc0]
call fcn.00415850
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jne 0x419546
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.00402690
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0xc0]
call fcn.00415790
cmp dword [ebp - 0xc4], 0
jne 0x419546
cmp dword [ebp - 0xd0], 0
jne 0x419546
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00415730
push str.CLSID_
push 0x80
lea ecx, [ebp - 0x150]
push ecx
call fcn.00414c80
add esp, 0xc
mov edx, dword [ebp - 0x38]
push edx
push 0x80
lea eax, [ebp - 0x150]
push eax
call fcn.00414d10
add esp, 0xc
push str.Implemented_Categories
push 0x80
lea ecx, [ebp - 0x150]
push ecx
call fcn.00414d10
add esp, 0xc
push 0x20019
lea edx, [ebp - 0x150]
push edx
lea ecx, [ebp - 0xcc]
call fcn.00402690
push eax
lea ecx, [ebp - 0xc0]
call fcn.00415850
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jne 0x419624
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.00402690
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0xc0]
call fcn.00415790
cmp dword [ebp - 0xc4], 0
jne 0x419624
cmp dword [ebp - 0xd0], 0
jne 0x419624
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0xcc]
call fcn.00415730
lea ecx, [ebp - 0xc0]
call fcn.004156b0
lea ecx, [ebp - 0xcc]
call fcn.004156b0
lea ecx, [ebp - 0x34]
call fcn.00402190
mov dword [ebp - 0x164], 0
lea ecx, [ebp - 0x20]
call fcn.0041abb0
mov eax, dword [ebp - 0x164]
lea esp, [ebp - 0x184]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441de6
mov esp, ebp
pop ebp
ret 0xc