Function at 0x14019fed0
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov r13, rdx
mov rdi, rcx
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, qword [rcx]
cmp rbx, qword [rcx + 8]
je 0x14019ff68
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 0x14019ff58
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 0x1401a00cd
add rbx, 0x38
cmp rbx, qword [rdi + 8]
jne 0x14019ff0d
jmp 0x14019ff68
cmp qword [rbx + 8], 0
je 0x14019ff64
mov rdx, qword [rbx]
jmp 0x14019ff2d
xor edx, edx
jmp 0x14019ff2d
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x30]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [0x1401d9dd0]
movaps xmmword [rcx], xmm0
call fcn.140054aa0
mov rbx, qword [rdi + 0x18]
add rdi, 0x20
mov r15b, 1
cmp rbx, rdi
je 0x1401a009c
lea r14, [rsp + 0x30]
lea r12, [rbx + 0x20]
cmp byte [rbx + 0x37], 0
js 0x14019fffb
mov r8, r12
mov rdx, qword [r13]
mov rcx, r14
mov r9d, 0x20006
call fcn.140054ba0
test eax, eax
jne 0x1401a0020
lea rcx, [rbx + 0x38]
mov rdx, r14
call fcn.14019fed0
test al, al
je 0x1401a014e
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1401a0001
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14019ffe3
mov rbx, rax
cmp rax, rdi
jne 0x14019ffa3
jmp 0x1401a009c
mov r8, qword [r12]
jmp 0x14019ffb0
mov rax, qword [rbx + 0x10]
cmp qword [rax], rbx
je 0x14019ffee
add rbx, 0x10
mov rcx, qword [rbx]
lea rbx, [rcx + 0x10]
mov rax, qword [rcx + 0x10]
cmp qword [rax], rcx
jne 0x1401a000e
jmp 0x14019ffee
mov ebp, eax
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x1401a0099
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.14004a520
lea rcx, [rsp + 0x60]
lea rdx, str.Failed_creating_subkey__
mov r8d, 0x18
call fcn.1400cf4f0
mov rcx, rax
mov rdx, r12
call fcn.14004b410
lea rdx, str.___result:
mov r8d, ntohl
mov rcx, rax
call fcn.1400cf4f0
mov rcx, rax
mov edx, ebp
call fcn.14001a0a0
mov rcx, rsi
call fcn.14004a9c0
xor r15d, r15d
lea rcx, [rsp + 0x30]
call fcn.140054da0
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401013e0
mov eax, r15d
add rsp, 0x198
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.1400d9610
test al, al
je 0x1401a0146
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.14004a520
lea rcx, [rsp + 0x60]
lea rdx, str.Failed_writing_value__
mov r8d, 0x16
call fcn.1400cf4f0
mov rcx, rax
mov rdx, rbx
call fcn.14004b410
lea rdx, str.___result:
mov r8d, ntohl
mov rcx, rax
call fcn.1400cf4f0
mov rcx, rax
mov edx, ebp
call fcn.14001a0a0
mov rcx, rsi
call fcn.14004a9c0
xor r15d, r15d
jmp 0x1401a00a6
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x1401a0099
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.14004a520
lea rcx, [rsp + 0x60]
lea rdx, str.Failed_writing_subkey__
mov r8d, 0x17
call fcn.1400cf4f0
mov rcx, rax
mov rdx, r12
call fcn.14004b410
lea rdx, str.___result:
mov r8d, ntohl
mov rcx, rax
call fcn.1400cf4f0
xor r15d, r15d
mov rcx, rax
xor edx, edx
call fcn.14001a0a0
mov rcx, rsi
call fcn.14004a9c0
jmp 0x1401a009c