Function at 0x45c9a0
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 [0x47c170]
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.00415da0
add esp, 0xc
mov dword [ebp - 0x10], 0x104
lea ecx, [ebp - 0x224]
push ecx
push 0x109
push 0
push 0x474010
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45cb32
mov dword [ebp - 0x228], 0
jmp 0x45ca44
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 0x45cb25
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 0x45cb20
mov dword [ebp - 0x230], 0x104
mov word [ebp - 0x438], 0
push 0x206
push 0
lea ecx, [ebp - 0x436]
push ecx
call fcn.00415da0
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 0x47407c
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 0x45cb16
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x438]
push ecx
call fcn.00402210
add esp, 8
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
je 0x45cb16
mov dword [ebp - 4], 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45ca35
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jne 0x45cc6d
lea ecx, [ebp - 0x224]
push ecx
push 9
push 0
push 0x474098
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45cc6d
mov dword [ebp - 0x440], 0
jmp 0x45cb7f
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 0x45cc60
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 0x45cc5b
mov dword [ebp - 0x448], 0x104
mov word [ebp - 0x650], 0
push 0x206
push 0
lea ecx, [ebp - 0x64e]
push ecx
call fcn.00415da0
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 0x47411c
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 0x45cc51
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x650]
push ecx
call fcn.00402210
add esp, 8
mov dword [ebp - 0x654], eax
cmp dword [ebp - 0x654], 0
je 0x45cc51
mov dword [ebp - 4], 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45cb70
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.004157fe
mov esp, ebp
pop ebp
ret 4