Function at 0x493010
Capabilities:
Get installed programs

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510476
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x572bb0]
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]
mov dword [ebp - 4], 0
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push SysReAllocString
mov dword [ebp - 0x814], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4930ac
mov esi, dword [ebp - 0x814]
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x824], esi
jmp 0x493109
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x824]
call fcn.0047c920
test eax, eax
je 0x493103
push 1
push str.SoftwareWow6432NodeMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x824]
call fcn.0047c920
test eax, eax
je 0x493103
mov ecx, ebx
call fcn.00492e80
mov eax, dword [ebp - 0x824]
test eax, eax
je 0x493272
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x493272
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.004ef3a0
add esp, 0xc
mov dword [ebp - 0x814], 0x400
lea ecx, [ebp - 0x818]
push 0x54eaa4
call fcn.00471bb0
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x810]
push eax
push str.Version
lea ecx, [ebp - 0x824]
call fcn.0047c990
test eax, eax
jne 0x493192
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x493170
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x818]
call fcn.004725a0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4931a7
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 0x493240
mov edx, 0x54eaa4
mov ecx, eax
mov di, word [ecx]
cmp di, word [edx]
jne 0x4931ee
test di, di
je 0x4931ea
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x4931ee
add ecx, 4
add edx, 4
test di, di
jne 0x4931c8
xor ecx, ecx
jmp 0x4931f3
sbb ecx, ecx
or ecx, 1
test ecx, ecx
sete cl
test cl, cl
jne 0x49323a
lea ecx, [eax - 0x10]
call fcn.00471fb0
mov byte [ebp - 4], 0
add eax, 0x10
mov edx, dword [ebp - 0x818]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov dword [ebx], eax
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49322d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x493272
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x493272
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call fcn.00492e80
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x818]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49326b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x493272
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.004e94b7
mov esp, ebp
pop ebp
ret