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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421b67
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x42e460]
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 dword [ebp - 0x140], 0
mov dword [ebp - 0x128], 0xf
mov dword [ebp - 0x12c], 0
mov byte [ebp - 0x13c], 0
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
push 0x431b30
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0xe8], 7
mov dword [ebp - 0xec], 0
mov word [ebp - 0xfc], ax
call fcn.00401a60
push 0xe
push 0x42a750
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 1
call fcn.00403660
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0x148]
push 0
push eax
push 0
push 0x20206
push 0
push 0
push 0
push str.SOFTWAREGoogleChromeNativeMessagingHosts
push SysReAllocString
call ebx
test eax, eax
jne 0x40879d
push eax
lea eax, [ebp - 0x140]
push eax
push 0
push 0x20206
push 0
push 0
push 0
push str.org.infosoftware.ext_host
push dword [ebp - 0x148]
call ebx
mov eax, dword [ebp - 0xec]
lea ecx, [ebp - 0xfc]
cmp dword [ebp - 0xe8], 8
cmovae ecx, dword [ebp - 0xfc]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push 0
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x140]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x148]
call esi
push 0
lea eax, [ebp - 0x148]
push eax
push 0
push 0x20206
push 0
push 0
push 0
push str.SOFTWAREInfoSoftwareProducts
push SysReAllocString
call ebx
test eax, eax
jne 0x40879d
mov edi, dword [0x4338cc]
xor ecx, ecx
mov dword [ebp - 0x14c], ecx
mov eax, 0x51eb851f
mov ecx, dword [0x4338d0]
sub ecx, edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4084c7
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor esi, esi
lea esp, [esp]
lea eax, [edi + 0x18]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x4083bd
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0x140]
push ecx
push 0
push 0x20206
push 0
push 0
push 0
push eax
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [0x4338cc]
add ecx, esi
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
jb 0x4083f3
mov ecx, dword [ecx]
inc eax
push eax
push ecx
push 1
push 0
push str.name
push dword [ebp - 0x140]
call ebx
mov eax, dword [0x4338cc]
mov edx, dword [esi + eax + 0x40]
lea ecx, [eax + 0x30]
add ecx, esi
cmp dword [ecx + 0x14], 0x10
jb 0x40841d
mov ecx, dword [ecx]
lea eax, [edx + 1]
push eax
push ecx
push 1
push 0
push 0x42a7e0
push dword [ebp - 0x140]
call ebx
mov eax, dword [0x4338cc]
mov edx, dword [esi + eax + 0x58]
lea ecx, [eax + 0x48]
add ecx, esi
cmp dword [ecx + 0x14], 0x10
jb 0x408449
mov ecx, dword [ecx]
lea eax, [edx + 1]
push eax
push ecx
push 1
push 0
push 0x42a7ec
push dword [ebp - 0x140]
call ebx
push 0xc
push str.1508770842
push 1
push 0
push str.timestamp
push dword [ebp - 0x140]
call ebx
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x4338d0]
mov eax, 0x51eb851f
mov edi, dword [0x4338cc]
add esi, 0x64
inc dword [ebp - 0x14c]
sub ecx, edi
imul ecx
mov dword [ebp - 0x140], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x14c], eax
jb 0x4083b0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x34
xor eax, eax
mov dword [ebp - 0xcc], 7
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xd0], 0
mov word [ebp - 0xe0], ax
call fcn.00401d00
push 0xc
push str.InfoSoftware
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 2
call fcn.00403660
cmp dword [ebp - 0xcc], 8
lea ecx, [ebp - 0x144]
push 0
push ecx
push 0
push 0x20206
push 0
push 0
lea eax, [ebp - 0xe0]
cmovae eax, dword [ebp - 0xe0]
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x408769
cmp dword [ebp - 0x144], eax
je 0x408769
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x42a888
lea ecx, [ebp - 0x114]
call fcn.004018a0
mov byte [ebp - 4], 3
movzx eax, word [ebp - 0x11e]
push eax
movzx eax, word [ebp - 0x122]
push eax
movzx eax, word [ebp - 0x124]
push eax
push str._4u_02u_02u
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xe4], 0x1f400
push 0x50
push eax
call fcn.00412008
add esp, 0x18
mov dword [ebp - 0xb4], 7
xor eax, eax
mov dword [ebp - 0xb8], 0
lea ecx, [ebp - 0xc8]
mov word [ebp - 0xc8], ax
push 0xffffffffffffffff
push eax
push 0x431b30
call fcn.00401a60
push 1
push 0x42a438
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 4
call fcn.00403660
push 0xd
push str.Uninstall.exe
lea ecx, [ebp - 0xc8]
call fcn.00403660
mov eax, dword [ebp - 0x104]
lea ecx, [ebp - 0x114]
cmp dword [ebp - 0x100], 8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmovae ecx, dword [ebp - 0x114]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.DisplayName
push dword [ebp - 0x144]
call ebx
push 0x1a
push str.InfoSoftware
push 1
push 0
push str.Publisher
push dword [ebp - 0x144]
call ebx
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xc8]
cmp dword [ebp - 0xb4], 8
cmovae ecx, dword [ebp - 0xc8]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.UninstallString
push dword [ebp - 0x144]
call ebx
push 8
push 0x42a944
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x144]
call ebx
lea ecx, [ebp - 0xb0]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4086b0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0xb0]
push eax
push 1
push 0
push str.InstallDate
push dword [ebp - 0x144]
call ebx
push 4
lea eax, [ebp - 0xe4]
push eax
push 4
push 0
push str.EstimatedSize
push dword [ebp - 0x144]
call ebx
push dword [ebp - 0x144]
call esi
cmp dword [ebp - 0xb4], 8
jb 0x408718
push dword [ebp - 0xc8]
call fcn.00411307
add esp, 4
xor eax, eax
mov dword [ebp - 0xb4], 7
cmp dword [ebp - 0x100], 8
mov dword [ebp - 0xb8], 0
mov word [ebp - 0xc8], ax
jb 0x40874c
push dword [ebp - 0x114]
call fcn.00411307
add esp, 4
xor eax, eax
mov dword [ebp - 0x100], 7
mov dword [ebp - 0x104], 0
mov word [ebp - 0x114], ax
cmp dword [ebp - 0xcc], 8
jb 0x408780
push dword [ebp - 0xe0]
call fcn.00411307
add esp, 4
xor eax, eax
mov dword [ebp - 0xcc], 7
mov dword [ebp - 0xd0], 0
mov word [ebp - 0xe0], ax
cmp dword [ebp - 0xe8], 8
jb 0x4087b4
push dword [ebp - 0xfc]
call fcn.00411307
add esp, 4
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.004112f8
mov esp, ebp
pop ebp
ret