Function at 0x40fba0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1494]
mov eax, 0x1494
call fcn.0043a7e0
push 0xffffffffffffffff
push 0x45c737
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0x1490], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov esi, 0x40e
xor edi, edi
push esi
mov word [ebp + 0x820], ax
lea eax, [ebp + 0x822]
push edi
push eax
mov dword [ebp - 0x1c], edi
call fcn.0043a190
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x820]
push eax
lea eax, [ebp - 0x24]
push eax
push str.InstallLocation
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push SysReAllocString
mov dword [ebp - 0x20], 0x410
mov dword [ebp - 0x24], 1
call ebx
cmp word [ebp + 0x820], di
je 0x40fd31
xor eax, eax
push 0x44e
mov word [ebp + 0xc30], ax
lea eax, [ebp + 0xc32]
push edi
push eax
call fcn.0043a190
add esp, 0xc
push str.chrome.exe
lea eax, [ebp + 0x820]
push eax
lea eax, [ebp + 0xc30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp + 0xc30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40fd31
lea ecx, [ebp - 0x34]
call fcn.00421bab
xor eax, eax
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.0043a190
add esp, 0xc
push 0x208
lea eax, [ebp]
push eax
lea eax, [ebp + 0xc30]
push eax
lea ecx, [ebp - 0x34]
call fcn.0042224f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc30]
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.0040f8a2
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x28], edi
je 0x40fd25
lea eax, [ebp]
push str.Google_Inc
push eax
call fcn.0043a48a
pop ecx
pop ecx
test eax, eax
jne 0x40fd25
cmp dword [ebp - 0x18], edi
je 0x40fd25
push edi
push 0xa0000
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0040fb7d
add esp, 0x10
test eax, eax
jle 0x40fd25
mov dword [ebp - 0x1c], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00421f2e
xor eax, eax
push esi
mov word [ebp + 0x1080], ax
lea eax, [ebp + 0x1082]
push edi
push eax
call fcn.0043a190
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x1080]
push eax
lea eax, [ebp - 0x24]
push eax
push str.DisplayIcon
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallChromePlus
push SysReAllocString
mov dword [ebp - 0x20], 0x410
call ebx
lea eax, [ebp + 0x1080]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40fe33
lea ecx, [ebp - 0x2c]
call fcn.00421bab
xor eax, eax
push esi
mov word [ebp + 0x410], ax
xor ebx, ebx
lea eax, [ebp + 0x412]
push edi
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0043a190
add esp, 0xc
push 0x208
lea eax, [ebp + 0x410]
push eax
lea eax, [ebp + 0x1080]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042224f
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x1080]
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call fcn.0040f8a2
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp esi, edi
je 0x40fe27
lea eax, [ebp + 0x410]
push str.Beijing_Beijiashidai_Technology_Co.___Ltd
push eax
call fcn.0043a48a
pop ecx
pop ecx
test eax, eax
jne 0x40fe27
cmp dword [ebp - 0x18], edi
je 0x40fe27
push edi
push 0x20000
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0040fb7d
add esp, 0x10
test eax, eax
jle 0x40fe27
mov dword [ebp - 0x1c], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00421f2e
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 + 0x1490]
xor ecx, ebp
call fcn.0043a7c3
add ebp, 0x1494
leave
ret