Function at 0x180056418
Capabilities:
Delete registry key

Disassembly:
push rbx
push rbp
push rdi
push r14
sub rsp, 0x48
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rbx, rcx
mov r8, qword [rcx + 0x60]
lea rdx, str.Accepting_changes_on_entry__s...
lea r14, [0x18015f578]
mov rcx, r14
call fcn.1800098e8
mov r11, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r11 + reloc.WS2_32.dll_htonl]
mov r11, qword [0x18015f768]
mov qword [rsp + 0x70], r11
lea rdx, [rsp + 0x30]
lea rcx, [0x180162940]
call fcn.18001b638
nop
mov ecx, dword [rbx + 0x10]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbx + 0xc]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rbx + 8]
mov r8, qword [rax]
lea rdx, str._s_d:_d:_d
lea rcx, [rsp + 0x70]
call fcn.180008f64
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x1800564cc
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
test eax, eax
jg 0x1800564cc
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff4
call fcn.1800d1434
mov rdx, qword [rsp + 0x70]
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rdi, qword [rbx + 0x1188]
cmp dword [rdi - 0xc], 0
jl 0x1800564f7
mov qword [rsp + 0x78], rdi
lock add dword [rdi - 0xc], 1
jmp 0x180056524
mov rax, qword [0x18015f768]
mov qword [rsp + 0x78], rax
test rdi, rdi
jne 0x18005650c
xor eax, eax
jmp 0x180056515
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rdi
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.180003e28
lea rdx, [rsp + 0x78]
lea rcx, [rbx + 0x11a0]
call fcn.180059f40
test eax, eax
je 0x180056593
mov rax, qword [rbx + 0x1188]
mov qword [rsp + 0x20], rax
lea r9, str.CDataChromeStartPageEntity::JSONChanged_:_cannot_open_preferences_file_at_:__s
mov r8d, 0x106
lea rdx, str..DataChromeStartPageEntity.cpp
mov rcx, r14
call fcn.18000b1e8
nop
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x180056589
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
test eax, eax
jg 0x180056589
call fcn.1800d1434
mov eax, 0x80004005
jmp 0x180056768
mov rax, qword [rbx + 0x11c0]
cmp dword [rax - 8], 0
je 0x180056630
mov rdi, rax
cmp dword [rax - 0xc], 0
jl 0x1800565bc
mov qword [rsp + 0x80], rax
lock add dword [rax - 0xc], 1
jmp 0x1800565ef
mov rax, qword [0x18015f768]
mov qword [rsp + 0x80], rax
test rdi, rdi
jne 0x1800565d4
xor eax, eax
jmp 0x1800565dd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rdi
mov edx, eax
lea rcx, [rsp + 0x80]
call fcn.180003e28
lea rdx, [rsp + 0x80]
lea rcx, [rbx + 0x11a0]
call fcn.18005ac50
test eax, eax
je 0x180056630
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.ERROR_ACCEPTING_entry__s_cannot_SetStartPage__err_:__d
mov r8d, 0x10f
lea rdx, str..DataChromeStartPageEntity.cpp
mov rcx, r14
call fcn.18000b1e8
mov edx, dword [rbx + 0x11c8]
lea rcx, [rbx + 0x11a0]
call fcn.18005bfd0
test eax, eax
je 0x18005666f
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.ERROR_ACCEPTING_entry__s_cannot_SetNewTabPage__err_:__d
mov r8d, 0x116
lea rdx, str..DataChromeStartPageEntity.cpp
mov rcx, r14
call fcn.18000b1e8
mov edx, dword [rbx + 0x11cc]
lea rcx, [rbx + 0x11a0]
call fcn.18005c040
test eax, eax
je 0x1800566ae
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.ERROR_installing_entry__s_cannot_SetRestore__err_:__d
mov r8d, 0x11c
lea rdx, str..DataChromeStartPageEntity.cpp
mov rcx, r14
call fcn.18000b1e8
mov rdi, qword [rbx + 0x1188]
cmp dword [rdi - 0xc], 0
jl 0x1800566ca
mov qword [rsp + 0x88], rdi
lock add dword [rdi - 0xc], 1
jmp 0x1800566fd
mov rax, qword [0x18015f768]
mov qword [rsp + 0x88], rax
test rdi, rdi
jne 0x1800566e2
xor eax, eax
jmp 0x1800566eb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rdi
mov edx, eax
lea rcx, [rsp + 0x88]
call fcn.180003e28
lea rdx, [rsp + 0x88]
lea rcx, [rbx + 0x11a0]
call fcn.18005c970
test eax, eax
je 0x18005673f
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.ERROR_installing_entry__s_cannot_SaveFile__err_:__d
mov r8d, 0x122
lea rdx, str..DataChromeStartPageEntity.cpp
mov rcx, r14
call fcn.18000b1e8
nop
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x180056766
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
test eax, eax
jg 0x180056766
call fcn.1800d1434
xor eax, eax
add rsp, 0x48
pop r14
pop rdi
pop rbp
pop rbx
ret