Function at 0x140204b10
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 [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, qword [rcx]
cmp rbx, qword [rcx + 8]
je 0x140204ba8
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 0x140204b98
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 0x140204c92
add rbx, 0x38
cmp rbx, qword [rdi + 8]
jne 0x140204b4d
jmp 0x140204ba8
cmp qword [rbx + 8], 0
je 0x140204ba4
mov rdx, qword [rbx]
jmp 0x140204b6d
xor edx, edx
jmp 0x140204b6d
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x30]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x14032f5c0]
movaps xmmword [rcx], xmm0
call fcn.140085af0
mov rbx, qword [rdi + 0x18]
add rdi, 0x20
mov r15b, 1
cmp rbx, rdi
je 0x140204c61
lea r14, [rsp + 0x30]
lea r12, [rbx + 0x20]
cmp byte [rbx + 0x37], 0
mov r8, r12
jns 0x140204bf4
mov r8, qword [r12]
mov rdx, qword [r13]
mov rcx, r14
mov r9d, 0x20006
call fcn.140085bf0
test eax, eax
jne 0x140204c4a
lea rcx, [rbx + 0x38]
mov rdx, r14
call fcn.140204b10
test al, al
je 0x140204cab
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140204c34
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x140204c27
jmp 0x140204c40
mov rax, qword [rbx + 0x10]
cmp qword [rax], rbx
mov rbx, rax
jne 0x140204c34
mov rbx, rax
cmp rax, rdi
jne 0x140204be3
jmp 0x140204c61
mov ebp, eax
mov ecx, 2
call fcn.140160660
test al, al
jne 0x140204d2a
xor r15d, r15d
lea rcx, [rsp + 0x30]
call fcn.140085db0
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1401bb0d0
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.140160660
test al, al
jne 0x140204d98
xor r15d, r15d
jmp 0x140204c6b
mov ecx, 2
call fcn.140160660
test al, al
je 0x140204c5e
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x108
mov r9d, 2
call fcn.140076020
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_writing_subkey__
mov r8d, 0x17
call fcn.1401f9cc0
mov rcx, rax
mov rdx, r12
call fcn.140076a50
lea rdx, str.___result:
mov r8d, ntohl
mov rcx, rax
call fcn.1401f9cc0
xor r15d, r15d
mov rcx, rax
xor edx, edx
call fcn.140039f90
mov rcx, rsi
call fcn.140076510
jmp 0x140204c61
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x103
mov r9d, 2
call fcn.140076020
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_creating_subkey__
mov r8d, 0x18
call fcn.1401f9cc0
mov rcx, rax
mov rdx, r12
call fcn.140076a50
lea rdx, str.___result:
mov r8d, ntohl
mov rcx, rax
call fcn.1401f9cc0
mov rcx, rax
mov edx, ebp
call fcn.140039f90
mov rcx, rsi
call fcn.140076510
jmp 0x140204c5e
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0xf5
mov r9d, 2
call fcn.140076020
lea rcx, [rsp + 0x58]
lea rdx, str.Failed_writing_value__
mov r8d, 0x16
call fcn.1401f9cc0
mov rcx, rax
mov rdx, rbx
call fcn.140076a50
lea rdx, str.___result:
mov r8d, ntohl
mov rcx, rax
call fcn.1401f9cc0
mov rcx, rax
mov edx, ebp
call fcn.140039f90
mov rcx, rsi
call fcn.140076510
jmp 0x140204ca6