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

Disassembly:
sub esp, 0x42c
mov eax, dword [0x4d87a0]
xor eax, esp
mov dword [esp + 0x428], eax
mov eax, dword [esp + 0x430]
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x206
lea edx, [esp + 0x2e]
xor ecx, ecx
push esi
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
mov word [esp + 0x34], cx
call fcn.0044a4d0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x109
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ebp, [esi + 1]
test eax, eax
jne 0x41259a
mov edx, dword [esp + 0x10]
push 0x104
lea ecx, [esp + 0x2c]
push ecx
push esi
push edx
call edi
test eax, eax
jne 0x412582
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x412566
push 0x206
push eax
lea ecx, [esp + 0x23a]
push ecx
mov dword [esp + 0x2c], 0x104
mov word [esp + 0x23c], ax
call fcn.0044a4d0
add esp, 0xc
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.DisplayName
push edx
mov dword [esp + 0x34], ebp
call ebx
test eax, eax
jne 0x41255b
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x234]
push ecx
call fcn.0044bcd5
add esp, 8
test eax, eax
je 0x41255b
mov dword [esp + 0x14], ebp
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
push 0x104
lea eax, [esp + 0x2c]
push eax
add esi, ebp
push esi
push ecx
call edi
test eax, eax
je 0x4124d7
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x14], 0
jne 0x41268a
xor esi, esi
lea eax, [esp + 0x10]
push eax
push 9
push esi
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41268a
mov edx, dword [esp + 0x10]
push 0x104
lea ecx, [esp + 0x2c]
push ecx
push eax
push edx
call edi
test eax, eax
jne 0x41267f
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x412663
push 0x206
push eax
lea ecx, [esp + 0x23a]
push ecx
mov dword [esp + 0x28], 0x104
mov word [esp + 0x23c], ax
call fcn.0044a4d0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.DisplayName
push edx
mov dword [esp + 0x38], ebp
call ebx
test eax, eax
jne 0x412658
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x234]
push ecx
call fcn.0044bcd5
add esp, 8
test eax, eax
je 0x412658
mov dword [esp + 0x14], ebp
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
push 0x104
lea eax, [esp + 0x2c]
push eax
add esi, ebp
push esi
push ecx
call edi
test eax, eax
je 0x4125d4
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x438]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044ab5c
add esp, 0x42c
ret 4