Function at 0x4014e0
Capabilities:
Get installed programs
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417786
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x41d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14c], eax
xor ecx, ecx
mov ebx, 7
xor edi, edi
push 0xb
mov eax, str.DisplayIcon
lea esi, [ebp - 0x128]
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x118], edi
mov word [ebp - 0x128], cx
call fcn.00402a70
mov dword [ebp - 4], edi
xor edx, edx
push edi
mov eax, 0x41b49c
lea esi, [ebp - 0x10c]
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xfc], edi
mov word [ebp - 0x10c], dx
call fcn.00402a70
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0xf0], ax
push 0xb
mov eax, str.DisplayName
lea esi, [ebp - 0xf0]
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xe0], edi
call fcn.00402a70
mov byte [ebp - 4], 2
xor ecx, ecx
push 8
mov eax, 0x41b4b8
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xc4], edi
mov word [ebp - 0xd4], cx
call fcn.00402a70
mov byte [ebp - 4], 3
xor edx, edx
push 0xe
mov eax, str.DisplayVersion
lea esi, [ebp - 0xb8]
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], edi
mov word [ebp - 0xb8], dx
call fcn.00402a70
mov byte [ebp - 4], 4
xor eax, eax
mov word [ebp - 0x9c], ax
push edi
mov eax, 0x41b49c
lea esi, [ebp - 0x9c]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], edi
call fcn.00402a70
mov byte [ebp - 4], 5
xor ecx, ecx
push 9
mov eax, str.Publisher
lea esi, [ebp - 0x80]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], cx
call fcn.00402a70
mov byte [ebp - 4], 6
xor edx, edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
push edi
mov eax, 0x41b49c
lea esi, [ebp - 0x64]
call fcn.00402a70
mov byte [ebp - 4], bl
xor eax, eax
mov word [ebp - 0x48], ax
push 0xf
mov eax, str.UninstallString
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
call fcn.00402a70
mov byte [ebp - 4], 8
xor ecx, ecx
push edi
mov eax, 0x41b49c
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
call fcn.00402a70
mov edx, dword [ebp - 0x14c]
push str.07073Login.exe
push edx
lea eax, [ebp - 0x144]
push eax
mov dword [ebp - 4], 9
call fcn.004022d0
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x10c]
mov byte [ebp - 4], 0xa
call fcn.00402260
mov byte [ebp - 4], 9
cmp dword [ebp - 0x130], 8
jb 0x4016e4
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.004092a2
add esp, 4
mov edx, dword [ebp - 0x14c]
push str.Uninstall.exe
push edx
lea eax, [ebp - 0x144]
push eax
call fcn.004022d0
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.00402260
mov byte [ebp - 4], 9
cmp dword [ebp - 0x130], 8
jb 0x401729
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.004092a2
add esp, 4
lea eax, [ebp - 0x64]
xor edx, edx
push eax
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x134], 0
mov word [ebp - 0x144], dx
call fcn.00401380
add esp, 4
push 0
lea ecx, [ebp - 0x148]
push ecx
push 0
push 2
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall07073Login
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4017d3
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea esi, [ebp - 0x114]
lea ebx, [eax + 5]
lea ebx, [ebx]
cmp dword [esi + 0x1c], 8
mov edx, dword [esi + 0x18]
jb 0x40179e
mov ecx, dword [esi + 8]
jmp 0x4017a1
lea ecx, [esi + 8]
cmp dword [esi], 8
jb 0x4017ab
mov eax, dword [esi - 0x14]
jmp 0x4017ae
lea eax, [esi - 0x14]
add edx, edx
push edx
push ecx
push 1
push 0
push eax
mov eax, dword [ebp - 0x148]
push eax
call edi
add esi, 0x38
dec ebx
jne 0x401790
mov ecx, dword [ebp - 0x148]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x401810
push 5
push 0x38
lea edx, [ebp - 0x128]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.0040987f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040905b
mov esp, ebp
pop ebp
ret