Function at 0x1400b3b98
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rbx, qword [rcx]
xor edi, edi
mov r10, rdx
mov rax, rcx
mov esi, edi
mov dword [rbp + 0x90], edi
cmp rbx, qword [rcx + 8]
je 0x1400b3c32
mov rax, qword [rbx + 0x20]
mov ecx, dword [rbx + 0x28]
sub ecx, dword [rbx + 0x20]
cmp rax, qword [rbx + 0x28]
cmove rax, rdi
cmp qword [rbx + 0x10], rdi
jne 0x1400b3be8
mov rdx, rdi
jmp 0x1400b3bf7
cmp qword [rbx + 0x18], 8
jb 0x1400b3bf4
mov rdx, qword [rbx]
jmp 0x1400b3bf7
mov rdx, rbx
mov r9d, dword [rbx + 0x38]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, qword [r10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x98], eax
test eax, eax
jne 0x1400b3c67
mov rax, qword [rbp + 0x80]
add rbx, 0x40
mov r10, qword [rbp + 0x88]
cmp rbx, qword [rax + 8]
jne 0x1400b3bcb
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x40], rdi
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400b3d73
lea rsi, [rbx + 0x20]
cmp qword [rsi + 0x18], 8
jb 0x1400b3ceb
mov r8, qword [rsi]
jmp 0x1400b3cee
cmp dword [0x14017c080], 2
jg 0x1400b3cd4
mov r9d, 2
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
mov r8d, 0xf4
lea rcx, [rsp + 0x48]
call fcn.1400681c0
lea rdx, str.Failed_writing_value__
lea rcx, [rax + 8]
call fcn.14002bcb4
cmp qword [rbx + 0x18], 8
jb 0x1400b3ca7
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140068e50
lea rdx, str.___result:
mov rcx, rax
call fcn.14002bcb4
mov edx, dword [rbp + 0x98]
mov rcx, rax
call fcn.140028ef4
mov esi, 1
test sil, 1
je 0x1400b3ce4
lea rcx, [rsp + 0x48]
call fcn.140068220
xor al, al
jmp 0x1400b3d83
mov r8, rsi
mov rdx, qword [r10]
lea rcx, [rsp + 0x30]
mov r9d, 0x20006
call fcn.14005d650
mov dword [rbp + 0x98], eax
test eax, eax
jne 0x1400b3e00
lea rcx, [rbx + 0x40]
lea rdx, [rsp + 0x30]
call fcn.1400b3b98
test al, al
je 0x1400b3d8f
cmp byte [rbx + 0x19], dil
jne 0x1400b3d5b
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], dil
jne 0x1400b3d3f
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], dil
je 0x1400b3d31
jmp 0x1400b3d5b
mov rax, qword [rbx + 8]
jmp 0x1400b3d52
cmp rbx, qword [rax + 0x10]
jne 0x1400b3d58
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], dil
je 0x1400b3d45
mov rbx, rax
mov rax, qword [rbp + 0x80]
mov r10, qword [rbp + 0x88]
cmp rbx, qword [rax + 0x18]
jne 0x1400b3c50
mov dil, 1
lea rcx, [rsp + 0x30]
call fcn.14005d610
mov al, dil
add rsp, 0x158
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [0x14017c080], 2
jg 0x1400b3dfa
mov r9d, 2
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
mov r8d, 0x107
lea rcx, [rsp + 0x48]
call fcn.1400681c0
lea rdx, str.Failed_writing_subkey__
lea rcx, [rax + 8]
call fcn.14002bcb4
cmp qword [rsi + 0x18], 8
jb 0x1400b3dcf
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.140068e50
lea rdx, str.___result:
mov rcx, rax
call fcn.14002bcb4
mov rcx, rax
xor edx, edx
call fcn.140028ef4
mov eax, 4
jmp 0x1400b3dfc
mov eax, edi
test al, 4
jmp 0x1400b3e71
mov ebx, 2
cmp dword [0x14017c080], ebx
jg 0x1400b3e6d
mov r9d, ebx
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
mov r8d, 0x102
lea rcx, [rsp + 0x48]
call fcn.1400681c0
lea rdx, str.Failed_creating_subkey__
lea rcx, [rax + 8]
call fcn.14002bcb4
cmp qword [rsi + 0x18], 8
jb 0x1400b3e41
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.140068e50
lea rdx, str.___result:
mov rcx, rax
call fcn.14002bcb4
mov edx, dword [rbp + 0x98]
mov rcx, rax
call fcn.140028ef4
mov eax, ebx
jmp 0x1400b3e6f
mov eax, edi
test bl, al
je 0x1400b3d76
lea rcx, [rsp + 0x48]
call fcn.140068220
jmp 0x1400b3d76