Function at 0x1001e5cb
Capabilities:
Get installed programs

Disassembly:
push ebp
sub esp, 0x288
lea ebp, [esp - 4]
mov eax, dword [0x10081730]
xor eax, ebp
mov dword [ebp + 0x288], eax
push 0x58
mov eax, 0x1005c061
call fcn.10031c17
mov ecx, dword [ebp + 0x294]
xor ebx, ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
call fcn.10001dc7
push 0x1a
mov dword [ebp - 0x14], esi
pop ecx
mov esi, str.SoftWareMicrosoftWindowsCurrentVersionUninstall_
lea edi, [ebp + 0x21c]
rep movsd dword es:[edi], dword [esi]
push 0x1fe
lea eax, [ebp + 0x1e]
push ebx
push eax
movsw word es:[edi], word [esi]
mov word [ebp + 0x1c], bx
call fcn.10031d30
add esp, 0xc
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], 7
call fcn.100011bf
xor edi, edi
inc edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.1000770e
mov dword [ebp - 0x2c], eax
call fcn.100082d0
cmp dword [ebp + 0x2b4], edi
mov dword [ebp - 0x28], eax
mov byte [ebp - 0xd], 1
jne 0x1001e859
cmp eax, 0x3d
je 0x1001e67b
cmp eax, 0x3e
jne 0x1001e9aa
push 0x200
lea eax, [ebp + 0x1c]
push ebx
push eax
call fcn.10031d30
add esp, 0xc
push ebx
push 0x10070c94
lea ecx, [ebp + 0x298]
call fcn.10006efd
mov esi, eax
cmp esi, 0xffffffff
je 0x1001e6e4
push esi
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 0x298]
call fcn.100071df
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 3
call fcn.10001537
push ebx
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.1000131a
inc esi
push esi
push ebx
lea ecx, [ebp + 0x298]
call fcn.10001365
jmp 0x1001e704
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x298]
push eax
lea ecx, [ebp]
call fcn.10001537
lea ecx, [ebp + 0x298]
call fcn.1000939a
mov byte [ebp - 0xd], bl
lea eax, [ebp]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10007674
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.1000131a
lea eax, [ebp + 0x21c]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.1003405d
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
pop ecx
pop ecx
jae 0x1001e73b
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.10034033
pop ecx
pop ecx
lea eax, [ebp - 0x24]
push eax
push 0x20019
push ebx
lea eax, [ebp + 0x1c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001e772
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1001e83a
cmp dword [ebp - 0x2c], edi
jle 0x1001e817
cmp dword [ebp - 0x28], 0x3e
je 0x1001e78b
cmp dword [ebp - 0x28], 0x3d
jne 0x1001e817
push str.KB837009
lea ecx, [ebp - 0x48]
call fcn.10001681
push 2
pop esi
or dword [ebp - 0x14], esi
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 4
call fcn.1000707e
cmp al, 1
pop ecx
pop ecx
je 0x1001e7e3
push str.KB887219
lea ecx, [ebp - 0x64]
call fcn.10001681
or dword [ebp - 0x14], 4
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 4], 5
call fcn.1000707e
cmp al, 1
pop ecx
pop ecx
mov byte [ebp - 0x15], bl
jne 0x1001e7e7
mov byte [ebp - 0x15], 1
test byte [ebp - 0x14], 4
je 0x1001e7fb
and dword [ebp - 0x14], 0xfffffffb
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.1000131a
test byte [ebp - 0x14], 2
mov dword [ebp - 4], esi
je 0x1001e812
and dword [ebp - 0x14], 0xfffffffd
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.1000131a
cmp byte [ebp - 0x15], bl
jne 0x1001e83a
push dword [ebp - 0x20]
lea eax, [ebp]
push str._02d_
push eax
call fcn.10007397
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea eax, [ebp]
push eax
call fcn.100049b8
inc dword [ebp - 0x20]
cmp byte [ebp - 0xd], bl
jne 0x1001e67b
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x14]
cmp eax, ebx
jbe 0x1001e9aa
jmp 0x1001e9a2
push 0x200
lea eax, [ebp + 0x1c]
push ebx
push eax
call fcn.10031d30
add esp, 0xc
push ebx
push 0x10070c94
lea ecx, [ebp + 0x298]
call fcn.10006efd
mov esi, eax
cmp esi, 0xffffffff
je 0x1001e8c2
push esi
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 0x298]
call fcn.100071df
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 6
call fcn.10001537
push ebx
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.1000131a
inc esi
push esi
push ebx
lea ecx, [ebp + 0x298]
call fcn.10001365
jmp 0x1001e8e2
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x298]
push eax
lea ecx, [ebp]
call fcn.10001537
lea ecx, [ebp + 0x298]
call fcn.1000939a
mov byte [ebp - 0xd], bl
lea eax, [ebp]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10007674
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.1000131a
lea eax, [ebp + 0x21c]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.1003405d
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
pop ecx
pop ecx
jae 0x1001e919
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.10034033
pop ecx
pop ecx
lea eax, [ebp - 0x24]
push eax
push 0x20019
push ebx
lea eax, [ebp + 0x1c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001e95f
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1001e957
lea eax, [ebp + 4]
push eax
push str._s:Y_
jmp 0x1001e971
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1001e96b
lea eax, [ebp + 4]
push eax
push str._s:N_
lea eax, [ebp]
push eax
call fcn.10007397
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea eax, [ebp]
push eax
call fcn.100049b8
cmp byte [ebp - 0xd], bl
jne 0x1001e859
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
cmp eax, ebx
jbe 0x1001e9aa
mov ecx, dword [ebp - 0x1c]
push edi
dec eax
push eax
call fcn.10001365
push ebx
push edi
lea ecx, [ebp]
call fcn.1000131a
push ebx
push edi
lea ecx, [ebp + 0x298]
call fcn.1000131a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x288]
xor ecx, ebp
call fcn.10031c08
add ebp, 0x28c
leave
ret