Function at 0x1400e72c0
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov r13, rdx
mov rdi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, qword [rcx]
cmp rbx, qword [rcx + 8]
je 0x1400e7351
xor esi, esi
mov r14, qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
mov ebp, ecx
sub ebp, eax
cmp rax, rcx
cmove rax, rsi
mov r9d, dword [rbx + 0x38]
mov edx, 0
cmp qword [rbx + 0x10], rsi
je 0x1400e732c
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x1400e732c
mov rdx, qword [rbx]
mov rcx, qword [r13]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
xor r8d, r8d
call r14
test eax, eax
jne 0x1400e73ec
add rbx, 0x40
cmp rbx, qword [rdi + 8]
jne 0x1400e72fd
lea rcx, [rsp + 0x38]
call fcn.1400594f0
mov rax, qword [rdi + 0x18]
mov rbx, qword [rax]
mov r14b, 1
cmp rbx, rax
je 0x1400e7567
lea r15, [rsp + 0x38]
lea r12, [rbx + 0x20]
cmp qword [rbx + 0x38], 8
mov r8, r12
jb 0x1400e7385
mov r8, qword [r12]
mov rdx, qword [r13]
mov rcx, r15
mov r9d, 0x20006
call fcn.140059610
test eax, eax
jne 0x1400e746b
lea rcx, [rbx + 0x40]
mov rdx, r15
call fcn.1400e72c0
test al, al
je 0x1400e74e9
mov rcx, qword [rbx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x1400e73d2
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400e73de
cmp rbx, qword [rax + 0x10]
mov rbx, rax
je 0x1400e73bd
jmp 0x1400e73de
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x1400e73d2
mov rbx, rax
cmp qword [rdi + 0x18], rax
jne 0x1400e7373
jmp 0x1400e7567
mov ebp, eax
mov ecx, 2
call fcn.14003c410
test al, al
je 0x1400e7463
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0xf4
mov r9d, 2
call fcn.14003c4c0
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_writing_value__
call fcn.140002b70
cmp qword [rbx + 0x18], 7
jbe 0x1400e7437
mov rbx, qword [rbx]
mov rcx, rax
mov rdx, rbx
call fcn.14003d500
lea rdx, str.___result:
mov rcx, rax
call fcn.140002b70
mov rcx, rax
mov edx, ebp
call fcn.140005ee0
mov rcx, rsi
call fcn.14003c960
xor r14d, r14d
jmp 0x1400e7571
mov ebp, eax
mov ecx, 2
call fcn.14003c410
test al, al
je 0x1400e7564
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x102
mov r9d, 2
call fcn.14003c4c0
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_creating_subkey__
call fcn.140002b70
cmp qword [rbx + 0x38], 7
jbe 0x1400e74bb
mov r12, qword [rbx + 0x20]
mov rcx, rax
mov rdx, r12
call fcn.14003d500
lea rdx, str.___result:
mov rcx, rax
call fcn.140002b70
mov rcx, rax
mov edx, ebp
call fcn.140005ee0
mov rcx, rsi
call fcn.14003c960
jmp 0x1400e7564
mov ecx, 2
call fcn.14003c410
test al, al
je 0x1400e7564
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x107
mov r9d, 2
call fcn.14003c4c0
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_writing_subkey__
call fcn.140002b70
cmp qword [rbx + 0x38], 7
jbe 0x1400e7533
mov r12, qword [rbx + 0x20]
mov rcx, rax
mov rdx, r12
call fcn.14003d500
lea rdx, str.___result:
mov rcx, rax
call fcn.140002b70
xor r14d, r14d
mov rcx, rax
xor edx, edx
call fcn.140005ee0
mov rcx, rsi
call fcn.14003c960
jmp 0x1400e7567
xor r14d, r14d
lea rcx, [rsp + 0x38]
call fcn.140059750
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14014ac50
mov eax, r14d
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret