Function at 0x14002fd80
Capabilities:
Check if file exists
Delete registry value
Get file attributes
Persist via run registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rbx, qword [rbp + 0x210]
lea rax, str.chrome.exe
mov r13, rcx
mov qword [rsp + 0x48], r8
xor ecx, ecx
mov qword [rsp + 0x38], r9
mov dword [rsp + 0x30], ecx
lea r8, [rbp + 0x60]
mov r15, qword [r9]
mov edi, ecx
mov qword [rbp + 0x60], rax
mov rsi, rdx
mov qword [rbp + 0x68], 0xa
lea r14d, [rcx + 0x11]
movaps xmm0, xmmword [rbp + 0x60]
lea rcx, [rdx + 8]
lea rdx, [rbp + 0xc0]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], r15
movdqa xmmword [rbp + 0x60], xmm0
call fcn.14005add0
lea edx, [r14 + 0x19]
lea rcx, str..._.._chrome_installer_setup_uninstall.cc
call fcn.140067ff0
cmp eax, 1
jl 0x14002fe83
or r9d, 0xffffffff
lea rdx, str..._.._chrome_installer_setup_uninstall.cc
mov r8d, 0x32a
lea rcx, [rsp + 0x58]
call fcn.1400681c0
mov r8, qword [r15]
lea rdx, [rbp + 0x80]
mov rcx, r15
mov rbx, rax
call qword [r8 + 0x10]
lea rcx, [rbx + 8]
mov rdi, rax
lea rdx, str.UninstallProduct:
call fcn.14002bcb4
cmp qword [rdi + 0x18], 8
jb 0x14002fe6e
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.140068e50
mov rbx, qword [rsp + 0x40]
mov edi, 3
test dil, 2
je 0x14002fe96
and edi, 0xfffffffd
lea rcx, [rsp + 0x58]
call fcn.140068220
test dil, 1
je 0x14002feb0
and edi, 0xfffffffe
lea rcx, [rbp + 0x80]
xor r8d, r8d
mov dl, 1
call fcn.140029bc0
mov r12b, byte [rbp + 0x200]
xor eax, eax
cmp byte [rbp + 0x208], al
je 0x14002fecb
call fcn.14002d1c4
jmp 0x1400300a8
mov rcx, rsi
call fcn.14002e21c
mov r14d, eax
add eax, 0xffffffef
cmp eax, 1
ja 0x14003079c
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x80]
call fcn.14009c5a0
test r12b, r12b
je 0x140030097
mov rax, qword [0x14017c010]
lea rdx, [rbp + 0x80]
mov r9d, 2
mov rcx, qword [rax + 8]
mov r8, qword [rcx + 0x10]
lea rcx, [rbp + 0xc0]
call fcn.14009a07c
test al, al
je 0x140030097
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x140030097
lea rdx, str.run_as_admin
mov rcx, rbx
call fcn.140060790
test al, al
jne 0x140030097
lea rcx, [rbp + 0x100]
call fcn.14005faf0
mov r8b, 1
lea rcx, [rbp + 0x100]
mov rdx, rbx
call fcn.140061730
xor ebx, ebx
mov qword [rbp + 0x78], 0xf
lea rdx, str.run_as_admin
mov qword [rbp + 0x70], rbx
lea rcx, [rbp + 0x60]
mov byte [rbp + 0x60], bl
lea r8d, [rbx + 0xc]
call fcn.14002a1a4
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x100]
call fcn.140060cd0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14002ffc0
mov rcx, qword [rbp + 0x60]
lea r8d, [rbx + 1]
inc rdx
call fcn.1400223b0
mov r8d, 0x1a
mov qword [rbp + 0x78], 0xf
lea rdx, str.remove_chrome_registration
mov qword [rbp + 0x70], rbx
lea rcx, [rbp + 0x60]
mov byte [rbp + 0x60], bl
call fcn.14002a1a4
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x100]
call fcn.140060cd0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140030011
mov rcx, qword [rbp + 0x60]
inc rdx
mov r8d, 1
call fcn.1400223b0
cmp qword [rbp + 0x90], rbx
je 0x140030072
mov r8d, 0x1e
mov qword [rbp + 0x78], 0xf
lea rdx, str.register_chrome_browser_suffix
mov qword [rbp + 0x70], rbx
lea rcx, [rbp + 0x60]
mov byte [rbp + 0x60], bl
call fcn.14002a1a4
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x100]
call fcn.140060d90
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140030072
mov rcx, qword [rbp + 0x60]
inc rdx
mov r8d, 1
call fcn.1400223b0
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x16
lea rcx, [rbp + 0x100]
call fcn.14009e6e0
lea rcx, [rbp + 0x100]
call fcn.14005fe00
xor r8d, r8d
lea rcx, [rbp + 0x80]
mov dl, 1
call fcn.140029bc0
call fcn.14002cea4
lea rcx, [rbp + 0x80]
call fcn.1400a73e4
mov rbx, rax
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionRun
xor eax, eax
lea rcx, [rbp + 0x60]
mov rdx, 0xffffffff80000001
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x68], eax
mov qword [rbp + 0x70], rax
lea r9d, [rax + 2]
call fcn.14005d650
cmp qword [rbx + 0x18], 8
jb 0x1400300ee
mov rbx, qword [rbx]
mov rcx, qword [rbp + 0x60]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rcx, [rbp + 0x60]
call fcn.14005d610
xor r8d, r8d
lea rcx, [rbp + 0x80]
mov dl, 1
call fcn.140029bc0
mov rcx, qword [rsp + 0x40]
lea rdx, str.self_destruct
call fcn.140060790
test al, al
je 0x140030274
cmp dword [rsi + 0x6c], 2
je 0x140030274
lea rax, str.chrome.exe
mov qword [rbp + 0x68], 0xa
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x100]
movaps xmm0, xmmword [rbp + 0x60]
mov dl, 1
movdqa xmmword [rbp + 0x60], xmm0
call fcn.1400a3fe0
mov rcx, rax
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x80]
call fcn.14005add0
lea rcx, [rbp + 0x100]
call fcn.1400599c0
lea rbx, str..._.._chrome_installer_setup_uninstall.cc
mov edx, 0x2a
mov rcx, rbx
call fcn.140067ff0
cmp eax, 1
jl 0x1400301c4
or r9d, 0xffffffff
lea rcx, [rsp + 0x58]
mov r8d, 0x362
mov rdx, rbx
or edi, 4
call fcn.1400681c0
lea rdx, str.Retargeting_user_generated_Chrome_shortcuts.
lea rcx, [rax + 8]
call fcn.14002bcb4
test dil, 4
je 0x1400301d7
and edi, 0xfffffffb
lea rcx, [rsp + 0x58]
call fcn.140068220
cmp qword [rbp + 0x98], 8
lea rcx, [rbp + 0x80]
cmovae rcx, qword [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140030219
mov rbx, qword [rsp + 0x38]
lea r9, [rbp + 0x80]
mov rdx, rbx
lea r8, [rbp + 0xc0]
mov rcx, rsi
call fcn.14002d29c
jmp 0x140030266
cmp dword [0x14017c080], 2
jg 0x14003024e
mov r9d, 2
lea rcx, [rsp + 0x58]
mov r8d, 0x367
mov rdx, rbx
or edi, 8
call fcn.1400681c0
lea rdx, str.Retarget_failed:_system_level_Chrome_not_found.
lea rcx, [rax + 8]
call fcn.14002bcb4
test dil, 8
je 0x140030261
and edi, 0xfffffff7
lea rcx, [rsp + 0x58]
call fcn.140068220
mov rbx, qword [rsp + 0x38]
lea rcx, [rbp + 0x80]
call fcn.1400599c0
jmp 0x140030279
mov rbx, qword [rsp + 0x38]
lea r8, [rbp + 0xc0]
mov rdx, rbx
mov rcx, rsi
call fcn.14002d4e4
mov rbx, qword [rsi + 0x70]
lea rdx, [rbp + 0x160]
mov rax, qword [r15]
mov r8, rbx
mov rcx, r15
call qword [rax + 0x48]
lea rcx, [rbp + 0x100]
call fcn.140047f48
mov rdx, rax
mov r8d, 0x200
mov rcx, rbx
call fcn.14009f128
xor r8d, r8d
lea rcx, [rbp + 0x100]
mov dl, 1
call fcn.140029bc0
mov rcx, qword [r15 + 8]
lea rdx, [rbp + 0x80]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r8d, 0x200
lea rdx, [rbp + 0x80]
mov rcx, rbx
call fcn.14009f128
xor r8d, r8d
lea rcx, [rbp + 0x80]
mov dl, 1
call fcn.140029bc0
cmp dword [rsi + 0x6c], 2
mov rbx, qword [rsp + 0x38]
sete dl
mov rcx, rbx
call fcn.1400a1434
lea rdx, [rbp + 0xc0]
mov dword [rsp + 0x30], 0x16
lea rcx, [rbp + 0x140]
call fcn.14009c5a0
lea rax, [rsp + 0x30]
mov r8, 0xffffffff80000001
lea r9, [rbp + 0x140]
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.14002f16c
xor eax, eax
cmp qword [rbp + 0x150], rax
je 0x1400304c3
mov qword [rbp + 0x90], rax
lea r9, [rbp + 0x80]
mov word [rbp + 0x80], ax
mov r8, 0xffffffff80000001
lea rax, [rsp + 0x30]
mov qword [rbp + 0x98], 7
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14002f16c
xor r8d, r8d
lea rcx, [rbp + 0x80]
mov dl, 1
call fcn.140029bc0
xor eax, eax
mov qword [rbp + 0x78], 7
lea rcx, [rbp + 0x60]
mov qword [rbp + 0x70], rax
mov word [rbp + 0x60], ax
call fcn.14009d964
test al, al
je 0x1400303ff
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x140]
call fcn.14002be8c
test al, al
jne 0x1400303ff
lea rax, [rsp + 0x30]
mov r8, 0xffffffff80000001
lea r9, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.14002f16c
cmp dword [rsi + 0x6c], 2
je 0x140030436
test r12b, r12b
je 0x140030456
mov rax, qword [0x14017c010]
lea rdx, [rbp + 0x140]
mov r9d, 2
mov rcx, qword [rax + 8]
mov r8, qword [rcx + 0x10]
lea rcx, [rbp + 0xc0]
call fcn.14009a07c
test al, al
je 0x140030456
lea rax, [rsp + 0x30]
mov r8, 0xffffffff80000002
lea r9, [rbp + 0x140]
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.14002f16c
mov rdx, rbx
mov rcx, rsi
call fcn.14002cd74
mov rcx, rsi
call fcn.14002eba8
lea r8, [rbp + 0xc0]
mov rdx, r15
lea rcx, [rsp + 0x38]
call fcn.1400a7928
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14003049d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
call fcn.14002eeb0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x8000000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
xor r8d, r8d
lea rcx, [rbp + 0x60]
mov dl, 1
call fcn.140029bc0
cmp dword [rsi + 0x6c], 2
lea rax, [r13 + 0xf0]
cmove r13, rax
mov rax, qword [r13 + 0x20]
neg rax
sbb r15, r15
and r15, r13
call fcn.140038be8
xor r13d, r13d
test r12b, r12b
je 0x140030559
cmp dword [rsi + 0x6c], 2
jne 0x140030559
lea r8d, [r13 + 0x30]
mov qword [rbp + 0x78], 7
lea rdx, str.SoftwareMicrosoftMediaPlayerShimInclusionList
mov qword [rbp + 0x70], r13
lea rcx, [rbp + 0x60]
mov word [rbp + 0x60], r13w
call fcn.140029c40
lea edx, [r13 + 0x5c]
lea rcx, [rbp + 0x60]
call fcn.140030a7c
lea r8d, [r13 + 0xa]
lea rdx, str.chrome.exe
lea rcx, [rbp + 0x60]
call fcn.140029e90
xor r8d, r8d
lea rdx, [rbp + 0x60]
mov rcx, 0xffffffff80000002
call fcn.14009f128
xor r8d, r8d
lea rcx, [rbp + 0x60]
mov dl, 1
call fcn.140029bc0
cmp r14d, 0x12
je 0x140030577
mov rcx, qword [rsp + 0x40]
lea rdx, str.delete_profile
call fcn.140060790
mov bl, r13b
test al, al
je 0x140030579
mov bl, 1
mov r12d, 0x13
mov qword [rbp + 0x70], r13
lea rdx, [rbp + 0x60]
mov word [rbp + 0x60], r13w
mov ecx, 0x3ea
lea r14d, [r12 - 0xc]
mov qword [rbp + 0x78], r14
call fcn.140064a20
mov qword [rbp + 0xb8], r14
mov qword [rbp + 0xb0], r13
mov word [rbp + 0xa0], r13w
test al, al
je 0x1400305c9
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.140029ff0
lea rcx, [rbp + 0x60]
call fcn.1400599c0
mov qword [rbp + 0xf8], r14
mov r14d, 0x14
mov qword [rbp + 0xf0], r13
mov word [rbp + 0xe0], r13w
cmp qword [rbp + 0xb0], r13
je 0x140030627
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x100]
call fcn.14002d808
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.140059a60
lea rcx, [rbp + 0x100]
call fcn.1400599c0
jmp 0x140030679
cmp dword [0x14017c080], 2
jg 0x140030660
mov r9d, 2
lea rdx, str..._.._chrome_installer_setup_uninstall.cc
mov r8d, 0x3e7
lea rcx, [rsp + 0x58]
or edi, 0x10
call fcn.1400681c0
lea rdx, str.Could_not_retrieve_the_users_profile_directory.
lea rcx, [rax + 8]
call fcn.14002bcb4
test dil, 0x10
je 0x140030673
and edi, 0xffffffef
lea rcx, [rsp + 0x58]
call fcn.140068220
mov r12d, r14d
mov bl, r13b
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0x100]
call fcn.14004e3a0
mov rdx, rax
mov rcx, rsi
call fcn.14002def4
lea rcx, [rbp + 0x100]
mov esi, eax
call fcn.1400599c0
cmp esi, 2
je 0x1400306b7
cmp esi, 3
mov r14d, r12d
mov eax, 0x1d
cmove r14d, eax
test bl, bl
je 0x1400306cc
lea rcx, [rbp + 0xa0]
call fcn.14002d910
call fcn.14002ef58
cmp byte [rbp + 0x208], r13b
jne 0x14003074b
test r15, r15
je 0x14003074b
mov edx, 0x2a
lea rcx, str..._.._chrome_installer_setup_uninstall.cc
call fcn.140067ff0
cmp eax, 1
jl 0x14003071e
or r9d, 0xffffffff
lea rdx, str..._.._chrome_installer_setup_uninstall.cc
mov r8d, 0x3f9
lea rcx, [rsp + 0x58]
or edi, 0x20
call fcn.1400681c0
lea rdx, str.Uninstallation_complete._Launching_post_uninstall_operations.
lea rcx, [rax + 8]
call fcn.14002bcb4
test dil, 0x20
je 0x14003072e
lea rcx, [rsp + 0x58]
call fcn.140068220
mov rcx, qword [rsp + 0x50]
lea r9, [rbp + 0x160]
mov rdx, qword [r15 + 0x20]
lea r8, [rbp + 0xe0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [rbp + 0xf0], r13
je 0x140030762
xor edx, edx
lea rcx, [rbp + 0xe0]
call fcn.14004e490
lea rcx, [rbp + 0xe0]
call fcn.1400599c0
lea rcx, [rbp + 0xa0]
call fcn.1400599c0
xor r8d, r8d
lea rcx, [rbp + 0x140]
mov dl, 1
call fcn.140029bc0
xor r8d, r8d
lea rcx, [rbp + 0x160]
mov dl, 1
call fcn.140029bc0
lea rcx, [rbp + 0xc0]
call fcn.1400599c0
mov eax, r14d
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140111850
add rsp, 0x298
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret