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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cef5a
mov eax, dword fs:[0]
push eax
mov eax, 0x1930
call fcn.0055b970
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x5c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x191c], ecx
mov dword [ebp - 0x1918], 0
mov dword [ebp - 0x1c], 0x5fc2c4
mov dword [ebp - 0x18], str.UninstallString
mov dword [ebp - 0x14], str.ModifyPath
mov dword [ebp - 0x10], str.Inno_Setup:_App_Path
mov dword [ebp - 0x3c], str.Inno_Setup:_Icon_Group
mov dword [ebp - 0x38], str.DisplayName
mov dword [ebp - 0x20], str.Publisher
mov dword [ebp - 0x28], str.URLInfoAbout
mov dword [ebp - 0x24], str.URLUpdateInfo
push 0
lea ecx, [ebp - 0x34]
call fcn.00430200
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
call fcn.00478ba0
mov ecx, eax
call fcn.00414060
mov dword [ebp - 0x40], 0
jmp 0x4ac591
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x34]
call fcn.004b9730
cmp dword [ebp - 0x40], eax
jg 0x4acc4f
mov edx, dword [ebp - 0x40]
neg edx
sbb edx, edx
add edx, 0x80000002
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x40], 0
jne 0x4ac5fc
mov eax, dword [0x63e870]
push eax
lea ecx, [ebp - 0x18e4]
call fcn.004b3550
mov dword [ebp - 0x1920], eax
mov ecx, dword [ebp - 0x1920]
mov dword [ebp - 0x1924], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1918]
or edx, 1
mov dword [ebp - 0x1918], edx
mov eax, dword [ebp - 0x1924]
mov dword [ebp - 0x1928], eax
jmp 0x4ac611
mov ecx, dword [ebp - 0x40]
sub ecx, 1
push ecx
lea ecx, [ebp - 0x34]
call fcn.00430700
mov dword [ebp - 0x1928], eax
mov edx, dword [ebp - 0x1928]
mov dword [ebp - 0x18d8], edx
mov eax, dword [ebp - 0x18d8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004b34d0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x1918]
and ecx, 1
je 0x4ac650
and dword [ebp - 0x1918], 0xfffffffe
lea ecx, [ebp - 0x18e4]
call fcn.004b3860
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x4c]
call fcn.004b3b40
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x4c]
call fcn.004553f0
push eax
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4acc3e
mov dword [ebp - 0x860], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x860]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x860]
jae 0x4acc34
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x192c], ecx
push 0x800
lea edx, [ebp - 0x85c]
push edx
mov eax, dword [ebp - 0x192c]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x864], eax
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x864], 0
jne 0x4acc21
lea eax, [ebp - 0x868]
push eax
lea ecx, [ebp - 0x85c]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4acc1f
lea ecx, [ebp - 0x1080]
call fcn.004324c0
mov byte [ebp - 4], 4
mov dword [ebp - 0x1084], 0
jmp 0x4ac74d
mov eax, dword [ebp - 0x1084]
add eax, 1
mov dword [ebp - 0x1084], eax
cmp dword [ebp - 0x1084], 4
jae 0x4ac93a
mov dword [ebp - 0x1088], 0x800
lea ecx, [ebp - 0x1088]
push ecx
lea edx, [ebp - 0x106c]
push edx
push 0
push 0
mov eax, dword [ebp - 0x1084]
mov ecx, dword [ebp + eax*4 - 0x1c]
push ecx
mov edx, dword [ebp - 0x868]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ac935
cmp dword [ebp - 0x1084], 0
jne 0x4ac7ca
push 0x2c
lea eax, [ebp - 0x106c]
push eax
call fcn.00404aa0
add esp, 8
mov dword [ebp - 0x108c], eax
cmp dword [ebp - 0x108c], 0
je 0x4ac7ca
xor ecx, ecx
mov edx, dword [ebp - 0x108c]
mov word [edx], cx
push 0x3a
lea eax, [ebp - 0x106c]
push eax
call fcn.00404ac0
add esp, 8
test eax, eax
jne 0x4ac7ee
mov dword [ebp - 0x1090], 0
jmp 0x4ac935
push 0x7e
lea ecx, [ebp - 0x106c]
push ecx
call fcn.00404ac0
add esp, 8
test eax, eax
je 0x4ac837
lea edx, [ebp - 0x106c]
push edx
push 0x400
lea eax, [ebp - 0x189c]
push eax
call fcn.0054d766
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x106c]
push ecx
lea edx, [ebp - 0x189c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x106c]
push eax
lea ecx, [ebp - 0x18f0]
call fcn.004b3550
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18f0]
push ecx
mov edx, dword [ebp - 0x191c]
mov ecx, dword [edx + 4]
call fcn.0041b840
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18f0]
call fcn.004b3860
lea eax, [ebp - 0x106c]
push eax
lea ecx, [ebp - 0x109c]
call fcn.004b3550
mov byte [ebp - 4], 6
push 0x5fc5a0
lea ecx, [ebp - 0x109c]
call fcn.004b4780
movzx ecx, al
test ecx, ecx
jne 0x4ac8eb
lea edx, [ebp - 0x109c]
push edx
lea eax, [ebp - 0x18fc]
push eax
call fcn.004131c0
add esp, 8
mov dword [ebp - 0x1930], eax
mov ecx, dword [ebp - 0x1930]
mov dword [ebp - 0x1934], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x1934]
push edx
lea ecx, [ebp - 0x109c]
call fcn.004b3890
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18fc]
call fcn.004b3860
push str.msiexec
lea ecx, [ebp - 0x109c]
call fcn.004b6880
lea ecx, [ebp - 0x109c]
push ecx
lea ecx, [ebp - 0x107c]
call fcn.00432690
movzx edx, al
test edx, edx
jne 0x4ac926
lea eax, [ebp - 0x109c]
push eax
lea ecx, [ebp - 0x107c]
call fcn.00432550
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x109c]
call fcn.004b3860
jmp 0x4ac73e
mov dword [ebp - 0x18a0], 0
jmp 0x4ac955
mov ecx, dword [ebp - 0x18a0]
add ecx, 1
mov dword [ebp - 0x18a0], ecx
cmp dword [ebp - 0x18a0], 2
jae 0x4aca06
mov dword [ebp - 0x18a4], 0x800
lea edx, [ebp - 0x18a4]
push edx
lea eax, [ebp - 0x106c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x18a0]
mov edx, dword [ebp + ecx*4 - 0x3c]
push edx
mov eax, dword [ebp - 0x868]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4aca01
push 0x5fc5bc
lea ecx, [ebp - 0x106c]
push ecx
call fcn.004acc80
add esp, 8
mov dword [ebp - 0x18a8], eax
cmp dword [ebp - 0x18a8], 0
je 0x4ac9c7
mov dword [ebp - 0x18a8], 0
lea edx, [ebp - 0x106c]
push edx
lea ecx, [ebp - 0x1908]
call fcn.004b3550
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1908]
push eax
mov ecx, dword [ebp - 0x191c]
mov ecx, dword [ecx + 4]
call fcn.0041b730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1908]
call fcn.004b3860
jmp 0x4ac946
mov dword [ebp - 0x18ac], 0
jmp 0x4aca21
mov edx, dword [ebp - 0x18ac]
add edx, 1
mov dword [ebp - 0x18ac], edx
cmp dword [ebp - 0x18ac], 1
jae 0x4acad2
mov dword [ebp - 0x18b0], 0x800
lea eax, [ebp - 0x18b0]
push eax
lea ecx, [ebp - 0x106c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x18ac]
mov eax, dword [ebp + edx*4 - 0x20]
push eax
mov ecx, dword [ebp - 0x868]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4acacd
push 0x5fc5bc
lea edx, [ebp - 0x106c]
push edx
call fcn.004acc80
add esp, 8
mov dword [ebp - 0x18b4], eax
cmp dword [ebp - 0x18b4], 0
je 0x4aca93
mov dword [ebp - 0x18b4], 0
lea eax, [ebp - 0x106c]
push eax
lea ecx, [ebp - 0x1914]
call fcn.004b3550
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1914]
push ecx
mov edx, dword [ebp - 0x191c]
mov ecx, dword [edx + 4]
call fcn.0041b700
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1914]
call fcn.004b3860
jmp 0x4aca12
lea ecx, [ebp - 0x107c]
call fcn.004c3bf0
test eax, eax
jle 0x4acc03
mov dword [ebp - 0x18b8], 0
jmp 0x4acb00
mov eax, dword [ebp - 0x18b8]
add eax, 1
mov dword [ebp - 0x18b8], eax
cmp dword [ebp - 0x18b8], 2
jae 0x4acc03
mov dword [ebp - 0x18bc], 0x800
lea ecx, [ebp - 0x18bc]
push ecx
lea edx, [ebp - 0x106c]
push edx
push 0
push 0
mov eax, dword [ebp - 0x18b8]
mov ecx, dword [ebp + eax*4 - 0x28]
push ecx
mov edx, dword [ebp - 0x868]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4acbfe
lea eax, [ebp - 0x106c]
push eax
lea ecx, [ebp - 0x18d4]
call fcn.004b3550
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1080]
call fcn.00432770
push eax
lea ecx, [ebp - 0x18c8]
call fcn.00432930
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18c8]
call fcn.004b9730
mov dword [ebp - 0x1938], eax
mov ecx, dword [ebp - 0x1938]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1938]
mov eax, dword [edx]
call eax
movzx ecx, al
test ecx, ecx
je 0x4acbe0
lea ecx, [ebp - 0x18c8]
call fcn.004b9730
mov dword [ebp - 0x193c], eax
lea edx, [ebp - 0x18d4]
push edx
mov eax, dword [ebp - 0x193c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x193c]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, dword [ebp - 0x191c]
mov ecx, dword [ecx + 4]
call fcn.0041bcd0
jmp 0x4acb7a
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18c8]
call fcn.00432970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18d4]
call fcn.004b3860
jmp 0x4acaf1
mov edx, dword [ebp - 0x868]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1080]
call fcn.00432520
jmp 0x4acc2f
cmp dword [ebp - 0x864], 0x103
jne 0x4acc2f
jmp 0x4acc34
jmp 0x4ac6b2
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004b3860
jmp 0x4ac588
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00430250
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret