Function at 0x442420
Capabilities:
Get installed programs

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d886
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x570be0]
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 ebx, ecx
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
lea eax, [ebp - 0x814]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
mov dword [ebp - 4], 0
push SysReAllocString
mov dword [ebp - 0x814], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4424bc
mov esi, dword [ebp - 0x814]
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x824], esi
jmp 0x442519
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x824]
call fcn.0042ad00
test eax, eax
je 0x442513
push 1
push str.SoftwareWow6432NodeMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x824]
call fcn.0042ad00
test eax, eax
je 0x442513
mov ecx, ebx
call fcn.00442290
mov eax, dword [ebp - 0x824]
test eax, eax
je 0x442682
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x442682
mov esi, dword [ebp - 0x824]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.004ecdb0
add esp, 0xc
lea ecx, [ebp - 0x818]
push 0x54ca80
mov dword [ebp - 0x814], 0x400
call fcn.004204a0
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x810]
push eax
push str.Version
lea ecx, [ebp - 0x824]
mov byte [ebp - 4], 1
call fcn.0042ad70
test eax, eax
jne 0x4425a2
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442580
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x818]
call fcn.00420c80
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4425b7
push esi
call edi
xor esi, esi
mov dword [ebp - 0x824], esi
mov eax, dword [ebp - 0x818]
mov dword [ebp - 0x820], 0
cmp dword [eax - 0xc], 0
je 0x442650
mov edx, 0x54ca80
mov ecx, eax
mov di, word [ecx]
cmp di, word [edx]
jne 0x4425fe
test di, di
je 0x4425fa
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x4425fe
add ecx, 4
add edx, 4
test di, di
jne 0x4425d8
xor ecx, ecx
jmp 0x442603
sbb ecx, ecx
or ecx, 1
test ecx, ecx
sete cl
test cl, cl
jne 0x44264a
lea ecx, [eax - 0x10]
call fcn.00420750
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x818]
add eax, 0x10
add edx, 0xfffffff0
mov dword [ebx], eax
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44263d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x442682
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x442682
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call fcn.00442290
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x818]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44267b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x442682
push esi
call edi
mov eax, ebx
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.004e6e0a
mov esp, ebp
pop ebp
ret