Function at 0x423940
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 [0x580280]
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
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.00486c20
add esp, 0xc
mov dword [ebp - 0x10], 0x104
lea edx, [ebp - 0x224]
push edx
push 0x109
push 0
push 0x54ce70
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x423ad2
mov dword [ebp - 0x228], 0
jmp 0x4239e4
mov eax, dword [ebp - 0x228]
add eax, 1
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x423ac5
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x423ac0
mov dword [ebp - 0x230], 0x104
xor edx, edx
mov word [ebp - 0x438], dx
push 0x206
push 0
lea eax, [ebp - 0x436]
push eax
call fcn.00486c20
add esp, 0xc
mov dword [ebp - 0x22c], 1
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x22c]
push eax
push 0
push 0x54cedc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x423ab6
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x438]
push eax
call fcn.004127e0
add esp, 8
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
je 0x423ab6
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4239d5
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jne 0x423c0d
lea eax, [ebp - 0x224]
push eax
push 9
push 0
push 0x54cef8
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x423c0d
mov dword [ebp - 0x440], 0
jmp 0x423b1f
mov ecx, dword [ebp - 0x440]
add ecx, 1
mov dword [ebp - 0x440], ecx
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x440]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x423c00
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x423bfb
mov dword [ebp - 0x448], 0x104
xor eax, eax
mov word [ebp - 0x650], ax
push 0x206
push 0
lea ecx, [ebp - 0x64e]
push ecx
call fcn.00486c20
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 0x54cf7c
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 0x423bf1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x650]
push ecx
call fcn.004127e0
add esp, 8
mov dword [ebp - 0x654], eax
cmp dword [ebp - 0x654], 0
je 0x423bf1
mov dword [ebp - 4], 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x423b10
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.00486c08
mov esp, ebp
pop ebp
ret 4