Function at 0x40e97c
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.0044013e
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x4792f0
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.0044013e
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x4792f0
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.00441020
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ea28
push ebx
call fcn.0044014a
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 0x40ea6a
push 0x59
push 0x408a20d
push 6
call fcn.00440144
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 [0x57cb90]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40ea9f
push 0xca
push 0x408a20d
push 6
call fcn.00440144
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40f33f
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 [0x57cb90]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40eae8
push 0x16c
push 0x408a20d
push 6
call fcn.00440144
add esp, 0xc
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov ecx, 2
call fcn.00403bb3
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40eb17
push ebx
call fcn.0044014a
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.00403bb3
add esp, 8
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40eb4f
mov eax, 0x4792ec
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.00442c80
add esp, 0x28
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40eb81
push ebx
call fcn.0044014a
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40eb95
push ebx
call fcn.0044014a
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 0x80000004
push 0
push str..KB
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40ebca
mov eax, 0x4792ec
push eax
push 4
mov ebx, 0x148
call fcn.004418d0
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x40ebef
jmp 0x40f328
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x484548
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40ec20
mov eax, 0x4792ec
push eax
push 4
mov ebx, 0x148
call fcn.004418d0
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x40ec45
jmp 0x40f328
push str.UninstallString
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00403bb3
add esp, 8
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40ec76
mov eax, 0x4792ec
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.00442c80
add esp, 0x28
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40eca8
push ebx
call fcn.0044014a
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40ecbb
mov eax, 0x4792ec
push eax
push 1
mov ebx, 0x174
call fcn.00440840
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ece1
push ebx
call fcn.0044014a
add esp, 4
push 0x4792ec
push dword [ebp - 0x34]
call fcn.00403aa8
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 0x40ed0f
push ebx
call fcn.0044014a
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x40f328
push str.DisplayName
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00403bb3
add esp, 8
mov dword [ebp - 0x2c], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40ed44
mov eax, 0x4792ec
push eax
push 0x80000301
push 0
push 4
push 2
mov ebx, 0x6ac
call fcn.00442e10
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40ed76
push ebx
call fcn.0044014a
add esp, 4
cmp dword [ebp - 0x30], 1
jne 0x40f323
push str.DisplayName
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00403bb3
add esp, 8
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40edb1
mov eax, 0x4792ec
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.00442c80
add esp, 0x28
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40ede3
push ebx
call fcn.0044014a
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40edf6
mov eax, 0x4792ec
push eax
push 1
mov ebx, 0x174
call fcn.00440840
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ee1c
push ebx
call fcn.0044014a
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40ee30
push ebx
call fcn.0044014a
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push str.DisplayVersion
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00403bb3
add esp, 8
mov dword [ebp - 0x2c], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40ee5f
mov eax, 0x4792ec
push eax
push 0x80000301
push 0
push 4
push 2
mov ebx, 0x6ac
call fcn.00442e10
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40ee91
push ebx
call fcn.0044014a
add esp, 4
cmp dword [ebp - 0x30], 1
jne 0x40f026
push str.DisplayName
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00403bb3
add esp, 8
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40eecc
mov eax, 0x4792ec
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.00442c80
add esp, 0x28
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40eefe
push ebx
call fcn.0044014a
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40ef11
mov eax, 0x4792ec
push eax
push 1
mov ebx, 0x174
call fcn.00440840
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ef37
push ebx
call fcn.0044014a
add esp, 4
push str.DisplayVersion
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00403bb3
add esp, 8
mov dword [ebp - 0x38], eax
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40ef68
mov eax, 0x4792ec
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.00442c80
add esp, 0x28
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ef9a
push ebx
call fcn.0044014a
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x40efad
mov eax, 0x4792ec
push eax
push 1
mov ebx, 0x174
call fcn.00440840
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40efd3
push ebx
call fcn.0044014a
add esp, 4
push dword [ebp - 0x40]
push 0x4792e8
push dword [ebp - 0x34]
mov ecx, 3
call fcn.00403bb3
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40effe
push ebx
call fcn.0044014a
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40f00e
push ebx
call fcn.0044014a
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f022
push ebx
call fcn.0044014a
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0
mov ebx, 0x350
call fcn.00440cb0
add esp, 4
cmp dword [ebp + 8], 1
jne 0x40f14f
push 0xa0000101
push 0
push 0x484580
push 1
mov ebx, 0x168
call fcn.00441190
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.0040f4b4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f09b
push ebx
call fcn.0044014a
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
jne 0x40f10c
push 0xa0000101
push 0
push 0x48458c
push 1
mov ebx, 0x168
call fcn.00441190
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.0040f4b4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40f0fe
push ebx
call fcn.0044014a
add esp, 4
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x40f10c
xor eax, eax
jmp 0x40f111
mov eax, 1
test eax, eax
je 0x40f14f
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 0x40f145
push 0x7a8
push 0x408a20d
push 6
call fcn.00440144
add esp, 0xc
mov eax, 0x484598
jmp 0x40f3e1
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.0040f4b4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40f18f
push ebx
call fcn.0044014a
add esp, 4
cmp dword [ebp - 0x38], 0xffffffff
je 0x40f19e
jmp 0x40f323
lea eax, [ebp - 0x24]
push eax
push 4
mov eax, 2
call fcn.00440670
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.00401430
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 0x40f1e1
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.00440150
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 0x40f224
push eax
mov ebx, eax
call fcn.00403b48
inc eax
push eax
call fcn.0044013e
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.00403bb3
add esp, 8
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40f258
mov eax, 0x4792ec
push eax
push 0x80000301
push 0
push 4
push 3
mov ebx, 0x698
call fcn.00442c80
add esp, 0x28
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40f28a
push ebx
call fcn.0044014a
add esp, 4
lea eax, [ebp - 0x28]
push eax
push 4
mov eax, 2
call fcn.00440670
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.00401430
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 0x40f2cd
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.00440150
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 0x40f310
push eax
mov ebx, eax
call fcn.00403b48
inc eax
push eax
call fcn.0044013e
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 0x40f323
push ebx
call fcn.0044014a
add esp, 4
jmp 0x40f328
push 0
mov ebx, 0x350
call fcn.00440cb0
add esp, 4
jmp 0x40eaa2
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 0x40f36b
push 0x95b
push 0x408a20d
push 6
call fcn.00440144
add esp, 0xc
cmp dword [ebp + 8], 1
jne 0x40f37a
jmp 0x40f3d7
push 0xa0000004
push 0
push dword [ebp - 0x28]
push 0xa0000004
push 0
push dword [ebp - 0x24]
push 0x80000004
push 0
push str.SoftList
push 3
mov ebx, 0
mov eax, 0x44a118
call fcn.00440710
add esp, 0x28
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 0x57c7dc
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 0x40f3d7
push ebx
call fcn.0044014a
add esp, 4
mov eax, 0x4845c0
jmp 0x40f3e1
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f3f2
push ebx
call fcn.0044014a
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40f402
push ebx
call fcn.0044014a
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40f412
push ebx
call fcn.0044014a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40f422
push ebx
call fcn.0044014a
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40f440
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40f43c
imul eax, dword [ebx]
jmp 0x40f431
mov ecx, eax
test ecx, ecx
je 0x40f45f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40f458
push ebx
push eax
call fcn.0044014a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40f446
call fcn.0044014a
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40f485
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40f481
imul eax, dword [ebx]
jmp 0x40f476
mov ecx, eax
test ecx, ecx
je 0x40f4a4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40f49d
push ebx
push eax
call fcn.0044014a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40f48b
call fcn.0044014a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8