Function at 0x1401ac8c0
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
mov r13, rdx
mov rdi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, qword [rcx]
cmp rbx, qword [rcx + 8]
je 0x1401ac958
xor esi, esi
mov r14, qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbx + 0x20]
mov rax, qword [rbx + 0x18]
mov ebp, ecx
sub ebp, eax
cmp rcx, rax
cmove rax, rsi
cmp byte [rbx + 0x17], 0
js 0x1401ac948
mov rdx, rbx
cmove rdx, rsi
mov r9d, dword [rbx + 0x30]
mov rcx, qword [r13]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
xor r8d, r8d
call r14
test eax, eax
jne 0x1401acabd
add rbx, 0x38
cmp rbx, qword [rdi + 8]
jne 0x1401ac8fd
jmp 0x1401ac958
cmp qword [rbx + 8], 0
je 0x1401ac954
mov rdx, qword [rbx]
jmp 0x1401ac91d
xor edx, edx
jmp 0x1401ac91d
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x30]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rcx], xmm0
call fcn.1400547c0
mov rbx, qword [rdi + 0x18]
add rdi, 0x20
mov r15b, 1
cmp rbx, rdi
je 0x1401aca8c
lea r14, [rsp + 0x30]
lea r12, [rbx + 0x20]
cmp byte [rbx + 0x37], 0
js 0x1401ac9eb
mov r8, r12
mov rdx, qword [r13]
mov rcx, r14
mov r9d, 0x20006
call fcn.1400548c0
test eax, eax
jne 0x1401aca10
lea rcx, [rbx + 0x38]
mov rdx, r14
call fcn.1401ac8c0
test al, al
je 0x1401acb3e
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1401ac9f1
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1401ac9d3
mov rbx, rax
cmp rax, rdi
jne 0x1401ac993
jmp 0x1401aca8c
mov r8, qword [r12]
jmp 0x1401ac9a0
mov rax, qword [rbx + 0x10]
cmp qword [rax], rbx
je 0x1401ac9de
add rbx, 0x10
mov rcx, qword [rbx]
lea rbx, [rcx + 0x10]
mov rax, qword [rcx + 0x10]
cmp qword [rax], rcx
jne 0x1401ac9fe
jmp 0x1401ac9de
mov ebp, eax
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x1401aca89
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x103
mov r9d, 2
call fcn.14004a130
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_creating_subkey__
mov r8d, 0x18
call fcn.1400dd7e0
mov rcx, rax
mov rdx, r12
call fcn.14004ab40
lea rdx, str.___result:
mov r8d, ntohl
mov rcx, rax
call fcn.1400dd7e0
mov rcx, rax
mov edx, ebp
call fcn.14001a230
mov rcx, rsi
call fcn.14004a5c0
xor r15d, r15d
lea rcx, [rsp + 0x30]
call fcn.140054a80
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140111870
mov eax, r15d
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebp, eax
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x1401acb36
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0xf5
mov r9d, 2
call fcn.14004a130
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_writing_value__
mov r8d, 0x16
call fcn.1400dd7e0
mov rcx, rax
mov rdx, rbx
call fcn.14004ab40
lea rdx, str.___result:
mov r8d, ntohl
mov rcx, rax
call fcn.1400dd7e0
mov rcx, rax
mov edx, ebp
call fcn.14001a230
mov rcx, rsi
call fcn.14004a5c0
xor r15d, r15d
jmp 0x1401aca96
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x1401aca89
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x108
mov r9d, 2
call fcn.14004a130
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_writing_subkey__
mov r8d, 0x17
call fcn.1400dd7e0
mov rcx, rax
mov rdx, r12
call fcn.14004ab40
lea rdx, str.___result:
mov r8d, ntohl
mov rcx, rax
call fcn.1400dd7e0
xor r15d, r15d
mov rcx, rax
xor edx, edx
call fcn.14001a230
mov rcx, rsi
call fcn.14004a5c0
jmp 0x1401aca8c