Function at 0x1400fb1e6
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 [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, qword [rcx]
cmp rbx, qword [rcx + 8]
je 0x1400fb287
xor r14d, r14d
mov r15, qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x20]
cmp rax, rcx
mov rbp, rcx
cmove rbp, r14
mov r9d, dword [rbx + 0x30]
movzx esi, byte [rbx + 0x17]
test sil, sil
js 0x1400fb248
mov rdx, rsi
jmp 0x1400fb24c
mov rdx, qword [rbx + 8]
sub eax, ecx
test rdx, rdx
je 0x1400fb260
mov rdx, rbx
test sil, sil
jns 0x1400fb262
mov rdx, qword [rbx]
jmp 0x1400fb262
xor edx, edx
mov rcx, qword [r13]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbp
xor r8d, r8d
call r15
test eax, eax
jne 0x1400fb32b
add rbx, 0x38
cmp rbx, qword [rdi + 8]
jne 0x1400fb224
lea rcx, [rsp + 0x30]
call fcn.14005af40
mov rbx, qword [rdi + 0x18]
add rdi, 0x20
mov r14b, 1
cmp rdi, rbx
je 0x1400fb4ce
lea r15, [rsp + 0x30]
lea r12, [rbx + 0x20]
cmp byte [rbx + 0x37], 0
js 0x1400fb2b9
mov r8, r12
jmp 0x1400fb2bd
mov r8, qword [r12]
mov rdx, qword [r13]
mov rcx, r15
mov r9d, 0x20006
call fcn.14005b060
test eax, eax
jne 0x1400fb3b5
lea rcx, [rbx + 0x38]
mov rdx, r15
call fcn.1400fb1e6
test al, al
je 0x1400fb443
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400fb301
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1400fb2f4
jmp 0x1400fb31e
mov rax, qword [rbx + 0x10]
cmp qword [rax], rbx
je 0x1400fb31e
add rbx, 0x10
mov rcx, qword [rbx]
mov rax, qword [rcx + 0x10]
lea rbx, [rcx + 0x10]
cmp qword [rax], rcx
jne 0x1400fb30e
mov rbx, rax
cmp rdi, rax
jne 0x1400fb2aa
jmp 0x1400fb4ce
mov ebp, eax
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400fb3ad
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0xf4
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0x50]
lea rdx, str.Failed_writing_value__
mov r8d, 0x16
call fcn.140006489
cmp byte [rbx + 0x17], 0
jns 0x1400fb37b
mov rbx, qword [rbx]
mov rcx, rax
mov rdx, rbx
call fcn.1400490b0
lea rdx, str.___result:
mov r8d, ntohl
mov rcx, rax
call fcn.140006489
mov rcx, rax
mov edx, ebp
call fcn.14001174c
mov rcx, rsi
call fcn.1400486f0
xor r14d, r14d
jmp 0x1400fb4d8
mov ebp, eax
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400fb4cb
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x102
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0x50]
lea rdx, str.Failed_creating_subkey__
mov r8d, 0x18
call fcn.140006489
cmp byte [r12 + 0x17], 0
jns 0x1400fb40c
mov r12, qword [r12]
mov rcx, rax
mov rdx, r12
call fcn.1400490b0
lea rdx, str.___result:
mov r8d, ntohl
mov rcx, rax
call fcn.140006489
mov rcx, rax
mov edx, ebp
call fcn.14001174c
mov rcx, rsi
call fcn.1400486f0
jmp 0x1400fb4cb
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400fb4cb
lea rdx, str..._.._chrome_installer_util_registry_key_backup.cc
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x107
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0x50]
lea rdx, str.Failed_writing_subkey__
mov r8d, 0x17
call fcn.140006489
cmp byte [r12 + 0x17], 0
jns 0x1400fb494
mov r12, qword [r12]
mov rcx, rax
mov rdx, r12
call fcn.1400490b0
lea rdx, str.___result:
mov r8d, ntohl
mov rcx, rax
call fcn.140006489
xor r14d, r14d
mov rcx, rax
xor edx, edx
call fcn.14001174c
mov rcx, rsi
call fcn.1400486f0
jmp 0x1400fb4ce
xor r14d, r14d
lea rcx, [rsp + 0x30]
call fcn.14005b1a0
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140147fd0
mov eax, r14d
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret