Function at 0x1800221f4
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x120
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
mov rax, qword [0x1801563c0]
xor rax, rsp
mov qword [rsp + 0x110], rax
lea rdx, str._CEntryInstaller::UninstallEntries__
lea rcx, [0x18015f578]
call fcn.1800098e8
lea rdi, [0x180162138]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, 1
mov dword [0x18016211c], ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rdx, [0x18016211c]
lea r13, [0x180162940]
mov rcx, r13
call fcn.180005644
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [0x180162118], ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rdx, [0x180162118]
mov rcx, r13
call fcn.180005644
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [0x180162114], ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rdx, [0x180162114]
mov rcx, r13
call fcn.180005644
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [0x180162110], ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rdx, [0x180162110]
mov rcx, r13
call fcn.180005644
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [0x18016210c], ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rdx, [0x18016210c]
mov rcx, r13
call fcn.180005644
lea r11, [rsp + 0x58]
mov qword [rsp + 0x20], r11
mov r9d, 0x2001b
xor r8d, r8d
lea rdx, str.SOFTWARESpeedbitSBUpdate
mov r14, 0xffffffff80000001
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
cmp eax, edi
jne 0x18002239a
lea rdx, [0x18010dc3c]
lea rcx, [rsp + 0x88]
call fcn.1800041c0
xor r9d, r9d
mov r8, rax
mov rdx, qword [rsp + 0x58]
lea rcx, [0x180163340]
call fcn.18000b3b4
lea rdx, [0x18010e0a8]
lea rcx, [rsp + 0x80]
call fcn.1800041c0
xor r9d, r9d
mov r8, rax
mov rdx, qword [rsp + 0x58]
lea rcx, [0x180163340]
call fcn.18000b3b4
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [0x18015f6e0], rdi
lea rdx, [rsp + 0x68]
mov rcx, r13
call fcn.18001b638
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
lea rcx, [0x18015f6e0]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov r11, qword [rsp + 0x68]
add r11, 0xfffffffffffffff4
lea rbp, [0x18015f758]
cmp r11, rbp
je 0x180022423
or eax, 0xffffffff
lock xadd dword [r11], eax
dec eax
cmp eax, edi
jg 0x180022423
mov rcx, qword [rsp + 0x68]
add rcx, 0xfffffffffffffff4
call fcn.1800d1434
mov rcx, rdi
lea rax, str.GlobalSBWPROCEXIT
movzx eax, word [rcx + rax]
mov word [rsp + rcx + 0x90], ax
add rcx, 2
cmp ax, di
jne 0x180022426
lea r8, [rsp + 0x90]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rbx, rax
cmp rax, rdi
je 0x180022471
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
lea edx, [r8 + 4]
lea rbx, vtable.CEntryInstaller.0
mov rcx, rbx
call fcn.18002341c
mov r11, qword [0x18015f768]
mov qword [rsp + 0x50], r11
lea rcx, [rsp + 0x50]
call fcn.18001bf24
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1800225c4
cmp eax, edi
je 0x1800224c2
xor edx, edx
mov rcx, rbx
call fcn.180023a28
xor edx, edx
mov rcx, rbx
call fcn.180023aec
lea rcx, [rsp + 0x50]
call fcn.18001bf24
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180022dac
cmp eax, edi
je 0x1800224ff
lea rdx, str.Uninsalling_Chrome_Entries...
lea rcx, [0x18015f578]
call fcn.1800098e8
xor r8d, r8d
lea edx, [r8 + 4]
mov rcx, rbx
call fcn.1800235bc
lea rcx, [rsp + 0x50]
call fcn.18001bf24
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180022ac4
lea rcx, [rsp + 0x50]
call fcn.18001bf24
mov rcx, qword [0x18015f6e0]
cmp rcx, rdi
je 0x180022532
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x60]
mov rcx, r13
call fcn.18001b638
mov rdx, qword [rax]
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov r11, qword [rsp + 0x60]
add r11, 0xfffffffffffffff4
cmp r11, rbp
je 0x180022576
or eax, 0xffffffff
lock xadd dword [r11], eax
dec eax
cmp eax, edi
jg 0x180022576
mov rcx, qword [rsp + 0x60]
add rcx, 0xfffffffffffffff4
call fcn.1800d1434
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff4
cmp rcx, rbp
je 0x180022596
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, edi
jg 0x180022596
call fcn.1800d1434
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1800d12b0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r13, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret