Function at 0x411c30
Capabilities:
Get installed programs

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449396
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x5ab8
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.__searchCI3Uninstall___is_started
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x5a50]
push eax
call fcn.00410920
mov byte [ebp - 4], 1
mov byte [ebp - 0x5a51], bl
mov byte [ebp - 0x5a52], bl
mov dword [ebp - 0x5a58], ebx
mov dword [ebp - 0x5a5c], ebx
mov dword [ebp - 0x5a6c], ebx
lea ecx, [ebp - 0x5240]
push ecx
call fcn.00416720
mov byte [ebp - 4], 2
mov dword [ebp - 0x5aa0], ebx
mov dword [ebp - 0x5a9c], ebx
mov dword [ebp - 0x5a98], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x5a80], ebx
mov dword [ebp - 0x5a7c], ebx
mov dword [ebp - 0x5a78], ebx
mov byte [ebp - 4], 4
push 0x3ff
push str.SOFTWARE
push 0x400
lea edx, [ebp - 0xa20]
push edx
call fcn.0042f011
push 0x3ff
push 0x44e838
push 0x400
lea eax, [ebp - 0xa20]
push eax
call fcn.0042f0da
add esp, 0x20
mov eax, esi
lea ecx, [ebp - 0xa20]
call fcn.00402960
push 0x80000002
lea ebx, [ebp - 0xa20]
lea eax, [ebp - 0x5a50]
call fcn.0041ad10
test eax, eax
je 0x411d76
push str.Registry_Init_Error
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
mov dword [ebp - 0x5a90], 0
push 0x459a68
lea ecx, [ebp - 0x5a90]
push ecx
call fcn.00430c48
lea edx, [ebp - 0x5a5c]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x411dbe
push str.cannot_Open_microsoft_key...
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
mov dword [ebp - 0x5a94], 0
push 0x459a68
lea eax, [ebp - 0x5a94]
push eax
call fcn.00430c48
lea ecx, [ebp - 0x5aa4]
push ecx
xor edx, edx
mov ecx, dword [ebp - 0x5a50]
call fcn.00416500
add esp, 4
test eax, eax
je 0x411e06
push str.CI3_Registry_Enum_Error
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
mov dword [ebp - 0x5a88], 0
push 0x459a68
lea edx, [ebp - 0x5a88]
push edx
call fcn.00430c48
lea esi, [ebp - 0x5a68]
lea edi, [ebp - 0x5aa4]
call fcn.0040a410
mov ebx, 8
lea esp, [esp]
lea esi, [ebp - 0x5ac8]
lea edi, [ebp - 0x5aa4]
call fcn.0040a430
mov esi, eax
lea edi, [ebp - 0x5a68]
call fcn.0040a3f0
test al, al
je 0x41255f
push 0x381c
push 0
lea eax, [ebp - 0x5240]
push eax
call fcn.00430500
add esp, 0xc
mov dword [ebp - 0x5a58], 0
lea eax, [ebp - 0x5a84]
call fcn.0040a1c0
mov esi, edi
call fcn.004058f0
cmp dword [eax + 0x18], ebx
jb 0x411e82
mov eax, dword [eax + 4]
jmp 0x411e85
add eax, 4
push 1
push 0x800
lea ecx, [ebp - 0x4240]
push ecx
push str.UninstallString
mov edx, dword [ebp - 0x5a5c]
push edx
mov edx, eax
call fcn.0041ad70
add esp, 0x14
test eax, eax
jne 0x412549
lea eax, [ebp - 0x4240]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411ec0
sub eax, edx
sar eax, 1
je 0x412549
lea eax, [ebp - 0x4240]
call fcn.00405910
test al, al
je 0x412549
lea esi, [ebp - 0x5a68]
call fcn.004058f0
cmp dword [eax + 0x18], ebx
jb 0x411efd
mov eax, dword [eax + 4]
jmp 0x411f00
add eax, 4
lea ecx, [ebp - 0x5a58]
push ecx
push eax
mov edx, dword [ebp - 0x5a50]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x411f41
push str.__s__dont_have_registry_file...
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
lea edi, [ebp - 0x5ab0]
lea esi, [ebp - 0x5a68]
call fcn.004166f0
jmp 0x411e20
mov edx, str.InstallComponents
mov ecx, dword [ebp - 0x5a58]
call fcn.0041b370
test al, al
je 0x411f5c
mov byte [ebp - 0x5a51], 1
lea eax, [ebp - 0x5a84]
push eax
mov edx, str.InstallComponents
mov ecx, dword [ebp - 0x5a58]
call fcn.00416500
add esp, 4
test eax, eax
jne 0x41218e
lea esi, [ebp - 0x5a74]
lea edi, [ebp - 0x5a84]
call fcn.0040a410
nop
lea esi, [ebp - 0x5ab8]
lea edi, [ebp - 0x5a84]
call fcn.0040a430
mov esi, eax
lea edi, [ebp - 0x5a74]
call fcn.0040a3f0
test al, al
je 0x41208f
push 0x800
push 0
lea ecx, [ebp - 0x1220]
push ecx
call fcn.00430500
add esp, 0xc
push 0x3ff
push str.InstallComponents
push 0x400
lea edx, [ebp - 0x1220]
push edx
call fcn.0042f011
push 0x3ff
push 0x44e838
push 0x400
lea eax, [ebp - 0x1220]
push eax
call fcn.0042f0da
add esp, 0x20
mov esi, edi
call fcn.004058f0
cmp dword [eax + 0x18], ebx
jb 0x412016
mov eax, dword [eax + 4]
jmp 0x412019
add eax, 4
lea ecx, [ebp - 0x1220]
call fcn.00402960
lea esi, [ebp - 0x5a74]
call fcn.004058f0
cmp dword [eax + 0x18], ebx
jb 0x412039
mov eax, dword [eax + 4]
jmp 0x41203c
add eax, 4
mov ecx, eax
mov eax, str.InstallOrder
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x412069
test dx, dx
je 0x412065
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x412069
add eax, 4
add ecx, 4
test dx, dx
jne 0x412043
xor eax, eax
jmp 0x41206e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x412079
mov byte [ebp - 0x5a52], 1
lea edi, [ebp - 0x5ac0]
lea esi, [ebp - 0x5a74]
call fcn.004166f0
jmp 0x411f90
mov bl, byte [ebp - 0x5a52]
lea ecx, [ebp - 0x5a84]
call fcn.0040a930
test bl, bl
je 0x4120a7
sub eax, 1
test eax, eax
jle 0x41218e
mov byte [ebp - 0x5a51], 1
test bl, bl
je 0x412544
push 1
push 0x800
lea ecx, [ebp - 0x3a40]
push ecx
push str.Dest_Dir
mov edx, dword [ebp - 0x5a58]
push edx
mov edx, str.InstallSetupProgram
call fcn.0041ad70
add esp, 0x14
test eax, eax
jne 0x41219a
lea ecx, [ebp - 0x5a60]
call fcn.00403710
mov byte [ebp - 4], 5
lea eax, [ebp - 0x3a40]
push eax
lea ecx, [ebp - 0x5a60]
call fcn.00403610
lea ecx, [ebp - 0x1a20]
call fcn.00414670
mov ecx, str._PROGRAM_FILES_DIR_
lea esi, [ebp - 0x5a60]
call fcn.00402590
cmp eax, 0xffffffff
jle 0x412142
lea ecx, [ebp - 0x1a20]
push ecx
push str._PROGRAM_FILES_DIR_
mov edx, esi
push edx
call fcn.00402370
push 0x3ff
mov eax, dword [ebp - 0x5a60]
push eax
push 0x400
lea ecx, [ebp - 0x3a40]
push ecx
call fcn.0042f011
push 0x3ff
push str.Setup
push 0x400
lea edx, [ebp - 0x3a40]
push edx
call fcn.0042f0da
add esp, 0x20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5a60]
call fcn.004036b0
jmp 0x4121c2
mov byte [ebp - 0x5a51], 0
jmp 0x412544
push 0x800
push 0
lea eax, [ebp - 0x3a40]
push eax
call fcn.00430500
add esp, 0xc
push str.data.szunInstCmdDir_is_empty
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
mov ecx, 0x44f0cc
lea eax, [ebp - 0x3a40]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4121f6
test dx, dx
je 0x4121f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4121f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4121d0
xor eax, eax
jmp 0x4121fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x412301
push 0x103
lea ecx, [ebp - 0x3a40]
push ecx
push 0x104
lea edx, [ebp - 0x220]
push edx
call fcn.0042f011
push 0x103
push str.Setup_binMainInst.exe__s_D
push 0x104
lea eax, [ebp - 0x220]
push eax
call fcn.0042f0da
add esp, 0x20
lea eax, [ebp - 0x220]
call fcn.00405910
test al, al
je 0x41228e
push 0x3ff
lea ecx, [ebp - 0x220]
push ecx
push 0x400
lea edx, [ebp - 0x4240]
push edx
call fcn.0042f011
add esp, 0x10
lea esi, [ebp - 0x5a68]
call fcn.004058f0
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x412318
mov eax, dword [eax + 4]
jmp 0x41231b
push 0x208
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.00430500
add esp, 0xc
push 0x103
lea ecx, [ebp - 0x3a40]
push ecx
push 0x104
lea edx, [ebp - 0x220]
push edx
call fcn.0042f011
push 0x103
push str._setup.exe__s__D
push 0x104
lea eax, [ebp - 0x220]
push eax
call fcn.0042f0da
push 0x3ff
lea ecx, [ebp - 0x220]
push ecx
push 0x400
lea edx, [ebp - 0x4240]
push edx
call fcn.0042f011
add esp, 0x30
jmp 0x41226d
push str.__s__dont_have_uninstall_command...
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
jmp 0x412544
add eax, 4
push 0x3ff
push eax
push 0x400
lea eax, [ebp - 0x5240]
push eax
call fcn.0042f011
add esp, 0x10
lea esi, [ebp - 0x5a68]
call fcn.004058f0
cmp dword [eax + 0x18], edi
jb 0x41234a
mov eax, dword [eax + 4]
jmp 0x41234d
add eax, 4
push 1
push 0x800
lea ecx, [ebp - 0x3240]
push ecx
push str.DisplayIcon
mov edx, dword [ebp - 0x5a5c]
push edx
mov edx, eax
call fcn.0041ad70
add esp, 0x14
test eax, eax
je 0x41238b
push 0x800
push 0
lea eax, [ebp - 0x3240]
push eax
call fcn.00430500
add esp, 0xc
lea edi, [ebp - 0x3240]
lea esi, [ebp - 0x1a38]
call fcn.00414560
lea esi, [ebp - 0x5a68]
call fcn.004058f0
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x4123b6
mov edx, dword [eax + 4]
jmp 0x4123b9
lea edx, [eax + 4]
push 1
push 0x800
lea ecx, [ebp - 0x4a40]
push ecx
push str.DisplayName
mov eax, dword [ebp - 0x5a5c]
push eax
call fcn.0041ad70
add esp, 0x14
test eax, eax
je 0x412411
lea esi, [ebp - 0x5a68]
call fcn.004058f0
cmp dword [eax + 0x18], edi
jb 0x4123f4
mov eax, dword [eax + 4]
jmp 0x4123f7
add eax, 4
push 0x3ff
push eax
push 0x400
lea ecx, [ebp - 0x4a40]
push ecx
call fcn.0042f011
add esp, 0x10
lea edx, [ebp - 0x4a40]
push edx
push 0xc7
lea eax, [ebp - 0x5a8c]
push eax
call fcn.00418df0
add esp, 0xc
mov byte [ebp - 4], 6
mov eax, dword [eax]
push 0x3ff
push eax
push 0x400
lea ecx, [ebp - 0x2a40]
push ecx
call fcn.0042f011
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5a8c]
call fcn.004036b0
mov byte [ebp - 0x1a40], 0
lea esi, [ebp - 0x5a68]
call fcn.004058f0
cmp dword [eax + 0x18], edi
jb 0x412477
mov eax, dword [eax + 4]
jmp 0x41247a
add eax, 4
push 1
push 0x800
lea edx, [ebp - 0x2240]
push edx
push str.DisplayVersion
mov ecx, dword [ebp - 0x5a5c]
push ecx
mov edx, eax
call fcn.0041ad70
add esp, 0x14
test eax, eax
je 0x4124b8
push 0x800
push 0
lea edx, [ebp - 0x2240]
push edx
call fcn.00430500
add esp, 0xc
lea eax, [ebp - 0x5a6c]
push eax
push str.InstallComponents
mov ecx, dword [ebp - 0x5a58]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x412505
push eax
lea edx, [ebp - 0x5a51]
push edx
lea ecx, [ebp - 0x5240]
mov edx, dword [ebp - 0x5a6c]
call fcn.00413210
mov eax, dword [ebp - 0x5a58]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x5a58], 0
mov dword [ebp - 0x1a3c], 1
lea eax, [ebp - 0x4240]
call fcn.00405910
test al, al
je 0x41252b
lea eax, [ebp - 0x5240]
call fcn.0040f770
jmp 0x412544
lea ecx, [ebp - 0x4240]
push ecx
push str.__s__is_invalid_command...
mov ecx, 0x466338
call fcn.0041a690
add esp, 8
mov ebx, 8
lea edi, [ebp - 0x5ab0]
lea esi, [ebp - 0x5a68]
call fcn.004166f0
jmp 0x411e20
mov edx, dword [ebp - 0x5a5c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x5a5c], ebx
mov byte [ebp - 4], 3
lea esi, [ebp - 0x5a84]
call fcn.0040a8f0
mov byte [ebp - 4], 2
lea esi, [ebp - 0x5aa4]
call fcn.0040a8f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x5240]
push eax
call fcn.004099e0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x5a50]
push ecx
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