Function at 0x14004d080
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x190
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov rbx, qword [rcx]
cmp rbx, qword [rcx + 8]
je 0x14004d11a
xor r14d, r14d
mov r15, qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x14004d0ef
mov rdx, rbx
cmove rdx, r14
mov r9d, dword [rbx + 0x30]
mov rcx, qword [rsi + 8]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call r15
test eax, eax
jne 0x14004d1d2
add rbx, 0x38
cmp rbx, qword [rdi + 8]
je 0x14004d11a
mov rcx, qword [rbx + 0x20]
mov rax, qword [rbx + 0x18]
mov r8d, ecx
sub r8d, eax
cmp rcx, rax
cmove rax, r14
cmp byte [rbx + 0x17], 0
jns 0x14004d0be
cmp qword [rbx + 8], 0
je 0x14004d116
mov rdx, qword [rbx]
jmp 0x14004d0c5
xor edx, edx
jmp 0x14004d0c5
movaps xmm0, xmmword [0x14032ae20]
lea rcx, [rsp + 0x30]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call fcn.140074830
mov r12, qword [rdi + 0x18]
add rdi, 0x20
mov bl, 1
cmp r12, rdi
je 0x14004d1fc
lea r15, [rsp + 0x30]
jmp 0x14004d163
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14004d14c
mov r12, rax
cmp rax, rdi
je 0x14004d1fc
lea r14, [r12 + 0x20]
cmp byte [r12 + 0x37], 0
mov r8, r14
jns 0x14004d176
mov r8, qword [r14]
mov rdx, qword [rsi + 8]
mov rcx, r15
mov r9d, 0x20006
call fcn.1400741a0
test eax, eax
jne 0x14004d1e6
lea rcx, [r12 + 0x38]
mov rdx, r15
call fcn.14004d080
test al, al
je 0x14004d1bf
test r12, r12
je 0x14004d376
mov rcx, qword [r12 + 8]
test rcx, rcx
jne 0x14004d14c
mov rax, qword [r12 + 0x10]
cmp qword [rax], r12
mov r12, rax
jne 0x14004d1b0
jmp 0x14004d157
mov ecx, 2
call fcn.140151cb0
test al, al
je 0x14004d1fa
jmp 0x14004d306
mov ebp, eax
mov ecx, 2
call fcn.140151cb0
test al, al
jne 0x14004d22a
xor ebx, ebx
jmp 0x14004d206
mov ebp, eax
mov ecx, 2
call fcn.140151cb0
test al, al
jne 0x14004d298
xor ebx, ebx
lea rcx, [rsp + 0x30]
call fcn.140074930
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.1401a2850
mov eax, ebx
add rsp, 0x190
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0xf5
mov r9d, 2
call fcn.1400882f0
lea rcx, [rsp + 0x60]
lea rdx, str.Failed_writing_value__
mov r8d, 0x16
call fcn.1401e2460
mov rcx, rax
mov rdx, rbx
call fcn.140088e60
lea rdx, str.___result:
mov r8d, ntohl
mov rcx, rax
call fcn.1401e2460
mov rcx, rax
mov edx, ebp
call fcn.140038850
mov rcx, rsi
call fcn.1400887d0
jmp 0x14004d1e2
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x103
mov r9d, 2
call fcn.1400882f0
lea rcx, [rsp + 0x60]
lea rdx, str.Failed_creating_subkey__
mov r8d, 0x18
call fcn.1401e2460
mov rcx, rax
mov rdx, r14
call fcn.140088e60
lea rdx, str.___result:
mov r8d, ntohl
mov rcx, rax
call fcn.1401e2460
mov rcx, rax
mov edx, ebp
call fcn.140038850
mov rcx, rsi
call fcn.1400887d0
jmp 0x14004d1fa
lea rdx, str.....chromeinstallerutil_registry_key_backup.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x108
mov r9d, 2
call fcn.1400882f0
lea rcx, [rsp + 0x60]
lea rdx, str.Failed_writing_subkey__
mov r8d, 0x17
call fcn.1401e2460
mov rcx, rax
mov rdx, r14
call fcn.140088e60
lea rdx, str.___result:
mov r8d, ntohl
mov rcx, rax
call fcn.1401e2460
xor ebx, ebx
mov rcx, rax
xor edx, edx
call fcn.140038850
mov rcx, rsi
call fcn.1400887d0
jmp 0x14004d1fc
lea rax, str.node_shouldnt_be_null
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__tree
lea r9, str.__x___nullptr
mov r8d, 0xcf
call fcn.1401e44d0
int3