Function at 0x14007a5fc
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 rsi, rcx
mov dword [rbp + 0x90], edi
cmp rbx, qword [rcx + 8]
je 0x14007a68d
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 0x14007a64a
mov rdx, rdi
jmp 0x14007a659
cmp qword [rbx + 0x18], 8
jb 0x14007a656
mov rdx, qword [rbx]
jmp 0x14007a659
mov rdx, rbx
mov r9d, dword [rbx + 0x38]
mov dword [rsp + 0x28], ecx
mov rcx, qword [r10]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x98], eax
test eax, eax
jne 0x14007a6be
mov r10, qword [rbp + 0x88]
add rbx, 0x40
cmp rbx, qword [rsi + 8]
jne 0x14007a62d
lea rcx, [rsp + 0x30]
call fcn.140018600
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14007a7d0
lea rsi, [rbx + 0x20]
cmp qword [rsi + 0x18], 8
jb 0x14007a748
mov r8, qword [rsi]
jmp 0x14007a74b
call fcn.1400096a0
mov edi, 2
cmp eax, edi
jg 0x14007a72c
lea rdx, str.c:_b_build_slavewin64_build_srcchromeinstallerutil_registry_key_backup.cc
lea rcx, [rsp + 0x48]
mov r9d, edi
mov r8d, 0xf0
mov esi, edi
call fcn.1400097c0
lea rdx, str.Failed_writing_value__
lea rcx, [rax + 8]
call fcn.140008810
cmp qword [rbx + 0x18], 8
jb 0x14007a702
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14000a0a0
lea rdx, str.___result:
mov rcx, rax
call fcn.140008810
mov edx, dword [rbp + 0x98]
mov rcx, rax
call fcn.14000a1c0
jmp 0x14007a732
mov esi, dword [rbp + 0x90]
test dil, sil
je 0x14007a741
lea rcx, [rsp + 0x48]
call fcn.140009830
xor al, al
jmp 0x14007a7e0
mov r8, rsi
mov rax, qword [rbp + 0x88]
lea rcx, [rsp + 0x30]
mov r9d, 0x20006
mov rdx, qword [rax]
call fcn.1400186b0
mov dword [rbp + 0x98], eax
test eax, eax
jne 0x14007a867
lea rcx, [rbx + 0x40]
lea rdx, [rsp + 0x30]
call fcn.14007a5fc
test al, al
je 0x14007a7ec
cmp byte [rbx + 0x19], dil
jne 0x14007a7bf
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], dil
jne 0x14007a7a3
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], dil
je 0x14007a795
jmp 0x14007a7bf
mov rax, qword [rbx + 8]
jmp 0x14007a7b6
cmp rbx, qword [rax + 0x10]
jne 0x14007a7bc
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], dil
je 0x14007a7a9
mov rbx, rax
mov rax, qword [rbp + 0x80]
cmp rbx, qword [rax + 0x18]
jne 0x14007a6a7
mov dil, 1
lea rcx, [rsp + 0x30]
call fcn.140018670
mov al, dil
add rsp, 0x158
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400096a0
cmp eax, 2
jg 0x14007a85b
lea rdx, str.c:_b_build_slavewin64_build_srcchromeinstallerutil_registry_key_backup.cc
lea rcx, [rsp + 0x48]
mov r9d, 2
mov r8d, 0x103
mov dword [rbp + 0x90], 8
call fcn.1400097c0
lea rdx, str.Failed_writing_subkey__
lea rcx, [rax + 8]
call fcn.140008810
cmp qword [rsi + 0x18], 8
jb 0x14007a837
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.14000a0a0
lea rdx, str.___result:
mov rcx, rax
call fcn.140008810
xor edx, edx
mov rcx, rax
call fcn.14000a1c0
mov esi, dword [rbp + 0x90]
test sil, 8
jmp 0x14007a8e4
call fcn.1400096a0
cmp eax, 2
jg 0x14007a8da
lea rdx, str.c:_b_build_slavewin64_build_srcchromeinstallerutil_registry_key_backup.cc
lea rcx, [rsp + 0x48]
mov r9d, 2
mov r8d, 0xfe
mov dword [rbp + 0x90], 4
call fcn.1400097c0
lea rdx, str.Failed_creating_subkey__
lea rcx, [rax + 8]
call fcn.140008810
cmp qword [rsi + 0x18], 8
jb 0x14007a8b2
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.14000a0a0
lea rdx, str.___result:
mov rcx, rax
call fcn.140008810
mov edx, dword [rbp + 0x98]
mov rcx, rax
call fcn.14000a1c0
mov esi, dword [rbp + 0x90]
test sil, 4
je 0x14007a7d3
lea rcx, [rsp + 0x48]
call fcn.140009830
jmp 0x14007a7d3