Function at 0x43c0d0
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x658
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x658], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov word [ebp - 0x220], 0
push 0x206
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.0049e690
add esp, 0xc
mov dword [ebp - 0x10], 0x104
lea ecx, [ebp - 0x224]
push ecx
push 0x109
push 0
push 0x597828
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43c262
mov dword [ebp - 0x228], 0
jmp 0x43c174
mov edx, dword [ebp - 0x228]
add edx, 1
mov dword [ebp - 0x228], edx
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x43c255
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x43c250
mov dword [ebp - 0x230], 0x104
mov word [ebp - 0x438], 0
push 0x206
push 0
lea ecx, [ebp - 0x436]
push ecx
call fcn.0049e690
add esp, 0xc
mov dword [ebp - 0x22c], 1
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x22c]
push ecx
push 0
push 0x597894
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43c246
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x438]
push ecx
call fcn.00419910
add esp, 8
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
je 0x43c246
mov dword [ebp - 4], 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43c165
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jne 0x43c39d
lea ecx, [ebp - 0x224]
push ecx
push 9
push 0
push 0x5978b0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43c39d
mov dword [ebp - 0x440], 0
jmp 0x43c2af
mov edx, dword [ebp - 0x440]
add edx, 1
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x43c390
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x43c38b
mov dword [ebp - 0x448], 0x104
mov word [ebp - 0x650], 0
push 0x206
push 0
lea ecx, [ebp - 0x64e]
push ecx
call fcn.0049e690
add esp, 0xc
mov dword [ebp - 0x444], 1
lea edx, [ebp - 0x448]
push edx
lea eax, [ebp - 0x650]
push eax
lea ecx, [ebp - 0x444]
push ecx
push 0
push 0x597934
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43c381
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x650]
push ecx
call fcn.00419910
add esp, 8
mov dword [ebp - 0x654], eax
cmp dword [ebp - 0x654], 0
je 0x43c381
mov dword [ebp - 4], 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43c2a0
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret 4