Function at 0x40ef64
Capabilities:
Get installed programs

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 8
call fcn.0044bfef
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x487330
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.0044bfef
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x487330
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.0044cf30
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f010
push ebx
call fcn.0044bffb
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xff
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0xc]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40f052
push 0x59
push 0x408a20d
push 6
call fcn.0044bff5
add esp, 0xc
mov dword [ebp - 0x2c], esp
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
xor eax, eax
call dword [0x549fc0]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40f087
push 0xca
push 0x408a20d
push 6
call fcn.0044bff5
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40f927
mov dword [ebp - 8], 0xff
mov dword [ebp - 0x2c], esp
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
xor eax, eax
call dword [0x549fc0]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40f0d0
push 0x16c
push 0x408a20d
push 6
call fcn.0044bff5
add esp, 0xc
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov ecx, 2
call fcn.00404877
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f0ff
push ebx
call fcn.0044bffb
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x14]
push str.DisplayIcon
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00404877
add esp, 8
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push SysStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40f137
mov eax, 0x48732c
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.0044f500
add esp, 0x28
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f169
push ebx
call fcn.0044bffb
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40f17d
push ebx
call fcn.0044bffb
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push SysStringLen
push 0
push str..KB
push SysStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40f1b2
mov eax, 0x48732c
push eax
push 4
mov ebx, 0x148
call fcn.0044d7e0
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x40f1d7
jmp 0x40f910
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push SysStringLen
push 0
push 0x492590
push SysStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40f208
mov eax, 0x48732c
push eax
push 4
mov ebx, 0x148
call fcn.0044d7e0
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x40f22d
jmp 0x40f910
push str.UninstallString
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00404877
add esp, 8
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push SysStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40f25e
mov eax, 0x48732c
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.0044f500
add esp, 0x28
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f290
push ebx
call fcn.0044bffb
add esp, 4
push SysStringLen
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40f2a3
mov eax, 0x48732c
push eax
push 1
mov ebx, 0x174
call fcn.0044c750
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40f2c9
push ebx
call fcn.0044bffb
add esp, 4
push 0x48732c
push dword [ebp - 0x34]
call fcn.0040476c
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f2f7
push ebx
call fcn.0044bffb
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x40f910
push str.DisplayName
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00404877
add esp, 8
mov dword [ebp - 0x2c], eax
push SysStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40f32c
mov eax, 0x48732c
push eax
push 0x80000301
push 0
push 4
push 2
mov ebx, 0x6ac
call fcn.0044f690
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f35e
push ebx
call fcn.0044bffb
add esp, 4
cmp dword [ebp - 0x30], 1
jne 0x40f90b
push str.DisplayName
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00404877
add esp, 8
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push SysStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40f399
mov eax, 0x48732c
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.0044f500
add esp, 0x28
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f3cb
push ebx
call fcn.0044bffb
add esp, 4
push SysStringLen
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40f3de
mov eax, 0x48732c
push eax
push 1
mov ebx, 0x174
call fcn.0044c750
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40f404
push ebx
call fcn.0044bffb
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f418
push ebx
call fcn.0044bffb
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push str.DisplayVersion
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00404877
add esp, 8
mov dword [ebp - 0x2c], eax
push SysStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40f447
mov eax, 0x48732c
push eax
push 0x80000301
push 0
push 4
push 2
mov ebx, 0x6ac
call fcn.0044f690
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f479
push ebx
call fcn.0044bffb
add esp, 4
cmp dword [ebp - 0x30], 1
jne 0x40f60e
push str.DisplayName
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00404877
add esp, 8
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push SysStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40f4b4
mov eax, 0x48732c
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.0044f500
add esp, 0x28
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f4e6
push ebx
call fcn.0044bffb
add esp, 4
push SysStringLen
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40f4f9
mov eax, 0x48732c
push eax
push 1
mov ebx, 0x174
call fcn.0044c750
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40f51f
push ebx
call fcn.0044bffb
add esp, 4
push str.DisplayVersion
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00404877
add esp, 8
mov dword [ebp - 0x38], eax
push 0
push 0
push 0
push SysStringLen
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40f550
mov eax, 0x48732c
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.0044f500
add esp, 0x28
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40f582
push ebx
call fcn.0044bffb
add esp, 4
push SysStringLen
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x40f595
mov eax, 0x48732c
push eax
push 1
mov ebx, 0x174
call fcn.0044c750
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40f5bb
push ebx
call fcn.0044bffb
add esp, 4
push dword [ebp - 0x40]
push 0x487328
push dword [ebp - 0x34]
mov ecx, 3
call fcn.00404877
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f5e6
push ebx
call fcn.0044bffb
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40f5f6
push ebx
call fcn.0044bffb
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f60a
push ebx
call fcn.0044bffb
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0
mov ebx, 0x350
call fcn.0044cbc0
add esp, 4
cmp dword [ebp + 8], 1
jne 0x40f737
push 0xa0000101
push 0
push 0x4925c8
push 1
mov ebx, 0x168
call fcn.0044d0a0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040fa9c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f683
push ebx
call fcn.0044bffb
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
jne 0x40f6f4
push 0xa0000101
push 0
push 0x4925d4
push 1
mov ebx, 0x168
call fcn.0044d0a0
add esp, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040fa9c
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40f6e6
push ebx
call fcn.0044bffb
add esp, 4
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x40f6f4
xor eax, eax
jmp 0x40f6f9
mov eax, 1
test eax, eax
je 0x40f737
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40f72d
push 0x7a8
push 0x408a20d
push 6
call fcn.0044bff5
add esp, 0xc
mov eax, 0x4925e0
jmp 0x40f9c9
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, str.Microsoft
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040fa9c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f777
push ebx
call fcn.0044bffb
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x40f786
jmp 0x40f90b
lea eax, [ebp - 0x24]
push eax
push 4
mov eax, 2
call fcn.0044c580
add esp, 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x30], ebx
call fcn.00402358
mov dword [ebp - 0x34], ecx
mov edi, dword [ebp - 0x30]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x40f7c9
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x34]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x30]
call fcn.0044c001
add esp, 8
mov dword [ebp - 0x24], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x34]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x2c]
push edi
test eax, eax
je 0x40f80c
push eax
mov ebx, eax
call fcn.0040480c
inc eax
push eax
call fcn.0044bfef
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
push str.Publisher
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00404877
add esp, 8
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push SysStringLen
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40f840
mov eax, 0x48732c
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.0044f500
add esp, 0x28
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f872
push ebx
call fcn.0044bffb
add esp, 4
lea eax, [ebp - 0x28]
push eax
push 4
mov eax, 2
call fcn.0044c580
add esp, 8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ebx
call fcn.00402358
mov dword [ebp - 0x3c], ecx
mov edi, dword [ebp - 0x38]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x40f8b5
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x3c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x38]
call fcn.0044c001
add esp, 8
mov dword [ebp - 0x28], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x3c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x34]
push edi
test eax, eax
je 0x40f8f8
push eax
mov ebx, eax
call fcn.0040480c
inc eax
push eax
call fcn.0044bfef
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40f90b
push ebx
call fcn.0044bffb
add esp, 4
jmp 0x40f910
push 0
mov ebx, 0x350
call fcn.0044cbc0
add esp, 4
jmp 0x40f08a
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40f953
push 0x95b
push 0x408a20d
push 6
call fcn.0044bff5
add esp, 0xc
cmp dword [ebp + 8], 1
jne 0x40f962
jmp 0x40f9bf
push 0xa0000004
push 0
push dword [ebp - 0x28]
push 0xa0000004
push 0
push dword [ebp - 0x24]
push SysStringLen
push 0
push str.SoftList
push 3
mov ebx, 0
mov eax, 0x457f98
call fcn.0044c620
add esp, 0x28
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 0x549c48
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f9bf
push ebx
call fcn.0044bffb
add esp, 4
mov eax, 0x492608
jmp 0x40f9c9
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f9da
push ebx
call fcn.0044bffb
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f9ea
push ebx
call fcn.0044bffb
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40f9fa
push ebx
call fcn.0044bffb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40fa0a
push ebx
call fcn.0044bffb
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40fa28
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40fa24
imul eax, dword [ebx]
jmp 0x40fa19
mov ecx, eax
test ecx, ecx
je 0x40fa47
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40fa40
push ebx
push eax
call fcn.0044bffb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40fa2e
call fcn.0044bffb
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40fa6d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40fa69
imul eax, dword [ebx]
jmp 0x40fa5e
mov ecx, eax
test ecx, ecx
je 0x40fa8c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40fa85
push ebx
push eax
call fcn.0044bffb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40fa73
call fcn.0044bffb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8