Function at 0x411590
Capabilities:
Get installed programs

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4493fb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4890
call fcn.00434bf0
mov eax, dword [0x460cd0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push str.__searchCI2Uninstall___is_started
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1028]
push eax
call fcn.00410920
mov byte [ebp - 4], 1
mov byte [ebp - 0x4849], bl
mov byte [ebp - 0x484a], bl
mov dword [ebp - 0x4850], ebx
mov dword [ebp - 0x4858], ebx
mov dword [ebp - 0x4854], ebx
lea ecx, [ebp - 0x4848]
push ecx
call fcn.00416720
mov byte [ebp - 4], 2
mov dword [ebp - 0x4878], ebx
mov dword [ebp - 0x4874], ebx
mov dword [ebp - 0x4870], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x4888], ebx
mov dword [ebp - 0x4884], ebx
mov dword [ebp - 0x4880], ebx
mov byte [ebp - 4], 4
push 0x800
push ebx
lea edx, [ebp - 0x818]
push edx
call fcn.00430500
add esp, 0xc
push 0x3ff
push str.SOFTWARE
push 0x400
lea eax, [ebp - 0x818]
push eax
call fcn.0042f011
push 0x3ff
push 0x44e838
push 0x400
lea ecx, [ebp - 0x818]
push ecx
call fcn.0042f0da
add esp, 0x20
mov eax, esi
lea ecx, [ebp - 0x818]
call fcn.00402960
push 0x80000002
lea ebx, [ebp - 0x818]
lea eax, [ebp - 0x1028]
call fcn.0041ad10
test eax, eax
je 0x4116eb
push str.Registry_Init_Error
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
mov dword [ebp - 0x486c], 0
push 0x459a68
lea edx, [ebp - 0x486c]
push edx
call fcn.00430c48
lea eax, [ebp - 0x4858]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x411718
push str.cannot_Open_microsoft_key...
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
lea ecx, [ebp - 0x487c]
push ecx
xor edx, edx
mov ecx, dword [ebp - 0x1028]
call fcn.00416500
add esp, 4
test eax, eax
je 0x411760
push str.CI2_MS_Registry_Enum_Error
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
mov dword [ebp - 0x4868], 0
push 0x459a68
lea edx, [ebp - 0x4868]
push edx
call fcn.00430c48
lea esi, [ebp - 0x4860]
lea edi, [ebp - 0x487c]
call fcn.0040a410
lea esi, [ebp - 0x489c]
lea edi, [ebp - 0x487c]
call fcn.0040a430
mov esi, eax
lea edi, [ebp - 0x4860]
call fcn.0040a3f0
test al, al
je 0x411b6b
push 0x381c
push 0
lea eax, [ebp - 0x4848]
push eax
call fcn.00430500
add esp, 0xc
lea eax, [ebp - 0x488c]
call fcn.0040a1c0
mov dword [ebp - 0x4850], 0
mov esi, edi
call fcn.004058f0
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x4117d8
mov eax, dword [eax + 4]
jmp 0x4117db
add eax, 4
lea ecx, [ebp - 0x4850]
push ecx
push eax
mov edx, dword [ebp - 0x1028]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x41181c
push str.__s__dont_have_registry_file...
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
lea edi, [ebp - 0x4894]
lea esi, [ebp - 0x4860]
call fcn.004166f0
jmp 0x411771
lea eax, [ebp - 0x488c]
push eax
mov edx, str.InstalledItems
mov ecx, dword [ebp - 0x4850]
call fcn.00416500
add esp, 4
test eax, eax
jne 0x411b55
lea ecx, [ebp - 0x488c]
call fcn.0040a930
test eax, eax
seta bl
mov byte [ebp - 0x484a], bl
push 1
push 0x800
lea ecx, [ebp - 0x3048]
push ecx
push str.Dest_Dir
mov edx, dword [ebp - 0x4850]
push edx
mov edx, str.Installed
call fcn.0041ad70
add esp, 0x14
test eax, eax
je 0x411895
push 0x800
push 0
lea eax, [ebp - 0x3048]
push eax
call fcn.00430500
add esp, 0xc
push 1
push 0x800
lea ecx, [ebp - 0x3848]
push ecx
push str.Uninstall
mov edx, dword [ebp - 0x4850]
push edx
mov edx, str.Installed
call fcn.0041ad70
add esp, 0x14
test eax, eax
jne 0x4118c9
mov byte [ebp - 0x4849], 1
jmp 0x41193a
push 1
push 0x800
lea eax, [ebp - 0x3848]
push eax
push str.Dest_Dir
mov ecx, dword [ebp - 0x4850]
push ecx
mov edx, str.Installed
call fcn.0041ad70
add esp, 0x14
test eax, eax
jne 0x41191b
push 0x3ff
push str.InstallSetup.exe__D
push 0x400
lea edx, [ebp - 0x3848]
push edx
call fcn.0042f0da
add esp, 0x10
mov byte [ebp - 0x4849], 1
jmp 0x41193a
push str.__s__dont_have_uninstall_command...
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
cmp byte [ebp - 0x4849], 0
je 0x411b55
test bl, bl
je 0x411b55
lea eax, [ebp - 0x3848]
call fcn.00405910
test al, al
je 0x411b55
lea esi, [ebp - 0x4860]
call fcn.004058f0
cmp dword [eax + 0x18], edi
jb 0x41196a
mov eax, dword [eax + 4]
jmp 0x41196d
add eax, 4
push 0x3ff
push eax
push 0x400
lea eax, [ebp - 0x4848]
push eax
call fcn.0042f011
add esp, 0x10
lea esi, [ebp - 0x4860]
call fcn.004058f0
cmp dword [eax + 0x18], edi
jb 0x41199c
mov eax, dword [eax + 4]
jmp 0x41199f
add eax, 4
push 1
push 0x800
lea ecx, [ebp - 0x2848]
push ecx
push str.DisplayIcon
mov edx, dword [ebp - 0x4858]
push edx
mov edx, eax
call fcn.0041ad70
add esp, 0x14
test eax, eax
je 0x4119dd
push 0x800
push 0
lea eax, [ebp - 0x2848]
push eax
call fcn.00430500
add esp, 0xc
lea edi, [ebp - 0x2848]
lea esi, [ebp - 0x1040]
call fcn.00414560
lea esi, [ebp - 0x4860]
call fcn.004058f0
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x411a08
mov edx, dword [eax + 4]
jmp 0x411a0b
lea edx, [eax + 4]
push 1
push 0x800
lea ecx, [ebp - 0x4048]
push ecx
push str.DisplayName
mov eax, dword [ebp - 0x4858]
push eax
call fcn.0041ad70
add esp, 0x14
test eax, eax
je 0x411a63
lea esi, [ebp - 0x4860]
call fcn.004058f0
cmp dword [eax + 0x18], edi
jb 0x411a46
mov eax, dword [eax + 4]
jmp 0x411a49
add eax, 4
push 0x3ff
push eax
push 0x400
lea ecx, [ebp - 0x4048]
push ecx
call fcn.0042f011
add esp, 0x10
lea edx, [ebp - 0x4048]
push edx
push 0xc7
lea eax, [ebp - 0x4864]
push eax
call fcn.00418df0
add esp, 0xc
mov byte [ebp - 4], 5
mov eax, dword [eax]
push 0x3ff
push eax
push 0x400
lea ecx, [ebp - 0x2048]
push ecx
call fcn.0042f011
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4864]
call fcn.004036b0
mov byte [ebp - 0x1048], 0
lea edx, [ebp - 0x4854]
push edx
push str.InstalledItems
mov eax, dword [ebp - 0x4850]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x411b02
push 1
lea ecx, [ebp - 0x484a]
push ecx
lea ecx, [ebp - 0x4848]
mov edx, dword [ebp - 0x4854]
call fcn.00413210
mov edx, dword [ebp - 0x4854]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x4854], 0
mov dword [ebp - 0x1044], 2
lea eax, [ebp - 0x3848]
call fcn.00405910
test al, al
je 0x411b3c
lea eax, [ebp - 0x4848]
call fcn.0040f770
lea edi, [ebp - 0x4894]
lea esi, [ebp - 0x4860]
call fcn.004166f0
jmp 0x411771
lea eax, [ebp - 0x3848]
push eax
push str.__s__is_invalid_command....
mov ecx, 0x466338
call fcn.0041a690
add esp, 8
lea edi, [ebp - 0x4894]
lea esi, [ebp - 0x4860]
call fcn.004166f0
jmp 0x411771
mov eax, dword [ebp - 0x4858]
xor ebx, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x411b86
push eax
call esi
mov dword [ebp - 0x4858], ebx
mov eax, dword [ebp - 0x4850]
cmp eax, ebx
je 0x411b99
push eax
call esi
mov dword [ebp - 0x4850], ebx
mov eax, dword [ebp - 0x4854]
cmp eax, ebx
je 0x411bac
push eax
call esi
mov dword [ebp - 0x4854], ebx
mov byte [ebp - 4], 3
lea esi, [ebp - 0x488c]
call fcn.0040a8f0
mov byte [ebp - 4], 2
lea esi, [ebp - 0x487c]
call fcn.0040a8f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4848]
push ecx
call fcn.004099e0
mov byte [ebp - 4], bl
lea edx, [ebp - 0x1028]
push edx
call fcn.00410980
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042f002
mov esp, ebp
pop ebp
ret